/* ============================================================
   DRAGONIIL Landing — dark neon theme
   ============================================================ */

:root {
    --bg: #07030c;
    --bg-2: #12071e;
    --bg-3: #1a0b2e;
    --surface: rgba(26, 11, 46, 0.55);
    --surface-strong: rgba(26, 11, 46, 0.85);
    --border: rgba(255, 86, 155, 0.18);
    --border-strong: rgba(255, 86, 155, 0.45);

    --text: #ffffff;
    --text-dim: rgba(255, 255, 255, 0.72);
    --text-muted: rgba(255, 255, 255, 0.5);

    --primary: #ff2b6b;
    --primary-2: #ff5a99;
    --secondary: #8a2bc8;
    --accent: #b91ec1;
    --yellow: #ffe14a;
    --blue: #3b9cff;
    --green: #22e39b;

    --shadow-neon: 0 0 30px rgba(255, 43, 107, 0.45),
                   0 0 80px rgba(138, 43, 200, 0.35);
    --shadow-card: 0 20px 60px rgba(0, 0, 0, 0.55);

    --radius-sm: 10px;
    --radius: 18px;
    --radius-lg: 28px;

    --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    --font-display: 'Unbounded', var(--font);

    --container: 1200px;
}

/* --------------------------- reset --------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    line-height: 1.55;
    font-size: 16px;
    min-height: 100vh;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: 0; background: transparent; color: inherit; }
ul, ol { padding: 0; margin: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-display); font-weight: 800; letter-spacing: -0.02em; }

/* --------------------------- фон --------------------------- */
.bg-layer { position: fixed; inset: 0; pointer-events: none; z-index: -1; }
.bg-grid {
    background:
        radial-gradient(ellipse at top,    rgba(255, 43, 107, 0.18), transparent 45%),
        radial-gradient(ellipse at bottom, rgba(138, 43, 200, 0.22), transparent 45%),
        linear-gradient(180deg, #07030c 0%, #0c0516 50%, #07030c 100%);
}
.bg-grid::before {
    content: "";
    position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(255, 86, 155, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 86, 155, 0.06) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse at center, #000 40%, transparent 85%);
}
.bg-glow {
    width: 700px; height: 700px;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.55;
    animation: float 18s ease-in-out infinite;
}
.glow-a { background: radial-gradient(circle, #ff2b6b, transparent 70%); top: -10%; left: -15%; }
.glow-b { background: radial-gradient(circle, #8a2bc8, transparent 70%); bottom: -20%; right: -15%; animation-delay: -9s; }
.bg-particles { z-index: -1; }

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33%      { transform: translate(40px, -30px) scale(1.08); }
    66%      { transform: translate(-30px, 40px) scale(0.95); }
}

/* --------------------------- navbar --------------------------- */
.nav {
    position: fixed; top: 0; left: 0; right: 0;
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 16px clamp(16px, 4vw, 48px);
    backdrop-filter: blur(16px);
    background: linear-gradient(180deg, rgba(7, 3, 12, 0.85), rgba(7, 3, 12, 0.3));
    border-bottom: 1px solid var(--border);
}
.nav__brand {
    display: flex; align-items: center; gap: 10px;
    font-family: var(--font-display);
    font-weight: 900;
    letter-spacing: 0.12em;
    font-size: 18px;
}
.nav__brand-mark {
    font-size: 22px;
    filter: drop-shadow(0 0 10px rgba(255, 43, 107, 0.8));
    animation: breathe 3s ease-in-out infinite;
}
@keyframes breathe { 50% { transform: scale(1.1); } }
.nav__links {
    display: flex; gap: 28px;
    font-size: 14px; font-weight: 500;
    color: var(--text-dim);
}
.nav__links a { transition: color 0.2s; }
.nav__links a:hover { color: var(--primary-2); }
.nav__cta {
    padding: 10px 20px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 999px;
    font-weight: 700;
    font-size: 14px;
    box-shadow: 0 0 20px rgba(255, 43, 107, 0.5);
    transition: transform 0.2s, box-shadow 0.2s;
}
.nav__cta:hover { transform: translateY(-2px); box-shadow: 0 0 30px rgba(255, 43, 107, 0.7); }

/* --------------------------- HERO --------------------------- */
.hero {
    position: relative;
    padding: 160px clamp(16px, 4vw, 48px) 100px;
    max-width: 960px;
    margin: 0 auto;
    min-height: 92vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}
.hero__content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero__badge {
    display: inline-flex;
    align-items: center; gap: 8px;
    padding: 8px 16px;
    border-radius: 999px;
    background: var(--surface);
    border: 1px solid var(--border-strong);
    font-size: 13px;
    font-weight: 500;
    color: var(--text-dim);
    backdrop-filter: blur(10px);
    margin-bottom: 28px;
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); }
.dot--live { box-shadow: 0 0 0 4px rgba(34, 227, 155, 0.25); animation: pulseDot 2s ease-in-out infinite; }
@keyframes pulseDot {
    0%, 100% { box-shadow: 0 0 0 0 rgba(34, 227, 155, 0.6); }
    50%      { box-shadow: 0 0 0 8px rgba(34, 227, 155, 0); }
}

.hero__title {
    font-size: clamp(44px, 6.5vw, 88px);
    line-height: 0.95;
    margin-bottom: 24px;
    text-transform: uppercase;
    word-break: keep-all;
    overflow-wrap: normal;
}
.hero__title-row { display: block; }
.hero__title-row--gradient {
    background: linear-gradient(90deg, #ff2b6b, #ffe14a, #8a2bc8);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: gradientShift 6s linear infinite;
}
@keyframes gradientShift {
    0%   { background-position: 0% 50%; }
    100% { background-position: 200% 50%; }
}
.hero__title-row--small {
    font-size: 0.4em;
    font-weight: 500;
    color: var(--text-dim);
    letter-spacing: 0.15em;
    margin-top: 8px;
}
.hero__lead {
    font-size: 18px;
    color: var(--text-dim);
    max-width: 620px;
    margin: 0 auto 44px;
}

.hero__actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    width: 100%;
    max-width: 720px;
    margin: 0 auto;
}

/* --------------------------- кнопки --------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    padding: 16px 24px;
    border-radius: var(--radius);
    font-weight: 700;
    font-size: 15px;
    transition: transform 0.2s, box-shadow 0.2s, background 0.3s;
    position: relative;
    overflow: hidden;
    min-width: 0;          /* чтобы кнопка-grid-item не распирала колонку */
    box-sizing: border-box;
}
.btn--huge { padding: 20px 24px; font-size: 17px; }
.btn--full { width: 100%; justify-content: center; }

.btn--primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #fff;
    box-shadow: 0 14px 40px -12px rgba(255, 43, 107, 0.7),
                0 0 30px rgba(255, 43, 107, 0.3);
}
.btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 50px -10px rgba(255, 43, 107, 0.85),
                0 0 45px rgba(255, 43, 107, 0.5);
}
.btn--primary::after {
    content: "";
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s;
}
.btn--primary:hover::after { left: 100%; }

