/* style.css */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

:root {
    --bg-main: #040716;
    --bg-elevated: rgba(14, 18, 40, 0.96);
    --bg-card: rgba(18, 22, 52, 0.98);
    --bg-soft: rgba(17, 24, 56, 0.85);
    --accent: #ff4b8b;
    --accent-soft: rgba(255, 75, 139, 0.16);
    --accent-secondary: #3ddcff;
    --text-main: #f7f8ff;
    --text-muted: #9ea4c8;
    --border-subtle: rgba(120, 132, 190, 0.35);
    --radius-lg: 24px;
    --radius-xl: 28px;
    --shadow-soft: 0 18px 60px rgba(0, 0, 0, 0.6);
    --shadow-soft-sm: 0 10px 30px rgba(0, 0, 0, 0.45);
}

/* RESET / BASE */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background:
        radial-gradient(circle at 0% 0%, rgba(61, 220, 255, 0.12) 0, transparent 55%),
        radial-gradient(circle at 100% 0%, rgba(255, 75, 139, 0.16) 0, transparent 55%),
        radial-gradient(circle at 50% 100%, rgba(96, 92, 255, 0.22) 0, transparent 60%),
        var(--bg-main);
    color: var(--text-main);
    line-height: 1.6;
    min-height: 100vh;
}

/* LAYOUT */
.container {
    width: 100%;
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 16px;
}

/* HEADER */
.header {
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: blur(20px);
    background: linear-gradient(to bottom, rgba(3, 7, 29, 0.96), rgba(3, 7, 29, 0.78));
    border-bottom: 1px solid rgba(120, 132, 190, 0.18);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0;
    gap: 16px;
}

.logo {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    color: var(--text-main);
    gap: 10px;
}

.logo-img {
    width: 36px;
    height: 36px;
}

.logo-text {
    font-weight: 700;
    letter-spacing: 0.04em;
    font-size: 18px;
}

.logo-text span {
    color: var(--accent-secondary);
}

.nav {
    display: flex;
    align-items: center;
    gap: 18px;
}

.nav-link {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 14px;
    padding: 4px 0;
    position: relative;
    transition: color 0.2s ease;
}

.nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--accent), var(--accent-secondary));
    transition: width 0.2s ease;
}

.nav-link:hover {
    color: var(--text-main);
}

.nav-link:hover::after {
    width: 100%;
}

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

/* BUTTONS */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 8px 18px;
    font-size: 14px;
    font-weight: 500;
    border: 1px solid transparent;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.15s ease-out;
    white-space: nowrap;
}

.btn-lg {
    padding: 11px 24px;
    font-size: 15px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent), #ff9052);
    color: #fff;
    box-shadow: 0 10px 30px rgba(255, 75, 139, 0.45);
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 16px 40px rgba(255, 75, 139, 0.6);
    filter: saturate(1.05);
}

.btn-outline {
    background: transparent;
    color: var(--text-main);
    border-color: rgba(159, 168, 220, 0.6);
}

.btn-outline:hover {
    background: rgba(159, 168, 220, 0.12);
}

.btn-ghost {
    background: rgba(10, 13, 35, 0.8);
    color: var(--text-main);
    border-color: rgba(96, 92, 255, 0.3);
}

.btn-ghost:hover {
    background: rgba(25, 30, 70, 0.9);
}

/* HERO */
.hero {
    padding: 40px 0 40px;
}

.hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    gap: 36px;
    align-items: center;
}

.hero-content h1 {
    font-size: 32px;
    line-height: 1.22;
    margin: 10px 0 14px;
}

.hero-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--accent-secondary);
    padding: 4px 12px;
    border-radius: 999px;
    background: rgba(27, 34, 84, 0.9);
    border: 1px solid rgba(61, 220, 255, 0.4);
}

.hero-label::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: #00ff85;
    box-shadow: 0 0 0 6px rgba(0, 255, 133, 0.18);
}

.hero-text {
    color: var(--text-muted);
    max-width: 540px;
    margin-bottom: 18px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 12px;
}

.hero-benefits {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 4px;
    font-size: 13px;
    color: var(--text-muted);
}

.hero-benefits li::before {
    content: "●";
    margin-right: 6px;
    font-size: 10px;
    color: var(--accent-secondary);
}

/* HERO MEDIA */
.hero-media {
    position: relative;
}

.hero-card {
    background: radial-gradient(circle at 0 0, rgba(255, 75, 139, 0.16), transparent 55%),
                var(--bg-card);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-soft);
    padding: 14px;
    border: 1px solid rgba(124, 139, 214, 0.55);
    overflow: hidden;
}

.hero-img {
    width: 100%;
    border-radius: 18px;
    display: block;
}

.hero-card-info {
    padding-top: 10px;
}

