:root {
    --primary-color: #1a1a2e;
    --secondary-color: #16213e;
    --accent-color: #e94560;
    --accent-2: #0f3460;
    --neon-green: #00ff88;
    --neon-blue: #00d4ff;
    --neon-pink: #ff006e;
    --neon-yellow: #ffe600;
    --background-color: #0d0d1a;
    --text-color: #e0e0e0;
    --light-text: #FFFFFF;
    --card-bg: #1a1a2e;
    --card-border: rgba(0, 212, 255, 0.2);
    --hover-color: #e94560;
    --nav-bg: #0d0d1a;
}

* {
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', 'Roboto', sans-serif;
    line-height: 1.7;
    color: var(--text-color);
    background-color: var(--background-color);
    margin: 0;
    padding: 0;
    background-image:
        radial-gradient(ellipse at 20% 50%, rgba(233, 69, 96, 0.05) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(0, 212, 255, 0.05) 0%, transparent 50%);
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 10px;
}

/* ===== TOP NAV ===== */
.top-nav {
    background: rgba(13, 13, 26, 0.95);
    backdrop-filter: blur(10px);
    color: var(--light-text);
    padding: 12px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 20px rgba(233, 69, 96, 0.2);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid rgba(233, 69, 96, 0.3);
}

.logo a {
    text-decoration: none;
}

.logo-text {
    font-family: 'Courier New', monospace;
    font-size: 1.1rem;
    font-weight: 900;
    letter-spacing: 1px;
    line-height: 1.2;
    display: flex;
    flex-direction: column;
}

.logo-line1 {
    color: var(--neon-green);
    text-shadow: 0 0 10px rgba(0, 255, 136, 0.6);
}

.logo-line2 {
    color: var(--accent-color);
    text-shadow: 0 0 10px rgba(233, 69, 96, 0.6);
}

.nav-links {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.btn {
    display: inline-block;
    color: white;
    text-decoration: none;
    padding: 8px 16px;
    font-size: 13px;
    border-radius: 4px;
    transition: all 0.3s ease;
    background: transparent;
    border: 1px solid rgba(233, 69, 96, 0.5);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn:hover {
    background: var(--accent-color);
    border-color: var(--accent-color);
    box-shadow: 0 0 15px rgba(233, 69, 96, 0.4);
    transform: translateY(-1px);
}

.menu-toggle {
    display: none;
    background: none;
    border: 1px solid rgba(233, 69, 96, 0.5);
    color: white;
    font-size: 20px;
    cursor: pointer;
    padding: 6px 10px;
    border-radius: 4px;
}

/* ===== SECTIONS ===== */
.section {
    background: var(--card-bg);
    margin-bottom: 12px;
    padding: 32px;
    border-radius: 8px;
    border: 1px solid var(--card-border);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    animation: fadeIn 0.8s ease-out;
}

.section.full-width {
    padding: 0;
    margin-bottom: 20px;
    background: transparent;
    border: none;
    box-shadow: none;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ===== HEADINGS ===== */
h1, h2, h3 {
    color: var(--light-text);
}

h1 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    color: var(--neon-green);
}

h2 {
    margin-top: 0;
    font-size: 1.8rem;
    color: var(--neon-blue);
    border-bottom: 1px solid rgba(0, 212, 255, 0.2);
    padding-bottom: 10px;
    margin-bottom: 20px;
}

h3 {
    font-size: 1.2rem;
    color: var(--accent-color);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.6rem;
}

p {
    color: #c8c8d4;
    margin-bottom: 1em;
}

strong {
    color: var(--neon-green);
}

ul, ol {
    color: #c8c8d4;
    padding-left: 1.5rem;
}

ul li, ol li {
    margin-bottom: 0.5rem;
}

/* ===== GAME CONTAINER ===== */
.game-container {
    display: flex;
    gap: 12px;
    height: 700px;
}

.game-main {
    flex: 3;
    display: flex;
    flex-direction: column;
}

.game-iframe {
    position: relative;
    flex-grow: 1;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(233, 69, 96, 0.3);
    box-shadow: 0 0 30px rgba(233, 69, 96, 0.15);
}

.game-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg,
        rgba(13, 13, 26, 0.92) 0%,
        rgba(233, 69, 96, 0.15) 50%,
        rgba(13, 13, 26, 0.92) 100%
    );
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 10;
}

