/* ============================================
   BEST CASINO RATING — PREMIUM LIGHT THEME v3
   FULL VERSION — NO SIMPLIFICATIONS
   Light background | Emerald accent (#10b981)
   Large cards | All animations & effects
   ============================================ */

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
    font-size: 18px;
    line-height: 1.6;
    color: #1f2937;
    background: #f8f9fa;
    margin: 0;
    padding: 0;
}

/* ---------- CUSTOM SCROLLBAR ---------- */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: #e5e7eb;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb {
    background: #10b981;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #059669;
}

/* ---------- TYPOGRAPHY ---------- */
h1 {
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 800;
    margin: 30px 0 24px;
    text-align: center;
    background: linear-gradient(135deg, #10b981, #059669);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    letter-spacing: -0.5px;
}

h2 {
    font-size: clamp(26px, 4vw, 34px);
    font-weight: 700;
    margin: 45px 0 24px;
    position: relative;
    display: inline-block;
    color: #10b981;
    letter-spacing: -0.3px;
}

h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #10b981, #059669);
    border-radius: 3px;
}

h3 {
    font-size: 22px;
    font-weight: 700;
    margin: 25px 0 12px;
    color: #10b981;
}

p {
    color: #4b5563;
    margin-bottom: 18px;
    line-height: 1.7;
}

a {
    text-decoration: none;
    color: #10b981;
    transition: all 0.2s ease;
}

a:hover {
    color: #059669;
}

/* ---------- CONTAINER ---------- */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
}

@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }
}

/* ---------- BREADCRUMBS (HIDDEN FOR SEO) ---------- */
.breadcrumbs {
    display: none;
}

/* ---------- HEADER ---------- */
header {
    background: #ffffff;
    border-bottom: 1px solid #e5e7eb;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    display: flex;
    flex-direction: column;
}

.logo-main {
    font-size: 28px;
    font-weight: 800;
    background: linear-gradient(135deg, #10b981, #059669);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    letter-spacing: -0.5px;
}

.logo-sub {
    font-size: 10px;
    letter-spacing: 2.5px;
    color: #10b981;
    text-transform: uppercase;
    margin-top: 4px;
    opacity: 0.8;
}

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

.nav-link {
    padding: 8px 18px;
    color: #4b5563;
    font-weight: 500;
    font-size: 15px;
    border-radius: 10px;
    transition: all 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
    color: #10b981;
    background: rgba(16, 185, 129, 0.1);
}

/* Dropdown */
.dropdown {
    position: relative;
}

.dropdown-trigger {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 18px;
    cursor: pointer;
    border-radius: 10px;
    color: #4b5563;
    font-weight: 500;
    font-size: 15px;
    transition: all 0.2s ease;
}

.dropdown-trigger:hover {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
}

.dropdown-arrow {
    font-size: 10px;
    transition: transform 0.2s;
}

.dropdown:hover .dropdown-arrow {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: #ffffff;
    border-radius: 14px;
    padding: 10px 0;
    min-width: 240px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.25s ease;
    border: 1px solid #e5e7eb;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    z-index: 100;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(5px);
}

.dropdown-menu li {
    list-style: none;
}

.dropdown-menu li a {
    display: block;
    padding: 10px 22px;
    color: #4b5563;
    font-size: 14px;
    transition: all 0.2s;
}

.dropdown-menu li a:hover {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
}

/* Burger */
.burger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 20px;
    cursor: pointer;
}

.burger span {
    width: 100%;
    height: 2px;
    background: #10b981;
    border-radius: 2px;
    transition: all 0.3s;
}

