/* ==============================================================================
   TIGER 365 - MODERN RESPONSIVE LAYOUT & NAVIGATION
   ============================================================================== */

/* Fullscreen Background 3D Canvas */
#apex-3d-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    pointer-events: none;
    opacity: 0.75;
}

/* Base Container */
.container-apex {
    width: 100%;
    max-width: 1360px;
    margin: 0 auto;
    padding: 0 24px;
    box-sizing: border-box;
}

/* Header */
.apex-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(6, 7, 9, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: var(--border-subtle);
    padding: 14px 0;
}

.apex-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

/* Brand Logo */
.apex-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #fff;
    flex-shrink: 0;
}

.apex-brand-badge {
    background: var(--color-lime);
    color: #060709;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 0.95rem;
    padding: 3px 8px;
    border-radius: 4px;
    box-shadow: 0 0 15px var(--color-lime-glow);
}

.apex-brand-text {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.35rem;
    letter-spacing: -0.02em;
    text-transform: uppercase;
    color: #fff;
}

.apex-brand-text span {
    color: var(--color-lime);
}

/* Desktop Navigation */
.apex-nav-links {
    display: flex;
    align-items: center;
    gap: 24px;
    list-style: none;
}

.apex-nav-links a {
    text-decoration: none;
    color: var(--text-secondary);
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.88rem;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    transition: color 0.2s ease;
}

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

/* Header Actions */
.apex-header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

/* Audio Switch */
.apex-audio-btn {
    background: rgba(255, 255, 255, 0.05);
    border: var(--border-subtle);
    padding: 7px 12px;
    color: var(--text-secondary);
    font-family: var(--font-mono);
    font-size: 0.72rem;
    font-weight: 600;
    border-radius: var(--radius-pill);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
}

.apex-audio-btn:hover,
.apex-audio-btn.active {
    color: #060709;
    background: var(--color-lime);
    border-color: var(--color-lime);
    box-shadow: 0 0 15px var(--color-lime-glow);
}

/* Latency Badge */
.apex-telemetry-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--color-lime);
    background: rgba(0, 255, 135, 0.08);
    border: 1px solid rgba(0, 255, 135, 0.25);
    padding: 6px 12px;
    border-radius: var(--radius-pill);
}

.apex-pulse-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--color-lime);
    box-shadow: 0 0 8px var(--color-lime);
    animation: apexPulse 1.4s infinite alternate;
}

@keyframes apexPulse {
    0% { opacity: 0.4; }
    100% { opacity: 1; }
}

/* Login & Sign Up Buttons (Redirecting to WhatsApp) */
.btn-nav-login {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    text-decoration: none;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.82rem;
    text-transform: uppercase;
    padding: 8px 16px;
    border-radius: var(--radius-pill);
    transition: all 0.2s ease;
}

.btn-nav-login:hover {
    border-color: var(--color-cyan);
    color: var(--color-cyan);
}

.btn-nav-signup {
    background: linear-gradient(135deg, var(--color-lime), #00d26a);
    color: #060709 !important;
    text-decoration: none;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 0.82rem;
    text-transform: uppercase;
    padding: 8px 18px;
    border-radius: var(--radius-pill);
    box-shadow: 0 0 15px var(--color-lime-glow);
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.btn-nav-signup:hover {
    transform: translateY(-1px);
    box-shadow: 0 0 25px var(--color-lime);
}

/* Mobile Hamburger Button */
.apex-hamburger {
    display: none;
    background: rgba(255, 255, 255, 0.06);
    border: var(--border-subtle);
    border-radius: 6px;
    cursor: pointer;
    padding: 8px;
    color: #fff;
}

.apex-hamburger svg {
    width: 22px;
    height: 22px;
    display: block;
}

/* ==============================================================================
   HERO SECTION - FULL WIDTH, WIDE & ZERO OVERFLOW
   ============================================================================== */
.apex-hero {
    padding-top: 130px;
    padding-bottom: 60px;
    position: relative;
    overflow: hidden;
}

.apex-hero-content {
    max-width: 980px;
    width: 100%;
}

.apex-hero-tagline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--color-lime);
    background: rgba(0, 255, 135, 0.08);
    border: 1px solid rgba(0, 255, 135, 0.25);
    padding: 5px 14px;
    border-radius: var(--radius-pill);
    margin-bottom: 20px;
}

