/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Z-Index Management */
:root {
    --z-overlay: 997;
    --z-docs-content: 998;
    --z-sidebar: 999;
    --z-header: 1000;
    --z-hamburger: 1001;
    --z-modal: 1200;
}

/* Cookie Consent Banner */
.cookie-consent-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #1a1a2e;
    color: #ffffff;
    padding: 20px;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.3);
    z-index: 9999;
    display: none;
    flex-direction: column;
    gap: 15px;
}

.cookie-consent-banner.show {
    display: flex;
}

.cookie-consent-message {
    width: 100%;
    font-size: 13px;
    line-height: 1.5;
}

.cookie-consent-message a {
    color: #ff6b35;
    text-decoration: underline;
}

.cookie-consent-buttons {
    display: flex;
    gap: 10px;
    width: 100%;
}

.cookie-consent-close,
.cookie-consent-button {
    flex: 1;
    background: #ff6b35;
    color: #ffffff;
    border: none;
    padding: 12px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    transition: background 0.3s;
}

.cookie-consent-close {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.cookie-consent-close:hover {
    background: rgba(255, 255, 255, 0.1);
}

.cookie-consent-button:hover {
    background: #e55a2b;
}

/* Desktop styles */
@media (min-width: 769px) {
    .cookie-consent-banner {
        flex-direction: row;
        align-items: center;
        gap: 20px;
    }
    
    .cookie-consent-message {
        flex: 1;
        min-width: 250px;
        font-size: 15px;
    }
    
    .cookie-consent-buttons {
        width: auto;
        flex-shrink: 0;
    }
    
    .cookie-consent-close,
    .cookie-consent-button {
        flex: 0 0 auto;
        min-width: 100px;
    }
}

/* Utility Classes */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #0a0a0a;
    color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
}

body.modal-open {
    overflow: hidden;
}

/* Starfield tile from canvas (applied once JS generates it) */
body.has-starfield {
    background-image: var(--star-tex);
    background-repeat: repeat;
    background-size: 800px 600px; /* matches generator */
    background-attachment: scroll; /* avoid fixed (expensive) */
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding-bottom: 0.1rem;
    padding-top: 0.1rem;
    padding-left: 2rem;
    padding-right: 2rem;
}

/* Typography */
h1, h2, h3 {
    font-weight: 600;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    z-index: var(--z-header);
    padding: 0.25rem 0;
    border-bottom: 1px solid rgba(255, 215, 0, 0.2);
    width: 100%;
    max-width: 100vw;
    transition: background-color .25s ease, box-shadow .25s ease, border-color .25s ease, backdrop-filter .25s ease;
}

.header--scrolled {
    background: rgba(10, 10, 10, 0.98);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
    backdrop-filter: none;
}

@media (min-width: 769px) {
    .header { backdrop-filter: blur(10px); }
}

.header .container {
    width: 100%;
    max-width: 100%;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 1rem;
}

.logo {
    grid-column: 2;
    display: flex;
    justify-content: center;
}

.logo-image {
    height: 4rem;
    width: auto;
}

.nav {
    grid-column: 3;
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
}

/* Hamburger Button */
.hamburger-btn {
    grid-column: 1;
    width: 40px;
    height: 40px;
    background: transparent;
    border: 1px solid #FFD700;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
    padding: 8px;
    transition: all 0.3s ease;
    z-index: var(--z-hamburger);
}

.hamburger-btn:hover {
    background: rgba(255, 215, 0, 0.1);
    border-color: #FFA500;
}

.hamburger-btn.active {
    background: rgba(255, 215, 0, 0.2);
}

.hamburger-line {
    width: 24px;
    height: 2px;
    background: #FFD700;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.hamburger-btn.active .hamburger-line:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.hamburger-btn.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.hamburger-btn.active .hamburger-line:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Buttons */
.btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.btn-primary {
    background: transparent;
    color: #FFD700;
    border: 1px solid #FFD700;
    box-shadow: none;
}

.btn-primary:hover {
    transform: translateY(-2px);
}

.btn-secondary {
    background: #FFD700;
    color: #000;
    border: none;
    box-shadow: none;
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.4);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background: transparent;
    overflow: visible; 
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    z-index: 2;
    position: relative;
    justify-content: center;
}