@media (max-width: 1024px) {
    .burger {
        display: flex;
    }
    
    .nav {
        position: fixed;
        top: 80px;
        right: -100%;
        width: 300px;
        height: calc(100vh - 80px);
        background: #ffffff;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        transition: right 0.3s ease;
        padding: 20px;
        border-left: 1px solid #e5e7eb;
        box-shadow: -5px 0 25px rgba(0, 0, 0, 0.1);
    }
    
    .nav.active {
        right: 0;
    }
    
    .nav-link {
        padding: 14px 20px;
        text-align: center;
        border-radius: 12px;
    }
    
    .dropdown {
        width: 100%;
    }
    
    .dropdown-trigger {
        justify-content: center;
        padding: 14px 20px;
    }
    
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        display: none;
        margin-top: 8px;
        border: none;
        background: #f9fafb;
        box-shadow: none;
    }
    
    .dropdown.active .dropdown-menu {
        display: block;
    }
    
    .dropdown-menu li a {
        text-align: center;
        padding: 12px 20px;
    }
}

/* ---------- BUTTONS ---------- */
.btn-bonus, .casino-card__btn {
    background: linear-gradient(135deg, #10b981, #059669);
    color: #ffffff;
    font-weight: 700;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.25s ease;
    text-align: center;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3);
    position: relative;
    overflow: hidden;
}

.btn-bonus::before, .casino-card__btn::before {
    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.5s;
}

.btn-bonus:hover::before, .casino-card__btn:hover::before {
    left: 100%;
}

.btn-bonus:hover, .casino-card__btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(16, 185, 129, 0.4);
    background: linear-gradient(135deg, #059669, #10b981);
}

.btn-bonus:active, .casino-card__btn:active {
    transform: translateY(1px);
}

/* ---------- CASINO CARDS (LARGE) ---------- */
.casino-grid {
    display: flex;
    flex-direction: column;
    gap: 28px;
    margin: 20px 0 40px;
}

.casino-card {
    display: flex;
    flex-wrap: wrap;
    background: #ffffff;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid #e5e7eb;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.casino-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 24px;
    padding: 2px;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0), rgba(16, 185, 129, 0.4));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
}

.casino-card:hover::before {
    opacity: 1;
}

.casino-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 35px rgba(0, 0, 0, 0.12);
    border-color: rgba(16, 185, 129, 0.3);
}

.casino-card__badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: linear-gradient(135deg, #10b981, #059669);
    color: #ffffff;
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 800;
    z-index: 1;
    letter-spacing: 0.5px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.5);
    }
    50% {
        opacity: 0.95;
        box-shadow: 0 0 0 6px rgba(16, 185, 129, 0);
    }
}

/* LEFT SECTION - LARGE LOGO */
.casino-card__left {
    flex: 0 0 260px;
    padding: 32px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #f9fafb;
    gap: 20px;
}

