/* css/style.css */

/* Base */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --bg-main: #050816;
    --bg-alt: #0b1020;
    --bg-alt-soft: #11162a;
    --bg-card: rgba(14, 19, 40, 0.96);
    --bg-chip: rgba(255, 255, 255, 0.04);
    --border-soft: rgba(255, 255, 255, 0.08);
    --accent: #ff3265;
    --accent-soft: rgba(255, 50, 101, 0.18);
    --accent-alt: #ffd75e;
    --text-main: #f7f7ff;
    --text-muted: #9ba1c9;
    --text-soft: #6f7597;
    --shadow-soft: 0 18px 45px rgba(0, 0, 0, 0.65);
    --radius-lg: 22px;
    --radius-xl: 28px;
    --radius-pill: 999px;
    --transition-base: 0.2s ease;
    --container-width: 1180px;
}

html,
body {
    height: 100%;
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
    background:
        radial-gradient(circle at 0% 0%, rgba(255, 50, 101, 0.16), transparent 55%),
        radial-gradient(circle at 100% 100%, rgba(92, 138, 255, 0.18), transparent 50%),
        linear-gradient(145deg, #030513, #050816 45%, #040612 100%);
    color: var(--text-main);
    letter-spacing: 0.01em;
}

/* Layout helpers */

.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 72px 0;
}

.section-alt {
    background: radial-gradient(circle at 10% 0%, rgba(255, 255, 255, 0.05), transparent 58%),
                linear-gradient(160deg, rgba(5, 8, 22, 0.9), rgba(8, 11, 30, 0.98));
}

.section-header {
    max-width: 720px;
    margin-bottom: 40px;
}

.section-header h2 {
    font-size: 30px;
    line-height: 1.2;
    margin-bottom: 10px;
}

.section-header p {
    color: var(--text-muted);
    font-size: 15px;
}

/* Header */

.header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: linear-gradient(to bottom, rgba(5, 8, 22, 0.98), rgba(5, 8, 22, 0.94), transparent);
    backdrop-filter: blur(22px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

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

.logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.logo img {
    width: 34px;
    height: 34px;
}

.logo-text {
    font-weight: 700;
    font-size: 18px;
    color: var(--text-main);
}

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

.nav a {
    font-size: 14px;
    color: var(--text-muted);
    text-decoration: none;
    padding: 6px 10px;
    border-radius: 999px;
    transition: color var(--transition-base), background var(--transition-base), transform var(--transition-base);
}

.nav a:hover {
    color: var(--text-main);
    background: rgba(255, 255, 255, 0.04);
    transform: translateY(-1px);
}

/* Buttons */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: var(--radius-pill);
    border: 1px solid transparent;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: background var(--transition-base), color var(--transition-base), transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
    white-space: nowrap;
}

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

.btn-primary {
    background: linear-gradient(135deg, #ff3265, #ff7a4e);
    color: #fff;
    box-shadow: 0 14px 30px rgba(255, 50, 101, 0.55);
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 18px 40px rgba(255, 50, 101, 0.7);
}

.btn-ghost {
    background: rgba(15, 21, 46, 0.9);
    border-color: rgba(255, 255, 255, 0.08);
    color: var(--text-main);
}

.btn-ghost:hover {
    background: rgba(23, 29, 56, 0.98);
    border-color: rgba(255, 255, 255, 0.16);
}

.btn-outline {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.18);
    color: var(--text-main);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.06);
}

/* Hero */

.hero {
    padding: 62px 0 56px;
}

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

.hero-content h1 {
    font-size: 34px;
    line-height: 1.15;
    margin-bottom: 12px;
}

.hero-subtitle {
    font-size: 15px;
    color: var(--text-muted);
    margin-bottom: 24px;
}

.hero-tagline {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--accent-alt);
    margin-bottom: 12px;
    padding: 6px 12px;
    border-radius: 999px;
    background: radial-gradient(circle at 0 0, rgba(255, 215, 94, 0.2), transparent 55%);
    border: 1px solid rgba(255, 215, 94, 0.5);
}

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

.hero-benefits {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 10px 18px;
    color: var(--text-soft);
    font-size: 13px;
}