.hero-text {
    max-width: 500px;
}

.hero-title {
    margin-bottom: 2rem;
    margin-top: 1rem;
}

.hero-subtitle-image {
    display: block;
    max-width: 100%;
    height: 4rem;
    filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.5));
}

.hero-main-title-image {
    display: block;
    max-width: 100%;
    height: 10em;
    filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.6)) drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.5));
}

.hero-description {
    font-size: 1.2rem;
    color: #cccccc;
    padding-top: 0.5rem;
    opacity: 0.8;
    width: 90%;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.ship-image {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 10px 30px rgba(255, 215, 0, 0.3));
    animation: float 4s linear infinite;
    transform-origin: center bottom;
    will-change: transform;
}

/* keep original keyframes (visual), just ensure compositor friendliness stays */
@keyframes float {
    0%      { transform: translateY(0px)      rotate(-4deg); }
    3.125%  { transform: translateY(-5.85px)  rotate(-3.92deg); }
    6.25%   { transform: translateY(-11.48px) rotate(-3.7deg); }
    9.375%  { transform: translateY(-16.67px) rotate(-3.33deg); }
    12.5%   { transform: translateY(-21.21px) rotate(-2.83deg); }
    15.625% { transform: translateY(-24.94px) rotate(-2.22deg); }
    18.75%  { transform: translateY(-27.72px) rotate(-1.53deg); }
    21.875% { transform: translateY(-29.42px) rotate(-0.78deg); }
    25%     { transform: translateY(-30px)    rotate(0deg); }
    28.125% { transform: translateY(-29.42px) rotate(0.78deg); }
    31.25%  { transform: translateY(-27.72px) rotate(1.53deg); }
    34.375% { transform: translateY(-24.94px) rotate(2.22deg); }
    37.5%   { transform: translateY(-21.21px) rotate(2.83deg); }
    40.625% { transform: translateY(-16.67px) rotate(3.33deg); }
    43.75%  { transform: translateY(-11.48px) rotate(3.7deg); }
    46.875% { transform: translateY(-5.85px)  rotate(3.92deg); }
    50%     { transform: translateY(0px)      rotate(4deg); }
    53.125% { transform: translateY(5.85px)   rotate(3.92deg); }
    56.25%  { transform: translateY(11.48px)  rotate(3.7deg); }
    59.375% { transform: translateY(16.67px)  rotate(3.33deg); }
    62.5%   { transform: translateY(21.21px)  rotate(2.83deg); }
    65.625% { transform: translateY(24.94px)  rotate(2.22deg); }
    68.75%  { transform: translateY(27.72px)  rotate(1.53deg); }
    71.875% { transform: translateY(29.42px)  rotate(0.78deg); }
    75%     { transform: translateY(30px)     rotate(0deg); }
    78.125% { transform: translateY(29.42px)  rotate(-0.78deg); }
    81.25%  { transform: translateY(27.72px)  rotate(-1.53deg); }
    84.375% { transform: translateY(24.94px)  rotate(-2.22deg); }
    87.5%   { transform: translateY(21.21px)  rotate(-2.83deg); }
    90.625% { transform: translateY(16.67px)  rotate(-3.33deg); }
    93.75%  { transform: translateY(11.48px)  rotate(-3.7deg); }
    96.875% { transform: translateY(5.85px)   rotate(-3.92deg); }
    100%    { transform: translateY(0px)      rotate(-4deg); }
}

@keyframes sparkle {
    from { transform: translateX(0); }
    to { transform: translateX(-1200px); }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .ship-image { animation: none; }
}

/* Platforms Section */
.platforms {
    padding: 3rem 0 2rem;
    background: transparent;
    content-visibility: auto;
    contain-intrinsic-size: 520px;
}

.platforms-header {
    max-width: 780px;
    margin: 0 auto 2rem;
    text-align: center;
}

.platforms-grid {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 1.25rem;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0;
}

