/* ========================================
   RESET & BASE STYLES
   ======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-primary: #0B0D10;
    --bg-surface: #12151C;
    --bg-border: #1E2230;
    --neon-primary: #22D3EE;
    --neon-secondary: #FF4FD8;
    --neon-accent1: #2AF5A5;
    --neon-accent2: #F43F5E;
    --text-primary: #E5E7EB;
    --text-secondary: #9CA3AF;
    --text-muted: #6B7280;
    --shadow-glow: 0 0 20px rgba(34, 211, 238, 0.2);
    --shadow-pink: 0 0 20px rgba(255, 79, 216, 0.2);
    --transition-fast: 150ms ease;
    --transition-base: 200ms ease;
    --transition-slow: 250ms ease;
    --border-radius: 12px;
    --border-radius-sm: 8px;
    --sidebar-width: 220px;
    --phone-frame-width: 520px;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    overflow-x: hidden;
    height: 100vh;
}

/* Hide scrollbars globally */
::-webkit-scrollbar {
    display: none;
}

* {
    scrollbar-width: none;
    -ms-overflow-style: none;
}

/* ========================================
   DEBUG OVERLAY
   ======================================== */
.debug-overlay {
    position: fixed;
    top: 20px;
    right: 20px;
    width: 400px;
    max-width: 90vw;
    background-color: rgba(18, 21, 28, 0.95);
    border: 1px solid var(--neon-primary);
    border-radius: var(--border-radius);
    z-index: 9999;
    box-shadow: var(--shadow-glow);
    backdrop-filter: blur(10px);
}

.debug-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background-color: rgba(34, 211, 238, 0.1);
    border-bottom: 1px solid var(--neon-primary);
    font-weight: 600;
    font-size: 14px;
}

.debug-close {
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 20px;
    cursor: pointer;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition-base);
}

.debug-close:hover {
    background-color: rgba(255, 79, 216, 0.2);
}

.debug-content {
    padding: 16px;
    font-size: 13px;
    line-height: 1.5;
}

.debug-section {
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--bg-border);
}

.debug-section:last-child {
    border-bottom: none;
}

.debug-section div {
    margin-bottom: 6px;
}

.debug-actions {
    max-height: 120px;
    overflow-y: auto;
    background-color: rgba(0, 0, 0, 0.2);
    padding: 8px;
    border-radius: var(--border-radius-sm);
    font-family: 'Monaco', 'Courier New', monospace;
    font-size: 12px;
}

.debug-console {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 8px;
}

.debug-btn {
    background-color: var(--bg-surface);
    border: 1px solid var(--neon-secondary);
    color: var(--text-primary);
    padding: 6px 12px;
    border-radius: var(--border-radius-sm);
    font-size: 12px;
    cursor: pointer;
    transition: var(--transition-base);
}

.debug-btn:hover {
    background-color: rgba(255, 79, 216, 0.2);
    box-shadow: 0 0 10px rgba(255, 79, 216, 0.3);
}

.debug-input {
    flex-grow: 1;
    min-width: 120px;
    background-color: var(--bg-surface);
    border: 1px solid var(--bg-border);
    color: var(--text-primary);
    padding: 6px 10px;
    border-radius: var(--border-radius-sm);
    font-size: 12px;
}

.debug-input:focus {
    outline: none;
    border-color: var(--neon-primary);
}

.debug-toggle {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: var(--neon-primary);
    border: none;
    color: var(--bg-primary);
    font-size: 20px;
    cursor: pointer;
    z-index: 9998;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(34, 211, 238, 0.4);
    transition: var(--transition-base);
}

.debug-toggle:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(34, 211, 238, 0.6);
}

/* Debug auf Mobile ausblenden */
@media (max-width: 1023px) {
    .debug-toggle,
    .debug-overlay {
        display: none !important;
    }
}

/* ========================================
   WEB TOPBAR (einheitlich für alle Seiten)
   ======================================== */
.web-topbar {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 40px;
    border-bottom: 1px solid var(--bg-border);
    background-color: var(--bg-primary);
    position: sticky;
    top: 0;
    z-index: 50;
    gap: 30px;
    width: 100%;
}

/* Search Container - zentriert und groß */
.web-search-container {
    flex: 1;
    max-width: 800px;
    margin: 0 auto;
}

.search-container {
    position: relative;
    width: 100%;
}

