/* ============================================
   STOCKERTIM - Netflix-Style Video Platform
   Dark Theme with Blue & Cyan Accents
   ============================================ */

/* CSS Variables - Stockertim Brand Colors */
:root {
    --bg-primary: #0f1419;
    --bg-secondary: #1a202c;
    --bg-card: #252d3d;
    --bg-hover: #2d3748;
    --primary-blue: #1e90ff;
    --primary-gold: #1e90ff;
    --primary-accent: #00d9ff;
    --text-primary: #ffffff;
    --text-secondary: #b0bec5;
    --text-muted: #78909c;
    --accent-red: #ff4757;
    --accent-green: #2ed573;
    --border-color: #37474f;
    --shadow-color: rgba(0, 0, 0, 0.6);
    --gradient-primary: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-accent) 100%);
    --gradient-accent: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-accent) 100%);
    --font-display: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-body: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition-fast);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    outline: none;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 0.5em;
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.75rem); }

.text-gold { color: var(--primary-gold); }
.text-muted { color: var(--text-muted); }

/* ============================================
   LAYOUT
   ============================================ */

.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 4%;
}

.section {
    padding: 2rem 0;
}

/* ============================================
   NAVIGATION
   ============================================ */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 70px;
    z-index: 1000;
    background: var(--bg-secondary);
    padding: 0 4%;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--accent-primary);
    transition: background var(--transition-normal), box-shadow var(--transition-normal);
}

.navbar.scrolled {
    background: var(--bg-secondary);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.stock-ticker-wrapper.scrolled {
    box-shadow: 0 4px 20px var(--shadow-color);
}

.navbar-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: transform var(--transition-fast);
}

.logo:hover {
    transform: scale(1.05);
}

.logo-image {
    height: 48px;
    width: auto;
    max-width: 180px;
    object-fit: contain;
    filter: drop-shadow(0 0 10px rgba(30, 144, 255, 0.3));
    transition: filter var(--transition-normal);
}

.logo-image:hover {
    filter: drop-shadow(0 0 20px rgba(30, 144, 255, 0.6));
}

.logo-text {
    font-family: var(--font-display);
    font-size: 2rem;
    letter-spacing: 2px;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    color: var(--text-secondary);
    font-size: 0.95rem;
    font-weight: 500;
    padding: 0.5rem 0;
    position: relative;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--text-primary);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-gold);
    transition: width var(--transition-fast);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-auth {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Mobile Menu */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 0.5rem;
    background: none;
}

.mobile-menu-btn span {
    width: 25px;
    height: 2px;
    background: var(--text-primary);
    transition: var(--transition-fast);
}

@media (max-width: 768px) {
    .navbar {
        height: 60px;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 60px;
        left: 0;
        right: 0;
        background: var(--bg-secondary);
        flex-direction: column;
        padding: 2rem;
        gap: 1rem;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition-normal);
    }
    
    .nav-links.open {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav-auth {
        display: none;
    }
    
    .nav-auth.mobile {
        display: flex;
        flex-direction: column;
        width: 100%;
    }
}

/* ============================================
   STOCK TICKER (TradingView Widget)
   ============================================ */

.stock-ticker-wrapper {
    position: fixed;
    top: 71px;
    left: 0;
    right: 0;
    z-index: 999;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-color);
    height: 50px;
    overflow: hidden;
    transition: box-shadow var(--transition-normal);
}

.stock-ticker-wrapper .tradingview-widget-container {
    width: 100%;
    height: 100%;
}

.stock-ticker-wrapper .tradingview-widget-container__widget {
    width: 100%;
    height: 100%;
}

/* Hide TradingView copyright */
.stock-ticker-wrapper .tradingview-widget-copyright {
    display: none !important;
}

/* Adjust content spacing for tickers */
.hero-carousel {
    padding-top: 95px; /* 50px stock ticker + 45px alerts ticker */
}

.category-page,
.search-page,
.video-player-page,
.stock-picks-page,
.legal-page,
.auth-page {
    padding-top: 195px; /* 150px + 45px alerts ticker */
}

/* Stock Ticker & Alerts Ticker Responsive */
@media (max-width: 768px) {
    .stock-ticker-wrapper {
        top: 61px;
        height: 59px;
    }

    .alerts-ticker-wrapper {
        top: 121px; /* 61px + 59px stock ticker + 1px */
        height: 40px;
    }

    .alerts-ticker-label span:last-child {
        display: none;
    }

    .hero-carousel {
        padding-top: 100px; /* 59px stock + 40px alerts */
    }

    .category-page,
    .search-page,
    .video-player-page,
    .stock-picks-page,
    .legal-page,
    .auth-page {
        padding-top: 165px;
    }
}

@media (max-width: 480px) {
    .stock-ticker-wrapper {
        height: 55px; /* Additional 15% increase for mobile visibility */
    }

    .hero-carousel {
        padding-top: 55px;
    }
}

/* ============================================
   BUTTONS
   ============================================ */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 4px;
    transition: all var(--transition-fast);
}

.btn-primary {
    background: var(--gradient-primary);
    color: #ffffff;
    border: none;
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-accent) 0%, var(--primary-blue) 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(30, 144, 255, 0.4);
}

.btn-secondary {
    background: rgba(30, 144, 255, 0.15);
    color: var(--text-primary);
    border: 1px solid rgba(30, 144, 255, 0.3);
}

.btn-secondary:hover {
    background: rgba(30, 144, 255, 0.25);
    border-color: rgba(30, 144, 255, 0.5);
}

.btn-outline {
    background: transparent;
    color: var(--primary-blue);
    border: 2px solid var(--primary-blue);
}

.btn-outline:hover {
    background: var(--primary-blue);
    color: #ffffff;
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
}

.btn-icon {
    padding: 0.75rem;
    border-radius: 50%;
}

/* ============================================
   HERO CAROUSEL (Featured Video Slider)
   ============================================ */

.hero-carousel {
    position: relative;
    width: 100%;
    margin-top: 0;
}

.carousel-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    margin-top: 0;
    height: 90vh;
    min-height: 500px;
}

.carousel-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 1;
}

.carousel-slide.active {
    opacity: 1;
    z-index: 10;
}

/* ============================================
   HERO SECTION (Featured Video)
   ============================================ */

.hero {
    position: relative;
    width: 100%;
    height: 90vh;
    min-height: 500px;
    margin-top: 0;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    inset: 0;
    z-index: 0;
    background: linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 100%);
}

.hero-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(0,0,0,0.9) 0%,
        rgba(0,0,0,0.6) 40%,
        rgba(0,0,0,0.2) 70%,
        rgba(0,0,0,0) 100%
    ),
    linear-gradient(
        180deg,
        rgba(0,0,0,0) 60%,
        rgba(0,0,0,0.8) 85%,
        var(--bg-primary) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    padding: 0 4%;
    max-width: 650px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--primary-gold);
    color: var(--bg-primary);
    padding: 0.4rem 1rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    width: fit-content;
    margin-bottom: 1rem;
}