.game-card {
    background: rgba(26, 26, 46, 0.95);
    border: 1px solid rgba(233, 69, 96, 0.4);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 0 40px rgba(233, 69, 96, 0.2), inset 0 0 30px rgba(0, 212, 255, 0.05);
    max-width: 380px;
    width: 90%;
}

.game-preview {
    width: 100%;
    max-width: 320px;
    border-radius: 8px;
    margin-bottom: 18px;
    border: 1px solid rgba(0, 212, 255, 0.2);
}

.game-card h2 {
    color: var(--light-text);
    margin-bottom: 8px;
    font-size: 1.3rem;
    font-family: 'Courier New', monospace;
    border: none;
    padding: 0;
}

.game-card .tagline {
    color: var(--neon-green);
    font-size: 0.85rem;
    margin-bottom: 18px;
    font-style: italic;
}

.play-btn {
    padding: 12px 36px;
    font-size: 16px;
    font-weight: 700;
    background: linear-gradient(135deg, var(--accent-color), #ff6b6b);
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 2px;
    box-shadow: 0 0 20px rgba(233, 69, 96, 0.4);
}

.play-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 0 30px rgba(233, 69, 96, 0.6);
}

.play-btn:active {
    transform: scale(0.98);
}

.domain-name {
    color: rgba(0, 212, 255, 0.6);
    font-size: 0.9rem;
    margin-top: 16px;
    font-family: 'Courier New', monospace;
    letter-spacing: 2px;
    animation: fadeInUp 0.5s ease-out 0.5s both;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.game-iframe iframe {
    width: 100%;
    height: 100%;
    min-height: 580px;
    border: none;
    display: block;
}

.game-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 12px;
    background: var(--secondary-color);
    border: 1px solid rgba(0, 212, 255, 0.1);
    border-top: none;
    border-radius: 0 0 8px 8px;
}

.game-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.fullscreen-btn {
    background: transparent;
    border: 1px solid rgba(233, 69, 96, 0.4);
    border-radius: 4px;
    cursor: pointer;
    padding: 5px;
    display: flex;
    align-items: center;
    color: var(--text-color);
    transition: all 0.2s;
}

.fullscreen-btn:hover {
    background: var(--accent-color);
    border-color: var(--accent-color);
}

/* ===== SHARE BUTTONS ===== */
.share-buttons {
    display: flex;
    justify-content: center;
    margin-top: 10px;
    margin-bottom: 10px;
    gap: 6px;
    flex-wrap: wrap;
}

.share-button {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.2s;
    font-size: 13px;
}

