/* ============================================
   SUSTAINABLE WEB DESIGN — CasinoRank 2026
   System fonts · High contrast · Low impact
============================================ */

:root {
    /* dark surfaces */
    --bg:     #0d1410;   /* very dark forest-green black */
    --bg2:    #141d15;   /* raised surface */
    --bg3:    #1c2a1e;   /* elevated surface */
    --bg-inv: #1a3d20;   /* accent dark-green section */

    /* accent */
    --green:   #4ade80;  /* bright green for dark bg */
    --green2:  #22c55e;
    --green-l: rgba(74,222,128,.1);
    --amber:   #fbbf24;
    --amber-l: rgba(251,191,36,.1);

    /* text */
    --text:    #e2ece4;  /* warm off-white */
    --muted:   #7a9080;
    --inv-text:#b8d4bc;

    /* ui */
    --border:  #253028;
    --border2: #3a5040;

    /* geometry */
    --r:    8px;
    --r-sm: 5px;

    /* shadows — stronger for dark bg */
    --shadow:    0 1px 3px rgba(0,0,0,.35), 0 4px 12px rgba(0,0,0,.3);
    --shadow-md: 0 4px 20px rgba(0,0,0,.5);

    --ease: .22s ease;
}

/* ============================================
   RESET & BASE
============================================ */

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

html { scroll-behavior: smooth; font-size: 100%; }

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI',
                 'Helvetica Neue', Arial, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.65;
    overflow-x: hidden;
}

/* high-visibility focus ring for keyboard users */
:focus-visible {
    outline: 2px solid var(--green);
    outline-offset: 3px;
    border-radius: 3px;
}

.container { width: min(1200px, 92%); margin: auto; }

/* ============================================
   HEADER
============================================ */

header {
    position: sticky; top: 0; z-index: 100;
    background: var(--bg2);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 1px 4px rgba(0,0,0,.06);
}

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

.logo {
    font-size: 20px; font-weight: 800;
    color: var(--green);
    text-decoration: none; letter-spacing: -.3px;
}

nav { display: flex; gap: 28px; }

nav a {
    color: var(--muted);
    text-decoration: none;
    font-size: 14px; font-weight: 600;
    position: relative; padding-bottom: 3px;
    transition: color var(--ease);
}

nav a::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 0; height: 2px;
    background: var(--green); border-radius: 2px;
    transition: width var(--ease);
}

nav a:hover, nav a.active { color: var(--text); }
nav a:hover::after, nav a.active::after { width: 100%; }

.header-right { display: flex; }

#langButton {
    background: transparent;
    color: var(--green);
    border: 1.5px solid var(--green);
    padding: 7px 16px; border-radius: var(--r-sm);
    cursor: pointer;
    font-family: inherit; font-weight: 700; font-size: 12px;
    letter-spacing: .05em;
    transition: background var(--ease), color var(--ease);
}
#langButton:hover {
    background: var(--green); color: white;
}

/* ============================================
   BUTTONS
============================================ */

.btn {
    cursor: pointer; border: none;
    padding: 12px 26px; border-radius: var(--r-sm);
    font-family: inherit; font-weight: 700; font-size: 14px;
    display: inline-block;
    transition: background var(--ease), transform var(--ease), box-shadow var(--ease);
}

.primary {
    background: var(--green); color: white;
}
.primary:hover {
    background: var(--green2);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(74,222,128,.3);
}

.secondary {
    background: transparent; color: var(--green);
    border: 1.5px solid var(--green);
}
.secondary:hover {
    background: var(--green); color: white;
}

/* ============================================
   HERO
============================================ */

.hero {
    background: var(--bg2);
    border-bottom: 1px solid var(--border);
    padding: 88px 0 70px; text-align: center;
    position: relative; overflow: hidden;
}

/* subtle green wash top */
.hero::before {
    content: '';
    position: absolute; top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--green), var(--green2), var(--green));
}

.hero-badge {
    display: inline-block;
    background: var(--green-l);
    color: var(--green);
    font-size: 12px; font-weight: 700;
    letter-spacing: .06em; text-transform: uppercase;
    padding: 6px 18px; border-radius: 999px;
    border: 1px solid rgba(74,222,128,.2);
    margin-bottom: 26px;
}

.hero h1 {
    font-size: 54px; font-weight: 800;
    line-height: 1.1; letter-spacing: -.02em;
    color: var(--text); margin-bottom: 18px;
}

.hero > .container > p {
    color: var(--muted); font-size: 17px;
    max-width: 460px; margin: 0 auto 44px; line-height: 1.7;
}