.search-input {
    width: 100%;
    padding: 16px 20px 16px 52px;
    background-color: var(--bg-surface);
    border: 1px solid var(--bg-border);
    border-radius: var(--border-radius);
    color: var(--text-primary);
    font-size: 16px;
    transition: var(--transition-base);
}

.search-input:focus {
    outline: none;
    border-color: var(--neon-primary);
    box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.1);
}

.search-icon {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-secondary);
    font-size: 18px;
}

/* Hamburger Button - rechts mit Abstand */
.hamburger-btn {
    width: 48px;
    height: 48px;
    border-radius: var(--border-radius);
    background-color: var(--bg-surface);
    border: 1px solid var(--bg-border);
    color: var(--text-primary);
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-base);
    flex-shrink: 0;
    margin-left: auto;
}

.hamburger-btn:hover {
    border-color: var(--neon-primary);
    color: var(--neon-primary);
    box-shadow: var(--shadow-glow);
}

/* ========================================
   WEB LAYOUT
   ======================================== */
.web-layout {
    display: none;
    height: 100vh;
}

/* Sidebar */
.sidebar {
    width: var(--sidebar-width);
    background-color: var(--bg-surface);
    border-right: 1px solid var(--bg-border);
    height: 100vh;
    position: fixed;
    left: 0;
    top: 0;
    display: flex;
    flex-direction: column;
    z-index: 100;
}

.sidebar-header {
    padding: 24px 20px;
    border-bottom: 1px solid var(--bg-border);
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 24px;
    font-weight: 800;
}

.logo i {
    font-size: 28px;
}

.neon-primary {
    color: var(--neon-primary);
}

.sidebar-nav {
    flex-grow: 1;
    padding: 20px 0;
    overflow-y: auto;
}

.sidebar-nav ul {
    list-style: none;
}

.nav-item {
    margin: 4px 12px;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    text-decoration: none;
    color: var(--text-secondary);
    border-radius: var(--border-radius-sm);
    transition: var(--transition-base);
}

.nav-link:hover {
    background-color: rgba(34, 211, 238, 0.1);
    color: var(--text-primary);
}

/* Aktiver Menüpunkt mit dünnem cyan Strich links */
.nav-link.active {
    position: relative;
    background-color: rgba(34, 211, 238, 0.15);
    color: var(--neon-primary);
    box-shadow: var(--shadow-glow);
}

.nav-link.active::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 60%;
    background-color: var(--neon-primary);
    border-radius: 0 2px 2px 0;
}

.sidebar-footer {
    padding: 20px;
    border-top: 1px solid var(--bg-border);
}

.user-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--neon-primary);
}

.username {
    font-weight: 600;
    font-size: 14px;
}

/* Trennlinien */
.sidebar-divider {
    height: 1px;
    background-color: var(--bg-border);
    margin: 16px 12px;
}

/* Get App CTA */
.get-app-cta {
    margin: 20px 12px;
}

.get-app-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 16px;
    background-color: rgba(34, 211, 238, 0.1);
    border: 1px solid rgba(34, 211, 238, 0.3);
    color: var(--neon-primary);
    border-radius: var(--border-radius-sm);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition-base);
}

.get-app-link:hover {
    background-color: rgba(34, 211, 238, 0.2);
    border-color: var(--neon-primary);
}

/* Legal Links */
.legal-links {
    padding: 0 20px;
    margin-top: 8px;
}

.legal-link {
    display: block;
    color: var(--text-muted);
    font-size: 11px;
    text-decoration: none;
    padding: 4px 0;
    transition: var(--transition-base);
    border-bottom: 1px solid transparent;
    text-align: center;
}

.legal-link:hover {
    color: var(--text-secondary);
    border-bottom: 1px solid var(--neon-primary);
}

/* Main Content */
.main-content {
    margin-left: var(--sidebar-width);
    height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Web Logo Container entfernt (doppeltes Logo fix) */
.web-logo-container {
    display: none !important;
}

/* Content Area */
.web-content-area {
    flex-grow: 1;
    overflow-y: auto;
}

.phone-frame-container {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    min-height: 100%;
    padding: 20px;
}

.phone-frame {
    width: var(--phone-frame-width);
    height: 85vh;
    max-height: 800px;
    background-color: var(--bg-primary);
    border: 12px solid var(--bg-surface);
    border-radius: 0;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    position: relative;
}

.content-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    width: 100%;
}