.hero-title {
    font-size: clamp(2rem, 5vw, 3.2rem); /* Reduced by 20% for large screens */
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.5);
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    max-width: 500px;
    line-height: 1.6;
    display: none; /* Hidden by default - shown via More Info button */
}

.hero-description.show {
    display: block;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Carousel Indicators */
.carousel-indicators {
    position: absolute;
    bottom: 30px;
    left: 4%;
    display: flex;
    gap: 0.5rem;
    z-index: 20;
}

.indicator {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: none;
    padding: 0;
}

.indicator.active {
    width: 30px;
    background: var(--primary-gold);
    box-shadow: 0 0 12px rgba(201, 162, 39, 0.7), inset 0 0 6px rgba(255, 255, 255, 0.3);
}

.indicator:hover:not(.active) {
    background: rgba(255, 255, 255, 0.6);
    transform: scale(1.1);
}

.indicator:active {
    transform: scale(0.95);
}

@media (max-width: 768px) {
    .hero {
        height: 70vh;
    }

    .hero-content {
        justify-content: flex-end;
        padding-bottom: 3rem;
    }

    .hero-badge {
        font-size: 0.65rem;
        padding: 0.3rem 0.75rem;
        letter-spacing: 0.5px;
    }

    .hero-title {
        font-size: 1.4rem; /* Smaller size for mobile */
    }

    .hero-buttons .btn-lg {
        padding: 0.6rem 1rem;
        font-size: 0.85rem;
    }

    .carousel-indicators {
        bottom: 20px;
        left: 2%;
        gap: 0.4rem;
    }

    .indicator {
        width: 8px;
        height: 8px;
    }

    .indicator.active {
        width: 20px;
    }
}

/* ============================================
   VIDEO ROWS (Netflix-Style)
   ============================================ */

.video-section {
    position: relative;
    margin-bottom: 1.5rem;
}

.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 4%;
    margin-bottom: 0.75rem;
}

.section-title {
    font-size: 1.4rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.section-title .premium-badge {
    background: var(--primary-gold);
    color: var(--bg-primary);
    font-size: 0.65rem;
    padding: 0.2rem 0.5rem;
    border-radius: 3px;
    font-weight: 700;
    text-transform: uppercase;
}

.see-all-link {
    color: var(--primary-gold);
    font-size: 0.9rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.see-all-link:hover {
    text-decoration: underline;
}

/* Video Row Container */
.video-row {
    display: flex;
    gap: 10px;
    padding: 0 4%;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding-bottom: 1rem;
}

.video-row::-webkit-scrollbar {
    display: none;
}

/* Video Card */
.video-card {
    flex: 0 0 auto;
    width: calc(100% / 2 - 10px);
    position: relative;
    border-radius: 6px;
    overflow: hidden;
    transition: all var(--transition-normal);
    cursor: pointer;
}

@media (min-width: 500px) {
    .video-card {
        width: calc(100% / 3 - 10px);
    }
}

@media (min-width: 768px) {
    .video-card {
        width: calc(100% / 4 - 10px);
    }
}

@media (min-width: 1024px) {
    .video-card {
        width: calc(100% / 5 - 10px);
    }
}

@media (min-width: 1400px) {
    .video-card {
        width: calc(100% / 6 - 10px);
    }
}

.video-card:hover {
    transform: scale(1.05);
    z-index: 10;
    box-shadow: 0 10px 40px rgba(0,0,0,0.6);
}

.video-thumbnail {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    overflow: hidden;
    background: linear-gradient(135deg, #252525 0%, #1a1a1a 100%);
}

.video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.video-card:hover .video-thumbnail img {
    transform: scale(1.1);
}

/* Premium Lock Overlay */
.video-lock-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(8px);
}

.video-lock-overlay .lock-icon {
    font-size: 2.5rem;
    color: var(--primary-gold);
}

/* Blurred thumbnail for premium content */
.video-thumbnail.blurred img {
    filter: blur(10px);
}

/* Video Info (shows on hover) */
.video-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1rem;
    background: linear-gradient(transparent, rgba(0,0,0,0.95));
    transform: translateY(100%);
    opacity: 0;
    transition: all var(--transition-normal);
}

.video-card:hover .video-info {
    transform: translateY(0);
    opacity: 1;
}

.video-info-title {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.video-info-meta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* Video Card Title (always visible) */
.video-card-title {
    padding: 0.75rem;
    background: var(--bg-card);
    font-size: 0.85rem;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ============================================
   VIDEO PLAYER PAGE
   ============================================ */

.video-player-page {
    min-height: 100vh;
    /* padding-top handled in stock ticker section */
}

.video-player-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem;
}

.video-player {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    background: #000;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 1rem;
}

.video-player iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.video-details {
    padding: 1.5rem 0;
}

.video-details-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.video-details-title {
    font-size: 1.75rem;
    font-weight: 600;
}

.video-details-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.video-details-description {
    color: var(--text-secondary);
    line-height: 1.8;
    max-width: 800px;
}

/* Related Videos */
.related-videos {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

/* ============================================
   STOCK PICKS PAGE
   ============================================ */

.stock-picks-page {
    min-height: 100vh;
    /* padding-top handled in stock ticker section */
}

.stock-table-section {
    margin-bottom: 3rem;
}

.stock-table-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.stock-table-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-gold);
}

.stock-table-wrapper {
    overflow-x: auto;
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.stock-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 600px;
}

.stock-table th {
    background: var(--bg-card);
    padding: 1rem;
    text-align: left;
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--primary-gold);
    border-bottom: 2px solid var(--primary-gold);
}

.stock-table td {
    padding: 1rem;
    border-bottom: 1px solid var(--border-color);
    font-size: 0.95rem;
}

.stock-table tbody tr {
    background: var(--bg-secondary);
    transition: background var(--transition-fast);
}

.stock-table tbody tr:hover {
    background: var(--bg-hover);
}

.stock-table .ticker {
    font-weight: 600;
    color: var(--primary-gold);
}

.stock-table .rating {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
}

.rating-buy { background: rgba(70, 211, 105, 0.2); color: var(--accent-green); }
.rating-hold { background: rgba(255, 193, 7, 0.2); color: #ffc107; }
.rating-sell { background: rgba(229, 9, 20, 0.2); color: var(--accent-red); }

/* ============================================
   ALERTS NOTIFICATION
   ============================================ */

.alerts-widget {
    position: fixed;
    bottom: 20px;
    right: 20px;
    left: auto;
    transform: none;
    z-index: 1000;
    width: 380px;
    max-width: calc(100% - 40px);
    display: block;
}

.alerts-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 1rem 1.5rem;
    background: var(--primary-gold);
    color: var(--bg-primary);
    border-radius: 50px;
    font-weight: 600;
    box-shadow: 0 4px 20px rgba(201, 162, 39, 0.4);
    transition: all var(--transition-fast);
}

.alerts-toggle:hover {
    background: var(--primary-accent);
    transform: translateY(-2px);
}