.platform-card {
    background: linear-gradient(145deg, rgba(26, 26, 26, 0.85), rgba(10, 10, 10, 0.9));
    border: 1px solid rgba(255, 215, 0, 0.35);
    border-radius: 32px;
    padding: 1rem 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    text-align: center;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease, background 0.25s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    min-height: 140px;
    position: relative;
    overflow: hidden;
}

.platform-card:hover {
    transform: translateY(-6px);
    border-color: #FFA500;
    box-shadow: 0 18px 36px rgba(255, 215, 0, 0.18);
    background: linear-gradient(145deg, rgba(34, 34, 34, 0.95), rgba(12, 12, 12, 0.95));
}

.platform-logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
}

.platform-logo img {
    max-width: 56px;
    max-height: 56px;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}

.platform-name {
    font-weight: 700;
    letter-spacing: 0.02em;
    color: #f7f7f7;
}

.coming-soon-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    background: linear-gradient(135deg, #ff6b35, #ffae00);
    color: #0a0a0a;
    font-weight: 700;
    font-size: 0.78rem;
    letter-spacing: 0.03em;
    box-shadow: 0 6px 18px rgba(255, 107, 53, 0.35);
}

/* How It Works Section */
.how-it-works {
    padding: 3rem 0;
    background: transparent;
    content-visibility: auto;
    contain-intrinsic-size: 800px;
}

.section-title {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 4rem;
    color: #ffffff;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

.section-title.platforms-title {
    margin-bottom: 2rem;
    font-size: 1.5rem;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2.5rem;
    margin-top: 2rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.step-card {
    background: linear-gradient(145deg, rgba(26, 26, 26, 0.8), rgba(15, 15, 15, 0.8));
    border: 1px solid #FFD700;
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 400px;
    max-width: 320px;
    margin: 0 auto;

    /* reveal (no inline styles) */
    opacity: 0;
    transform: translateY(30px);
    transition-property: opacity, transform;
    transition-duration: .6s;
    transition-timing-function: ease;
    will-change: opacity, transform;
}
.step-card.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.step-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(255, 215, 0, 0.2);
    border-color: #FFA500;
}

.step-number {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    background: linear-gradient(45deg, #FFD700, #FFA500);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: #000;
    font-size: 1.2rem;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
}

.step-icon {
    margin: 1.5rem 0 0;
    display: flex;
    justify-content: center;
    order: 3;
}

.step-icon .icon {
    width: 180px;
    height: 180px;
    filter: drop-shadow(0 5px 15px rgba(255, 215, 0, 0.3));
}

.step-title {
    font-size: 1.5rem;
    color: #FFD700;
    margin-bottom: 1rem;
    font-weight: 600;
    order: 1;
}

.step-description {
    color: #cccccc;
    line-height: 1.6;
    order: 2;
    flex-grow: 1;
}

/* Audience Section */
.audience-section {
    padding-top: 3rem;
    padding-bottom: 9rem;
    background: transparent;
    content-visibility: auto;
    contain-intrinsic-size: 800px;
}

.audience-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 2rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.audience-card-wrapper {
    position: relative;
    height: auto;
    width: 100%;
}

/* Base audience card styles */
.audience-card {
    border-radius: 20px;
    padding: 3rem;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
    position: relative;
    overflow: hidden;
    will-change: transform, box-shadow;
    contain: layout style paint;

    /* reveal (no inline styles) */
    opacity: 0;
    transform: translateY(30px);
    transition-property: opacity, transform;
    transition-duration: .6s;
    transition-timing-function: ease;
    will-change: opacity, transform;
}
.audience-card.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Viewer card specific styles */
.audience-card.viewer-card {
    background: rgba(134, 59, 3, 0.22);
    border: 2px solid #863B03;
}

/* Streamer card specific styles */
.audience-card.streamer-card {
    background: rgba(255, 242, 137, 0.22);
    border: 2px solid #D7CC82;
}

.audience-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.1), transparent);
    transform: translateX(-100%);
    transition: transform 0.5s ease;
    will-change: transform;
}

.audience-card:hover::before {
    transform: translateX(100%);
}