.hero-stats {
    display: flex; justify-content: center; align-items: center;
    width: fit-content; margin: 0 auto;
    background: var(--bg); border: 1px solid var(--border);
    border-radius: var(--r); padding: 18px 32px;
    box-shadow: var(--shadow);
}

.hero-stat { display: flex; flex-direction: column; align-items: center; padding: 0 32px; }

.hero-stat-divider { width: 1px; height: 36px; background: var(--border); }

.stat-num { font-size: 28px; font-weight: 800; line-height: 1.1; color: var(--green); }

.stat-label { font-size: 11px; color: var(--muted); margin-top: 4px; text-transform: uppercase; letter-spacing: .04em; }

/* ============================================
   SEARCH & SORT
============================================ */

.controls { padding: 0 0 40px; }
.controls-flex { display: flex; gap: 12px; }
.controls input { flex: 1; }

.controls input,
.controls select {
    background: var(--bg2); color: var(--text);
    border: 1.5px solid var(--border); border-radius: var(--r-sm);
    padding: 12px 16px;
    font-size: 14px; font-family: inherit; outline: none;
    transition: border-color var(--ease), box-shadow var(--ease);
}
.controls input:focus,
.controls select:focus {
    border-color: var(--green);
    box-shadow: 0 0 0 3px rgba(74,222,128,.1);
}
.controls input::placeholder { color: var(--muted); }
.controls select option { background: var(--bg2); }

/* ============================================
   CASINO GRID
============================================ */

.casino-grid { display: flex; flex-direction: column; gap: 10px; padding-bottom: 80px; }

.no-results { text-align: center; padding: 70px 0; color: var(--muted); font-size: 18px; }

/* ============================================
   CASINO CARD — horizontal, clean, accessible
============================================ */

.casino-card {
    display: grid;
    grid-template-columns: 64px 148px 1fr 172px;
    align-items: stretch;
    min-height: 140px;
    background: var(--bg2);
    border-radius: var(--r);
    border: 1px solid var(--border);
    border-left: 3px solid var(--border2);
    box-shadow: var(--shadow);
    transition: transform var(--ease), border-color var(--ease), box-shadow var(--ease);
    overflow: hidden;
}

.casino-card:hover {
    transform: translateX(5px);
    border-color: var(--border2);
    border-left-color: var(--green);
    box-shadow: var(--shadow-md);
}