.btn--secondary {
    background: linear-gradient(135deg, #3b9cff, #8a2bc8);
    color: #fff;
    box-shadow: 0 14px 40px -12px rgba(59, 156, 255, 0.6);
}
.btn--secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 50px -10px rgba(59, 156, 255, 0.8);
}

.btn--ghost {
    background: var(--surface);
    border: 1px solid var(--border-strong);
    color: #fff;
    backdrop-filter: blur(10px);
}
.btn--ghost:hover {
    background: var(--surface-strong);
    border-color: var(--primary);
    transform: translateY(-2px);
}

.btn__icon { font-size: 26px; line-height: 1; flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; }
.btn__icon--tg svg, .btn__icon svg { width: 28px; height: 28px; display: block; }
.btn__body {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    flex: 1 1 auto;
    min-width: 0;                 /* разрешает телу сжиматься в flex-контейнере */
    text-align: left;
}
.btn__title {
    font-size: inherit;
    font-weight: 800;
    width: 100%;
    overflow-wrap: break-word;
}
.btn__sub {
    font-size: 11px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.75);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    width: 100%;
    overflow-wrap: break-word;    /* длинные слова не вылезают */
    line-height: 1.25;
}
.btn__arrow { font-size: 20px; transition: transform 0.2s; flex-shrink: 0; }
.btn:hover .btn__arrow { transform: translateX(4px); }