.audience-card:hover {
    box-shadow: 0 25px 50px rgba(255, 215, 0, 0.2);
    border-color: #FFA500;
}

/* === Icon placement (kept exactly) === */
.audience-icon {
    position: absolute;
    z-index: 10;
    pointer-events: none;
    width: 200px;
    height: 200px;
}
.audience-icon .icon {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 8px 20px rgba(255, 215, 0, 0.4));
}

@supports (-webkit-overflow-scrolling: touch) {
    /* iOS Safari rasterizes CSS filters; disable them to keep icons sharp */
    .step-icon .icon,
    .audience-icon .icon {
        filter: none;
    }
}

/* Viewer card icon positioning — telescope overlapping top-right */
.audience-card-wrapper:has(.viewer-card) .audience-icon {
    top: -60px;
    right: -40px;
}

/* Streamer card icon positioning — pirate hat big at top-right */
.audience-card-wrapper:has(.streamer-card) .audience-icon {
    top: -60px;
    right: -40px;
}

.audience-title {
    font-size: 2rem;
    color: #ffffff;
    margin-bottom: 1.5rem;
    font-weight: 600;
    text-align: left;
}

.audience-description {
    color: #cccccc;
    line-height: 1.8;
    font-size: 1.1rem;
    text-align: left;
}

/* Footer */
.footer {
    background: rgba(10, 10, 10, 0.95);
    padding: 3rem 0 2rem;
    border-top: 1px solid rgba(255, 215, 0, 0.2);
    content-visibility: auto;
    contain-intrinsic-size: 600px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-logo-image {
    height: 3rem;
    width: auto;
    filter: drop-shadow(0 0 15px rgba(255, 215, 0, 0.4));
    margin-bottom: 0.5rem;
}

.footer-tagline {
    color: #cccccc;
    max-width: 400px;
    line-height: 1.6;
    font-size: .8rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: rgba(255, 215, 0, 0.2);
    border-color: #FFD700;
    transform: translateY(-3px);
}

.social-icon {
    width: 20px;
    height: 20px;
    filter: brightness(0) invert(1);
}

/* Modal */
.modal-overlay {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background: rgba(10, 10, 10, 0.88);
    backdrop-filter: blur(6px);
    z-index: var(--z-modal);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-overlay.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.modal-dialog {
    position: relative;
    width: min(420px, 100%);
    padding: 2.75rem 2.25rem 2.25rem;
    border-radius: 16px;
    background: linear-gradient(145deg, rgba(26, 26, 26, 0.95), rgba(12, 12, 12, 0.95));
    border: 1px solid rgba(255, 215, 0, 0.35);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6);
    text-align: center;
}

.modal-title {
    font-family: 'Pirata One', cursive;
    font-size: 2rem;
    margin-bottom: 0.75rem;
    color: #FFD700;
}

.modal-copy {
    color: #cccccc;
    margin-bottom: 1.75rem;
    font-size: 1rem;
}

.modal-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    align-items: center;
}

.modal-btn {
    flex: 0 1 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 8rem;
    height: 3rem;
    padding: 0;
    border-radius: 10px;
    border: 1px solid transparent;
}

.modal-btn-telegram {
    background: linear-gradient(135deg, #3a8ed8, #53a6f4);
    color: #ffffff;
}

.modal-btn-telegram:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(83, 166, 244, 0.35);
}

.modal-btn-x {
    background: #000000;
    color: #ffffff;
}

.modal-btn-x:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.25);
}

.modal-btn-youtube {
    background: #ff0000;
    color: #ffffff;
}

.modal-btn-youtube:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.25);
}

.modal-btn-instagram {
    background: #000000;
    color: #ffffff;
}

.modal-btn-instagram:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.25);
}

.modal-btn-icon {
    width: 1.5rem;
    height: 1.5rem;
    display: block;
}

.modal-close {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    width: 2rem;
    height: 2rem;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}

.modal-close:hover {
    background: rgba(255, 215, 0, 0.25);
    transform: rotate(6deg);
}

.crypto-backed-bounties-text {
    color: #FFD700;
    font-weight: bold;
}