.casino-card__logo {
    width: 100%;
    max-width: 220px;
    height: auto;
    border-radius: 16px;
    background: #ffffff;
    padding: 12px;
    display: block;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.casino-card:hover .casino-card__logo {
    transform: scale(1.02);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.casino-card__btn {
    width: 100%;
    padding: 12px;
    font-size: 14px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* CENTER SECTION */
.casino-card__center {
    flex: 1;
    padding: 28px;
}

.casino-card__name {
    font-size: 26px;
    font-weight: 800;
    background: linear-gradient(135deg, #10b981, #059669);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 8px;
}

.casino-card__license {
    font-size: 12px;
    color: #10b981;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 12px;
    letter-spacing: 0.5px;
}

.casino-card__rating {
    margin: 12px 0;
}

.star {
    color: #f59e0b;
    font-size: 18px;
    margin-right: 2px;
}

.casino-card__cashback {
    font-size: 14px;
    color: #10b981;
    font-weight: 700;
    margin: 12px 0;
    display: inline-block;
    padding: 6px 16px;
    background: rgba(16, 185, 129, 0.1);
    border-radius: 30px;
}

.casino-card__features {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    list-style: none;
    margin-top: 16px;
}

.casino-card__features li {
    font-size: 14px;
    color: #4b5563;
    display: flex;
    align-items: center;
    gap: 6px;
}

.casino-card__features li::before {
    content: '✓';
    color: #10b981;
    font-weight: 700;
    font-size: 14px;
}

/* RIGHT SECTION - BONUS */
.casino-card__right {
    flex: 0 0 300px;
    padding: 28px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    border-left: 1px solid #e5e7eb;
    gap: 16px;
    background: #f9fafb;
}

.bonus-title {
    font-size: 11px;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    display: block;
    margin-bottom: 6px;
}

.bonus-value {
    font-size: 22px;
    font-weight: 800;
    background: linear-gradient(135deg, #10b981, #059669);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: block;
    line-height: 1.3;
}

.btn-bonus {
    width: 100%;
    padding: 14px;
    font-size: 15px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ADAPTIVE */
@media (max-width: 1100px) {
    .casino-card__left {
        flex: 0 0 220px;
        padding: 24px 20px;
    }
    .casino-card__right {
        flex: 0 0 260px;
        padding: 24px;
    }
    .casino-card__logo {
        max-width: 180px;
    }
}

@media (max-width: 900px) {
    .casino-card {
        flex-direction: column;
    }
    
    .casino-card__left {
        flex: none;
        flex-direction: row;
        justify-content: space-between;
        padding: 20px 24px;
    }
    
    .casino-card__logo {
        max-width: 140px;
    }
    
    .casino-card__btn {
        width: auto;
        padding: 10px 28px;
    }
    
    .casino-card__center {
        padding: 0 24px 20px;
    }
    
    .casino-card__right {
        flex: none;
        border-left: none;
        border-top: 1px solid #e5e7eb;
        flex-direction: row;
        justify-content: space-between;
        padding: 20px 24px;
    }
    
    .btn-bonus {
        width: auto;
        padding: 12px 28px;
    }
}

@media (max-width: 600px) {
    .casino-card__left {
        flex-direction: column;
        gap: 16px;
    }
    
    .casino-card__logo {
        max-width: 160px;
    }
    
    .casino-card__btn {
        width: 100%;
    }
    
    .casino-card__right {
        flex-direction: column;
        gap: 16px;
    }
    
    .btn-bonus {
        width: 100%;
    }
    
    .casino-card__features {
        flex-direction: column;
        gap: 10px;
    }
    
    .casino-card__name {
        font-size: 22px;
    }
    
    .bonus-value {
        font-size: 18px;
    }
    
    .casino-card__center {
        padding: 0 20px 16px;
    }
    
    .casino-card__right {
        padding: 16px 20px;
    }
}

/* ---------- REVIEWS ---------- */
.reviews-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin: 30px 0;
}

.review-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 24px;
    border-left: 4px solid #10b981;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.review-card:hover {
    transform: translateX(6px);
    background: #ffffff;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.review-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 16px;
}

.review-avatar {
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, #10b981, #059669);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 20px;
    color: #ffffff;
}

.review-name {
    font-weight: 700;
    font-size: 16px;
    color: #1f2937;
}

.review-date {
    font-size: 12px;
    color: #6b7280;
}

.review-stars {
    color: #f59e0b;
    font-size: 13px;
    margin-top: 5px;
}

.review-text {
    font-size: 15px;
    line-height: 1.6;
    color: #4b5563;
    margin: 0;
}

/* ---------- FAQ ---------- */
.faq-grid {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin: 30px 0;
}

.faq-item {
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid #e5e7eb;
    overflow: hidden;
    transition: all 0.2s;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.faq-item:hover {
    border-color: rgba(16, 185, 129, 0.4);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 24px;
    cursor: pointer;
    transition: background 0.2s;
}

.faq-question:hover {
    background: rgba(16, 185, 129, 0.05);
}

.faq-question h3 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    color: #1f2937;
}

.faq-icon {
    font-size: 24px;
    color: #10b981;
    font-weight: 300;
    transition: transform 0.25s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    padding: 0 24px;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.35s ease;
    border-top: 1px solid transparent;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 24px 20px;
    border-top-color: #e5e7eb;
}

.faq-answer p {
    margin: 0;
    font-size: 14px;
    color: #6b7280;
    line-height: 1.65;
}

/* ---------- TABLE ---------- */
.table-wrapper {
    overflow-x: auto;
    margin: 30px 0;
    border-radius: 20px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    min-width: 550px;
}

.comparison-table th,
.comparison-table td {
    padding: 14px 18px;
    text-align: left;
    border-bottom: 1px solid #e5e7eb;
}

.comparison-table th {
    background: rgba(16, 185, 129, 0.08);
    color: #10b981;
    font-weight: 600;
}

.comparison-table tr:last-child td {
    border-bottom: none;
}

.comparison-table tr:hover td {
    background: rgba(16, 185, 129, 0.03);
}

/* ---------- ANIMATION FOR CARDS ---------- */
.item__table {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.45s ease forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.item__table:nth-child(1) { animation-delay: 0.02s; }
.item__table:nth-child(2) { animation-delay: 0.04s; }
.item__table:nth-child(3) { animation-delay: 0.06s; }
.item__table:nth-child(4) { animation-delay: 0.08s; }
.item__table:nth-child(5) { animation-delay: 0.10s; }
.item__table:nth-child(6) { animation-delay: 0.12s; }
.item__table:nth-child(7) { animation-delay: 0.14s; }
.item__table:nth-child(8) { animation-delay: 0.16s; }
.item__table:nth-child(9) { animation-delay: 0.18s; }
.item__table:nth-child(10) { animation-delay: 0.20s; }
.item__table:nth-child(11) { animation-delay: 0.22s; }
.item__table:nth-child(12) { animation-delay: 0.24s; }
.item__table:nth-child(13) { animation-delay: 0.26s; }
.item__table:nth-child(14) { animation-delay: 0.28s; }
.item__table:nth-child(15) { animation-delay: 0.30s; }
.item__table:nth-child(16) { animation-delay: 0.32s; }
.item__table:nth-child(17) { animation-delay: 0.34s; }

/* ---------- INFO SECTION ---------- */
.info-section {
    margin: 30px 0;
}

.info-section p {
    margin-bottom: 18px;
}

/* ---------- FOOTER ---------- */
.footer {
    background: #ffffff;
    margin-top: 60px;
    padding: 45px 0 25px;
    border-top: 1px solid #e5e7eb;
}

.footer-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 35px;
    margin-bottom: 35px;
}

.footer-col {
    flex: 1;
    min-width: 170px;
}

.footer-col h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 18px;
    color: #10b981;
    position: relative;
    display: inline-block;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 35px;
    height: 2px;
    background: linear-gradient(90deg, #10b981, #059669);
}

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

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #6b7280;
    font-size: 14px;
    transition: all 0.2s;
}

.footer-links a:hover {
    color: #10b981;
    padding-left: 3px;
}

.footer-description {
    font-size: 13px;
    color: #6b7280;
    margin-top: 12px;
    line-height: 1.5;
}

.footer-bottom {
    text-align: center;
    padding-top: 22px;
    border-top: 1px solid #e5e7eb;
    font-size: 12px;
    color: #6b7280;
}

/* ---------- SCROLL TOP ---------- */
.scroll-top {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 46px;
    height: 46px;
    background: linear-gradient(135deg, #10b981, #059669);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.25s ease;
    border: none;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4);
    z-index: 99;
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(16, 185, 129, 0.5);
}

.scroll-top svg {
    width: 20px;
    height: 20px;
    fill: #ffffff;
}

/* ---------- UTILITIES ---------- */
.text-center { text-align: center; }
.text-emerald { color: #10b981; }

/* ---------- RETINA OPTIMIZATION ---------- */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .casino-card__logo {
        image-rendering: crisp-edges;
    }
}

/* ---------- LOADING ANIMATION ---------- */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

body {
    animation: fadeIn 0.3s ease;
}