.apex-hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.4rem, 5.2vw, 4.8rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.03em;
    text-transform: uppercase;
    margin-bottom: 22px;
    word-break: break-word;
}

.apex-hero-title span.accent-lime {
    color: var(--color-lime);
}

.apex-hero-title span.accent-cyan {
    color: var(--color-cyan);
}

.apex-hero-description {
    font-family: var(--font-sans);
    font-size: clamp(1.02rem, 1.4vw, 1.22rem);
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 34px;
    max-width: 820px;
}

.apex-hero-actions {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 44px;
}

/* 4-Card Responsive Telemetry Bar (Zero Cutout Risk) */
.apex-hero-telemetry-bar {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    width: 100%;
    margin-top: 16px;
}

.hero-telemetry-card {
    background: rgba(12, 14, 20, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 16px 18px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    backdrop-filter: blur(10px);
    transition: all 0.2s ease;
}

.hero-telemetry-card:hover {
    border-color: rgba(0, 255, 135, 0.35);
    transform: translateY(-2px);
    background: rgba(18, 22, 32, 0.9);
}

.hero-telemetry-label {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    font-weight: 700;
    color: #71788a;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.hero-telemetry-val {
    font-family: var(--font-display);
    font-size: 1.55rem;
    font-weight: 800;
    line-height: 1.2;
}

.hero-telemetry-sub {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: #8e95a5;
}

@media (max-width: 900px) {
    .apex-hero-telemetry-bar {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 540px) {
    .apex-hero-telemetry-bar {
        grid-template-columns: 1fr;
    }
}

.btn-apex-primary {
    background: linear-gradient(135deg, var(--color-lime), #00d26a);
    color: #060709 !important;
    text-decoration: none;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 0.95rem;
    text-transform: uppercase;
    padding: 13px 28px;
    border-radius: var(--radius-pill);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 20px var(--color-lime-glow);
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
}

.btn-apex-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px var(--color-lime);
}

.btn-apex-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: #fff !important;
    border: var(--border-glass);
    text-decoration: none;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.95rem;
    text-transform: uppercase;
    padding: 13px 26px;
    border-radius: var(--radius-pill);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
}

.btn-apex-secondary:hover {
    border-color: var(--color-cyan);
    color: var(--color-cyan) !important;
    background: var(--color-cyan-dim);
}

/* ==============================================================================
   CONTINUOUS TICKER TAPE
   ============================================================================== */
.apex-ticker-tape {
    background: #0d1017;
    border-top: var(--border-subtle);
    border-bottom: var(--border-subtle);
    padding: 12px 0;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    margin: 30px 0;
}

.apex-ticker-tape-track {
    display: flex;
    width: max-content;
    animation: tickerScroll 30s linear infinite;
    font-family: var(--font-mono);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    gap: 36px;
    color: var(--text-secondary);
}

.apex-ticker-tape-track span strong {
    color: var(--color-lime);
}

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

/* Bento Grid */
.apex-bento-section {
    padding: 70px 0;
}

.apex-section-header {
    margin-bottom: 40px;
}

.apex-section-tag {
    font-family: var(--font-mono);
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--color-cyan);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    display: block;
    margin-bottom: 10px;
}

.apex-section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 3.8vw, 3.2rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    text-transform: uppercase;
    line-height: 1.1;
}

.gapless-bento-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 20px;
}

/* Distinct Sport Game Card Styling */
.sport-market-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.sport-market-card:hover {
    transform: translateY(-4px);
    border-color: var(--color-cyan) !important;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.8), 0 0 25px var(--color-cyan-glow);
}

.sport-card-image-wrap {
    position: relative;
    width: 100%;
    height: 165px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    margin-bottom: 18px;
    background: #080a10;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.sport-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease;
}

.sport-market-card:hover .sport-card-img {
    transform: scale(1.05);
}

.sport-badge-overlay {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(6, 7, 9, 0.88);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #fff;
    font-family: var(--font-mono);
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 3px 8px;
    border-radius: 4px;
    backdrop-filter: blur(8px);
    z-index: 2;
}

.sport-latency-tag {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(0, 255, 135, 0.12);
    border: 1px solid rgba(0, 255, 135, 0.35);
    color: var(--color-lime);
    font-family: var(--font-mono);
    font-size: 0.68rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 4px;
    backdrop-filter: blur(8px);
    z-index: 2;
}

.sport-card-title {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    text-transform: uppercase;
    margin-bottom: 8px;
    color: #fff;
}