.hero-benefits li {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.hero-benefits .dot {
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: linear-gradient(135deg, #ff3265, #ffd75e);
}

/* Hero right side */

.hero-showcase {
    position: relative;
    display: grid;
    gap: 16px;
}

.hero-card {
    position: relative;
    background: radial-gradient(circle at 0 0, rgba(255, 50, 101, 0.16), transparent 50%),
                radial-gradient(circle at 100% 100%, rgba(105, 154, 255, 0.16), transparent 50%),
                var(--bg-card);
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-soft);
    padding: 12px;
    box-shadow: var(--shadow-soft);
    overflow: hidden;
}

.hero-card-main {
    transform: translateY(0);
}

.hero-card-secondary {
    max-width: 260px;
}

.hero-slot-img {
    width: 100%;
    height: 170px;
    object-fit: cover;
    border-radius: 18px;
}

.hero-card-content {
    margin-top: 10px;
}

.hero-card-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--accent-alt);
    margin-bottom: 4px;
}

.hero-card-title {
    font-size: 16px;
}

.hero-card-text {
    font-size: 13px;
    color: var(--text-muted);
}

/* Grid helpers */

.grid {
    display: grid;
    gap: 20px;
}

.grid-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

/* Feature cards */

.feature-card {
    background: radial-gradient(circle at 0 0, rgba(255, 255, 255, 0.04), transparent 60%),
                var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 18px 18px 16px;
    border: 1px solid var(--border-soft);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.feature-icon {
    width: 36px;
    height: 36px;
    border-radius: 14px;
    background: var(--accent-soft);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 4px;
}

.feature-icon img {
    width: 22px;
    height: 22px;
}

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

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

/* Slots section */

.slot-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-soft);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-soft);
}

.slot-img {
    width: 100%;
    height: 190px;
    object-fit: cover;
}

.slot-card-body {
    padding: 16px 16px 18px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.slot-card-body h3 {
    font-size: 17px;
}

.slot-card-body p {
    font-size: 14px;
    color: var(--text-muted);
}

/* Bonus section */

.bonus-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.7fr) minmax(0, 1.1fr);
    gap: 26px;
}

.bonus-main {
    background: var(--bg-card);
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-soft);
    padding: 20px 20px 18px;
    box-shadow: var(--shadow-soft);
}

.bonus-highlight {
    display: flex;
    gap: 14px;
    align-items: center;
    margin-bottom: 14px;
}

.bonus-icon {
    width: 34px;
    height: 34px;
}

.bonus-highlight h3 {
    font-size: 18px;
    margin-bottom: 4px;
}

.bonus-highlight p {
    font-size: 14px;
    color: var(--text-muted);
}

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

.bonus-list li + li {
    margin-top: 6px;
}

.bonus-cta {
    margin-top: 4px;
}

.bonus-side {
    background: linear-gradient(145deg, rgba(255, 50, 101, 0.22), rgba(32, 44, 115, 0.94));
    border-radius: var(--radius-xl);
    padding: 18px 18px 16px;
    color: #fff;
    box-shadow: var(--shadow-soft);
}

.bonus-side h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

.promo-item {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    padding: 10px 10px;
    border-radius: 18px;
    background: rgba(5, 8, 22, 0.6);
    margin-bottom: 8px;
}

.promo-item img {
    width: 26px;
    height: 26px;
}

.promo-title {
    font-size: 14px;
    font-weight: 600;
}

.promo-text {
    font-size: 13px;
    color: #dde0ff;
}

/* Steps */

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

.step {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-soft);
    padding: 18px 16px;
    position: relative;
    overflow: hidden;
}

.step::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 0 0, rgba(255, 50, 101, 0.12), transparent 60%);
    opacity: 0.9;
    pointer-events: none;
}

.step-number {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.18);
    font-size: 13px;
    margin-bottom: 8px;
}

.step h3 {
    position: relative;
    font-size: 16px;
    margin-bottom: 6px;
}

.step p {
    position: relative;
    font-size: 14px;
    color: var(--text-muted);
}

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

/* Mobile section */

.mobile-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.1fr);
    gap: 30px;
    align-items: center;
}

.mobile-list {
    list-style: disc;
    padding-left: 18px;
    margin-bottom: 18px;
    color: var(--text-muted);
    font-size: 14px;
}

.mobile-list li + li {
    margin-top: 6px;
}

.mobile-features {
    display: grid;
    gap: 14px;
}

.mobile-card {
    background: var(--bg-card);
    border-radius: 22px;
    border: 1px solid var(--border-soft);
    padding: 14px 14px 12px;
}

.mobile-card img {
    width: 26px;
    height: 26px;
    margin-bottom: 6px;
}

.mobile-card-title {
    font-size: 15px;
    margin-bottom: 4px;
}

.mobile-card-text {
    font-size: 13px;
    color: var(--text-muted);
}

/* FAQ */

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

.faq-item {
    background: var(--bg-card);
    border-radius: 20px;
    border: 1px solid var(--border-soft);
    padding: 16px 14px;
}

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

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

