@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Poppins:wght@600;700;800&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #00d4ff;
    --primary-dark: #0099cc;
    --secondary: #ff006e;
    --bg-dark: #0a0e27;
    --bg-darker: #050812;
    --text-light: #e0e0e0;
    --text-muted: #a0a0a0;
    --accent: #00f7ff;
    --bg-light: #f7fbff;
    --text-dark: #061025;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-light);
    background: var(--bg-dark);
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation Bar */
.navbar {
    background: rgba(10, 14, 39, 0.7);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 212, 255, 0.1);
    color: white;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 8px 32px rgba(0, 212, 255, 0.05);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-family: 'Poppins', sans-serif;
    letter-spacing: -1px;
}

/* Theme toggle */
.theme-toggle {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.06);
    color: var(--text-light);
    padding: 6px 10px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.95rem;
}

/* Hero particle canvas */
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; }
.hero-content { position: relative; z-index: 2; }

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    color: var(--text-light);
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-links a:hover {
    color: var(--primary);
}

/* Hero Section */
.hero {
    position: relative;
    background: linear-gradient(135deg, var(--bg-dark) 0%, #0f1729 100%);
    color: white;
    padding: 200px 20px;
    text-align: center;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 8s ease-in-out infinite;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -50%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 0, 110, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 10s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(30px); }
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-content h1 {
    font-size: 4.5rem;
    margin-bottom: 1rem;
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -2px;
    animation: slideInDown 0.8s ease-out;
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    color: var(--text-muted);
    animation: slideInUp 0.8s ease-out 0.2s both;
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.cta-btn {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: var(--bg-dark);
    padding: 16px 45px;
    font-size: 1rem;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.23, 1, 0.320, 1);
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.3);
    font-weight: 700;
    position: relative;
    overflow: hidden;
    animation: slideInUp 0.8s ease-out 0.4s both;
}

.cta-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transition: left 0.3s ease;
}

.cta-btn:hover::before {
    left: 100%;
}

.cta-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 40px rgba(0, 212, 255, 0.5);
}

/* Sunucu durumu stili kaldırıldı (istek üzerine) */

/* Features Section */
.features {
    background: var(--bg-dark);
    padding: 100px 20px;
    position: relative;
    overflow: hidden;
}

.features::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

.features h2 {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 70px;
    color: var(--text-light);
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.feature-card {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.08), rgba(255, 0, 110, 0.05));
    backdrop-filter: blur(15px);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.320, 1);
    border: 1px solid rgba(0, 212, 255, 0.15);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(0, 212, 255, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-card:hover {
    transform: translateY(-12px) scale(1.02);
    border-color: rgba(0, 212, 255, 0.4);
    box-shadow: 0 20px 50px rgba(0, 212, 255, 0.15);
}

.feature-icon {
    font-size: 3.5rem;
    margin-bottom: 20px;
    animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.feature-card h3 {
    color: var(--text-light);
    margin-bottom: 15px;
    font-size: 1.4rem;
    font-weight: 700;
    font-family: 'Poppins', sans-serif;
}

.feature-card p {
    color: var(--text-muted);
    line-height: 1.8;
    font-size: 0.95rem;
}

/* Join Section */
.join {
    background: var(--bg-dark);
    color: white;
    padding: 100px 20px;
    position: relative;
    overflow: hidden;
}

.join::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
}

.join h2 {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 70px;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.join-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
    position: relative;
    z-index: 1;
}

.step {
    background: rgba(0, 212, 255, 0.05);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    backdrop-filter: blur(15px);
    border: 1px solid rgba(0, 212, 255, 0.2);
    transition: all 0.4s cubic-bezier(0.23, 1, 0.320, 1);
    position: relative;
}

.step:hover {
    background: rgba(0, 212, 255, 0.1);
    border-color: rgba(0, 212, 255, 0.4);
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 212, 255, 0.1);
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 50%;
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 20px;
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.3);
    color: var(--bg-dark);
}

.step h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
    color: var(--text-light);
    font-weight: 700;
    font-family: 'Poppins', sans-serif;
}

.step p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.step code {
    background: rgba(0, 212, 255, 0.1);
    color: var(--primary);
    padding: 8px 15px;
    border-radius: 8px;
    font-family: 'Courier New', monospace;
    border: 1px solid rgba(0, 212, 255, 0.2);
    display: inline-block;
    font-weight: 600;
}

.copy-btn {
    display: block;
    margin: 0 auto;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: var(--bg-dark);
    padding: 16px 45px;
    font-size: 1rem;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.23, 1, 0.320, 1);
    font-weight: 700;
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.3);
    position: relative;
    overflow: hidden;
}

.copy-btn:hover {
    background: linear-gradient(135deg, var(--accent), var(--primary));
    transform: scale(1.08) translateY(-2px);
    box-shadow: 0 15px 40px rgba(0, 212, 255, 0.5);
}

/* Iframe wrappers for Store & Map */
.iframe-wrap {
    margin-top: 20px;
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.03);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.iframe-wrap iframe {
    width: 100%;
    height: 640px;
    border: none;
    display: block;
    background: transparent;
}

.iframe-note {
    margin-top: 12px;
    color: var(--text-muted);
    text-align: center;
}

/* Games section */
.games {
    padding: 80px 20px;
    background: linear-gradient(180deg, rgba(255,255,255,0.01), transparent);
}

.games h2 { margin-bottom: 8px; }

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 22px;
    margin-top: 24px;
}