/* ========================================
   MODAL STYLES (für Upload Modal)
   ======================================== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 9990;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition-base), visibility var(--transition-base);
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal {
    background-color: var(--bg-surface);
    border-radius: var(--border-radius);
    padding: 32px;
    width: 90%;
    max-width: 500px;
    border: 1px solid var(--bg-border);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    position: relative;
    transform: translateY(20px);
    transition: transform var(--transition-base);
}

.modal-overlay.active .modal {
    transform: translateY(0);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--bg-border);
}

.modal-title {
    font-size: 24px;
    font-weight: 600;
    color: var(--text-primary);
}

.modal-close {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 24px;
    cursor: pointer;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition-base);
}

.modal-close:hover {
    background-color: rgba(255, 79, 216, 0.1);
    color: var(--neon-secondary);
}

.modal-body {
    margin-bottom: 24px;
}

.modal-text {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 24px;
}

.modal-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.modal-btn {
    padding: 14px 20px;
    border-radius: var(--border-radius);
    border: none;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: var(--transition-base);
    text-align: center;
    text-decoration: none;
    display: block;
}

.modal-btn-primary {
    background-color: var(--neon-primary);
    color: var(--bg-primary);
}

.modal-btn-primary:hover {
    box-shadow: var(--shadow-glow);
}

.modal-btn-secondary {
    background-color: var(--bg-surface);
    color: var(--text-primary);
    border: 1px solid var(--bg-border);
}

.modal-btn-secondary:hover {
    border-color: var(--neon-primary);
    color: var(--neon-primary);
}

.modal-btn-accent {
    background-color: var(--neon-secondary);
    color: var(--bg-primary);
}

.modal-btn-accent:hover {
    box-shadow: var(--shadow-pink);
}

/* ========================================
   MOBILE LAYOUT
   ======================================== */
.mobile-layout {
    display: none;
    height: 100vh;
    flex-direction: column;
}

/* Mobile Header - VOLL TRANSPARENT */
.mobile-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background-color: transparent;
    position: sticky;
    top: 0;
    z-index: 100;
}

.mobile-header-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.mobile-logo i {
    font-size: 28px;
    color: var(--neon-primary);
}

/* Mobile Tabs */
.mobile-tabs-container {
    flex: 1;
    margin: 0 16px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.mobile-tabs-container::-webkit-scrollbar {
    display: none;
}

.mobile-tabs {
    display: flex;
    gap: 4px;
    min-width: min-content;
}

.mobile-tab {
    padding: 10px 20px;
    background: none;
    border: none;
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 15px;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition-base);
    white-space: nowrap;
    flex-shrink: 0;
    background-color: rgba(18, 21, 28, 0.7);
}

.mobile-tab.active {
    background-color: rgba(34, 211, 238, 0.2);
    color: var(--neon-primary);
}

.mobile-tab:not(.active):hover {
    background-color: rgba(34, 211, 238, 0.05);
    color: var(--text-primary);
}

/* Mobile Header Right */
.mobile-header-right {
    display: flex;
    align-items: center;
    gap: 8px;
}

.mobile-search-btn, .mobile-hamburger-btn {
    width: 40px;
    height: 40px;
    border-radius: var(--border-radius);
    background: rgba(18, 21, 28, 0.7);
    border: 1px solid var(--bg-border);
    color: var(--text-primary);
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-base);
}

.mobile-search-btn:hover, .mobile-hamburger-btn:hover {
    border-color: var(--neon-primary);
    color: var(--neon-primary);
}

/* Mobile Content - Fullscreen */
.mobile-content {
    flex-grow: 1;
    overflow-y: auto;
    height: calc(100vh - 120px);
}

/* Bottom Navigation */
.bottom-nav {
    display: flex;
    justify-content: space-around;
    padding: 12px 0;
    background-color: rgba(11, 13, 16, 0.95);
    border-top: 1px solid var(--bg-border);
    position: sticky;
    bottom: 0;
    z-index: 100;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.bottom-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 10px;
    gap: 4px;
    padding: 8px;
    border-radius: var(--border-radius-sm);
    transition: var(--transition-base);
}

.bottom-nav-item i {
    font-size: 20px;
}

.bottom-nav-item.active {
    color: var(--neon-primary);
}

.bottom-nav-item:not(.active):hover {
    color: var(--text-primary);
}

/* ========================================
   PAGE PLACEHOLDERS
   ======================================== */
.page-placeholder {
    padding: 60px 20px;
    text-align: center;
}

.page-placeholder h1 {
    font-size: 32px;
    margin-bottom: 16px;
    color: var(--neon-primary);
}

.page-placeholder p {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 24px;
}