/* SEO section */

.seo-section {
    padding-top: 60px;
    padding-bottom: 60px;
    background: linear-gradient(180deg, #050816, #040510);
}

.seo-section h2 {
    font-size: 26px;
    margin-bottom: 16px;
}

.seo-section p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.65;
    margin-bottom: 12px;
    max-width: 860px;
}

/* Footer */

.footer {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    background: linear-gradient(180deg, #050816, #02030a);
    padding-top: 28px;
}

.footer-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr);
    gap: 24px;
    padding-bottom: 16px;
}

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

.footer-text {
    margin-top: 10px;
    font-size: 13px;
    color: var(--text-soft);
}

.footer-col h3 {
    font-size: 14px;
    margin-bottom: 10px;
}

.footer-links {
    list-style: none;
}

.footer-links li + li {
    margin-top: 4px;
}

.footer-links a {
    font-size: 13px;
    color: var(--text-muted);
    text-decoration: none;
    transition: color var(--transition-base);
}

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

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding: 10px 20px 16px;
    text-align: center;
    font-size: 12px;
    color: var(--text-soft);
}

/* Registration page */

.reg-body {
    display: flex;
    min-height: 100vh;
    background:
        radial-gradient(circle at 0 0, rgba(255, 50, 101, 0.16), transparent 55%),
        radial-gradient(circle at 100% 100%, rgba(92, 138, 255, 0.22), transparent 55%),
        linear-gradient(150deg, #030513, #050816 50%, #03040c 100%);
    color: var(--text-main);
}

.reg-overlay {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 20px;
}

.reg-card {
    width: 100%;
    max-width: 420px;
    background: radial-gradient(circle at 0 0, rgba(255, 255, 255, 0.05), transparent 60%),
                var(--bg-card);
    border-radius: 26px;
    border: 1px solid var(--border-soft);
    padding: 20px 22px 20px;
    box-shadow: var(--shadow-soft);
}

.reg-header h1 {
    font-size: 22px;
    margin-top: 8px;
    margin-bottom: 4px;
}

.reg-header p {
    font-size: 13px;
    color: var(--text-muted);
}

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

.reg-form {
    margin-top: 18px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.reg-field span {
    display: block;
    font-size: 13px;
    margin-bottom: 4px;
}

.reg-field input,
.reg-field select {
    width: 100%;
    padding: 9px 11px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(5, 8, 22, 0.9);
    color: var(--text-main);
    font-size: 14px;
    outline: none;
    transition: border-color var(--transition-base), box-shadow var(--transition-base), background var(--transition-base);
}

.reg-field input::placeholder {
    color: var(--text-soft);
}

.reg-field input:focus,
.reg-field select:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 1px rgba(255, 50, 101, 0.4);
    background: rgba(6, 10, 30, 0.98);
}

.reg-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-top: 2px;
    font-size: 12px;
    color: var(--text-soft);
}

.reg-checkbox input {
    margin-top: 3px;
}

.reg-submit {
    width: 100%;
    margin-top: 4px;
}

.reg-back {
    margin-top: 8px;
    display: inline-block;
    font-size: 13px;
    color: var(--text-muted);
    text-decoration: none;
    text-align: center;
    width: 100%;
}

.reg-back:hover {
    color: var(--text-main);
}

/* Responsive */

@media (max-width: 1024px) {
    .hero-inner {
        grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.95fr);
        gap: 30px;
    }

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

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

    .bonus-layout {
        grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.1fr);
    }

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

    .footer-inner {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .header-inner {
        padding-inline: 16px;
    }

    .nav {
        display: none;
    }

    .hero {
        padding-top: 40px;
    }

    .hero-inner {
        grid-template-columns: minmax(0, 1fr);
    }

    .hero-showcase {
        order: -1;
    }

    .hero-content h1 {
        font-size: 28px;
    }

    .section {
        padding: 52px 0;
    }

    .grid-4,
    .grid-3 {
        grid-template-columns: minmax(0, 1fr);
    }

    .bonus-layout {
        grid-template-columns: minmax(0, 1fr);
    }

    .mobile-layout {
        grid-template-columns: minmax(0, 1fr);
    }

    .steps {
        grid-template-columns: minmax(0, 1fr);
    }

    .faq-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .footer-inner {
        grid-template-columns: minmax(0, 1fr);
    }

    .seo-section h2 {
        font-size: 22px;
    }
}

@media (max-width: 480px) {
    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-benefits {
        flex-direction: column;
        align-items: flex-start;
    }

    .reg-card {
        padding-inline: 16px;
    }
}
