/* ==========================================================================
   CryptoCasino Canada Child Theme - style.css
   ========================================================================== */

/* Theme Header - обязательно для child-темы */
 /*
 Theme Name:   CryptoCasino Canada Child
 Description:  Child theme for CryptoCasino Canada affiliate site

 */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: #0a0d12;
    color: #e5e5e5;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Фоновая сфера — лёгкая, не нагружает мобильные */
body::before {
    content: "";
    position: fixed;
    inset: 0 0 auto 50%;
    width: min(900px, 180vw);
    height: min(600px, 120vh);
    transform: translateX(-50%);
    background: radial-gradient(circle at center, rgba(212, 175, 55, 0.12) 0%, transparent 65%);
    pointer-events: none;
    z-index: -1;
}

/* Контейнер */
.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 16px;
}

/* Заголовки */
h1, h2, h3 {
    font-family: 'Playfair Display', serif;
    letter-spacing: 0.5px;
    line-height: 1.2;
}

/* Навигация */
nav {
    position: fixed;
    inset: 0 auto auto 0;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 24px;
    background: rgba(10, 13, 18, 0.88);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(212, 175, 55, 0.18);
}

nav .logo {
    color: #D4AF37;
    font-size: clamp(22px, 5vw, 28px);
    font-weight: 800;
    letter-spacing: 4px;
    text-transform: uppercase;
}

nav a {
    color: #bbb;
    margin-left: 32px;
    font-size: 15px;
    text-decoration: none;
    transition: color 0.3s ease;
}

nav a:hover,
nav a:focus {
    color: #D4AF37;
}

/* Hero */
.hero {
    padding: clamp(140px, 28vh, 180px) 20px 60px;
    text-align: center;
}

.hero h1 {
    font-size: clamp(2.8rem, 8vw + 1rem, 4.2rem);
    color: #D4AF37;
    margin-bottom: 20px;
}

.hero .subtitle {
    font-size: clamp(1.2rem, 4vw, 1.5rem);
    color: #f0d27a;
    max-width: 820px;
    margin: 0 auto 32px;
    line-height: 1.45;
}

.hero .updated {
    font-size: 0.95rem;
    color: #9ca3af;
    margin: 12px 0 24px;
}

.hero .benefits {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: clamp(16px, 4vw, 36px);
}

.hero .benefit {
    font-size: clamp(0.95rem, 3.5vw, 1.1rem);
    color: #9ca3af;
}

.hero .benefit strong {
    color: #D4AF37;
}

/* Responsive hero */
@media (max-width: 768px) {
    .hero {
        padding-top: clamp(110px, 24vh, 140px);
        padding-bottom: 40px;
    }
    .hero .benefits {
        gap: 20px;
    }
}

/* Grid карточек — полностью responsive */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: clamp(24px, 5vw, 40px);
    margin: 40px auto;
    max-width: 1180px;
}

/* Карточка */
.card {
    background: linear-gradient(145deg, #111722, #0f141b);
    border-radius: 20px;
    padding: clamp(24px, 5vw, 32px) 24px;
    border: 1px solid rgba(212, 175, 55, 0.16);
    box-shadow: 0 8px 32px rgba(0,0,0,0.5);
    transition: all 0.35s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-10px);
    border-color: #D4AF37;
    box-shadow: 0 20px 60px rgba(212, 175, 55, 0.22);
}

/* Кликабельный текстовый логотип */
.logo-wrap {
    position: relative;
    margin: 0 auto 28px;
    padding: 6px;
    border-radius: 14px;
    background: linear-gradient(145deg, #111722, #0f141b);
    transition: all 0.4s ease;
    width: 100%;
    max-width: 340px;
}

.logo-wrap a {
    display: block;
    text-decoration: none;
    color: transparent;
    background: linear-gradient(90deg, #D4AF37, #f0d27a, #D4AF37, #f0d27a);
    background-size: 300% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    font-family: 'Playfair Display', serif;
    font-weight: 900;
    font-size: clamp(1.8rem, 6vw, 2.8rem);
    letter-spacing: 2px;
    text-align: center;
    padding: 12px 0;
    transition: all 0.5s ease;
}

.logo-wrap:hover a {
    background-position: 100% 0;
}

.logo-wrap:hover {
    background: linear-gradient(90deg, #D4AF37, #f0d27a, #D4AF37);
    box-shadow: 0 0 30px rgba(212, 175, 55, 0.4);
}

/* Badge */
.badge {
    position: absolute;
    top: 12px;
    right: 16px;
    background: #D4AF37;
    color: #000;
    font-size: 11px;
    font-weight: 800;
    padding: 4px 12px;
    border-radius: 30px;
}

/* Контент карточки */
.card h3 {
    font-size: clamp(1.6rem, 4.5vw, 1.9rem);
    margin-bottom: 12px;
    color: #f0d27a;
}

.stars {
    color: #D4AF37;
    font-size: 1.4rem;
    margin-bottom: 16px;
    letter-spacing: 2px;
}

.bonus {
    font-size: 1.15rem;
    font-weight: 700;
    color: #f0d27a;
    margin-bottom: 20px;
}

.avg-rating {
    font-size: 0.95rem;
    color: #9ca3af;
    margin-bottom: 20px;
}

.features {
    list-style: none;
    margin: 0 0 28px;
    padding: 0;
    color: #9ca3af;
    font-size: 0.95rem;
}

.features li {
    margin-bottom: 10px;
}

/* Кнопка */
.btn {
    display: block;
    width: fit-content;
    min-width: 200px;
    margin: 0 auto;
    padding: 14px 32px;
    border: 1px solid #D4AF37;
    color: #D4AF37;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.btn:hover,
.btn:focus {
    background: #D4AF37;
    color: #000;
}

/* Секции */
.section {
    margin: 60px 0;
}

.section h2 {
    text-align: center;
    font-size: clamp(2.2rem, 6vw, 3rem);
    color: #D4AF37;
    margin-bottom: 48px;
}

/* Таблица сравнения */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 40px 0;
    background: #111722;
    border: 1px solid rgba(212, 175, 55, 0.2);
}

th, td {
    padding: 14px;
    text-align: center;
    border: 1px solid rgba(212, 175, 55, 0.12);
}

th {
    background: #0f141b;
    color: #D4AF37;
    font-weight: 600;
}

/* Футер */
footer {
    margin-top: 100px;
    padding: 60px 20px 40px;
    text-align: center;
    background: #0f141b;
    border-top: 1px solid rgba(212, 175, 55, 0.18);
    color: #6b7280;
    font-size: 0.9rem;
}

footer a {
    color: #9ca3af;
    text-decoration: none;
}

footer a:hover {
    color: #D4AF37;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    nav {
        padding: 14px 20px;
    }
    nav a {
        margin-left: 20px;
        font-size: 14px;
    }
}

@media (max-width: 768px) {
    .hero {
        padding-top: clamp(100px, 22vh, 130px);
    }
    .grid {
        gap: 28px;
    }
    .card {
        padding: 24px 18px;
    }
    .logo-wrap a {
        font-size: clamp(1.6rem, 7vw, 2.2rem);
    }
}

@media (max-width: 480px) {
    .benefits {
        flex-direction: column;
        gap: 12px;
    }
    .btn {
        min-width: 100%;
        padding: 14px 24px;
    }
}