/* CSS Variables - Light Casino Theme */
:root {
    --bg-primary: #ffffff;
    --bg-secondary: #f8f9fc;
    --bg-card: #ffffff;
    --bg-card-hover: #f8f9fc;
    --border: rgba(0, 0, 0, 0.08);
    --border-light: rgba(0, 0, 0, 0.12);

    --gold: #c9a227;
    --gold-light: #d4af37;
    --gold-dark: #a88a1e;
    --emerald: #059669;
    --emerald-dark: #047857;
    --purple: #6366f1;
    --red: #dc2626;

    --text-primary: #1a1a2e;
    --text-secondary: #64648c;
    --text-muted: #9494b0;

    --gradient-gold: linear-gradient(135deg, #c9a227 0%, #d4af37 50%, #c9a227 100%);
    --gradient-primary: linear-gradient(135deg, #c9a227 0%, #059669 100%);
    --gradient-card: linear-gradient(180deg, rgba(201, 162, 39, 0.03) 0%, transparent 100%);

    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.12);
    --shadow-gold: 0 4px 30px rgba(201, 162, 39, 0.25);

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;

    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--bg-primary);
    -webkit-font-smoothing: antialiased;
}

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

/* Typography */
h1, h2, h3, h4 {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-primary);
}

h1 { font-size: clamp(36px, 6vw, 64px); }
h2 { font-size: clamp(28px, 4vw, 44px); }
h3 { font-size: 22px; }
h4 { font-size: 18px; }

p { color: var(--text-secondary); }

.highlight {
    background: linear-gradient(90deg, #c9a227, #059669, #c9a227, #059669);
    background-size: 300% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradient-shift 4s ease-in-out infinite;
}

@keyframes gradient-shift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.hero h1 {
    animation: fade-in-up 1s ease-out;
}

@keyframes fade-in-up {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    border-radius: var(--radius-md);
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.btn-primary {
    background: var(--gradient-gold);
    color: #ffffff;
    border-color: var(--gold);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-gold);
}

.btn-secondary {
    background: var(--bg-secondary);
    color: var(--text-primary);
    border-color: var(--border-light);
}

.btn-secondary:hover {
    background: var(--bg-card-hover);
    border-color: var(--gold);
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border-color: var(--border-light);
}

.btn-outline:hover {
    background: var(--bg-secondary);
    border-color: var(--gold);
    color: var(--gold);
}

.btn-lg {
    padding: 18px 36px;
    font-size: 16px;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    transition: var(--transition);
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-sm);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: var(--text-primary);
}

.logo svg {
    flex-shrink: 0;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 15px;
    transition: var(--transition);
}

.nav-menu a:hover {
    color: var(--gold);
}

.nav-menu .btn {
    margin-left: 16px;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: var(--transition);
}

/* Hero */
.hero {
    padding: 140px 0 100px;
    background:
        radial-gradient(ellipse at 20% 0%, rgba(201, 162, 39, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 100%, rgba(5, 150, 105, 0.06) 0%, transparent 50%),
        var(--bg-primary);
    position: relative;
    overflow: hidden;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    background: rgba(201, 162, 39, 0.1);
    border: 1px solid rgba(201, 162, 39, 0.3);
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    color: var(--gold-dark);
    margin-bottom: 24px;
}

.hero h1 {
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
}

.hero h1::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(201, 162, 39, 0.15), transparent);
    animation: shimmer 4s ease-in-out infinite;
    animation-delay: 2s;
    pointer-events: none;
}

@keyframes shimmer {
    0% { left: -100%; }
    50%, 100% { left: 150%; }
}

.hero-text {
    font-size: 18px;
    margin-bottom: 32px;
    max-width: 520px;
    line-height: 1.7;
}

.hero-cta {
    display: flex;
    gap: 16px;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    gap: 48px;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-value {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 32px;
    font-weight: 700;
    color: var(--gold-dark);
}

.stat-label {
    font-size: 14px;
    color: var(--text-muted);
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    height: 400px;
}

.floating-cards {
    position: relative;
    width: 380px;
    height: 380px;
}

.float-card {
    position: absolute;
    width: 90px;
    height: 130px;
    background: #fff;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    animation: float 6s ease-in-out infinite;
    color: #1a1a2e;
}

.card-corner {
    position: absolute;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.1;
    text-align: center;
}

.card-corner.top-left {
    top: 6px;
    left: 6px;
}

.card-corner.bottom-right {
    bottom: 6px;
    right: 6px;
    transform: rotate(180deg);
}

.card-corner.red,
.card-rank.red {
    color: #dc2626;
}

.card-rank {
    font-size: 44px;
}

.card-1 {
    top: 0;
    left: 50%;
    transform: translateX(-50%) rotate(-8deg);
    animation-delay: 0s;
    z-index: 4;
}

.card-2 {
    top: 20%;
    left: 0;
    transform: rotate(12deg);
    animation-delay: 1.5s;
    z-index: 3;
}

.card-3 {
    bottom: 10%;
    left: 15%;
    transform: rotate(-12deg);
    animation-delay: 3s;
    z-index: 2;
}

.card-4 {
    bottom: 20%;
    right: 0;
    transform: rotate(6deg);
    animation-delay: 2s;
    z-index: 1;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(var(--rotation, 0deg)); }
    50% { transform: translateY(-20px) rotate(var(--rotation, 0deg)); }
}