.casino-card.gold   { border-left-color: var(--amber); }
.casino-card.silver { border-left-color: #8b96a8; }
.casino-card.bronze { border-left-color: #a07050; }

.casino-card.gold:hover   { border-left-color: var(--amber); box-shadow: var(--shadow-md); }
.casino-card.silver:hover { border-left-color: #8b96a8; }
.casino-card.bronze:hover { border-left-color: #a07050; }

/* rank */
.card-rank {
    display: flex; align-items: center;
    justify-content: center; flex-direction: column;
    padding: 12px 8px;
    background: var(--bg);
    border-right: 1px solid var(--border);
}

.rank-num {
    font-size: 22px; font-weight: 900; line-height: 1;
    color: var(--muted);
}
.casino-card.gold   .rank-num { color: var(--amber); }
.casino-card.silver .rank-num { color: #8b96a8; }
.casino-card.bronze .rank-num { color: #a07050; }

/* image */
.card-img { position: relative; overflow: hidden; border-right: 1px solid var(--border); }

.card-img img {
    width: 100%; height: 100%; object-fit: cover; display: block;
    transition: transform var(--ease);
}
.casino-card:hover .card-img img { transform: scale(1.03); }

.card-label {
    position: absolute; bottom: 8px; left: 0;
    background: var(--green); color: white;
    font-size: 9px; font-weight: 700;
    padding: 3px 10px 3px 8px;
    border-radius: 0 4px 4px 0;
    text-transform: uppercase; letter-spacing: .08em;
}

/* body */
.card-body {
    padding: 16px 20px;
    display: flex; flex-direction: column;
    justify-content: center; gap: 8px;
    border-right: 1px solid var(--border);
}

.card-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }

.card-name { font-size: 16px; font-weight: 700; color: var(--text); }

.card-stars { display: flex; align-items: center; gap: 4px; }
.card-stars span { color: var(--amber); font-size: 12px; }
.card-stars strong { font-size: 15px; font-weight: 800; color: var(--text); }

.card-bonus-tag {
    display: inline-block;
    background: var(--amber-l);
    border: 1px solid rgba(251,191,36,.2);
    border-radius: var(--r-sm);
    padding: 4px 10px;
    font-size: 12px; font-weight: 600; color: var(--amber);
    align-self: flex-start;
}

.card-pros { list-style: none; display: flex; gap: 14px; flex-wrap: wrap; }

.card-pros li {
    font-size: 12px; font-weight: 600; color: var(--green);
}

/* action */
.card-action {
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    gap: 8px; padding: 16px;
}

.card-votes {
    font-size: 11px; color: var(--muted); text-align: center;
    background: var(--bg); border: 1px solid var(--border);
    padding: 3px 10px; border-radius: 999px;
}

.card-play {
    display: block; width: 100%; text-align: center;
    text-decoration: none; padding: 11px 14px;
    font-size: 13px; font-weight: 700; color: white;
    background: var(--green); border-radius: var(--r-sm);
    white-space: nowrap;
    transition: background var(--ease), transform var(--ease), box-shadow var(--ease);
}
.card-play:hover {
    background: var(--green2);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(74,222,128,.3);
}

/* ============================================
   SECTION HEADER
============================================ */

.section-header { text-align: center; margin-bottom: 52px; }

/* green accent line above section */
.section-header::before {
    content: '';
    display: block; width: 36px; height: 3px;
    background: var(--green); border-radius: 2px;
    margin: 0 auto 20px;
}

.section-tag { font-size: 30px; display: block; margin-bottom: 12px; }

.section-title {
    font-size: 32px; font-weight: 800; letter-spacing: -.02em;
    color: var(--text); margin-bottom: 12px;
}

.section-subtitle {
    font-size: 16px; color: var(--muted);
    max-width: 500px; margin: 0 auto; line-height: 1.7;
}

/* ============================================
   BONUS TYPES
============================================ */

.bonus-types-section { background: var(--bg2); padding: 88px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

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

.bonus-type-card {
    background: var(--bg); border: 1px solid var(--border);
    border-top: 3px solid var(--border2); border-radius: var(--r);
    padding: 24px 18px;
    transition: transform var(--ease), box-shadow var(--ease), border-top-color var(--ease);
}
.bonus-type-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

.bt-gold   { border-top-color: var(--amber); }
.bt-green  { border-top-color: var(--green); }
.bt-blue   { border-top-color: #2563eb; }
.bt-purple { border-top-color: #7c3aed; }
.bt-red    { border-top-color: #dc2626; }

.bt-icon { font-size: 26px; display: block; margin-bottom: 12px; }

.bonus-type-card h3 { font-size: 14px; font-weight: 700; margin-bottom: 8px; color: var(--text); }

.bonus-type-card p { font-size: 13px; color: var(--muted); line-height: 1.6; }

/* ============================================
   HOW WE RATE
============================================ */

.how-we-rate-section { background: var(--bg3); padding: 88px 0; }

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

.criteria-card {
    background: var(--bg2); border: 1px solid var(--border);
    border-radius: var(--r); padding: 24px 18px;
    transition: transform var(--ease), box-shadow var(--ease);
}
.criteria-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }

.criteria-num {
    font-size: 32px; font-weight: 900; letter-spacing: -.02em;
    line-height: 1; margin-bottom: 12px; color: var(--green);
}

.criteria-card h3 { font-size: 13px; font-weight: 700; margin-bottom: 7px; color: var(--text); }

.criteria-card p { font-size: 12px; color: var(--muted); line-height: 1.6; }

/* ============================================
   FAQ
============================================ */

.faq-section { background: var(--bg2); padding: 88px 0; border-top: 1px solid var(--border); }

.faq-list { max-width: 740px; margin: 0 auto; display: flex; flex-direction: column; gap: 8px; }

.faq-item {
    background: var(--bg2); border-radius: var(--r-sm);
    border: 1px solid var(--border); overflow: hidden;
    transition: border-color var(--ease);
}
.faq-item.open { border-color: var(--green); }

.faq-q {
    width: 100%; text-align: left; background: none; border: none;
    color: var(--text); font-family: inherit;
    font-size: 15px; font-weight: 600;
    padding: 18px 22px; cursor: pointer;
    display: flex; justify-content: space-between; align-items: center; gap: 12px;
    transition: color var(--ease);
}
.faq-q::after {
    content: '+'; font-size: 22px; font-weight: 400;
    color: var(--green); flex-shrink: 0; line-height: 1;
    transition: transform var(--ease);
}
.faq-item.open .faq-q::after { transform: rotate(45deg); }
.faq-q:hover { color: var(--green); }

.faq-a { max-height: 0; overflow: hidden; transition: max-height .38s ease; }
.faq-item.open .faq-a { max-height: 300px; }

.faq-a p {
    padding: 4px 22px 20px;
    color: var(--muted); line-height: 1.75; font-size: 14px;
    border-top: 1px solid var(--border);
    padding-top: 14px;
}

/* ============================================
   RESPONSIBLE — inverted dark green
============================================ */

.responsible {
    background: var(--bg-inv); text-align: center; padding: 80px 0;
}

.responsible h2 {
    font-size: 24px; font-weight: 700; margin-bottom: 14px;
    color: white;
}

.responsible p {
    font-size: 15px; max-width: 520px;
    margin: 0 auto 32px; line-height: 1.7;
    color: var(--inv-text);
}

.responsible-icons { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; }

.resp-icon {
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.15);
    border-radius: var(--r-sm);
    padding: 9px 18px; font-size: 13px; font-weight: 600;
    color: var(--inv-text);
}

/* ============================================
   FOOTER
============================================ */

footer {
    background: #080c09; border-top: 1px solid var(--border);
    padding: 56px 0 28px; color: var(--muted);
}

.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px; margin-bottom: 44px; }

.footer-brand .logo { display: block; margin-bottom: 14px; color: var(--green); font-size: 18px; }

.footer-desc { font-size: 13px; line-height: 1.7; max-width: 270px; color: #7a8f81; }

.footer-links h4 {
    color: var(--text); font-size: 11px; font-weight: 700;
    letter-spacing: .08em; text-transform: uppercase; margin-bottom: 16px;
}

.footer-links a {
    display: block; color: var(--muted); text-decoration: none;
    font-size: 13px; margin-bottom: 10px;
    transition: color var(--ease);
}
.footer-links a:hover { color: var(--green); }

.footer-bottom {
    border-top: 1px solid var(--border); padding-top: 20px;
    display: flex; justify-content: space-between; align-items: flex-start;
    gap: 16px; flex-wrap: wrap; font-size: 12px; color: var(--muted);
}

.footer-disclaimer { max-width: 400px; line-height: 1.5; opacity: .7; }

/* ============================================
   AGE MODAL
============================================ */

.age-modal {
    position: fixed; inset: 0;
    background: rgba(0,0,0,.55);
    display: flex; justify-content: center; align-items: center;
    z-index: 9999; backdrop-filter: blur(4px);
}

.age-box {
    width: min(420px, 90%);
    background: var(--bg2); border-radius: 12px;
    padding: 44px 40px; text-align: center;
    box-shadow: 0 24px 64px rgba(0,0,0,.2);
    border: 1px solid var(--border);
}

.age-icon {
    width: 80px; height: 80px; border-radius: 50%;
    display: flex; justify-content: center; align-items: center;
    margin: 0 auto 22px;
    font-size: 22px; font-weight: 800;
    background: var(--green-l); color: var(--green);
    border: 2px solid rgba(74,222,128,.3);
}

.age-box h2 { margin-bottom: 10px; font-size: 20px; font-weight: 700; color: var(--text); }
.age-box p  { color: var(--muted); margin-bottom: 30px; line-height: 1.6; }

.age-buttons { display: flex; gap: 12px; }
.age-buttons button { flex: 1; }

/* ============================================
   PAGE HERO — inner pages
============================================ */

.page-hero {
    background: var(--bg2);
    border-top: 4px solid var(--green);
    border-bottom: 1px solid var(--border);
    padding: 60px 0 44px; text-align: center;
}

.page-hero h1 {
    font-size: 38px; font-weight: 800; letter-spacing: -.02em;
    color: var(--text); margin-bottom: 12px;
}

.page-hero p { color: var(--muted); font-size: 16px; max-width: 460px; margin: 0 auto; line-height: 1.7; }

/* ============================================
   NEWS PAGE
============================================ */

.news-section { padding: 56px 0 80px; }

.news-filter { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 34px; }

.news-filter-btn {
    background: var(--bg2); border: 1.5px solid var(--border);
    color: var(--muted); padding: 7px 18px; border-radius: 999px;
    cursor: pointer; font-family: inherit;
    font-size: 13px; font-weight: 600;
    transition: all var(--ease);
}
.news-filter-btn:hover { border-color: var(--green); color: var(--green); }
.news-filter-btn.active {
    background: var(--green); color: white; border-color: var(--green);
}

.news-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 20px; }

.news-card {
    background: var(--bg2); border-radius: var(--r);
    border: 1px solid var(--border); overflow: hidden;
    display: flex; flex-direction: column;
    transition: transform var(--ease), box-shadow var(--ease), border-color var(--ease);
}
.news-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--border2); }

.news-card-img {
    width: 100%; height: 140px;
    background: var(--bg3);
    display: flex; align-items: center; justify-content: center;
    font-size: 46px; border-bottom: 1px solid var(--border);
}

.news-card-body { padding: 20px; display: flex; flex-direction: column; flex: 1; }

.news-meta { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }

.news-category {
    background: var(--green-l); border: 1px solid rgba(74,222,128,.2);
    color: var(--green); font-size: 10px; font-weight: 700;
    padding: 3px 10px; border-radius: 999px;
    text-transform: uppercase; letter-spacing: .06em;
}

.news-date { font-size: 12px; color: var(--muted); }

.news-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 8px; line-height: 1.4; color: var(--text); }

.news-card p { font-size: 13px; color: var(--muted); line-height: 1.65; margin-bottom: 16px; flex: 1; }

.news-read-more {
    color: var(--green); text-decoration: underline;
    font-size: 13px; font-weight: 600;
    transition: color var(--ease); align-self: flex-start;
}
.news-read-more:hover { color: var(--green2); }

/* ============================================
   ABOUT PAGE
============================================ */

.about-section { padding: 68px 0 80px; }

.about-intro { max-width: 680px; margin: 0 auto 60px; text-align: center; }
.about-intro p { font-size: 16px; color: var(--muted); line-height: 1.85; margin-bottom: 14px; }

.about-stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 60px; }

.about-stat-card {
    background: var(--bg2); border: 1px solid var(--border);
    border-radius: var(--r); padding: 26px 18px; text-align: center;
    transition: transform var(--ease), box-shadow var(--ease);
}
.about-stat-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }

.about-stat-num { font-size: 32px; font-weight: 800; display: block; margin-bottom: 6px; color: var(--green); }
.about-stat-label { color: var(--muted); font-size: 13px; }

.about-values { margin-bottom: 52px; }
.about-values h2 { font-size: 26px; font-weight: 800; margin-bottom: 24px; text-align: center; color: var(--text); }

.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }

.value-card {
    background: var(--bg2); border-radius: var(--r); padding: 26px;
    border: 1px solid var(--border);
    transition: transform var(--ease), box-shadow var(--ease);
}
.value-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }

.value-icon { font-size: 28px; display: block; margin-bottom: 12px; }
.value-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 8px; color: var(--text); }
.value-card p { color: var(--muted); font-size: 13px; line-height: 1.7; }

.about-process {
    background: var(--bg2); border-radius: var(--r);
    border: 1px solid var(--border); padding: 38px;
}
.about-process h2 { font-size: 22px; font-weight: 700; margin-bottom: 26px; color: var(--text); }

.process-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }

.step-num {
    width: 36px; height: 36px; border-radius: 50%;
    background: var(--green-l); border: 2px solid var(--green);
    display: flex; align-items: center; justify-content: center;
    font-weight: 800; font-size: 14px; color: var(--green);
    margin-bottom: 12px;
}

.process-step h4 { font-size: 14px; font-weight: 700; margin-bottom: 7px; color: var(--text); }
.process-step p { font-size: 12px; color: var(--muted); line-height: 1.65; }

/* ============================================
   CONTACTS PAGE
============================================ */

.contacts-section { padding: 68px 0 80px; }
.contacts-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }

.contact-form-block h2,
.contact-info-block h2 { font-size: 22px; font-weight: 700; margin-bottom: 20px; color: var(--text); }