.alerts-badge {
    background: var(--accent-red);
    color: white;
    font-size: 0.75rem;
    padding: 0.15rem 0.5rem;
    border-radius: 10px;
}

.alerts-panel {
    position: absolute;
    bottom: 70px;
    left: 0;
    right: 0;
    background: var(--bg-card);
    border-radius: 12px;
    max-height: 400px;
    overflow: hidden;
    box-shadow: 0 -10px 40px rgba(0,0,0,0.5);
    transform: translateY(20px);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
}

.alerts-panel.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

.alerts-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.alerts-header h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary-gold);
    margin: 0;
}

.alerts-close {
    background: none;
    color: var(--text-muted);
    font-size: 1.5rem;
    line-height: 1;
}

.alerts-list {
    max-height: 300px;
    overflow-y: auto;
}

.alert-item {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--border-color);
    transition: background var(--transition-fast);
}

.alert-item:hover {
    background: var(--bg-hover);
}

.alert-item:last-child {
    border-bottom: none;
}

.alert-type {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 0.2rem 0.5rem;
    border-radius: 3px;
    margin-bottom: 0.5rem;
}

.alert-type.stock_pick { background: var(--accent-green); color: #000; }
.alert-type.breaking_news { background: var(--accent-red); color: #fff; }
.alert-type.premium_video { background: var(--primary-gold); color: #000; }
.alert-type.announcement { background: #6366f1; color: #fff; }
.alert-type.stock_sale { background: #ef4444; color: #fff; }
.alert-type.stock_buy { background: #22c55e; color: #000; }

.alert-message {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

.alert-time {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* ============================================
   AUTH PAGES
   ============================================ */

.auth-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
}

.auth-container {
    width: 100%;
    max-width: 450px;
    background: var(--bg-card);
    border-radius: 12px;
    padding: 2.5rem;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}

.auth-logo {
    text-align: center;
    margin-bottom: 2rem;
}

.auth-logo .logo-text {
    font-size: 2.5rem;
}

.auth-title {
    text-align: center;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.auth-subtitle {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-label {
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
}

.form-input {
    width: 100%;
    padding: 0.875rem 1rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    color: var(--text-primary);
    font-size: 1rem;
    transition: all var(--transition-fast);
}

.form-input:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(30, 144, 255, 0.1);
}

.form-input::placeholder {
    color: var(--text-muted);
}

.form-select {
    width: 100%;
    padding: 0.875rem 1rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    color: var(--text-primary);
    font-size: 1rem;
    cursor: pointer;
}

.form-select option {
    background: var(--bg-secondary);
}

.tier-selection {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.tier-card {
    padding: 1.25rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    cursor: pointer;
    transition: all var(--transition-fast);
    text-align: center;
}

.tier-card:hover {
    border-color: var(--primary-gold);
}

.tier-card.selected {
    border-color: var(--primary-gold);
    background: rgba(201, 162, 39, 0.1);
}

.tier-card input {
    display: none;
}

.tier-name {
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.tier-price {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.tier-card.premium .tier-name {
    color: var(--primary-gold);
}

.auth-submit {
    width: 100%;
    padding: 1rem;
    margin-top: 0.5rem;
}

.auth-footer {
    text-align: center;
    margin-top: 1.5rem;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.auth-footer a {
    color: var(--primary-gold);
    font-weight: 500;
}

.auth-footer a:hover {
    text-decoration: underline;
}

/* ============================================
   COOKIE CONSENT
   ============================================ */

.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--bg-card);
    padding: 1.5rem;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.3);
    z-index: 9999;
    transform: translateY(100%);
    transition: transform var(--transition-normal);
}

.cookie-consent.show {
    transform: translateY(0);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}

.cookie-text {
    flex: 1;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.cookie-text a {
    color: var(--primary-gold);
    text-decoration: underline;
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
}

@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-buttons {
        width: 100%;
        justify-content: center;
    }
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
    background: var(--bg-secondary);
    padding: 4rem 4% 2rem;
    margin-top: 4rem;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
}

.footer-top {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-section h4 {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: var(--text-muted);
    font-size: 0.9rem;
    transition: color var(--transition-fast);
}

.footer-section a:hover {
    color: var(--primary-gold);
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.disclaimer-box {
    background: rgba(229, 9, 20, 0.1);
    border: 1px solid rgba(229, 9, 20, 0.3);
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.disclaimer-box h4 {
    color: var(--accent-red);
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.disclaimer-box p {
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.footer-copyright {
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* ============================================
   ADMIN PANEL STYLES
   ============================================ */

.admin-layout {
    display: flex;
    min-height: 100vh;
}

.admin-sidebar {
    width: 260px;
    background: var(--bg-secondary);
    padding: 1.5rem;
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    overflow-y: auto;
    border-right: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
}

.admin-sidebar .logo-text {
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

/* Sidebar Header */
.sidebar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.sidebar-logo img {
    max-height: 40px;
}

.sidebar-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Sidebar Navigation */
.sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.sidebar-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1rem;
    border-radius: 8px;
    color: var(--text-secondary);
    font-size: 0.95rem;
    text-decoration: none;
    transition: all var(--transition-fast);
}

.sidebar-link:hover,
.sidebar-link.active {
    background: rgba(201, 162, 39, 0.15);
    color: var(--gold-primary);
}

.sidebar-icon {
    font-size: 1.1rem;
    width: 24px;
    text-align: center;
}

/* Sidebar Footer */
.sidebar-footer {
    margin-top: auto;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

/* Admin User Badge */
.admin-user {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.admin-badge {
    background: rgba(201, 162, 39, 0.2);
    color: var(--gold-primary);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.admin-nav {
    list-style: none;
}

.admin-nav-item {
    margin-bottom: 0.5rem;
}

.admin-nav-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1rem;
    border-radius: 8px;
    color: var(--text-secondary);
    font-size: 0.95rem;
    transition: all var(--transition-fast);
}

.admin-nav-link:hover,
.admin-nav-link.active {
    background: rgba(201, 162, 39, 0.1);
    color: var(--primary-gold);
}

.admin-nav-link svg {
    width: 20px;
    height: 20px;
}

.admin-main {
    flex: 1;
    margin-left: 260px;
    padding: 2rem;
}

.admin-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2rem;
}

.admin-title {
    font-size: 1.75rem;
    font-weight: 600;
}

/* Admin Stats Cards */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.stat-card {
    background: var(--bg-card);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.stat-card-title {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.5rem;
}

.stat-card-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-gold);
}

/* Admin Tables */
.admin-table-wrapper {
    background: var(--bg-card);
    border-radius: 12px;
    border: 1px solid var(--border-color);
    overflow: hidden;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
}

.admin-table th {
    background: var(--bg-secondary);
    padding: 1rem;
    text-align: left;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-muted);
}

.admin-table td {
    padding: 1rem;
    border-top: 1px solid var(--border-color);
    font-size: 0.95rem;
}

.admin-table tbody tr:hover {
    background: var(--bg-hover);
}

.admin-table .actions {
    display: flex;
    gap: 0.5rem;
}

.action-btn {
    padding: 0.4rem 0.75rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 500;
    transition: all var(--transition-fast);
}

.action-btn.edit {
    background: rgba(99, 102, 241, 0.2);
    color: #818cf8;
}

.action-btn.delete {
    background: rgba(239, 68, 68, 0.2);
    color: #f87171;
}

.action-btn:hover {
    transform: translateY(-1px);
}

/* Status Badges */
.status-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.status-badge.active { background: rgba(34, 197, 94, 0.2); color: #22c55e; }
.status-badge.paused { background: rgba(251, 191, 36, 0.2); color: #fbbf24; }
.status-badge.deleted { background: rgba(239, 68, 68, 0.2); color: #ef4444; }
.status-badge.premium { background: rgba(201, 162, 39, 0.2); color: var(--primary-gold); }
.status-badge.free { background: rgba(156, 163, 175, 0.2); color: #9ca3af; }

/* Admin Form */
.admin-form {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    max-width: 600px;
}

.admin-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

@media (max-width: 768px) {
    .admin-sidebar {
        width: 100%;
        position: relative;
        padding: 1rem;
    }
    
    .admin-main {
        margin-left: 0;
        padding: 1rem;
    }
    
    .admin-form .form-row {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   LEGAL PAGES
   ============================================ */

.legal-page {
    min-height: 100vh;
    /* padding-top handled in stock ticker section */
}

.legal-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 4%;
}

.legal-content h1 {
    color: var(--primary-gold);
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.legal-content h2 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.legal-content p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    line-height: 1.8;
}

.legal-content ul {
    color: var(--text-secondary);
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.legal-content li {
    margin-bottom: 0.5rem;
}

/* ============================================
   FLASH MESSAGES
   ============================================ */

.flash-messages {
    position: fixed;
    top: 80px;
    right: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.flash-message {
    padding: 1rem 1.5rem;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.flash-message.success {
    background: rgba(34, 197, 94, 0.2);
    color: #22c55e;
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.flash-message.error {
    background: rgba(239, 68, 68, 0.2);
    color: #f87171;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.flash-message.warning {
    background: rgba(251, 191, 36, 0.2);
    color: #fbbf24;
    border: 1px solid rgba(251, 191, 36, 0.3);
}

.flash-message.info {
    background: rgba(59, 130, 246, 0.2);
    color: #60a5fa;
    border: 1px solid rgba(59, 130, 246, 0.3);
}

/* ============================================
   CATEGORY PAGE
   ============================================ */

.category-page {
    min-height: 100vh;
    /* padding-top handled in stock ticker section */
}

.category-header {
    padding: 2rem 4%;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 2rem;
}

.category-title {
    font-size: 2.5rem;
    color: var(--primary-gold);
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    padding: 0 4%;
}

.video-grid .video-card {
    width: 100%;
}

/* ============================================
   EMPTY STATES
   ============================================ */

.empty-state {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--text-muted);
}

.empty-state svg {
    width: 80px;
    height: 80px;
    margin-bottom: 1rem;
    opacity: 0.5;
}

.empty-state h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

/* ============================================
   PAYMENT PAGE
   ============================================ */

.payment-container {
    max-width: 500px;
    margin: 0 auto;
    text-align: center;
}

.payment-summary {
    background: var(--bg-secondary);
    padding: 2rem;
    border-radius: 12px;
    margin-bottom: 2rem;
}

.payment-amount {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-gold);
    margin-bottom: 0.5rem;
}

.payment-period {
    color: var(--text-muted);
}

.paypal-button-container {
    margin-top: 2rem;
}

/* ============================================
   UTILITIES
   ============================================ */

.hidden { display: none !important; }
.text-center { text-align: center; }
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }

/* ============================================
   SCROLLBAR STYLING
   ============================================ */

::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--text-muted);
}

/* ============================================
   SEARCH
   ============================================ */

/* Navbar Search */
.nav-search {
    display: flex;
    align-items: center;
    margin-right: 1rem;
}

.search-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    color: var(--text-secondary);
    padding: 0.5rem;
    cursor: pointer;
    transition: color var(--transition-fast);
}

.search-toggle:hover {
    color: var(--text-primary);
}

/* Change icon to X when search is active */
.nav-search.search-active .search-toggle {
    color: var(--primary-gold);
}

.search-form {
    display: none;
    align-items: center;
    background: var(--bg-card);
    border-radius: 4px;
    overflow: hidden;
}

.search-form.active {
    display: flex;
}

.search-input {
    background: transparent;
    border: none;
    color: var(--text-primary);
    padding: 0.5rem 0.75rem;
    font-size: 0.9rem;
    width: 200px;
    outline: none;
}

.search-input::placeholder {
    color: var(--text-muted);
}

.search-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-blue);
    border: none;
    color: white;
    padding: 0.5rem 0.75rem;
    cursor: pointer;
    transition: background var(--transition-fast);
}

.search-submit:hover {
    background: var(--primary-accent);
}

.search-close {
    display: none;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    color: var(--text-muted);
    padding: 0.5rem;
    margin-left: 0.25rem;
    cursor: pointer;
    transition: color var(--transition-fast);
}

.search-close:hover {
    color: var(--text-primary);
}

/* Search Page */
.search-page {
    min-height: 100vh;
    padding-bottom: 2rem;
    /* padding-top handled in stock ticker section */
}

.search-header {
    margin-bottom: 2rem;
}

.search-title {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--primary-gold);
}

.search-page-form {
    width: 100%;
    max-width: 600px;
}

.search-input-wrapper {
    display: flex;
    background: var(--bg-card);
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.search-page-input {
    flex: 1;
    background: transparent;
    border: none;
    color: var(--text-primary);
    padding: 1rem 1.25rem;
    font-size: 1rem;
    outline: none;
}

.search-page-input::placeholder {
    color: var(--text-muted);
}

.search-page-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--gradient-primary);
    border: none;
    color: white;
    padding: 1rem 1.5rem;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.search-page-btn:hover {
    background: linear-gradient(135deg, var(--primary-accent) 0%, var(--primary-blue) 100%);
}

.search-results-info {
    margin-bottom: 1.5rem;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.search-results-grid {
    margin-bottom: 2rem;
}

/* Video Category Badge */
.video-category-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    background: rgba(0, 0, 0, 0.75);
    color: var(--primary-gold);
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    padding: 0.25rem 0.5rem;
    border-radius: 3px;
    letter-spacing: 0.5px;
}

/* Premium Notice on Card */
.video-card-premium-notice {
    padding: 0.75rem;
    background: var(--bg-secondary);
    text-align: center;
    border-top: 1px solid var(--border-color);
}

.video-card-premium-notice .btn {
    width: 100%;
}

/* Search Mobile Styles */
@media (max-width: 768px) {
    .nav-search {
        position: static;
        margin-right: 0.5rem;
    }

    .search-toggle {
        padding: 0.4rem;
    }

    .search-toggle svg {
        width: 18px;
        height: 18px;
    }

    .search-form {
        position: fixed;
        top: 60px;
        left: 0;
        right: 0;
        background: var(--bg-secondary);
        padding: 0.75rem 1rem;
        border-radius: 0;
        z-index: 1001;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
        border-bottom: 1px solid var(--border-color);
    }

    .search-form.active {
        display: flex;
    }

    .search-input {
        flex: 1;
        width: auto;
        padding: 0.6rem 0.75rem;
        font-size: 1rem;
    }

    .search-submit {
        padding: 0.6rem 1rem;
    }

    .search-close {
        display: flex;
        padding: 0.6rem;
        color: var(--text-secondary);
    }

    .search-title {
        font-size: 1.5rem;
    }

    .search-input-wrapper {
        flex-direction: column;
    }

    .search-page-btn {
        justify-content: center;
    }
}

/* ============================================
   ALERTS TICKER (Fixed below stock ticker)
   ============================================ */

.alerts-ticker-wrapper {
    position: fixed;
    top: 122px; /* 71px navbar border + 50px stock ticker + 1px */
    left: 0;
    right: 0;
    z-index: 998;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-color);
    height: 44px;
    transition: box-shadow var(--transition-normal);
}

.alerts-ticker-wrapper.scrolled {
    box-shadow: 0 4px 20px var(--shadow-color);
}

.alerts-ticker-link {
    text-decoration: none;
    display: block;
    height: 100%;
}

.alerts-ticker-container {
    display: flex;
    align-items: stretch;
    height: 100%;
    background: var(--bg-secondary);
}

.alerts-ticker-container:hover {
    background: var(--bg-card);
}

.alerts-ticker-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0 1rem;
    background: var(--accent-primary);
    color: white;
    font-weight: 600;
    font-size: 0.8rem;
    white-space: nowrap;
}

.alerts-ticker-icon {
    font-size: 1rem;
}

.alerts-ticker-track {
    flex: 1;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
}

.alerts-ticker-content {
    display: flex;
    gap: 3rem;
    animation: alertsTickerScroll 120s linear infinite;
    white-space: nowrap;
    padding: 0.75rem 1rem;
}

.alerts-ticker-content:hover {
    animation-play-state: paused;
}

@keyframes alertsTickerScroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.alerts-ticker-item {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
}

.alerts-ticker-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    color: white;
}

.alerts-ticker-message {
    color: var(--text-primary);
    font-size: 0.9rem;
}

.alerts-ticker-time {
    color: var(--text-muted);
    font-size: 0.8rem;
}

@media (max-width: 768px) {
    .alerts-ticker-content {
        animation-duration: 90s;
    }

    .alerts-ticker-message {
        font-size: 0.85rem;
    }
}

/* ============================================
   ALERTS PAGE (Twitter/X Thread Style)
   ============================================ */

.alerts-page {
    padding-top: 195px;
    min-height: 100vh;
}

.alerts-page .container {
    max-width: 700px;
    margin: 0 auto;
    padding: 0 1.5rem 3rem;
}

.alerts-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.alerts-title {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.alerts-subtitle {
    color: var(--text-muted);
    font-size: 1rem;
}

.alerts-timeline {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.alerts-date-group {
    display: flex;
    flex-direction: column;
}

.alerts-date-header {
    margin-bottom: 1rem;
}

.alerts-date {
    display: inline-block;
    background: var(--bg-secondary);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
    border: 1px solid var(--border-color);
}

.alerts-thread {
    display: flex;
    flex-direction: column;
    position: relative;
}

.alert-item {
    display: flex;
    gap: 1rem;
    position: relative;
    padding-left: 1.5rem;
}

.alert-item:not(:last-child) {
    padding-bottom: 1.5rem;
}

.alert-connector {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--border-color);
}

.alert-item:first-child .alert-connector {
    top: 0.5rem;
}

.alert-item:last-child .alert-connector {
    bottom: auto;
    height: 0.5rem;
}

.alert-item::before {
    content: '';
    position: absolute;
    left: -4px;
    top: 0.5rem;
    width: 10px;
    height: 10px;
    background: var(--accent-primary);
    border-radius: 50%;
    border: 2px solid var(--bg-primary);
    z-index: 1;
}

.alert-content {
    flex: 1;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1rem 1.25rem;
    transition: border-color var(--transition-fast);
}

.alert-content:hover {
    border-color: var(--accent-primary);
}

.alert-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.75rem;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.alert-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.3rem 0.6rem;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
}

.alert-time {
    color: var(--text-muted);
    font-size: 0.8rem;
}

.alert-message {
    color: var(--text-primary);
    font-size: 0.95rem;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .alerts-page {
        padding-top: 165px;
    }

    .alerts-page .container {
        padding: 0 1rem 2rem;
    }

    .alerts-title {
        font-size: 1.5rem;
    }

    .alert-content {
        padding: 0.875rem 1rem;
    }

    .alert-header {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* ============================================
   WHATSAPP CHAT BUTTON
   ============================================ */

.whatsapp-float {
    position: fixed;
    bottom: 100px;
    right: 25px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: all var(--transition-fast);
}

.whatsapp-float:hover {
    background-color: #128C7E;
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
}

.whatsapp-float svg {
    width: 32px;
    height: 32px;
}

.whatsapp-tooltip {
    position: absolute;
    right: 70px;
    background: var(--bg-secondary);
    color: var(--text-primary);
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-fast);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.whatsapp-tooltip::after {
    content: '';
    position: absolute;
    right: -6px;
    top: 50%;
    transform: translateY(-50%);
    border-width: 6px;
    border-style: solid;
    border-color: transparent transparent transparent var(--bg-secondary);
}

.whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1;
    visibility: visible;
}

/* WhatsApp Button Pulse Animation */
.whatsapp-float::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: #25D366;
    border-radius: 50%;
    animation: whatsappPulse 2s infinite;
    z-index: -1;
}

@keyframes whatsappPulse {
    0% {
        transform: scale(1);
        opacity: 0.7;
    }
    70% {
        transform: scale(1.3);
        opacity: 0;
    }
    100% {
        transform: scale(1);
        opacity: 0;
    }
}

/* WhatsApp Responsive - Tablet */
@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 90px;
        right: 20px;
        width: 55px;
        height: 55px;
    }

    .whatsapp-float svg {
        width: 28px;
        height: 28px;
    }

    .whatsapp-tooltip {
        display: none;
    }
}

/* WhatsApp Responsive - Mobile */
@media (max-width: 480px) {
    .whatsapp-float {
        bottom: 80px;
        right: 15px;
        width: 50px;
        height: 50px;
    }

    .whatsapp-float svg {
        width: 26px;
        height: 26px;
    }
}

/* ============================================
   STOCKERTIM INVEST PAGE
   ============================================ */

.invest-page {
    padding-top: 165px;
    background: var(--bg-primary);
}

/* Hero Section */
.invest-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    padding: 4rem 4%;
    max-width: 1400px;
    margin: 0 auto;
    min-height: 80vh;
    align-items: center;
}

.invest-hero-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--accent-primary), #1d4ed8);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.invest-hero-title {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.invest-hero-title-line {
    display: block;
    color: var(--text-primary);
}

.invest-hero-title-highlight {
    display: block;
    background: linear-gradient(135deg, #10b981, var(--accent-primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.invest-hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 2rem;
    max-width: 500px;
}

.invest-hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
}

.invest-btn-glow {
    box-shadow: 0 0 30px rgba(30, 144, 255, 0.4);
    transition: box-shadow var(--transition-normal);
}

.invest-btn-glow:hover {
    box-shadow: 0 0 50px rgba(30, 144, 255, 0.6);
}

.invest-hero-stats {
    display: flex;
    gap: 3rem;
}

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

.invest-stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
}

.invest-stat-label {
    display: block;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 0.25rem;
}

.invest-hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 30px;
}

/* Laptop Device Styles (CSS-only) */
.invest-hero-laptop {
    position: relative;
    z-index: 2;
}

.invest-laptop-frame {
    width: 520px;
    filter: drop-shadow(0 25px 50px rgba(0, 0, 0, 0.4));
}

.invest-laptop-screen {
    background: linear-gradient(135deg, #1a1f2e 0%, #0d1117 100%);
    border: 3px solid #2d3748;
    border-bottom: none;
    border-radius: 12px 12px 0 0;
    padding: 8px;
    display: flex;
    flex-direction: column;
    min-height: 280px;
}

.invest-laptop-base {
    background: linear-gradient(180deg, #3d4555 0%, #2d3340 50%, #1f242d 100%);
    height: 18px;
    border-radius: 0 0 4px 4px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.invest-laptop-base::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120%;
    height: 6px;
    background: linear-gradient(180deg, #4a5568, #2d3748);
    border-radius: 0 0 50% 50% / 0 0 100% 100%;
}

.invest-laptop-notch {
    width: 80px;
    height: 5px;
    background: linear-gradient(180deg, #1a1f2e 0%, #0d1117 100%);
    border-radius: 0 0 4px 4px;
    position: relative;
    z-index: 1;
}

.invest-laptop-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 14px;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.12) 0%, rgba(16, 185, 129, 0.04) 100%);
    border-bottom: 1px solid rgba(16, 185, 129, 0.15);
    border-radius: 6px 6px 0 0;
}

.invest-laptop-logo {
    display: flex;
    align-items: center;
    gap: 6px;
}

.invest-laptop-logo-img {
    height: 20px;
    width: auto;
}

.invest-laptop-logo-text {
    font-size: 0.85rem;
    font-weight: 700;
    color: #fff;
}

.invest-laptop-nav {
    display: flex;
    gap: 16px;
    font-size: 0.65rem;
    color: var(--text-muted);
}

.invest-laptop-nav span:first-child {
    color: #10b981;
}

.invest-laptop-content {
    display: flex;
    flex: 1;
    padding: 12px;
    gap: 12px;
}

.invest-laptop-main {
    flex: 1;
    display: flex;
    flex-direction: column;
}

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

.invest-laptop-stock-name {
    font-size: 0.7rem;
    color: var(--text-muted);
}

.invest-laptop-stock-stats {
    display: flex;
    align-items: center;
    gap: 8px;
}

.invest-laptop-stock-price {
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
}

.invest-laptop-stock-change {
    font-size: 0.7rem;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 12px;
}

.invest-laptop-stock-change.positive {
    background: rgba(16, 185, 129, 0.2);
    color: #10b981;
}

.invest-laptop-chart {
    flex: 1;
    min-height: 100px;
}

.invest-laptop-chart-svg {
    width: 100%;
    height: 100%;
}

.invest-laptop-chart-svg path:first-of-type {
    stroke-dasharray: 600;
    stroke-dashoffset: 600;
    animation: drawLaptopChart 2.5s ease forwards 0.3s;
}

@keyframes drawLaptopChart {
    to { stroke-dashoffset: 0; }
}

.invest-laptop-sidebar {
    width: 120px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    padding: 10px;
}

.invest-laptop-watchlist .watchlist-title {
    display: block;
    font-size: 0.6rem;
    color: var(--text-muted);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.invest-laptop-watchlist .watchlist-item {
    display: flex;
    justify-content: space-between;
    font-size: 0.6rem;
    padding: 5px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.invest-laptop-watchlist .watchlist-item span:first-child {
    color: #fff;
    font-weight: 500;
}

.invest-laptop-watchlist .watchlist-item .positive {
    color: #10b981;
}

.invest-laptop-watchlist .watchlist-item .negative {
    color: #ef4444;
}


.invest-devices-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 700px;
    height: 500px;
    background: radial-gradient(ellipse at center, rgba(16, 185, 129, 0.15), transparent 70%);
    z-index: -1;
    pointer-events: none;
}

/* Phone Device Styles (CSS-only) */
.invest-hero-phone {
    position: relative;
    z-index: 3;
    margin-left: -50px;
    margin-bottom: 0;
}

.invest-phone-frame {
    width: 240px;
    background: linear-gradient(145deg, #2d3340 0%, #1a1f28 50%, #0f1318 100%);
    border-radius: 42px;
    padding: 10px;
    position: relative;
    filter: drop-shadow(0 35px 70px rgba(0, 0, 0, 0.5));
    border: 1px solid #3d4555;
    overflow: hidden;
}

.invest-phone-notch {
    position: absolute;
    top: 14px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 28px;
    background: #0a0e14;
    border-radius: 0 0 18px 18px;
    z-index: 10;
}

.invest-phone-notch::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 8px;
    height: 8px;
    background: radial-gradient(circle, #1a1f28 0%, #0a0e14 100%);
    border-radius: 50%;
    border: 1px solid #2d3340;
}

.invest-phone-screen {
    background: #0a0e14;
    border-radius: 34px;
    overflow: hidden;
    padding: 45px 10px 15px;
    display: flex;
    flex-direction: column;
    height: 460px;
}

.invest-phone-home-indicator {
    width: 120px;
    height: 4px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
    margin: 8px auto 4px;
}

.invest-app-header {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.15) 0%, rgba(16, 185, 129, 0.05) 100%);
    border-radius: 14px;
    padding: 10px 14px;
    margin-bottom: 12px;
    border: 1px solid rgba(16, 185, 129, 0.2);
    flex-shrink: 0;
}

.invest-app-logo {
    display: flex;
    align-items: center;
    gap: 8px;
}

.invest-app-logo-img {
    height: 24px;
    width: auto;
}

.invest-app-logo-text {
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.5px;
}

.invest-app-content {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 16px;
    padding: 12px;
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.invest-app-stock-info {
    text-align: center;
    margin-bottom: 8px;
    flex-shrink: 0;
}

.invest-app-stock-name {
    display: block;
    font-size: 0.7rem;
    color: var(--text-muted);
    margin-bottom: 2px;
}

.invest-app-stock-price {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: -1px;
}

.invest-app-stock-change {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 20px;
    margin-top: 4px;
}

.invest-app-stock-change.positive {
    background: rgba(16, 185, 129, 0.2);
    color: #10b981;
}

.invest-app-stock-change.negative {
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
}

.invest-app-chart {
    flex: 1;
    min-height: 80px;
    max-height: 120px;
    margin-bottom: 8px;
}

.invest-app-chart-svg {
    width: 100%;
    height: 100%;
}

.invest-app-chart-svg path:first-of-type {
    stroke-dasharray: 500;
    stroke-dashoffset: 500;
    animation: drawChartLine 2s ease forwards 0.5s;
}

@keyframes drawChartLine {
    to {
        stroke-dashoffset: 0;
    }
}

.invest-app-stocks-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex-shrink: 0;
}

.invest-app-stock-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    padding: 8px 12px;
    border-radius: 10px;
    transition: background 0.2s;
}

.invest-app-stock-item .stock-symbol {
    font-size: 0.75rem;
    font-weight: 600;
    color: #fff;
}

.invest-app-stock-item .stock-val {
    font-size: 0.7rem;
    font-weight: 600;
}

.invest-app-stock-item .stock-val.positive {
    color: #10b981;
}

.invest-app-stock-item .stock-val.negative {
    color: #ef4444;
}

.invest-phone-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.25), transparent 70%);
    z-index: -1;
    animation: pulseGlow 3s ease-in-out infinite;
}

@keyframes pulseGlow {
    0%, 100% { opacity: 0.6; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 1; transform: translate(-50%, -50%) scale(1.05); }
}

/* Responsive: Hide laptop on smaller screens */
@media (max-width: 1100px) {
    .invest-hero-laptop {
        display: none;
    }

    .invest-hero-visual {
        justify-content: center;
    }

    .invest-hero-phone {
        margin-left: 0;
        margin-bottom: 0;
    }

    .invest-devices-glow {
        display: none;
    }
}

@media (max-width: 768px) {
    .invest-phone-frame {
        width: 210px;
    }

    .invest-phone-screen {
        height: 400px;
        padding: 40px 8px 12px;
    }

    .invest-app-stock-price {
        font-size: 1.3rem;
    }

    .invest-app-logo-img {
        height: 20px;
    }

    .invest-app-logo-text {
        font-size: 0.85rem;
    }
}

/* Trust Section */
.invest-trust {
    background: var(--bg-secondary);
    padding: 2rem 4%;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.invest-trust-content {
    display: flex;
    justify-content: center;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.invest-trust-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.invest-trust-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--accent-primary), #1d4ed8);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.invest-trust-icon svg {
    width: 24px;
    height: 24px;
    color: white;
}

.invest-trust-text strong {
    display: block;
    color: var(--text-primary);
    font-size: 0.95rem;
}

.invest-trust-text span {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Section Headers */
.invest-section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.invest-section-title {
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.invest-section-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
}

/* Features Carousel */
.invest-features {
    padding: 5rem 4%;
    max-width: 1400px;
    margin: 0 auto;
    overflow: hidden;
}

.invest-features-carousel {
    position: relative;
}

.invest-features-track {
    display: flex;
    gap: 1.5rem;
    transition: transform 0.5s ease;
}

.invest-feature-card {
    flex: 0 0 300px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 2rem;
    transition: all var(--transition-normal);
}

.invest-feature-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-primary);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.invest-feature-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.invest-feature-icon svg {
    width: 28px;
    height: 28px;
    color: white;
}

.invest-feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.invest-feature-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.invest-features-nav {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.invest-features-prev,
.invest-features-next {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    background: var(--bg-secondary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
}

.invest-features-prev:hover,
.invest-features-next:hover {
    background: var(--accent-primary);
    border-color: var(--accent-primary);
}

.invest-features-prev svg,
.invest-features-next svg {
    width: 20px;
    height: 20px;
    color: var(--text-primary);
}

/* How It Works */
.invest-how-it-works {
    padding: 5rem 4%;
    background: var(--bg-secondary);
}

.invest-steps {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.invest-step {
    display: grid;
    grid-template-columns: 80px 1fr 1fr;
    gap: 2rem;
    align-items: center;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.invest-step.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.invest-step-number {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--accent-primary), #1d4ed8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
    color: white;
}

.invest-step-content h3 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.invest-step-content p {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.invest-step-visual img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 16px;
}

/* Benefits Section */
.invest-benefits {
    padding: 5rem 4%;
}

.invest-benefit-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto 6rem;
    align-items: center;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.invest-benefit-block.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.invest-benefit-block:last-child {
    margin-bottom: 0;
}

.invest-benefit-reverse {
    direction: rtl;
}

.invest-benefit-reverse > * {
    direction: ltr;
}

.invest-benefit-visual img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
}

.invest-benefit-content h2 {
    font-size: 2.25rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.invest-benefit-content p {
    font-size: 1.1rem;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.invest-benefit-link {
    color: var(--accent-primary);
    font-weight: 600;
    text-decoration: none;
    transition: color var(--transition-fast);
}

.invest-benefit-link:hover {
    color: #1d4ed8;
}

/* Categories Section */
.invest-categories {
    padding: 5rem 4%;
    background: var(--bg-secondary);
}

.invest-categories-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.invest-category-card {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    transition: all var(--transition-normal);
    opacity: 0;
    transform: translateY(20px);
}

.invest-category-card.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.invest-category-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-primary);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.invest-category-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.invest-category-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.invest-category-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.invest-category-count {
    display: inline-block;
    background: var(--bg-secondary);
    padding: 0.35rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    color: var(--accent-primary);
    font-weight: 600;
}

/* CTA Section */
.invest-cta {
    padding: 5rem 4%;
    background: linear-gradient(135deg, #0a0a0a, #1a1a2e);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.invest-cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.invest-cta-content p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.invest-cta-buttons {
    display: flex;
    gap: 1rem;
}

.invest-cta-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.invest-cta-stat {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 1.5rem;
    text-align: center;
}

.invest-cta-stat-number {
    display: block;
    font-size: 1.75rem;
    font-weight: 700;
    color: #10b981;
    margin-bottom: 0.5rem;
}

.invest-cta-stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* FAQs Section */
.invest-faqs {
    padding: 5rem 4%;
    max-width: 800px;
    margin: 0 auto;
}

.invest-faqs-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.invest-faq-item {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    transition: all var(--transition-fast);
}

.invest-faq-item:hover {
    border-color: var(--accent-primary);
}

.invest-faq-question {
    width: 100%;
    padding: 1.25rem 1.5rem;
    background: transparent;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    text-align: left;
}

.invest-faq-question span {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-primary);
}

.invest-faq-question svg {
    width: 20px;
    height: 20px;
    color: var(--text-muted);
    transition: transform var(--transition-fast);
}

.invest-faq-item.active .invest-faq-question svg {
    transform: rotate(180deg);
}

.invest-faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.invest-faq-item.active .invest-faq-answer {
    max-height: 500px;
}

.invest-faq-answer p {
    padding: 0 1.5rem 1.5rem;
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.7;
}

/* Disclaimer Section */
.invest-disclaimer {
    padding: 4rem 4%;
    background: #0a0a0a;
    border-top: 1px solid var(--border-color);
}

.invest-disclaimer-content {
    max-width: 900px;
    margin: 0 auto;
}

.invest-disclaimer-content h3 {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: var(--text-primary);
    text-align: center;
}

.invest-disclaimer-block {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border-color);
}

.invest-disclaimer-block:last-of-type {
    border-bottom: none;
}

.invest-disclaimer-block h4 {
    font-size: 1rem;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.invest-disclaimer-block p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.7;
}

.invest-disclaimer-legal {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.invest-disclaimer-legal p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.invest-disclaimer-legal a {
    color: var(--accent-primary);
    text-decoration: none;
}

.invest-disclaimer-legal a:hover {
    text-decoration: underline;
}

/* Invest Page Responsive - Tablet */
@media (max-width: 1024px) {
    .invest-hero {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }

    .invest-hero-subtitle {
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }

    .invest-hero-buttons {
        justify-content: center;
    }

    .invest-hero-stats {
        justify-content: center;
    }

    .invest-hero-visual {
        order: -1;
    }

    .invest-hero-chart {
        display: none;
    }

    .invest-benefit-block,
    .invest-benefit-reverse {
        grid-template-columns: 1fr;
        direction: ltr;
    }

    .invest-step {
        grid-template-columns: 60px 1fr;
    }

    .invest-step-visual {
        display: none;
    }

    .invest-cta {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .invest-cta-buttons {
        justify-content: center;
    }

    .invest-categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Invest Page Responsive - Mobile */
@media (max-width: 768px) {
    .invest-page {
        padding-top: 165px;
    }

    .invest-hero {
        padding: 2rem 4%;
        min-height: auto;
    }

    .invest-hero-title {
        font-size: 2.5rem;
    }

    .invest-hero-subtitle {
        font-size: 1rem;
    }

    .invest-hero-buttons {
        flex-direction: column;
    }

    .invest-hero-stats {
        flex-wrap: wrap;
        gap: 1.5rem;
    }

    .invest-stat-number {
        font-size: 2rem;
    }

    .invest-phone-screen {
        width: 220px;
        height: 440px;
    }

    .invest-trust-content {
        flex-direction: column;
        gap: 1.5rem;
    }

    .invest-section-title {
        font-size: 1.75rem;
    }

    .invest-features-track {
        gap: 1rem;
    }

    .invest-feature-card {
        flex: 0 0 280px;
    }

    .invest-step {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .invest-step-number {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
        margin: 0 auto 1rem;
    }

    .invest-benefit-visual img {
        height: 250px;
    }

    .invest-benefit-content h2 {
        font-size: 1.75rem;
    }

    .invest-categories-grid {
        grid-template-columns: 1fr;
    }

    .invest-cta-content h2 {
        font-size: 1.75rem;
    }

    .invest-cta-stats {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   MARKETS PAGE STYLES
   ============================================ */

.markets-page {
    padding-bottom: 4rem;
}

/* Markets Header */
.markets-header {
    padding: 3rem 4% 2rem;
    background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
    border-bottom: 1px solid var(--border-color);
}

.markets-header-content {
    max-width: 1400px;
    margin: 0 auto;
}

.markets-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.markets-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
}

/* Markets Overview Ticker */
.markets-overview {
    padding: 1rem 4%;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-color);
}

.markets-overview .tradingview-widget-container {
    max-width: 1400px;
    margin: 0 auto;
}

/* Markets Grid */
.markets-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    padding: 2rem 4%;
    max-width: 1400px;
    margin: 0 auto;
}

/* Markets Section */
.markets-section {
    background: var(--bg-secondary);
    border-radius: 16px;
    border: 1px solid var(--border-color);
    overflow: hidden;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.markets-section:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.markets-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.25rem;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.08) 0%, rgba(16, 185, 129, 0.02) 100%);
    border-bottom: 1px solid var(--border-color);
}

.markets-section-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}

.markets-section-icon {
    font-size: 1.25rem;
}

.markets-live-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.25rem 0.6rem;
    background: rgba(16, 185, 129, 0.15);
    color: #10b981;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    border-radius: 20px;
    text-transform: uppercase;
}

.markets-live-badge::before {
    content: '';
    width: 6px;
    height: 6px;
    background: #10b981;
    border-radius: 50%;
    animation: livePulse 1.5s ease-in-out infinite;
}

@keyframes livePulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.2); }
}