.placeholder-icon {
    font-size: 64px;
    color: var(--neon-secondary);
    margin-bottom: 24px;
    opacity: 0.7;
}

/* ========================================
   FEED PLACEHOLDER
   ======================================== */
.feed-placeholder {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: var(--bg-surface);
    border-radius: var(--border-radius);
    padding: 40px;
    margin: 20px;
}

.feed-placeholder-icon {
    font-size: 80px;
    color: var(--neon-primary);
    margin-bottom: 24px;
    opacity: 0.5;
}

.feed-placeholder h2 {
    font-size: 24px;
    margin-bottom: 12px;
    text-align: center;
}

.feed-placeholder p {
    color: var(--text-secondary);
    text-align: center;
    max-width: 400px;
    margin-bottom: 32px;
}

.feed-tabs-preview {
    display: flex;
    gap: 8px;
    margin-bottom: 32px;
}

.feed-tab-preview {
    padding: 10px 24px;
    background-color: var(--bg-surface);
    border: 1px solid var(--bg-border);
    color: var(--text-secondary);
    border-radius: var(--border-radius);
    font-size: 14px;
    cursor: default;
}

.feed-tab-preview.active {
    background-color: rgba(34, 211, 238, 0.1);
    border-color: var(--neon-primary);
    color: var(--neon-primary);
}

/* ========================================
   PHONE HEADER TABS
   ======================================== */
.phone-header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    padding: 16px;
    background: linear-gradient(to bottom, 
        rgba(11, 13, 16, 0.95) 0%,
        rgba(11, 13, 16, 0.8) 100%);
    backdrop-filter: blur(10px);
    z-index: 10;
    border-bottom: 1px solid var(--bg-border);
}

.phone-tabs {
    display: flex;
    gap: 4px;
    justify-content: center;
}

.phone-tab {
    padding: 10px 24px;
    background: none;
    border: none;
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 15px;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition-base);
    white-space: nowrap;
}

.phone-tab.active {
    background-color: rgba(34, 211, 238, 0.15);
    color: var(--neon-primary);
}

.phone-tab:not(.active):hover {
    background-color: rgba(34, 211, 238, 0.05);
    color: var(--text-primary);
}

/* ========================================
   BUTTONS
   ======================================== */
.btn {
    padding: 12px 24px;
    border-radius: var(--border-radius);
    border: none;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: var(--transition-base);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-primary {
    background-color: var(--neon-primary);
    color: var(--bg-primary);
}

.btn-primary:hover {
    box-shadow: 0 0 20px rgba(34, 211, 238, 0.6);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: var(--bg-surface);
    color: var(--text-primary);
    border: 1px solid var(--bg-border);
}

.btn-secondary:hover {
    border-color: var(--neon-primary);
    color: var(--neon-primary);
}

.btn-accent {
    background-color: var(--neon-secondary);
    color: var(--bg-primary);
}

.btn-accent:hover {
    box-shadow: 0 0 20px rgba(255, 79, 216, 0.6);
    transform: translateY(-2px);
}

/* ========================================
   NEON PINK ACCENTS
   ======================================== */
.neon-pink {
    color: var(--neon-secondary) !important;
}

.neon-pink-bg {
    background-color: var(--neon-secondary) !important;
}

.neon-pink-border {
    border-color: var(--neon-secondary) !important;
}

.neon-pink-glow {
    box-shadow: 0 0 15px rgba(255, 79, 216, 0.4) !important;
}

.hover-pink:hover {
    color: var(--neon-secondary) !important;
    border-color: var(--neon-secondary) !important;
}

/* ========================================
   RESPONSIVE BREAKPOINTS
   ======================================== */
@media (max-width: 767px) {
    .mobile-layout {
        display: flex;
    }
    
    .mobile-tab {
        padding: 8px 16px;
        font-size: 14px;
    }
    
    .bottom-nav-item {
        padding: 6px 8px;
        font-size: 9px;
    }
    
    .bottom-nav-item i {
        font-size: 18px;
    }
    
    .mobile-content {
        height: calc(100vh - 110px);
    }
}

@media (min-width: 768px) and (max-width: 1023px) {
    .mobile-layout {
        display: flex;
    }
    
    .web-layout {
        display: none;
    }
    
    .mobile-content {
        height: calc(100vh - 120px);
    }
}

@media (min-width: 1024px) {
    .web-layout {
        display: flex;
    }
    
    .mobile-layout {
        display: none;
    }
    
    .sidebar {
        display: flex;
    }
    
    /* Topbar Anpassungen für Desktop */
    .web-topbar {
        padding: 20px 40px;
    }
    
    .web-search-container {
        max-width: 800px;
    }
}

@media (min-width: 1440px) {
    .phone-frame {
        width: 560px;
    }
    
    .web-search-container {
        max-width: 900px;
    }
}

/* ========================================
   UTILITY CLASSES
   ======================================== */
.hidden {
    display: none !important;
}

.text-center {
    text-align: center;
}

.flex {
    display: flex;
}

.flex-col {
    flex-direction: column;
}

.items-center {
    align-items: center;
}

.justify-center {
    justify-content: center;
}

.gap-2 {
    gap: 8px;
}

.gap-4 {
    gap: 16px;
}

.gap-6 {
    gap: 24px;
}

.p-4 {
    padding: 16px;
}

.p-6 {
    padding: 24px;
}

.mt-4 {
    margin-top: 16px;
}

.mb-4 {
    margin-bottom: 16px;
}

.mt-6 {
    margin-top: 24px;
}

/* ========================================
   FEED STYLES (PART 2)
   ======================================== */

/* Feed Container */
.feed-container {
    height: 100%;
    width: 100%;
    position: relative;
    scroll-snap-type: y mandatory;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

/* Hide scrollbars for feed */
.feed-container::-webkit-scrollbar {
    display: none;
}

.feed-container {
    scrollbar-width: none;
    -ms-overflow-style: none;
}

/* Feed Item */
.feed-item {
    width: 100%;
    height: 100%;
    scroll-snap-align: start;
    position: relative;
    flex-shrink: 0;
}

.feed-media {
    width: 100%;
    height: 100%;
    position: relative;
    background-color: var(--bg-primary);
    overflow: hidden;
}

.feed-video,
.feed-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: pointer;
}

/* Feed Overlays */
.feed-overlays {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 20px;
    pointer-events: none;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.3) 0%,
        transparent 20%,
        transparent 80%,
        rgba(0, 0, 0, 0.3) 100%
    );
}