.contact-form { display: flex; flex-direction: column; gap: 12px; }

.contact-form input,
.contact-form textarea {
    background: var(--bg2); border: 1.5px solid var(--border);
    border-radius: var(--r-sm); padding: 12px 16px;
    color: var(--text); font-size: 14px; font-family: inherit; outline: none;
    transition: border-color var(--ease), box-shadow var(--ease);
}
.contact-form input::placeholder,
.contact-form textarea::placeholder { color: var(--muted); }
.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--green);
    box-shadow: 0 0 0 3px rgba(74,222,128,.1);
}
.contact-form textarea { resize: vertical; min-height: 126px; }

.form-success {
    display: none;
    background: var(--green-l); border: 1px solid rgba(74,222,128,.3);
    border-radius: var(--r-sm); padding: 14px 18px;
    color: var(--green); font-weight: 600; margin-top: 8px; text-align: center;
    font-size: 14px;
}

.contact-info-list { display: flex; flex-direction: column; gap: 12px; margin-bottom: 20px; }

.contact-info-item {
    display: flex; align-items: flex-start; gap: 14px;
    background: var(--bg); border-radius: var(--r-sm); padding: 16px;
    border: 1px solid var(--border);
    transition: border-color var(--ease);
}
.contact-info-item:hover { border-color: var(--border2); }

