@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

html {
    scroll-padding-top: 84px;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

body {
    background-color: #030303;
    color: #ffffff;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    position: relative;
}

/* Background Effects */
.bg-glow {
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    filter: blur(120px);
    z-index: -1;
    opacity: 0.4;
    pointer-events: none;
}

.bg-glow.left {
    background: radial-gradient(circle, rgba(251, 194, 167, 0.08) 0%, transparent 70%);
    top: 20%;
    left: -10%;
}

.bg-glow.right {
    background: radial-gradient(circle, rgba(176, 244, 230, 0.08) 0%, transparent 70%);
    top: 30%;
    right: -10%;
}

.grid-lines {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 25% 100%;
    background-position: center;
    z-index: -1;
    pointer-events: none;
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 32px;
    padding: 24px 48px;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    background: rgba(3, 3, 3, 0.72);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

main {
    padding-top: 84px;
}

.logo {
    display: flex;
    align-items: center;
    user-select: none;
}

.logo-img {
    height: 28px;
    object-fit: contain;
    border-radius: 4px;
}

.nav-container {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 28px;
}

.nav-links a {
    position: relative;
    text-decoration: none;
    color: #909090;
    font-size: 13px;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: #ffffff;
}

.nav-links a.active {
    color: #ffffff;
    background: linear-gradient(90deg, #fbc2a7, #a0e8df);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -8px;
    height: 2px;
    border-radius: 2px;
    background: linear-gradient(90deg, #fbc2a7, #a0e8df);
    box-shadow: 0 0 8px rgba(176, 244, 230, 0.7), 0 0 8px rgba(251, 194, 167, 0.7);
}

.btn-login {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    color: #ffffff;
    font-size: 13px;
    font-weight: 500;
    padding: 14px 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    transition: background 0.2s;
}

.btn-login:hover {
    background: rgba(255, 255, 255, 0.05);
}

.hamburger {
    display: none;
    background: transparent;
    border: none;
    color: #ffffff;
    cursor: pointer;
    padding: 8px;
    z-index: 60;
}

.hamburger svg {
    width: 28px;
    height: 28px;
}

/* Hero Section */
.hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1;
    padding: 64px 24px 80px;
    position: relative;
    z-index: 2;
    background-image: url('assets/backgroundimg.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(3, 3, 3, 0.78) 0%, rgba(3, 3, 3, 0.55) 45%, rgba(3, 3, 3, 0.88) 100%);
    z-index: -1;
}

.ph-badge {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 8px 16px;
    border-radius: 12px;
    margin-bottom: 32px;
    backdrop-filter: blur(10px);
}

.ph-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.ph-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.ph-title {
    font-size: 8px;
    font-weight: 600;
    color: #888;
    letter-spacing: 0.5px;
}

.ph-subtitle {
    font-size: 12px;
    font-weight: 600;
    color: #fff;
}

.headline {
    font-size: 56px;
    line-height: 1.15;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 24px;
}

.highlight {
    background: linear-gradient(90deg, #fbc2a7, #a0e8df);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.subheadline {
    font-size: 16px;
    color: #999;
    line-height: 1.6;
    margin-bottom: 36px;
    font-weight: 400;
    max-width: 940px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 24px;
}

/* CTA Buttons */
.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.btn-primary,
.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    padding: 14px 28px;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}

.btn-primary svg,
.btn-secondary svg,
.btn-whatsapp svg,
.btn-telegram svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.btn-primary {
    background: linear-gradient(180deg, #dbfdf8, #aef1e7);
    color: #0b2b27;
    border: none;
    box-shadow: 0 0 30px 4px rgba(174, 241, 231, 0.35);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 40px 6px rgba(174, 241, 231, 0.45);
}

.btn-secondary {
    background: transparent;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-2px);
}

/* Content Sections */
.content-section {
    max-width: 880px;
    margin: 0 auto;
    padding: 72px 24px;
    position: relative;
    z-index: 2;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.content-section#overview {
    border-top: none;
}

.section-eyebrow {
    display: block;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #a0e8df;
    margin-bottom: 12px;
}

.section-title {
    font-size: 28px;
    font-weight: 700;
    letter-spacing: -0.01em;
    margin-bottom: 20px;
}

.content-section h3 {
    font-size: 18px;
    font-weight: 600;
    margin: 28px 0 12px;
}

.content-section p {
    font-size: 15px;
    line-height: 1.7;
    color: #a8a8a8;
}

.content-section p + p {
    margin-top: 16px;
}

.content-section a,
.version-row a,
.subheadline a {
    color: #b0f4e6;
    text-decoration: underline;
    text-decoration-color: rgba(176, 244, 230, 0.4);
    text-underline-offset: 2px;
    transition: color 0.2s, text-decoration-color 0.2s;
}

.content-section a:hover,
.version-row a:hover,
.subheadline a:hover {
    color: #dbfdf8;
    text-decoration-color: currentColor;
}

/* Spec Table */
.table-wrap {
    overflow-x: auto;
    margin: 24px 0;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
}

.spec-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.spec-table th,
.spec-table td {
    text-align: left;
    padding: 14px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    white-space: normal;
}

.spec-table th {
    color: #a0e8df;
    font-weight: 600;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background: rgba(255, 255, 255, 0.03);
}

.spec-table td {
    color: #a8a8a8;
}

.spec-table tr:last-child td {
    border-bottom: none;
}

/* Version Card */
.version-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 24px 28px;
    margin: 24px 0;
}

.version-card-title {
    font-size: 14px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 16px;
}

.version-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.version-row {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.version-row dt {
    font-size: 12px;
    color: #777;
}

.version-row dd {
    font-size: 15px;
    font-weight: 600;
    color: #ffffff;
}

/* Game Card Grid */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin-top: 24px;
}

.card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 24px;
}

.card h3 {
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 10px;
}

.card p {
    font-size: 14px;
    color: #999;
}

/* Card Stack (dense, full-width cards) */
.card-stack {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 24px;
}

.card-stack .card p {
    font-size: 15px;
    line-height: 1.7;
    color: #a8a8a8;
}

/* Settings Path Chip */
.settings-path {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 10px 16px;
    margin: 4px 0 16px;
    font-family: 'SFMono-Regular', Consolas, Menlo, monospace;
    font-size: 13px;
    font-weight: 600;
    color: #b0f4e6;
}

/* Steps List */
.steps-list {
    list-style: none;
    margin-top: 24px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.steps-list li {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.step-index {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(180deg, #dbfdf8, #aef1e7);
    color: #0b2b27;
    font-size: 14px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.steps-list h3 {
    margin: 0 0 6px;
}

/* Check List */
.check-list {
    list-style: none;
    margin: 20px 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.check-list li {
    position: relative;
    padding-left: 28px;
    font-size: 15px;
    line-height: 1.6;
    color: #a8a8a8;
}

.check-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 4px;
    width: 16px;
    height: 16px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b0f4e6' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12.5L9.5 18L20 6'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
}

.check-list strong {
    color: #ffffff;
}

.btn-whatsapp,
.btn-telegram {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    padding: 14px 24px;
    border-radius: 8px;
    transition: transform 0.2s, opacity 0.2s;
}

.btn-whatsapp {
    background: #25D366;
    color: #06210f;
}

.btn-telegram {
    background: #229ED9;
    color: #061826;
}

.btn-whatsapp:hover,
.btn-telegram:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}

/* FAQ */
.faq-list {
    margin-top: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 16px 20px;
}

.faq-item summary {
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    color: #ffffff;
    list-style: none;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item p {
    margin-top: 12px;
    font-size: 14px;
    color: #999;
}

/* Footer */
.site-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 32px 24px;
    position: relative;
    z-index: 2;
}

.footer-inner {
    max-width: 880px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.footer-copy {
    font-size: 13px;
    color: #777;
}

.footer-nav {
    display: flex;
    gap: 24px;
}

.footer-nav a {
    text-decoration: none;
    font-size: 13px;
    color: #909090;
    transition: color 0.2s;
}

.footer-nav a:hover {
    color: #ffffff;
}

/* Mobile Media Queries */
@media (max-width: 768px) {
    html {
        scroll-padding-top: 68px;
    }

    main {
        padding-top: 68px;
    }

    .navbar {
        padding: 16px 24px;
    }

    .hamburger {
        display: block; 
    }

    .nav-container {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #0a0a0a;
        flex-direction: column;
        padding: 24px;
        gap: 24px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
        clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
        transition: clip-path 0.3s ease-in-out;
    }

    .nav-container.active {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    }

    .nav-links {
        flex-direction: column;
        align-items: center;
        gap: 8px;
        width: 100%;
    }

    .nav-links a {
        display: block;
        width: 100%;
        text-align: center;
        padding: 14px 0;
    }

    .btn-login {
        width: 100%;
        justify-content: center;
        text-align: center;
        padding: 14px 16px;
    }

    .headline {
        font-size: 38px;
        padding: 0 16px;
    }

    .subheadline {
        font-size: 14px;
        padding: 0 24px;
    }

    .content-section {
        padding: 48px 20px;
    }

    .version-list {
        grid-template-columns: 1fr;
    }

    .footer-inner {
        flex-direction: column;
        text-align: center;
    }
}