.sport-card-desc {
    color: var(--text-secondary);
    font-size: 0.88rem;
    line-height: 1.6;
    margin-bottom: 18px;
    min-height: 48px;
}

.sport-stat-row {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 4px;
    padding: 10px 14px;
    margin-bottom: 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sport-stat-label {
    font-family: var(--font-mono);
    font-size: 0.78rem;
    color: var(--text-muted);
}

.sport-stat-val {
    font-family: var(--font-mono);
    font-size: 0.95rem;
    color: var(--color-lime);
}

.sport-analyze-btn {
    width: 100%;
    justify-content: center;
    font-size: 0.82rem;
    padding: 10px 16px;
}

/* ==============================================================================
   PROFESSIONAL ARTICLES CARDS
   ============================================================================== */
.article-card {
    background: rgba(10, 11, 15, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.article-card:hover {
    border-color: rgba(0, 240, 255, 0.4);
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6), 0 0 20px rgba(0, 240, 255, 0.1);
}

/* ==============================================================================
   FLOATING WHATSAPP BUTTON (BOTTOM-RIGHT)
   ============================================================================== */
.apex-whatsapp-float {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 9999;
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.whatsapp-radar-ring {
    position: absolute;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--color-whatsapp);
    opacity: 0.35;
    animation: whatsappPulse 2s infinite;
    z-index: -1;
}

@keyframes whatsappPulse {
    0% { transform: scale(1); opacity: 0.45; }
    100% { transform: scale(1.6); opacity: 0; }
}

.whatsapp-float-btn {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: var(--color-whatsapp);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 25px var(--color-whatsapp-glow);
    transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.whatsapp-float-btn svg {
    width: 32px;
    height: 32px;
    fill: #fff;
}

.whatsapp-float-btn:hover {
    transform: scale(1.1);
}

.whatsapp-float-label {
    background: #0d0e14;
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #fff;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.85rem;
    padding: 6px 14px;
    border-radius: var(--radius-pill);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.6);
    display: none;
    white-space: nowrap;
}

.apex-whatsapp-float:hover .whatsapp-float-label {
    display: block;
}

/* Footer */
.apex-footer {
    background: #040507;
    border-top: var(--border-subtle);
    padding: 70px 0 40px;
    margin-top: auto;
    position: relative;
}

.apex-footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 50px;
}

.apex-footer-col h4 {
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 18px;
    color: #fff;
    letter-spacing: 0.05em;
}

.apex-footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.apex-footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.88rem;
    transition: color 0.2s ease;
}

.apex-footer-links a:hover {
    color: var(--color-cyan);
}

.apex-disclaimer-box {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    padding: 22px;
    border-radius: var(--radius-md);
    margin-bottom: 40px;
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.8;
}

.apex-footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    padding-top: 24px;
    border-top: var(--border-subtle);
    font-family: var(--font-mono);
    font-size: 0.78rem;
    color: var(--text-muted);
}

/* Mobile Navigation Drawer */
.apex-drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(16px);
    z-index: 2000;
    display: none;
}

.apex-drawer-overlay.open {
    display: block;
}

.apex-drawer-content {
    position: absolute;
    top: 0;
    right: 0;
    width: 85%;
    max-width: 380px;
    height: 100%;
    background: #090a0f;
    border-left: 1px solid rgba(255, 255, 255, 0.15);
    padding: 28px;
    display: flex;
    flex-direction: column;
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.8);
}

.apex-drawer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 16px;
    border-bottom: var(--border-subtle);
}

.apex-drawer-close-btn {
    background: transparent;
    border: none;
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
    line-height: 1;
}

.apex-drawer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.apex-drawer-links a {
    color: #fff;
    text-decoration: none;
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
}

.apex-drawer-links a:hover {
    color: var(--color-cyan);
}

.apex-drawer-actions {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding-top: 20px;
    border-top: var(--border-subtle);
}

/* Responsive Media Queries */
@media (max-width: 1024px) {
    .apex-nav-links,
    .btn-nav-login {
        display: none;
    }
    .apex-hamburger {
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .apex-hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .apex-footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .apex-audio-btn,
    .apex-telemetry-badge {
        display: none;
    }
    .gapless-bento-grid {
        grid-template-columns: 1fr;
    }
    .apex-footer-grid {
        grid-template-columns: 1fr;
    }
    .apex-whatsapp-float {
        bottom: 20px;
        right: 20px;
    }
}