.hero-card-info p {
    margin: 0;
    font-weight: 600;
    font-size: 14px;
}

.hero-card-info span {
    display: block;
    font-size: 12px;
    color: var(--text-muted);
}

.hero-badges {
    position: absolute;
    right: -6px;
    top: 50%;
    transform: translateY(-50%);
    display: grid;
    gap: 8px;
}

.badge {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    background: rgba(5, 9, 30, 0.98);
    border-radius: 999px;
    border: 1px solid rgba(123, 141, 235, 0.6);
    box-shadow: var(--shadow-soft-sm);
    font-size: 11px;
    color: var(--text-muted);
}

.badge-icon {
    width: 16px;
    height: 16px;
}

/* SECTIONS GENERAL */
section {
    padding: 36px 0;
}

h2 {
    font-size: 24px;
    margin: 0 0 12px;
}

.section-subtitle {
    margin: 0 0 22px;
    color: var(--text-muted);
    max-width: 600px;
}

/* FEATURES */
.features {
    padding-top: 14px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.feature-card {
    background: var(--bg-elevated);
    border-radius: var(--radius-lg);
    padding: 16px 16px 18px;
    border: 1px solid var(--border-subtle);
    box-shadow: var(--shadow-soft-sm);
}

.feature-icon {
    width: 26px;
    height: 26px;
    margin-bottom: 8px;
}

.feature-card h3 {
    margin: 0 0 6px;
    font-size: 16px;
}

.feature-card p {
    margin: 0;
    font-size: 13px;
    color: var(--text-muted);
}

.features-cta {
    margin-top: 20px;
}

/* GAMES */
.games {
    padding-top: 10px;
}

.section-header {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 16px;
}

.section-header p {
    margin: 0;
    color: var(--text-muted);
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 14px;
}

.game-card {
    background: var(--bg-elevated);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid rgba(120, 132, 190, 0.45);
    display: flex;
    flex-direction: column;
}

.game-img {
    width: 100%;
    display: block;
    height: 120px;
    object-fit: cover;
}

.game-info {
    padding: 10px 12px 12px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.game-info h3 {
    margin: 0;
    font-size: 14px;
}

.game-info p {
    margin: 0;
    font-size: 12px;
    color: var(--text-muted);
}

.game-info .btn {
    margin-top: 4px;
    width: 100%;
    font-size: 12px;
    padding: 7px 10px;
}

/* STEPS */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-top: 12px;
}

.step-card {
    background: var(--bg-elevated);
    border-radius: var(--radius-lg);
    padding: 16px 16px 18px;
    border: 1px solid rgba(120, 132, 190, 0.45);
    position: relative;
    overflow: hidden;
}

.step-number {
    position: absolute;
    top: 10px;
    right: 14px;
    font-size: 32px;
    font-weight: 700;
    color: rgba(105, 118, 190, 0.22);
}

.step-card h3 {
    margin: 0 0 6px;
    font-size: 16px;
}

.step-card p {
    margin: 0;
    font-size: 13px;
    color: var(--text-muted);
}

.steps-cta {
    margin-top: 20px;
}

/* BONUSES */
.bonuses {
    padding-top: 16px;
}

.bonuses-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    gap: 26px;
    align-items: center;
}

.bonuses-content p {
    color: var(--text-muted);
}

.bonus-list {
    list-style: none;
    padding: 0;
    margin: 10px 0 16px;
    color: var(--text-muted);
    font-size: 13px;
    display: grid;
    gap: 4px;
}

.bonus-list li::before {
    content: "➜";
    margin-right: 6px;
    color: var(--accent-secondary);
}

.bonuses-img {
    width: 100%;
    border-radius: var(--radius-xl);
    border: 1px solid rgba(120, 132, 190, 0.5);
    box-shadow: var(--shadow-soft);
}

/* MOBILE */
.mobile-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
    gap: 26px;
    align-items: center;
}

.mobile-img {
    width: 100%;
    border-radius: var(--radius-xl);
    border: 1px solid rgba(96, 92, 255, 0.6);
    box-shadow: var(--shadow-soft);
}

.mobile-content p {
    color: var(--text-muted);
}

.mobile-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 10px 0 14px;
}

.mobile-tags span {
    font-size: 11px;
    padding: 4px 10px;
    border-radius: 999px;
    background: var(--accent-soft);
    border: 1px solid rgba(255, 75, 139, 0.55);
    color: #ffd9ea;
}

/* SEO BLOCK */
.seo-block {
    padding-top: 10px;
}

.seo-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 26px;
    margin-top: 6px;
}

.seo-block p {
    font-size: 14px;
    color: var(--text-muted);
    margin-top: 0;
    margin-bottom: 10px;
}

.seo-block h3 {
    font-size: 16px;
    margin: 14px 0 6px;
}