.share-button i { margin-right: 5px; }
.share-button:hover { opacity: 0.85; transform: translateY(-1px); }
.facebook { background-color: #3b5998; }
.twitter { background-color: #1da1f2; }
.linkedin { background-color: #0077b5; }
.email { background-color: #555; }
.whatsapp { background-color: #25d366; }
.reddit { background-color: #ff4500; }

/* ===== FEATURES GRID ===== */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 16px;
    margin-top: 16px;
}

.feature-item {
    background: rgba(15, 52, 96, 0.3);
    border: 1px solid rgba(0, 212, 255, 0.15);
    border-radius: 8px;
    padding: 20px;
    transition: all 0.3s;
}

.feature-item:hover {
    border-color: rgba(233, 69, 96, 0.4);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(233, 69, 96, 0.1);
}

/* ===== MODE GRID ===== */
.mode-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin-top: 16px;
}

.mode-item {
    background: rgba(233, 69, 96, 0.08);
    border: 1px solid rgba(233, 69, 96, 0.2);
    border-radius: 8px;
    padding: 20px;
    text-align: center;
}

/* ===== FAQ ===== */
.faq-item {
    border-bottom: 1px solid rgba(0, 212, 255, 0.1);
    padding: 16px 0;
}

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

.faq-item h3 {
    font-size: 1rem;
    color: var(--neon-green);
    text-transform: none;
    letter-spacing: 0;
    margin-bottom: 8px;
}

/* ===== VERSION ITEMS ===== */
.version-item {
    background: rgba(15, 52, 96, 0.2);
    border: 1px solid rgba(0, 212, 255, 0.1);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 14px;
}

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

/* ===== COMMUNITY ===== */
.community-features ul {
    list-style: none;
    padding: 0;
}

.community-features ul li {
    padding: 10px 0;
    border-bottom: 1px solid rgba(0, 212, 255, 0.08);
    padding-left: 20px;
    position: relative;
}

.community-features ul li::before {
    content: '▶';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-size: 10px;
    top: 13px;
}

/* ===== FEATURE IMAGE ===== */
.feature-image {
    width: 100%;
    height: auto;
    max-width: 600px;
    border-radius: 8px;
    border: 1px solid rgba(0, 212, 255, 0.2);
    margin-top: 16px;
}

a {
    color: var(--neon-blue);
    text-decoration: none;
}

a:hover {
    color: var(--accent-color);
    text-decoration: underline;
}

/* ===== CUSDIS ===== */
#cusdis_thread {
    min-height: 300px;
    overflow: visible;
}

/* ===== VIDEO GRID ===== */
.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    width: 100%;
    margin: 20px 0;
}

.video-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 8px;
    border: 1px solid rgba(233, 69, 96, 0.2);
}

.video-container iframe {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    border: none;
}

/* ===== FOOTER ===== */
.site-footer {
    background: var(--nav-bg);
    border-top: 1px solid rgba(233, 69, 96, 0.2);
    padding: 24px 20px;
    margin-top: 30px;
    text-align: center;
}

.footer-logo-text {
    font-family: 'Courier New', monospace;
    font-size: 0.95rem;
    font-weight: 900;
    margin-bottom: 12px;
    display: inline-block;
}

.footer-logo-text .l1 { color: var(--neon-green); }
.footer-logo-text .l2 { color: var(--accent-color); }

.footer-nav {
    margin-bottom: 12px;
}

.footer-nav a {
    color: #888;
    text-decoration: none;
    margin: 0 10px;
    font-size: 13px;
    transition: color 0.2s;
}

.footer-nav a:hover {
    color: var(--neon-blue);
    text-decoration: none;
}

.footer-disclaimer {
    font-size: 12px;
    color: #555;
    max-width: 600px;
    margin: 0 auto;
}

/* ===== HIGHLIGHT BOX ===== */
.highlight-box {
    background: linear-gradient(135deg, rgba(233, 69, 96, 0.1), rgba(0, 212, 255, 0.05));
    border: 1px solid rgba(233, 69, 96, 0.3);
    border-radius: 8px;
    padding: 20px 24px;
    margin: 16px 0;
}

.stat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 16px;
    margin-top: 20px;
}

.stat-item {
    text-align: center;
    padding: 16px;
    background: rgba(0, 212, 255, 0.05);
    border: 1px solid rgba(0, 212, 255, 0.15);
    border-radius: 8px;
}

.stat-num {
    font-size: 2rem;
    font-weight: 900;
    color: var(--neon-green);
    font-family: 'Courier New', monospace;
    display: block;
    text-shadow: 0 0 15px rgba(0, 255, 136, 0.4);
}

.stat-label {
    font-size: 0.8rem;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .game-container {
        flex-direction: column;
        height: auto;
    }

    .game-main {
        width: 100%;
    }

    .game-iframe {
        height: 500px;
    }

    .nav-links {
        display: none;
        position: fixed;
        top: 60px;
        left: 0;
        width: 100%;
        background: rgba(13, 13, 26, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        padding: 16px;
        z-index: 1000;
        border-bottom: 1px solid rgba(233, 69, 96, 0.3);
    }

    .nav-links.active { display: flex; }

    .menu-toggle {
        display: block;
        z-index: 1001;
    }

    .share-buttons {
        flex-wrap: nowrap;
        overflow-x: auto;
        justify-content: flex-start;
        padding-bottom: 4px;
    }

    .share-text { display: none; }

    .share-button {
        font-size: 18px;
        padding: 8px;
    }

    .section {
        padding: 20px 16px;
    }

    h2 { font-size: 1.4rem; }

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

@media (max-width: 580px) {
    .logo-text {
        font-size: 0.75rem;
    }
}

@media (orientation: landscape) and (max-width: 768px) {
    .game-container {
        flex-direction: row;
        height: 100vh;
        max-height: 450px;
    }

    .game-main {
        flex: 2;
        height: 100%;
    }

    .game-iframe {
        height: 100%;
    }

    .game-iframe iframe {
        min-height: unset;
    }
}