/* --------------------------- секции --------------------------- */
.section {
    max-width: var(--container);
    margin: 0 auto;
    padding: 80px clamp(16px, 4vw, 48px);
    position: relative;
}
.section__head { text-align: center; margin-bottom: 48px; }
.section__title {
    font-size: clamp(32px, 5vw, 56px);
    margin-bottom: 12px;
    background: linear-gradient(135deg, #fff, #ff5a99);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.section__sub { color: var(--text-muted); font-size: 16px; }

/* --------------------------- play cards --------------------------- */
.play-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}
.play-card {
    position: relative;
    padding: 32px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(14px);
    box-shadow: var(--shadow-card);
    transition: transform 0.3s, border-color 0.3s;
    overflow: hidden;
}
.play-card:hover { transform: translateY(-6px); border-color: var(--border-strong); }
.play-card__glow {
    position: absolute;
    top: -60%; right: -20%;
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(255, 43, 107, 0.25), transparent 60%);
    pointer-events: none;
}
.play-card--bot .play-card__glow {
    background: radial-gradient(circle, rgba(59, 156, 255, 0.22), transparent 60%);
}
.play-card__head {
    display: flex; align-items: center; justify-content: space-between;
    margin-bottom: 20px;
    position: relative; z-index: 1;
}
.play-card__logo { max-height: 48px; width: auto; }
.play-card__bot-icon {
    font-size: 44px;
    filter: drop-shadow(0 0 20px rgba(59, 156, 255, 0.6));
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.play-card__bot-icon svg { width: 52px; height: 52px; display: block; }
.play-card__badge {
    padding: 5px 12px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 999px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.12em;
}
.play-card__badge--blue { background: linear-gradient(135deg, var(--blue), var(--secondary)); }
.play-card__title {
    font-size: 32px;
    margin-bottom: 12px;
    position: relative; z-index: 1;
}
.play-card__text {
    color: var(--text-dim);
    margin: 0 0 20px;
    position: relative; z-index: 1;
}
.play-card__list {
    margin-bottom: 28px;
    position: relative; z-index: 1;
}
.play-card__list li {
    padding-left: 26px;
    position: relative;
    margin-bottom: 10px;
    color: var(--text-dim);
    font-size: 15px;
}
.play-card__list li::before {
    content: "✓";
    position: absolute;
    left: 0; top: 0;
    width: 18px; height: 18px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #fff;
    font-size: 11px;
    display: grid; place-items: center;
    font-weight: 900;
}

/* --------------------------- channels --------------------------- */
.channels-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
.channel-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 24px 28px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: transform 0.3s, border-color 0.3s, background 0.3s;
    backdrop-filter: blur(10px);
}
.channel-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-strong);
    background: var(--surface-strong);
}
.channel-card__icon {
    width: 56px; height: 56px;
    flex-shrink: 0;
    border-radius: 16px;
    background: linear-gradient(135deg, #229ed9, #0088cc);
    display: grid; place-items: center;
    color: #fff;
    box-shadow: 0 8px 24px -8px rgba(0, 136, 204, 0.7);
}
.channel-card__icon svg { width: 28px; height: 28px; }
.channel-card--casino .channel-card__icon {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    box-shadow: 0 8px 24px -8px rgba(255, 43, 107, 0.7);
}
.channel-card__body { flex: 1; min-width: 0; }
.channel-card__title { font-family: var(--font-display); font-weight: 800; font-size: 20px; margin-bottom: 4px; }
.channel-card__sub { font-size: 13px; color: var(--text-muted); }
.channel-card__cta {
    font-weight: 700; color: var(--primary-2); font-size: 14px;
    flex-shrink: 0;
    transition: transform 0.2s;
}
.channel-card:hover .channel-card__cta { transform: translateX(4px); }

/* --------------------------- bonus --------------------------- */
.bonus-card {
    position: relative;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
    padding: 48px clamp(24px, 4vw, 56px);
    background: linear-gradient(135deg, rgba(255, 43, 107, 0.18), rgba(138, 43, 200, 0.18));
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(16px);
    overflow: hidden;
    box-shadow: 0 30px 90px -30px rgba(255, 43, 107, 0.5);
}
.bonus-card::before {
    content: "";
    position: absolute; inset: -2px;
    background: linear-gradient(135deg, var(--primary), transparent 40%, var(--secondary));
    border-radius: inherit;
    z-index: -1;
    opacity: 0.4;
    filter: blur(20px);
}
.bonus-card__label {
    display: inline-block;
    padding: 6px 14px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 999px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.15em;
    margin-bottom: 20px;
}
.bonus-card__title {
    font-size: clamp(32px, 5vw, 56px);
    line-height: 1;
    margin-bottom: 16px;
    text-transform: uppercase;
}
.bonus-card__accent {
    background: linear-gradient(90deg, #ffe14a, #ff5a99);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.bonus-card__text {
    color: var(--text-dim);
    margin-bottom: 32px;
    max-width: 460px;
}

.promo { margin-bottom: 32px; }
.promo__label {
    font-size: 12px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 8px;
}
.promo__box {
    display: flex; align-items: center; gap: 8px;
    padding: 8px 8px 8px 20px;
    background: rgba(0, 0, 0, 0.35);
    border: 1px dashed var(--border-strong);
    border-radius: 14px;
    max-width: 360px;
}
.promo__code {
    font-family: var(--font-display);
    font-weight: 900;
    font-size: 24px;
    letter-spacing: 0.1em;
    flex: 1;
    color: var(--yellow);
    text-shadow: 0 0 20px rgba(255, 225, 74, 0.5);
}
.promo__copy {
    padding: 10px 18px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 10px;
    font-weight: 700;
    font-size: 13px;
    transition: transform 0.2s;
}
.promo__copy:hover { transform: translateY(-1px); }
.promo__copy.is-copied { background: linear-gradient(135deg, var(--green), #12b37d); }
.promo__hint { font-size: 12px; color: var(--text-muted); margin-top: 8px; }

.bonus-card__right { position: relative; min-height: 320px; }
.bonus-card__big {
    font-size: 280px;
    position: absolute;
    right: -40px; bottom: -80px;
    filter: drop-shadow(0 0 50px rgba(255, 43, 107, 0.5));
    animation: dragonFloat 6s ease-in-out infinite;
    line-height: 1;
}
.coin {
    position: absolute;
    font-size: 40px;
    filter: drop-shadow(0 0 20px rgba(255, 225, 74, 0.7));
    animation: coinFloat 5s ease-in-out infinite;
}
.coin--1 { top: 10%;  left: 5%;   animation-delay: 0s;    }
.coin--2 { top: 30%;  right: 10%; animation-delay: 0.8s;  font-size: 50px; }
.coin--3 { top: 60%;  left: 15%;  animation-delay: 1.6s;  font-size: 36px; }
.coin--4 { top: 5%;   right: 30%; animation-delay: 2.4s;  }
.coin--5 { top: 75%;  right: 5%;  animation-delay: 3.2s;  font-size: 46px; }
@keyframes coinFloat {
    0%, 100% { transform: translateY(0) rotate(-5deg); }
    50%      { transform: translateY(-20px) rotate(8deg); }
}

/* --------------------------- шаги --------------------------- */
.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    counter-reset: step;
}
.step {
    padding: 32px 28px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    backdrop-filter: blur(12px);
    transition: transform 0.3s, border-color 0.3s;
    position: relative;
    overflow: hidden;
}
.step:hover { transform: translateY(-6px); border-color: var(--border-strong); }
.step__num {
    font-family: var(--font-display);
    font-weight: 900;
    font-size: 80px;
    line-height: 1;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 20px;
}
.step__title { font-size: 22px; margin-bottom: 10px; }
.step__text { color: var(--text-dim); font-size: 15px; }

/* --------------------------- final CTA --------------------------- */
.final { padding-bottom: 120px; }
.final__box {
    text-align: center;
    padding: 80px 40px;
    background:
        radial-gradient(ellipse at center, rgba(255, 43, 107, 0.25), transparent 70%),
        var(--surface);
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(14px);
}
.final__title {
    font-size: clamp(28px, 4vw, 48px);
    margin-bottom: 32px;
}
.final__actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* --------------------------- footer --------------------------- */
.footer {
    padding: 40px clamp(16px, 4vw, 48px);
    border-top: 1px solid var(--border);
    background: rgba(7, 3, 12, 0.7);
    backdrop-filter: blur(10px);
}
.footer__inner {
    max-width: var(--container);
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}
.footer__brand {
    display: flex; align-items: center; gap: 10px;
    font-family: var(--font-display);
    font-weight: 900;
    letter-spacing: 0.12em;
    font-size: 14px;
    color: var(--text-dim);
}
.footer__links { display: flex; gap: 20px; flex-wrap: wrap; }
.footer__links a {
    color: var(--text-dim); font-size: 14px;
    transition: color 0.2s;
}
.footer__links a:hover { color: var(--primary-2); }
.footer__notice {
    font-size: 12px;
    color: var(--text-muted);
    width: 100%;
    text-align: center;
    padding-top: 16px;
    border-top: 1px solid var(--border);
    margin-top: 8px;
}

/* --------------------------- sticky mobile --------------------------- */
.sticky-cta {
    position: fixed;
    bottom: 16px;
    left: 16px; right: 16px;
    z-index: 40;
    display: none;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 16px 20px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: var(--radius);
    font-weight: 800;
    font-size: 16px;
    box-shadow: 0 14px 40px -10px rgba(255, 43, 107, 0.8),
                0 0 30px rgba(255, 43, 107, 0.4);
}
.sticky-cta__arrow { margin-left: auto; }

/* --------------------------- reveal (JS) --------------------------- */
[data-reveal] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}
[data-reveal].is-visible { opacity: 1; transform: none; }

/* --------------------------- responsive --------------------------- */
@media (max-width: 960px) {
    .hero { padding-top: 130px; min-height: auto; }
    .hero__actions { grid-template-columns: 1fr; max-width: 520px; }
    .play-grid { grid-template-columns: 1fr; }
    .channels-grid { grid-template-columns: 1fr; }
    .bonus-card { grid-template-columns: 1fr; }
    .bonus-card__right { min-height: 180px; }
    .bonus-card__big { font-size: 180px; right: -20px; bottom: -40px; }
    .steps { grid-template-columns: 1fr; }
    .nav__links { display: none; }
}

@media (max-width: 640px) {
    .nav__cta { display: none; }
    .sticky-cta { display: flex; }
    body { padding-bottom: 80px; }
    .hero__title { font-size: 56px; }
    .btn--huge { padding: 16px 20px; font-size: 15px; }
    .btn__icon { font-size: 22px; }
    .btn__title { font-size: 15px; }
    .btn__sub { font-size: 11px; }
    .final__box { padding: 48px 20px; }
    .footer__inner { flex-direction: column; text-align: center; }
}

/* --------------------------- motion safe --------------------------- */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}