.ci-icon { font-size: 20px; flex-shrink: 0; }
.ci-label { font-size: 10px; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 3px; }
.ci-value { font-size: 14px; font-weight: 600; color: var(--text); }

.contact-note {
    background: var(--amber-l); border: 1px solid rgba(251,191,36,.25);
    border-radius: var(--r-sm); padding: 16px 18px;
    font-size: 13px; color: var(--text); line-height: 1.7;
}
.contact-note strong { color: var(--amber); }

/* ============================================
   SCROLL ANIMATIONS — lightweight fade-up
============================================ */

[data-animate] {
    opacity: 0; transform: translateY(20px);
    transition: opacity .55s ease, transform .55s ease;
}
[data-animate].visible { opacity: 1; transform: translateY(0); }

/* ============================================
   MINI CASINO GRID (main page, 4-col)
============================================ */

.mini-grid-section { padding: 70px 0; background: var(--bg2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

.mini-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.mini-card {
    background: var(--bg); border: 1px solid var(--border);
    border-radius: var(--r); padding: 28px 20px 22px;
    display: flex; flex-direction: column; align-items: center;
    text-align: center; gap: 12px;
    transition: transform var(--ease), box-shadow var(--ease), border-color var(--ease);
}
.mini-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--border2);
}

.mini-logo {
    width: 96px; height: 70px;
    background: var(--bg3);
    border: 1px solid var(--border);
    border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    overflow: hidden;
}
.mini-logo img { width: 100%; height: 100%; object-fit: contain; padding: 8px; }

.mini-name { font-size: 15px; font-weight: 700; color: var(--text); }

.mini-rating {
    display: flex; align-items: center; gap: 5px;
}
.mini-stars { color: var(--amber); font-size: 12px; }
.mini-score { font-size: 13px; font-weight: 700; color: var(--text); }

.mini-bonus {
    font-size: 12px; font-weight: 600; color: var(--amber);
    background: var(--amber-l); border: 1px solid rgba(251,191,36,.18);
    border-radius: var(--r-sm); padding: 5px 10px;
    width: 100%; text-align: center;
}

.mini-btn {
    width: 100%; font-size: 13px; padding: 10px 14px;
    text-align: center; text-decoration: none; margin-top: auto;
}

/* ============================================
   CATEGORY SECTIONS (main page)
============================================ */

.category-section { padding: 80px 0; }