.feed-overlays > * {
    pointer-events: auto;
}

/* Info Overlay (Left/Bottom) */
.feed-info-overlay {
    max-width: 70%;
    align-self: flex-start;
    margin-top: auto;
}

.creator-info {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.creator-avatar-link {
    display: block;
}

.creator-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2px solid var(--neon-primary);
    object-fit: cover;
}

.creator-details {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.creator-name {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
}

.creator-name:hover {
    color: var(--neon-primary);
}

.verified-badge {
    color: var(--neon-primary);
    font-size: 14px;
}

.follow-btn {
    padding: 6px 16px;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--text-primary);
    border-radius: var(--border-radius);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-base);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    max-width: 120px;
}

.follow-btn:hover {
    background-color: rgba(255, 255, 255, 0.2);
    border-color: var(--neon-primary);
}

.follow-btn.following {
    background-color: var(--neon-primary);
    border-color: var(--neon-primary);
    color: var(--bg-primary);
}

.video-caption {
    margin-bottom: 12px;
}

.video-caption p {
    color: var(--text-primary);
    font-size: 16px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.video-hashtags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.hashtag {
    color: var(--neon-primary);
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
}

.hashtag:hover {
    text-decoration: underline;
}

/* Actions Overlay (Right) */
.feed-actions-overlay {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    align-self: flex-end;
}

.action-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.action-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text-primary);
    font-size: 20px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: var(--transition-base);
    position: relative;
}

.action-btn:hover {
    background-color: rgba(0, 0, 0, 0.7);
    border-color: var(--neon-primary);
    transform: scale(1.1);
}

.action-btn.liked {
    color: var(--neon-secondary);
}

.action-btn.bookmarked {
    color: var(--neon-primary);
}

.action-count {
    font-size: 12px;
    font-weight: 600;
    margin-top: 4px;
    color: var(--text-primary);
}

.more-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text-primary);
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-base);
}

.more-btn:hover {
    background-color: rgba(0, 0, 0, 0.7);
    border-color: var(--neon-primary);
}

/* Cinema Mode Button */
.cinema-mode-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text-primary);
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-base);
    z-index: 10;
}

.cinema-mode-btn:hover {
    background-color: rgba(0, 0, 0, 0.7);
    border-color: var(--neon-primary);
}