.pump-fun-text,
.creator-text {
    color: #53D793;
    font-weight: bold;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .audience-card-wrapper:has(.viewer-card) .audience-icon { 
        top: -60px; 
        right: -30px; 
        width: 200px;
        height: 200px;
    }
    .audience-card-wrapper:has(.streamer-card) .audience-icon { 
        top: -60px; 
        right: -30px; 
        width: 200px;
        height: 200px;
    }
    .audience-description {
        font-size: 0.8rem;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }

    .header .logo {
        display: none;
    }

    .header .container {
        display: flex;
        justify-content: center;
    }

    .nav {
        justify-content: center;
    }

    .nav .btn {
        flex: 1;
        min-width: 0;
        max-width: 200px;
        white-space: nowrap;
        font-size: 0.75rem;
        padding: 0.6rem 0.8rem;
    }

    .header {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: var(--z-header);
        backdrop-filter: blur(10px);
    }

    .docs-sidebar {
        width: 280px;
        left: -280px;
        transition: transform 0.3s ease, left 0.3s ease;
    }

    .docs-sidebar.active {
        left: 0;
        transform: translateX(-100%);
        pointer-events: none;
    }

    .docs-sidebar.active.show-menu {
        transform: translateX(0);
        pointer-events: auto;
    }
    
    .hamburger-btn {
        position: absolute;
        left: 1rem;
        z-index: var(--z-hamburger);
    }

    .docs-content {
        padding: 1.5rem;
        height: 100vh;
        overflow-y: auto;
    }

    .docs-content.active {
        left: 0;
        padding-left: 1.5rem;
    }

    .doc-section {
        min-height: auto;
    }

    .doc-section h1 {
        font-size: 2rem;
    }

    .doc-section h2 {
        font-size: 1.5rem;
    }

    .doc-section p {
        font-size: 1rem;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
        padding-top: 2rem;
        padding-bottom: 2rem;
        justify-content: space-between;
        align-items: center;
        min-height: calc(100vh - 120px);
        display: flex;
        flex-direction: column;
    }

    .hero-title {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero-description {
        font-size: 1rem;
        color: #cccccc;
        padding-top: 0.2rem;
        opacity: 0.9;
        width: 90%;
    }

    .hero-text {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    .hero-image {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
    }

    .hero-subtitle-image {
        height: 3rem;
        padding-top: 1rem;
    }

    .hero-main-title-image {
        height: 6rem;
    }

    .ship-image {
        max-width: 100%;
        height: auto;
        padding-bottom: 0.5rem;
    }

    .section-title {
        font-size: 2.5rem;
    }

    .steps-grid {
        grid-template-columns: 1fr;
    }

    .audience-grid {
        grid-template-columns: 1fr;
    }

    .audience-card {
        padding: 2rem;
        max-width: 320px;
        margin: 0 auto;
    }

    .audience-card-wrapper:has(.viewer-card) .audience-icon { 
        top: -40px; 
        right: -0px; 
        width: 120px;
        height: 120px;
    }

    .audience-card-wrapper:has(.streamer-card) .audience-icon { 
        top: -40px; 
        right: -0px; 
        width: 120px;
        height: 120px;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .nav {
        flex-direction: row;
        gap: 1rem;
        flex-shrink: 0;
        justify-content: center;
        padding-top: 0.25rem;
        padding-bottom: 0.25rem;
    }

    .btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .hamburger-btn {
        width: 36px;
        height: 36px;
        left: 0.5rem;
    }

    .hamburger-line {
        width: 20px;
    }

    .nav {
        gap: 0.5rem;
    }

    .logo-image {
        height: 3rem;
    }

    .hero-subtitle-image {
        height: 3rem;
    }

    .hero-main-title-image {
        height: 9rem;
    }

    .ship-image {
        width: 80%;
        height: auto;
    }

    .section-title {
        font-size: 2rem;
    }

    .step-card,
    .audience-card {
        padding: 1.5rem;
        padding-top: 2.5rem;
    }

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

    .modal-dialog {
        padding: 2.25rem 1.5rem 1.9rem;
    }

    .modal-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .modal-btn {
        width: 100%;
        height: 3.5rem;
    }

    .docs-sidebar {
        width: 250px;
        left: -250px;
    }

    .docs-content {
        padding: 1rem;
        height: 100vh;
        overflow-y: auto;
    }

    .doc-section {
        min-height: auto;
        padding-bottom: 2rem;
    }

    .doc-section h1 {
        font-size: 1.75rem;
    }

    .doc-section h2 {
        font-size: 1.35rem;
    }

    .doc-nav {
        flex-direction: row;
        gap: 0.75rem;
        margin-top: 2rem;
        margin-bottom: 1rem;
    }

    .doc-nav-btn {
        flex: 0;
    }

    .doc-nav-btn-next {
        margin-left: auto;
    }
}

/* Documentation Sidebar */
.docs-sidebar {
    position: fixed;
    top: 0;
    left: -300px;
    width: 300px;
    height: 100vh;
    background: rgba(15, 15, 15, 0.98);
    border-right: 1px solid rgba(255, 215, 0, 0.2);
    z-index: var(--z-sidebar);
    transition: left 0.3s ease;
    overflow-y: auto;
    padding-top: 80px;
}

.docs-sidebar.active {
    left: 0;
}

.docs-nav {
    padding: 2rem 1.5rem;
}

.docs-nav-title {
    color: #FFD700;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.docs-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.docs-nav-list li {
    margin-bottom: 0.5rem;
}

.docs-nav-link {
    display: block;
    padding: 0.75rem 1rem;
    color: #cccccc;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-weight: 500;
    font-size: 0.95rem;
}

.docs-nav-link:hover {
    background: rgba(255, 215, 0, 0.1);
    color: #FFD700;
}

.docs-nav-link.active {
    background: rgba(255, 215, 0, 0.15);
    color: #FFD700;
    border-left: 3px solid #FFD700;
}

.docs-social-links {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 215, 0, 0.2);
}

.docs-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.docs-social-link:hover {
    background: rgba(255, 215, 0, 0.2);
    border-color: #FFD700;
    transform: translateY(-3px);
}

.docs-social-icon {
    width: 20px;
    height: 20px;
    filter: brightness(0) invert(1);
}

/* Documentation Content */
.docs-content {
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 10, 10, 0.95);
    z-index: var(--z-docs-content);
    overflow-y: auto;
    padding: 2rem;
    display: none;
}

.docs-content.active {
    display: block;
}

.doc-section {
    max-width: 900px;
    margin: 0 auto;
    display: none;
    padding-bottom: 2rem;
}

.doc-section.active {
    display: block;
}

.doc-section h1 {
    color: #ffffff;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.doc-section h2 {
    color: #ffffff;
    font-size: 1.75rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.doc-section p {
    color: #cccccc;
    line-height: 1.8;
    margin-bottom: 1rem;
    font-size: 1.05rem;
}

.doc-section ol,
.doc-section ul {
    color: #cccccc;
    line-height: 1.8;
    margin-bottom: 1rem;
    padding-left: 1.5rem;
}

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

.doc-section a {
    color: #FFD700;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s ease;
}

.doc-section a:hover {
    border-bottom-color: #FFD700;
}

.doc-section strong {
    color: #ffffff;
    font-weight: 600;
}

/* Documentation Navigation */
.doc-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 3rem;
    margin-bottom: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 215, 0, 0.2);
    gap: 1rem;
}