.cs-freeslots { background: var(--bg); }
.cs-live      { background: var(--bg2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.cs-fast      { background: var(--bg); }

.cs-inner {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 60px; align-items: start;
}

.cs-inner-reverse { grid-template-columns: 360px 1fr; }
.cs-inner-reverse .cs-content { order: 2; }
.cs-inner-reverse .cs-cards   { order: 1; }

.cs-icon { font-size: 36px; display: block; margin-bottom: 10px; }

.cs-content h2 {
    font-size: 26px; font-weight: 800; color: var(--text);
    letter-spacing: -.02em; margin-bottom: 14px;
}

.cs-content p {
    font-size: 15px; color: var(--muted); line-height: 1.75;
    margin-bottom: 12px;
}

.cs-points {
    list-style: none; display: flex; flex-direction: column; gap: 7px;
    margin-top: 8px;
}
.cs-points li { font-size: 14px; font-weight: 600; color: var(--green); }

.cs-cards-title {
    font-size: 14px; font-weight: 700; color: var(--muted);
    text-transform: uppercase; letter-spacing: .06em;
    margin-bottom: 14px;
}

.cat-cards-list { display: flex; flex-direction: column; gap: 10px; }

.cat-card {
    background: var(--bg2); border: 1px solid var(--border);
    border-radius: var(--r); padding: 18px 20px;
    display: flex; align-items: center; gap: 16px;
    transition: transform var(--ease), box-shadow var(--ease), border-color var(--ease);
}
.cs-live .cat-card { background: var(--bg); }
.cat-card:hover { transform: translateX(4px); box-shadow: var(--shadow); border-color: var(--border2); }

.cat-logo {
    width: 68px; height: 52px; flex-shrink: 0;
    background: var(--bg3);
    border: 1px solid var(--border);
    border-radius: 6px;
    display: flex; align-items: center; justify-content: center;
    overflow: hidden;
}
.cat-logo img { width: 100%; height: 100%; object-fit: contain; padding: 6px; }

.cat-info { flex: 1; min-width: 0; }
.cat-name { font-size: 14px; font-weight: 700; color: var(--text); }
.cat-rating { font-size: 12px; color: var(--amber); margin-top: 1px; }
.cat-bonus { font-size: 11px; color: var(--muted); margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.cat-btn {
    flex-shrink: 0; font-size: 12px; padding: 8px 14px;
    text-decoration: none; white-space: nowrap;
}

/* ============================================
   CTA BANNER
============================================ */

.cta-section {
    background: var(--bg-inv); padding: 60px 0;
}

.cta-inner {
    display: flex; justify-content: space-between; align-items: center;
    gap: 30px; flex-wrap: wrap;
}

.cta-text h2 { font-size: 24px; font-weight: 800; color: white; margin-bottom: 6px; }
.cta-text p  { color: var(--inv-text); font-size: 15px; }

.cta-btn { font-size: 15px; padding: 14px 32px; white-space: nowrap; text-decoration: none; }

/* ============================================
   RATING PAGE LAYOUT
============================================ */

.rating-section { padding: 50px 0 70px; }

.filter-tabs {
    display: flex; gap: 6px; margin-bottom: 24px; flex-wrap: wrap;
}

.filter-tab {
    background: var(--bg2); border: 1.5px solid var(--border);
    color: var(--muted); padding: 8px 22px; border-radius: 999px;
    cursor: pointer; font-family: inherit;
    font-size: 14px; font-weight: 600;
    transition: all var(--ease);
}
.filter-tab:hover { border-color: var(--green); color: var(--green); }
.filter-tab.active {
    background: var(--green); color: white; border-color: var(--green);
}

.rating-layout {
    display: grid;
    grid-template-columns: 1fr 260px;
    gap: 24px; align-items: start;
}

.rating-list { display: flex; flex-direction: column; gap: 12px; }

/* DETAILED RATING CARD */

.r-card {
    background: var(--bg2); border: 1px solid var(--border);
    border-left: 3px solid var(--border2);
    border-radius: var(--r);
    display: grid; grid-template-columns: 110px 1fr auto;
    align-items: center; gap: 0;
    transition: transform var(--ease), border-color var(--ease), box-shadow var(--ease);
    overflow: hidden;
}
.r-card:hover {
    transform: translateX(5px);
    border-left-color: var(--green);
    box-shadow: var(--shadow-md);
}

.r-logo {
    width: 110px; align-self: stretch;
    background: var(--bg3);
    display: flex; align-items: center; justify-content: center;
    border-right: 1px solid var(--border);
    flex-shrink: 0; overflow: hidden; padding: 12px;
}
.r-logo img { max-width: 100%; max-height: 72px; object-fit: contain; }

.r-body {
    padding: 20px 22px;
    display: flex; flex-direction: column; gap: 9px;
    border-right: 1px solid var(--border);
}

.r-top { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }

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

.r-stars { display: flex; align-items: center; gap: 5px; font-size: 13px; }
.r-stars span:first-child { color: var(--amber); }
.r-stars strong { font-weight: 800; color: var(--text); }
.r-votes { font-size: 11px; color: var(--muted); background: var(--bg); border: 1px solid var(--border); padding: 2px 8px; border-radius: 999px; }

.r-tags { display: flex; gap: 6px; flex-wrap: wrap; }

.tag {
    font-size: 11px; font-weight: 600; padding: 3px 8px;
    background: var(--bg3); border: 1px solid var(--border);
    border-radius: 4px; color: var(--muted);
}
.tag-new { background: var(--green-l); border-color: rgba(74,222,128,.2); color: var(--green); }

.r-bonus {
    font-size: 12px; font-weight: 600; color: var(--amber);
    background: var(--amber-l); border: 1px solid rgba(251,191,36,.18);
    border-radius: var(--r-sm); padding: 4px 10px;
    align-self: flex-start;
}

.r-label { font-size: 11px; color: var(--muted); margin-right: 4px; }

.r-providers, .r-payments {
    display: flex; align-items: center; flex-wrap: wrap; gap: 5px;
    font-size: 12px;
}

.provider-badge, .payment-badge {
    font-size: 11px; font-weight: 600;
    padding: 2px 8px; border-radius: 4px;
    border: 1px solid var(--border);
}
.provider-badge { background: var(--bg3); color: var(--muted); }
.payment-badge  { background: var(--bg2); color: var(--text); }

.r-actions {
    padding: 20px 18px; display: flex; flex-direction: column;
    align-items: center; justify-content: center; gap: 8px;
    flex-shrink: 0;
}
.r-play, .r-review { font-size: 14px; padding: 11px 20px; text-decoration: none; white-space: nowrap; width: 130px; text-align: center; }

/* SIDEBAR */

.rating-sidebar { display: flex; flex-direction: column; gap: 16px; }

.sidebar-widget {
    background: var(--bg2); border: 1px solid var(--border);
    border-radius: var(--r); padding: 20px;
    position: sticky; top: 74px;
}

.widget-title { font-size: 15px; font-weight: 700; color: var(--text); margin-bottom: 4px; }
.widget-sub   { font-size: 12px; color: var(--muted); margin-bottom: 14px; }

.widget-list { display: flex; flex-direction: column; gap: 10px; }

.wi-item {
    display: flex; align-items: center; gap: 8px;
    padding: 8px 10px;
    background: var(--bg); border-radius: var(--r-sm);
    border: 1px solid var(--border);
}
.wi-rank {
    width: 22px; height: 22px; border-radius: 50%;
    background: var(--green-l); color: var(--green);
    display: flex; align-items: center; justify-content: center;
    font-size: 11px; font-weight: 800; flex-shrink: 0;
}
.wi-name { flex: 1; font-size: 13px; font-weight: 600; color: var(--text); }
.wi-speed { font-size: 12px; font-weight: 700; color: var(--green); }

.sidebar-info { position: static; }
.sidebar-checklist {
    list-style: none; display: flex; flex-direction: column; gap: 8px; margin-top: 12px;
}
.sidebar-checklist li { font-size: 13px; color: var(--green); font-weight: 600; }

/* ============================================
   CRYPTO SECTION
============================================ */

.crypto-section { background: var(--bg2); padding: 88px 0; border-top: 1px solid var(--border); }

.crypto-intro { font-size: 16px; color: var(--muted); line-height: 1.75; max-width: 760px; margin: 0 auto 50px; text-align: center; }

.crypto-subtitle {
    font-size: 18px; font-weight: 700; color: var(--text);
    margin-bottom: 20px; padding-bottom: 10px;
    border-bottom: 1px solid var(--border);
}

.exchanges-grid {
    display: grid; grid-template-columns: repeat(4, 1fr);
    gap: 14px; margin-bottom: 48px;
}

.exchange-card {
    background: var(--bg); border: 1px solid var(--border);
    border-radius: var(--r); padding: 20px 16px;
    text-align: center;
    transition: transform var(--ease), box-shadow var(--ease);
}
.exchange-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }

.exc-icon {
    width: 64px; height: 64px;
    margin: 0 auto 12px;
    overflow: hidden; border-radius: 12px;
    background: var(--bg3); border: 1px solid var(--border);
    display: flex; align-items: center; justify-content: center;
}
.exc-icon img { width: 100%; height: 100%; object-fit: contain; padding: 6px; }
.exc-name { font-size: 15px; font-weight: 700; color: var(--text); margin-bottom: 6px; }
.exc-desc { font-size: 12px; color: var(--muted); line-height: 1.6; }

.crypto-grid {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.crypto-card {
    background: var(--bg); border: 1px solid var(--border);
    border-radius: var(--r); padding: 20px;
    transition: transform var(--ease), box-shadow var(--ease);
}
.crypto-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }

.crypto-recommended {
    border-color: rgba(74,222,128,.3);
    background: var(--green-l);
}

.crypto-header {
    display: flex; align-items: center; gap: 12px;
    margin-bottom: 12px; flex-wrap: wrap;
}

.crypto-symbol {
    width: 42px; height: 42px; flex-shrink: 0;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    overflow: hidden;
    background: var(--bg3); border: 1px solid var(--border);
}
.crypto-symbol img { width: 100%; height: 100%; object-fit: contain; }
.crypto-recommended .crypto-symbol { background: var(--bg3); }

.crypto-name   { font-size: 15px; font-weight: 700; color: var(--text); line-height: 1.2; }
.crypto-network{ font-size: 11px; color: var(--muted); }

.crypto-badge {
    margin-left: auto;
    font-size: 11px; font-weight: 700;
    background: var(--green); color: white;
    padding: 3px 10px; border-radius: 999px;
}

.crypto-desc { font-size: 13px; color: var(--muted); line-height: 1.65; margin-bottom: 12px; }

.crypto-stats {
    display: flex; gap: 14px; flex-wrap: wrap;
}
.crypto-stats span { font-size: 12px; font-weight: 600; color: var(--text); }