/* Loading State */
.feed-loading {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(34, 211, 238, 0.1);
    border-top-color: var(--neon-primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.feed-loading p {
    color: var(--text-secondary);
    font-size: 16px;
}

/* Error State */
.feed-error {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding: 40px;
    text-align: center;
}

.error-icon {
    font-size: 48px;
    color: var(--neon-secondary);
}

.feed-error h3 {
    font-size: 24px;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.feed-error p {
    color: var(--text-secondary);
    margin-bottom: 20px;
}

/* Report Modal Styles */
.report-reasons {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 20px 0;
    max-height: 300px;
    overflow-y: auto;
}

.report-reason {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background-color: var(--bg-surface);
    border: 1px solid var(--bg-border);
    border-radius: var(--border-radius-sm);
    cursor: pointer;
    transition: var(--transition-base);
}

.report-reason:hover {
    border-color: var(--neon-primary);
    background-color: rgba(34, 211, 238, 0.05);
}

.report-reason input[type="radio"] {
    margin: 0;
}

.report-details {
    margin: 20px 0;
}

.report-details textarea {
    width: 100%;
    padding: 12px 16px;
    background-color: var(--bg-surface);
    border: 1px solid var(--bg-border);
    border-radius: var(--border-radius-sm);
    color: var(--text-primary);
    font-size: 14px;
    resize: vertical;
    min-height: 100px;
}

.report-details textarea:focus {
    outline: none;
    border-color: var(--neon-primary);
}

/* Comments Bottom Sheet */
.comments-sheet {
    background-color: var(--bg-surface);
    border-radius: var(--border-radius) var(--border-radius) 0 0;
    padding: 20px;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
}

.comments-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--bg-border);
}

.comments-header h3 {
    font-size: 20px;
    color: var(--text-primary);
}

.close-comments {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 20px;
    cursor: pointer;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition-base);
}

.close-comments:hover {
    background-color: rgba(255, 79, 216, 0.1);
    color: var(--neon-secondary);
}

.comments-list {
    flex: 1;
    overflow-y: auto;
    margin-bottom: 20px;
}

.comment-item {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--bg-border);
}

.comment-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.comment-content {
    flex: 1;
}

.comment-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.comment-username {
    font-weight: 600;
    color: var(--text-primary);
}

.comment-time {
    font-size: 12px;
    color: var(--text-muted);
}

.comment-text {
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 12px;
}

.comment-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.comment-like-btn,
.comment-reply-btn {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 4px 8px;
    border-radius: var(--border-radius-sm);
    transition: var(--transition-base);
}

.comment-like-btn:hover,
.comment-reply-btn:hover {
    background-color: rgba(34, 211, 238, 0.1);
    color: var(--neon-primary);
}

.comment-input-container {
    display: flex;
    gap: 12px;
    padding: 16px 0;
    border-top: 1px solid var(--bg-border);
}

.comment-input {
    flex: 1;
    padding: 12px 16px;
    background-color: var(--bg-surface);
    border: 1px solid var(--bg-border);
    border-radius: var(--border-radius);
    color: var(--text-primary);
    font-size: 14px;
}

.comment-input:focus {
    outline: none;
    border-color: var(--neon-primary);
}

.comment-post-btn {
    padding: 12px 24px;
    background-color: var(--neon-primary);
    color: var(--bg-primary);
    border: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-base);
}

.comment-post-btn:hover {
    box-shadow: var(--shadow-glow);
}

.comments-disabled-note {
    text-align: center;
    padding: 12px;
    color: var(--text-muted);
    font-size: 12px;
    border-top: 1px solid var(--bg-border);
    margin-top: 12px;
}

/* Auth Gate Modal */
.auth-gate-modal {
    text-align: center;
}

.auth-gate-modal h2 {
    font-size: 24px;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.auth-gate-modal p {
    color: var(--text-secondary);
    margin-bottom: 24px;
    line-height: 1.5;
}

/* Mobile Bottom Nav Fix - WICHTIG: Absolut sticky */
@media (max-width: 1023px) {
    .bottom-nav {
        position: fixed !important;
        bottom: 0 !important;
        left: 0 !important;
        right: 0 !important;
        z-index: 1000 !important;
    }
    
    .mobile-content {
        padding-bottom: 70px !important; /* Raum für Bottom Nav */
    }
}

/* Desktop Phone Frame Adjustments */
@media (min-width: 1024px) {
    .phone-frame .feed-container {
        height: 100%;
    }
    
    .phone-frame .feed-item {
        height: 100%;
    }
}
.mb-6 {
    margin-bottom: 24px;
}