.doc-nav-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0;
    background: transparent;
    border: none;
    color: #FFD700;
    text-decoration: underline;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
}

.doc-nav-btn:hover {
    color: #FFA500;
}

.doc-nav-btn.disabled {
    opacity: 0;
    pointer-events: none;
}

.doc-nav-btn-prev::before {
    content: '←';
    font-size: 1.2rem;
}

.doc-nav-btn-next::after {
    content: '→';
    font-size: 1.2rem;
}

/* Overlay for sidebar */
.docs-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: var(--z-overlay);
    display: none;
}

.docs-overlay.active {
    display: block;
}

/* Hide original content when docs are active */
body.docs-active .hero,
body.docs-active .platforms,
body.docs-active .how-it-works,
body.docs-active .audience-section,
body.docs-active .footer {
    display: none;
}

/* ============================================
   COOKIE POLICY PAGE STYLES
   ============================================ */

.policy-page {
    padding: 6rem 0 4rem;
    min-height: 100vh;
}

.policy-content {
    max-width: 50rem;
    margin: 0 auto;
    padding: 3rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    border: 1px solid rgba(255, 215, 0, 0.15);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.policy-title {
    font-family: 'Pirata One', cursive;
    font-size: 3.5rem;
    color: #FFD700;
    margin-bottom: 0.5rem;
    text-align: center;
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
}

.policy-intro {
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
    margin-bottom: 3rem;
    font-style: italic;
}

.policy-section {
    margin-bottom: 3rem;
}

.policy-section:last-of-type {
    margin-bottom: 2rem;
}

.policy-section h2 {
    font-family: 'Pirata One', cursive;
    font-size: 2rem;
    color: #FFA500;
    margin-bottom: 1rem;
    margin-top: 0;
}

.policy-section h3 {
    font-size: 1.25rem;
    color: #FFD700;
    margin-bottom: 0.75rem;
    margin-top: 1.5rem;
    font-weight: 600;
}

.policy-section p {
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.8;
    margin-bottom: 1rem;
    font-size: 1.05rem;
}

.policy-section ul {
    margin: 1rem 0 1rem 1.5rem;
    padding: 0;
    list-style: none;
}

.policy-section ul li {
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.8;
    margin-bottom: 0.75rem;
    padding-left: 1.5rem;
    position: relative;
    font-size: 1.05rem;
}

.policy-section ul li::before {
    content: "⚓";
    position: absolute;
    left: 0;
    color: #FFA500;
    font-size: 1rem;
}

.policy-section a {
    color: #FFD700;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: all 0.2s ease;
}

.policy-section a:hover {
    color: #FFA500;
    border-bottom-color: #FFA500;
}

.policy-section em {
    color: #FFA500;
    font-style: italic;
}

.policy-section strong {
    color: #FFD700;
    font-weight: 600;
}

/* Cookie Table Styles */
.cookie-table {
    margin: 2rem 0;
}

.cookie-item {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 215, 0, 0.2);
    border-radius: 0.75rem;
    padding: 2rem;
    margin-bottom: 1.5rem;
}