/* Section Styles */
section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 60px;
}

.section-badge {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(201, 162, 39, 0.1);
    border: 1px solid rgba(201, 162, 39, 0.25);
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
    color: var(--gold-dark);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 16px;
}

.section-header h2 {
    margin-bottom: 16px;
}

.section-header p {
    font-size: 17px;
}

/* Casino Cards */
.casinos {
    background: var(--bg-secondary);
}

.casino-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.casino-card {
    display: grid;
    grid-template-columns: auto 1fr auto auto;
    gap: 24px;
    align-items: center;
    padding: 24px 32px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.casino-card:hover {
    border-color: var(--border-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.casino-card.featured {
    border-color: var(--gold);
    background: var(--gradient-card), var(--bg-card);
    box-shadow: var(--shadow-gold);
}

.casino-rank {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: var(--gold);
    min-width: 50px;
}

.casino-info {
    display: flex;
    align-items: center;
    gap: 20px;
}

.casino-logo-placeholder {
    width: 80px;
    height: 50px;
    background: var(--bg-secondary);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 600;
    color: var(--text-muted);
    border: 1px solid var(--border);
}

.casino-details h3 {
    font-size: 18px;
    margin-bottom: 6px;
}

.casino-rating {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.stars {
    display: flex;
    gap: 2px;
}

.star {
    font-size: 14px;
    color: var(--text-muted);
}

.star.filled {
    color: var(--gold);
}

.star.half {
    background: linear-gradient(90deg, var(--gold) 50%, var(--text-muted) 50%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.rating-score {
    font-size: 14px;
    font-weight: 600;
    color: var(--emerald);
}

.casino-features {
    display: flex;
    gap: 16px;
    list-style: none;
}

.casino-features li {
    font-size: 13px;
    color: var(--text-muted);
    padding-left: 16px;
    position: relative;
}

.casino-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    background: var(--emerald);
    border-radius: 50%;
}

.casino-bonus {
    text-align: center;
    padding: 16px 24px;
    background: rgba(201, 162, 39, 0.06);
    border-radius: var(--radius-md);
    min-width: 160px;
    border: 1px solid rgba(201, 162, 39, 0.15);
}

.bonus-label {
    display: block;
    font-size: 11px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 4px;
}

.bonus-value {
    display: block;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 28px;
    font-weight: 700;
    color: var(--gold-dark);
}

.bonus-terms {
    font-size: 12px;
    color: var(--text-secondary);
}

/* Bonus Section */
.bonuses {
    background: var(--bg-primary);
}

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

.bonus-card {
    padding: 40px 32px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    text-align: center;
    transition: var(--transition);
    position: relative;
    box-shadow: var(--shadow-sm);
}

.bonus-card:hover {
    border-color: var(--border-light);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.bonus-card.highlight {
    border-color: var(--gold);
    background: var(--gradient-card), var(--bg-card);
    box-shadow: var(--shadow-gold);
}

.bonus-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    padding: 6px 16px;
    background: var(--gradient-gold);
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    border-radius: 50px;
    text-transform: uppercase;
}

.bonus-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.bonus-card h3 {
    margin-bottom: 8px;
}

.bonus-amount {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 36px;
    font-weight: 700;
    color: var(--gold-dark);
    margin-bottom: 8px;
}

.bonus-card > p:last-of-type {
    margin-bottom: 24px;
    font-size: 14px;
}

/* Why Us Section */
.why-us {
    background: var(--bg-secondary);
}

.why-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.why-content .section-badge {
    margin-bottom: 16px;
}

.why-content h2 {
    margin-bottom: 20px;
}

.why-content > p {
    margin-bottom: 40px;
    font-size: 17px;
    line-height: 1.8;
}

.trust-points {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.trust-item {
    display: flex;
    gap: 20px;
}

.trust-icon {
    font-size: 28px;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(201, 162, 39, 0.1);
    border-radius: var(--radius-md);
    flex-shrink: 0;
    border: 1px solid rgba(201, 162, 39, 0.2);
}

.trust-item h4 {
    margin-bottom: 4px;
}

.trust-item p {
    font-size: 14px;
}

.rating-showcase {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.showcase-header {
    padding: 20px 28px;
    background: rgba(201, 162, 39, 0.06);
    border-bottom: 1px solid var(--border);
}

.showcase-header span {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    color: var(--gold-dark);
}

.rating-breakdown {
    padding: 28px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.rating-item {
    display: grid;
    grid-template-columns: 140px 1fr 50px;
    align-items: center;
    gap: 16px;
}

.rating-label {
    font-size: 14px;
    color: var(--text-secondary);
}

.rating-bar {
    height: 8px;
    background: var(--bg-secondary);
    border-radius: 4px;
    overflow: hidden;
}

.rating-fill {
    height: 100%;
    background: var(--gradient-primary);
    border-radius: 4px;
}

.rating-percent {
    font-size: 14px;
    font-weight: 600;
    color: var(--emerald);
    text-align: right;
}

/* Guide Section */
.guide {
    background: var(--bg-primary);
}

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

.guide-step {
    padding: 36px 28px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.guide-step:hover {
    border-color: var(--border-light);
    box-shadow: var(--shadow-md);
}

.step-number {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 48px;
    font-weight: 700;
    color: var(--gold);
    opacity: 0.4;
    margin-bottom: 16px;
}

.guide-step h3 {
    margin-bottom: 12px;
}

.guide-step p {
    font-size: 14px;
    line-height: 1.7;
}

/* CTA Section */
.cta {
    background:
        radial-gradient(ellipse at center, rgba(201, 162, 39, 0.1) 0%, transparent 70%),
        var(--bg-secondary);
    padding: 80px 0;
}

.cta-content {
    text-align: center;
    max-width: 500px;
    margin: 0 auto;
}

.cta h2 {
    margin-bottom: 16px;
}

.cta p {
    margin-bottom: 32px;
    font-size: 17px;
}

/* Footer */
.footer {
    background: var(--bg-primary);
    padding: 80px 0 40px;
    border-top: 1px solid var(--border);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr repeat(3, 1fr);
    gap: 60px;
    margin-bottom: 60px;
}

.footer-brand .logo {
    margin-bottom: 20px;
}

.footer-brand p {
    font-size: 14px;
    max-width: 280px;
    line-height: 1.7;
}

.footer-links h4 {
    color: var(--gold-dark);
    font-size: 14px;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

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

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

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--gold);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 40px;
    border-top: 1px solid var(--border);
}

.footer-bottom p {
    font-size: 13px;
    color: var(--text-muted);
}

.footer-badges {
    display: flex;
    gap: 12px;
}

.footer-badges .badge {
    padding: 6px 14px;
    background: rgba(220, 38, 38, 0.08);
    border: 1px solid rgba(220, 38, 38, 0.25);
    border-radius: 50px;
    font-size: 11px;
    font-weight: 600;
    color: var(--red);
}

/* Responsive */
@media (max-width: 1024px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content { order: 1; }
    .hero-visual { display: none; }

    .hero-text { margin: 0 auto 32px; }
    .hero-cta { justify-content: center; }
    .hero-stats { justify-content: center; }

    .casino-card {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 16px;
    }

    .casino-info {
        flex-direction: column;
    }

    .casino-features {
        justify-content: center;
        flex-wrap: wrap;
    }

    .casino-rank {
        position: absolute;
        top: 16px;
        left: 16px;
    }

    .casino-card {
        position: relative;
        padding-top: 48px;
    }

    .bonus-grid {
        grid-template-columns: 1fr;
    }

    .why-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .guide-steps {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        bottom: 0;
        background: var(--bg-primary);
        flex-direction: column;
        padding: 40px;
        gap: 24px;
        transform: translateX(100%);
        transition: var(--transition);
        border-top: 1px solid var(--border);
    }

    .nav-menu.active {
        transform: translateX(0);
    }

    .nav-menu .btn {
        margin: 20px 0 0;
        width: 100%;
    }

    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    .hero {
        padding: 120px 0 60px;
    }

    .hero-stats {
        flex-direction: column;
        gap: 24px;
    }

    .guide-steps {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    section {
        padding: 60px 0;
    }

    .rating-item {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .rating-percent {
        text-align: left;
    }
}