.markets-widget-container {
    padding: 0;
    min-height: 400px;
}

.markets-widget-container .tradingview-widget-container {
    height: 100%;
}

/* Full-width sections */
.markets-heatmap-section,
.markets-trending-section,
.markets-calendar-section,
.markets-news-section {
    max-width: 1400px;
    margin: 0 auto 2rem;
    padding: 0 4%;
}

.markets-heatmap-section .markets-section-header,
.markets-trending-section .markets-section-header,
.markets-calendar-section .markets-section-header,
.markets-news-section .markets-section-header {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-bottom: none;
    border-radius: 16px 16px 0 0;
    padding: 1.25rem 1.5rem;
}

.markets-heatmap-container,
.markets-trending-container,
.markets-calendar-container,
.markets-news-container {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-top: none;
    border-radius: 0 0 16px 16px;
    overflow: hidden;
}

/* Responsive Markets Grid */
@media (max-width: 1200px) {
    .markets-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .markets-header {
        padding: 2rem 4% 1.5rem;
    }

    .markets-title {
        font-size: 1.75rem;
    }

    .markets-subtitle {
        font-size: 0.95rem;
    }

    .markets-grid {
        gap: 1rem;
        padding: 1.5rem 3%;
    }

    .markets-section-header {
        padding: 0.875rem 1rem;
    }

    .markets-section-title {
        font-size: 0.95rem;
    }

    .markets-section-icon {
        font-size: 1.1rem;
    }

    .markets-widget-container {
        min-height: 350px;
    }

    .markets-heatmap-section,
    .markets-trending-section,
    .markets-calendar-section,
    .markets-news-section {
        padding: 0 3%;
        margin-bottom: 1.5rem;
    }

    .markets-heatmap-section .markets-section-header,
    .markets-trending-section .markets-section-header,
    .markets-calendar-section .markets-section-header,
    .markets-news-section .markets-section-header {
        padding: 1rem 1.25rem;
    }
}

@media (max-width: 480px) {
    .markets-title {
        font-size: 1.5rem;
    }

    .markets-subtitle {
        font-size: 0.875rem;
    }

    .markets-section-title {
        font-size: 0.875rem;
        gap: 0.5rem;
    }

    .markets-live-badge {
        font-size: 0.6rem;
        padding: 0.2rem 0.5rem;
    }
}

/* ============================================
   PRINT STYLES
   ============================================ */

@media print {
    .navbar,
    .alerts-widget,
    .cookie-consent,
    .whatsapp-float,
    .footer {
        display: none !important;
    }
}
