/* --- SEKTION 2: APP PREVIEW STYLES --- */

.app-preview-section {
    display: flex;
    /* WICHTIG: Damit Text und Fenster untereinander stehen */
    flex-direction: column; 
    justify-content: center;
    align-items: center;
    padding: 0 20px;
    background: transparent;
    /* Kleiner Abstand zwischen Text und Fenster */
    gap: 15px; 
}

.preview-label {
    color: var(--primary-orange);
    font-size: 0.9rem;      /* Klein */
    font-weight: 600;       /* Dünn (Light) */
    letter-spacing: 1px;    /* Leicht gesperrt für cleanen Look */
    text-transform: uppercase; /* Optional: Wirkt oft technischer */
    opacity: 0.9;
}

/* Das Hauptfenster der App */
.app-window {
    width: 100%;
    max-width: 1000px;
    height: 650px;
    background-color: #0c0b09;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    display: flex;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.6);
    position: relative;

    /* NEU HINZUFÜGEN FÜR DEN EFFEKT: */
    transform-style: preserve-3d; /* Wichtig für 3D Darstellung */
    will-change: transform;       /* Optimiert die Performance */
}

/* Sidebar Links */
.app-sidebar {
    width: 70px;
    background-color: #0c0b09; /* Gleiche Farbe, evtl Trennlinie? */
    border-right: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding: 30px 0;
}

.sidebar-top, .sidebar-bottom {
    display: flex;
    flex-direction: column;
    gap: 24px;
    align-items: center;
}

.sidebar-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    color: #52525b; /* Inaktiv Grau */
    cursor: pointer;
    transition: all 0.2s;
}

.sidebar-icon:hover {
    color: white;
    background: rgba(255,255,255,0.05);
}

.sidebar-icon.active {
    background-color: #2a1b12; /* Dunkles Braun/Orange Hintergrund */
    color: var(--primary-orange);
    border: 1px solid rgba(249, 115, 22, 0.3);
}

/* Hauptbereich Rechts */
.app-main {
    flex: 1;
    padding: 40px;
    display: flex;
    flex-direction: column;
}

/* Header Zeile */
.app-header-text {
    margin-bottom: 30px;
    font-size: 0.95rem;
}
.text-orange-bold {
    color: var(--primary-orange);
    font-weight: 700;
    font-size: 1.1rem;
    margin-right: 10px;
}
.text-sub {
    color: #52525b;
}

/* Greeting & Stats Zeile */
.app-greeting-area {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 30px;
}

.greeting-text h2 {
    margin: 0;
    font-size: 2.2rem;
    font-weight: 700;
    color: white;
    display: flex;
    align-items: center;
    gap: 10px;
}
.date-text {
    margin: 5px 0 0 0;
    color: #3b82f6; /* Blaues Datum */
    font-weight: 500;
    font-size: 0.9rem;
}

.stats-row {
    display: flex;
    gap: 15px;
}

.stat-card {
    background: #121214;
    border: 1px solid rgba(255,255,255,0.05);
    padding: 10px 15px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 130px;
}

.stat-icon-box {
    color: #71717a;
    background: rgba(255,255,255,0.03);
    padding: 8px;
    border-radius: 8px;
    display: flex;
}

.stat-info {
    display: flex;
    flex-direction: column;
}

.stat-num {
    font-weight: 700;
    color: white;
    font-size: 1.1rem;
}
.stat-label {
    font-size: 0.65rem;
    color: #71717a;
    letter-spacing: 0.5px;
}

/* Große Action Cards */
.app-actions-row {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
}

.action-card {
    flex: 1;
    height: 120px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    padding: 0 30px;
    gap: 20px;
    cursor: pointer;
    transition: transform 0.2s;
    border: 1px solid transparent;
}
.action-card:hover {
    transform: translateY(-2px);
}

/* Karte 1: Bereich aufnehmen (Braun) */
.action-record {
    background: linear-gradient(90deg, #2a170a 0%, #1f1208 100%);
    border: 1px solid rgba(249, 115, 22, 0.2);
}
.action-record h3 { color: white; margin: 0; font-size: 1.2rem; }
.action-record p { color: #9a6e50; margin: 5px 0 0 0; font-size: 0.9rem; }

/* Karte 2: Vollbild (Dunkelblau) */
.action-fullscreen {
    background: #14161f; /* Dunkles Blau-Grau */
    border: 1px solid rgba(66, 73, 107, 0.3);
}
.action-fullscreen h3 { color: white; margin: 0; font-size: 1.2rem; }
.action-fullscreen p { color: #6b7280; margin: 5px 0 0 0; font-size: 0.9rem; }

/* Clips Section */
.app-clips-section {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.clips-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.clips-title {
    color: white;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}
.dot-orange {
    width: 6px; height: 6px; background-color: var(--primary-orange); border-radius: 50%;
}
.clips-link {
    color: #71717a;
    font-size: 0.85rem;
    text-decoration: none;
}
.clips-link:hover { color: white; }

.clips-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.clip-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.clip-preview {
    width: 100%;
    aspect-ratio: 16/9;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.1);
    position: relative;
    overflow: hidden;
}
/* Fake UI Elemente im Preview */
.clip-preview::after {
    content: "";
    position: absolute;
    bottom: 0; left: 0; width: 100%; height: 30%;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
}

.clip-meta {
    font-size: 0.75rem;
    color: #52525b;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}