/* ============================================================
   Joycasino sandbox transition — casino282.buzz vibe copy
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;600;700;800;900&display=swap');

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

html {
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: #0a0a0a;
    color: #f4f4f4;
    min-height: 100vh;
    min-height: 100dvh;
    line-height: 1.5;
    overflow-x: hidden;
    position: relative;
}

/* Полноэкранный тёмный фон + модель + боке-огни */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: -2;
    background:
        radial-gradient(ellipse at 78% 45%, rgba(255, 152, 48, 0.15) 0%, transparent 40%),
        radial-gradient(ellipse at 15% 25%, rgba(255, 200, 100, 0.10) 0%, transparent 35%),
        linear-gradient(135deg, #0a0a0a 0%, #1a1410 50%, #0a0a0a 100%);
}

body::after {
    content: '';
    position: fixed;
    inset: 0;
    z-index: -1;
    background-image: url('/images/hero-bg.svg');
    background-size: cover;
    background-position: right center;
    background-repeat: no-repeat;
    opacity: 0.85;
    mix-blend-mode: normal;
}

/* Виньетка чтобы карточка читалась */
.wrap {
    position: relative;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 40px clamp(20px, 5vw, 80px);
    background: linear-gradient(90deg, rgba(10,10,10,0.85) 0%, rgba(10,10,10,0.55) 45%, rgba(10,10,10,0.25) 100%);
}

/* ============================================================
   ГЛАВНАЯ КАРТОЧКА
   ============================================================ */
.card {
    width: 100%;
    max-width: 480px;
    background: rgba(20, 18, 15, 0.88);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 152, 48, 0.15);
    border-radius: 24px;
    padding: 32px 28px 24px;
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.5),
        0 0 40px rgba(255, 152, 48, 0.08);
}

/* ============================================================
   BRAND (логотип + название)
   ============================================================ */
.brand {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.logo {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, #2a1e10, #0a0a0a);
    box-shadow:
        inset 0 0 0 2px rgba(255, 152, 48, 0.5),
        0 0 20px rgba(255, 152, 48, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
}

.brand-title {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.brand-title .lat {
    font-size: 24px;
    font-weight: 800;
    color: #f4f4f4;
    letter-spacing: -0.5px;
    line-height: 1;
}

.brand-title .cyr {
    font-size: 13px;
    font-weight: 600;
    color: #a89785;
    letter-spacing: 0.3px;
    line-height: 1;
}

/* ============================================================
   BADGE «Закрытый доступ»
   ============================================================ */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(90deg, rgba(255, 152, 48, 0.18), rgba(229, 127, 26, 0.12));
    border: 1px solid rgba(255, 152, 48, 0.4);
    border-radius: 100px;
    padding: 8px 16px;
    font-size: 12px;
    font-weight: 700;
    color: #ffb648;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.badge .lock {
    font-size: 14px;
    filter: hue-rotate(20deg);
}

/* ============================================================
   РЕЙТИНГ 9.8/10
   ============================================================ */
.rating {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.rate-num {
    font-size: 56px;
    font-weight: 900;
    color: #ffb648;
    line-height: 1;
    letter-spacing: -2px;
    text-shadow: 0 0 20px rgba(255, 152, 48, 0.4);
}

.rate-den {
    font-size: 16px;
    font-weight: 600;
    color: #8a7a6a;
    margin-left: -4px;
}

.stars {
    font-size: 18px;
    color: #ffb648;
    letter-spacing: 2px;
    margin-left: auto;
    text-shadow: 0 0 12px rgba(255, 152, 48, 0.5);
}

/* ============================================================
   ХАРАКТЕРИСТИКИ (2×2 grid)
   ============================================================ */
.specs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    list-style: none;
    margin-bottom: 24px;
}

.specs li {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    padding: 14px 16px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.specs .lbl {
    font-size: 10px;
    font-weight: 700;
    color: #8a7a6a;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.specs .val {
    font-size: 18px;
    font-weight: 800;
    color: #f4f4f4;
    letter-spacing: -0.3px;
    line-height: 1.1;
}

/* ============================================================
   CTA (Оранжевая большая кнопка)
   ============================================================ */
.cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    background: linear-gradient(135deg, #ff9830 0%, #e57f1a 100%);
    color: #ffffff;
    text-decoration: none;
    padding: 18px 24px;
    border-radius: 14px;
    font-size: 15px;
    font-weight: 800;
    letter-spacing: 1.5px;
    box-shadow:
        0 8px 24px rgba(255, 152, 48, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.25);
    transition: transform 120ms ease, box-shadow 120ms ease, filter 120ms ease;
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% { left: -100%; }
    60%, 100% { left: 100%; }
}

.cta:hover {
    transform: translateY(-2px);
    box-shadow:
        0 12px 32px rgba(255, 152, 48, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    filter: brightness(1.05);
}

.cta:active {
    transform: translateY(0);
}

.cta-icon {
    font-size: 20px;
}

.cta-text {
    font-family: 'Manrope', sans-serif;
}

/* ============================================================
   ЗЕРКАЛО (info-строки)
   ============================================================ */
.mirror {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    margin-bottom: 16px;
}

.mirror-status {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: #d4d4d4;
}

.mirror-status .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #4ade80;
    box-shadow: 0 0 8px rgba(74, 222, 128, 0.6);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.mirror-date {
    font-size: 13px;
    color: #ffb648;
    font-weight: 600;
}

/* ============================================================
   ПОДВАЛ (мелкий текст лицензии)
   ============================================================ */
.fine {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    font-size: 10px;
    font-weight: 600;
    color: #6a5f52;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    justify-content: center;
}

.dot-sep {
    color: #ffb648;
}

/* ============================================================
   SEO-HIDDEN (скрытый контент для роботов)
   ============================================================ */
.seo-hidden {
    position: absolute;
    top: -9999px;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* ============================================================
   MOBILE (< 500px)
   ============================================================ */
@media (max-width: 500px) {
    body::after {
        background-position: 70% center;
        opacity: 0.6;
    }
    .wrap {
        padding: 20px 16px;
        align-items: flex-start;
        padding-top: 40px;
    }
    .card {
        padding: 24px 20px 20px;
        border-radius: 20px;
    }
    .brand-title .lat {
        font-size: 20px;
    }
    .rate-num {
        font-size: 44px;
    }
    .stars {
        font-size: 16px;
    }
    .specs {
        gap: 8px;
    }
    .specs li {
        padding: 12px 14px;
    }
    .specs .val {
        font-size: 15px;
    }
    .cta {
        padding: 16px 20px;
        font-size: 14px;
        letter-spacing: 1px;
    }
}

@media (max-width: 360px) {
    .rating {
        justify-content: space-between;
    }
    .stars {
        margin-left: 0;
    }
}

/* ============================================================
   TABLET/DESKTOP полировка
   ============================================================ */
@media (min-width: 768px) {
    .wrap {
        justify-content: flex-start;
        padding-left: clamp(40px, 8vw, 120px);
    }
    .card {
        max-width: 520px;
    }
    .rate-num {
        font-size: 64px;
    }
}