.game-card {
    background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(0,0,0,0.06));
    border: 1px solid rgba(255,255,255,0.03);
    padding: 20px;
    border-radius: 14px;
    text-align: center;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.game-card:hover { transform: translateY(-8px) scale(1.02); box-shadow: 0 24px 60px rgba(0,0,0,0.6); }

.game-thumb { font-size: 48px; margin-bottom: 10px; }

.game-canvas-wrap { display: flex; justify-content: center; align-items: center; margin-top: 12px; }

/* make modal game larger */
.modal-content { padding: 12px; }
.modal iframe, .modal canvas { width: 100%; height: 72vh; border-radius: 10px; }

@media (max-width: 768px) {
    .modal iframe, .modal canvas { height: 60vh; }
}

/* Vote Section */
.vote {
    padding: 80px 20px;
    background: linear-gradient(180deg, rgba(0,0,0,0.12), transparent);
}

.vote-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.vote-card {
    background: rgba(0,0,0,0.2);
    padding: 24px;
    border-radius: 12px;
    text-align: center;
    border: 1px solid rgba(255,255,255,0.03);
}

.vote-btn {
    margin-top: 12px;
    padding: 10px 18px;
    border-radius: 10px;
    border: none;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: var(--bg-dark);
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 8px 30px rgba(0,212,255,0.15);
}

/* Subscribe Section */
.subscribe {
    padding: 80px 20px;
}

.subscribe-form {
    display: flex;
    gap: 12px;
    justify-content: center;
    align-items: center;
    margin-top: 16px;
}

.subscribe-form input[type="email"] {
    padding: 12px 14px;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.06);
    background: rgba(0,0,0,0.2);
    color: var(--text-light);
    min-width: 260px;
}

.subscribe-extra { text-align: center; margin-top: 14px; }

/* Modal */
.modal {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.6);
    z-index: 9999;
}

.modal[aria-hidden="false"] { display: flex; }

.modal-content {
    width: min(1100px, 95%);
    background: linear-gradient(180deg, rgba(10,12,30,0.98), rgba(5,8,20,0.95));
    border-radius: 14px;
    padding: 18px;
    position: relative;
    box-shadow: 0 30px 80px rgba(0,0,0,0.6);
}

.modal-close {
    position: absolute;
    right: 12px;
    top: 12px;
    background: transparent;
    position: fixed;
    right: 20px;
    border: none;
    color: var(--text-muted);
    font-size: 18px;
    cursor: pointer;
}

.modal iframe { width: 100%; height: 70vh; border: none; border-radius: 8px; }

/* Toast */
.toast {
    bottom: 20px;
    min-width: 220px;
    max-width: 320px;
    padding: 12px 16px;
    background: rgba(0,0,0,0.7);
    color: var(--text-light);
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.6);
    display: none;
    z-index: 10000;
}

.toast.show { display: block; animation: toastIn 0.4s ease both; }
@keyframes toastIn { from { transform: translateY(10px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }

/* small helpers */
.muted { color: var(--text-muted); }

/* News / Announcements */
.news { padding: 18px 0; background: linear-gradient(90deg, rgba(0,0,0,0.02), transparent); }
.news-wrap { display:flex; align-items:center; gap:16px; justify-content:space-between; }
.news-label { font-weight:700; font-family:'Poppins',sans-serif; color:var(--text-light); margin-right:12px; }
.news-carousel { flex:1; overflow:hidden; position:relative; height:36px; display:flex; align-items:center; }
.news-item { min-width:100%; transition:transform 0.4s ease; color:var(--text-muted); }
.news-controls { margin-left:12px; display:flex; gap:6px; }
.news-btn { background:transparent; border:1px solid rgba(255,255,255,0.04); color:var(--text-light); padding:6px 8px; border-radius:8px; cursor:pointer; }


/* Footer */
.footer {
    background: var(--bg-darker);
    border-top: 1px solid rgba(0, 212, 255, 0.1);
    color: var(--text-muted);
    padding: 50px 20px 30px;
}

.footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
}

.social-links {
    display: flex;
    gap: 25px;
}

.social-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 600;
    position: relative;
}

.social-links a::before {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transition: width 0.3s ease;
}

.social-links a:hover::before {
    width: 100%;
}

.social-links a:hover {
    color: var(--primary);
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        flex-direction: column;
        gap: 1rem;
        display: none;
    }

    .hero-content h1 {
        font-size: 2.8rem;
    }

    .hero-content p {
        font-size: 1.1rem;
    }

    .hero {
        padding: 120px 20px;
    }

    .features h2,
    .join h2 {
        font-size: 2.2rem;
    }

    .footer .container {
        flex-direction: column;
        gap: 20px;
    }

    .features-grid,
    .join-steps {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .logo {
        font-size: 1.3rem;
    }

    .nav-links {
        display: none;
    }

    .hero-content h1 {
        font-size: 2rem;
        margin-bottom: 0.5rem;
    }

    .hero-content p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    .hero {
        padding: 80px 20px;
        min-height: auto;
    }

    .features h2,
    .status h2,
    .join h2 {
        font-size: 1.8rem;
        margin-bottom: 40px;
    }

    .features-grid,
    .join-steps,
    .status-info {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .feature-card,
    .step,
    .status-item {
        padding: 25px 20px;
    }

    .step-number {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }

    .cta-btn,
    .copy-btn {
        padding: 14px 35px;
        font-size: 0.95rem;
    }
}