.cookie-item:last-child {
    margin-bottom: 0;
}

.cookie-item h3 {
    margin-top: 0;
    color: #FFD700;
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(255, 215, 0, 0.2);
}

.cookie-details {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.cookie-detail {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.cookie-detail strong {
    color: #FFA500;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.cookie-detail span,
.cookie-detail a {
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.7;
    font-size: 1.05rem;
}

.cookie-detail a {
    color: #FFD700;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: all 0.2s ease;
    word-break: break-all;
}

.cookie-detail a:hover {
    color: #FFA500;
    border-bottom-color: #FFA500;
}

/* Policy Footer */
.policy-footer {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 215, 0, 0.15);
    text-align: center;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #FFD700;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    border: 1px solid rgba(255, 215, 0, 0.3);
    background: rgba(255, 215, 0, 0.05);
    transition: all 0.3s ease;
}

.back-link:hover {
    background: rgba(255, 215, 0, 0.1);
    border-color: #FFD700;
    transform: translateX(-4px);
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.2);
}

/* Responsive Policy Page */
@media (max-width: 768px) {
    .policy-page {
        padding: 5rem 0 3rem;
    }

    .policy-content {
        padding: 2rem 1.5rem;
        margin: 0 1rem;
    }

    .policy-title {
        font-size: 2.5rem;
    }

    .policy-section h2 {
        font-size: 1.75rem;
    }

    .policy-section h3 {
        font-size: 1.15rem;
    }

    .policy-section p,
    .policy-section ul li,
    .cookie-detail span {
        font-size: 1rem;
    }

    .cookie-item {
        padding: 1.5rem;
    }

    .cookie-item h3 {
        font-size: 1.25rem;
    }

    .cookie-details {
        gap: 1rem;
    }
}