.seo-list {
    padding-left: 18px;
    margin: 6px 0 10px;
    color: var(--text-muted);
    font-size: 13px;
}

/* FAQ */
.faq {
    padding-top: 10px;
    padding-bottom: 40px;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-top: 10px;
}

.faq-item {
    background: var(--bg-elevated);
    border-radius: var(--radius-lg);
    padding: 12px 16px 14px;
    border: 1px solid var(--border-subtle);
}

.faq-item h3 {
    margin: 0 0 6px;
    font-size: 15px;
}

.faq-item p {
    margin: 0;
    font-size: 13px;
    color: var(--text-muted);
}

.faq-cta {
    margin-top: 20px;
}

/* FOOTER */
.footer {
    border-top: 1px solid rgba(120, 132, 190, 0.3);
    background: radial-gradient(circle at 0 0, rgba(61, 220, 255, 0.12), transparent 60%),
                rgba(3, 6, 26, 0.96);
    padding: 18px 0 20px;
    margin-top: 10px;
}

.footer-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) auto;
    gap: 18px;
    align-items: center;
}

.footer-text {
    margin: 8px 0 0;
    font-size: 12px;
    color: var(--text-muted);
    max-width: 360px;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 16px;
}

.footer-link {
    font-size: 13px;
    color: var(--text-muted);
    text-decoration: none;
}

.footer-link:hover {
    color: var(--text-main);
}

.footer-meta {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 12px;
    color: var(--text-muted);
    text-align: right;
}

.footer-logo .logo-img {
    width: 30px;
    height: 30px;
}

/* REG PAGE */
.reg-body {
    display: flex;
    min-height: 100vh;
    align-items: center;
    justify-content: center;
}

.reg-wrapper {
    width: 100%;
    max-width: 480px;
    padding: 24px 16px;
}

.reg-card {
    background: var(--bg-elevated);
    border-radius: 26px;
    padding: 24px 20px 22px;
    border: 1px solid var(--border-subtle);
    box-shadow: var(--shadow-soft);
}

.reg-logo {
    margin-bottom: 10px;
}

.reg-title {
    margin: 0 0 4px;
    font-size: 24px;
}

.reg-subtitle {
    margin: 0 0 16px;
    font-size: 13px;
    color: var(--text-muted);
}

.reg-form {
    display: grid;
    gap: 10px;
}

.form-group {
    display: grid;
    gap: 4px;
}

.form-group label {
    font-size: 13px;
    color: var(--text-muted);
}

input[type="email"],
input[type="password"],
input[type="text"],
select {
    border-radius: 12px;
    border: 1px solid rgba(120, 132, 190, 0.65);
    background: rgba(6, 10, 32, 0.96);
    color: var(--text-main);
    padding: 8px 11px;
    font-size: 14px;
    outline: none;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

input::placeholder {
    color: rgba(158, 164, 200, 0.7);
}

input:focus,
select:focus {
    border-color: var(--accent-secondary);
    box-shadow: 0 0 0 1px rgba(61, 220, 255, 0.6);
    background: rgba(9, 14, 40, 0.98);
}

select {
    color-scheme: dark;
}

.reg-btn {
    margin-top: 6px;
    width: 100%;
}

.reg-note {
    margin: 8px 0 0;
    font-size: 11px;
    color: var(--text-muted);
}

/* RESPONSIVE */
@media (max-width: 1024px) {
    .hero-inner {
        grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
    }
    .games-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    .features-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .seo-grid {
        grid-template-columns: minmax(0, 1fr);
    }
    .bonuses-inner,
    .mobile-inner {
        grid-template-columns: minmax(0, 1fr);
    }
    .hero-badges {
        position: static;
        margin-top: 10px;
        transform: none;
        justify-content: flex-start;
    }
    .footer-inner {
        grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
        grid-template-rows: auto auto;
    }
}

@media (max-width: 768px) {
    .header-inner {
        flex-wrap: wrap;
    }
    .nav {
        display: none;
    }
    .hero {
        padding-top: 24px;
    }
    .hero-inner {
        grid-template-columns: minmax(0, 1fr);
    }
    .hero-content h1 {
        font-size: 26px;
    }
    .features-grid {
        grid-template-columns: minmax(0, 1fr);
    }
    .games-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .steps-grid {
        grid-template-columns: minmax(0, 1fr);
    }
    .faq-grid {
        grid-template-columns: minmax(0, 1fr);
    }
    .footer-inner {
        grid-template-columns: minmax(0, 1fr);
        text-align: left;
    }
    .footer-meta {
        text-align: left;
    }
}

@media (max-width: 480px) {
    .games-grid {
        grid-template-columns: minmax(0, 1fr);
    }
    .hero-card {
        border-radius: 22px;
    }
    body {
        font-size: 14px;
    }
}
