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

:root {
    --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --secondary-gradient: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --accent-gradient: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --dark-bg: #0f0c29;
    --dark-secondary: #1a1640;
    --card-bg: linear-gradient(135deg, #1e1b4b 0%, #312e81 100%);
    --text-primary: #ffffff;
    --text-secondary: #e0e7ff;
    --text-muted: #a5b4fc;
    --gold: #fbbf24;
    --gold-glow: #fcd34d;
    --success: #10b981;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.2);
    --shadow-xl: 0 12px 48px rgba(0, 0, 0, 0.3);
    --glow-purple: 0 0 20px rgba(102, 126, 234, 0.4);
    --glow-gold: 0 0 20px rgba(251, 191, 36, 0.4);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background: linear-gradient(180deg, var(--dark-bg) 0%, #1a1640 50%, #0f0c29 100%);
    min-height: 100vh;
    overflow-x: hidden;
}

.hero-section {
    position: relative;
    height: 70vh;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: url('https://images.unsplash.com/photo-1596838132731-3301c3fd4317?q=80&w=2070') center/cover;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.85) 0%, rgba(118, 75, 162, 0.85) 100%);
    z-index: 1;
}

.hero-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, transparent 0%, rgba(15, 12, 41, 0.4) 100%);
    z-index: 2;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(15, 12, 41, 0.8) 100%);
    z-index: 3;
}

.hero-content {
    position: relative;
    z-index: 4;
    text-align: center;
    padding: 2rem;
    max-width: 1200px;
    width: 100%;
    box-sizing: border-box;
    animation: fadeInUp 1s ease-out;
}

.hero-title {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 800;
    margin-bottom: 2rem;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    letter-spacing: -0.02em;
    line-height: 1.1;
    background: linear-gradient(135deg, #ffffff 0%, #e0e7ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-nav {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.nav-link {
    padding: 0.875rem 2rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.nav-link:hover::before {
    left: 100%;
}

.nav-link:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.nav-link.active {
    background: var(--primary-gradient);
    border-color: transparent;
    box-shadow: var(--glow-purple);
}

.main-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem 3rem;
}

.casino-cards {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: -55px;
    padding-top: 20px;
    margin-bottom: 4rem;
}

.casino-card {
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(20px);
    border-radius: 16px;
    padding: 1.5rem 1.5rem 1.25rem;
    display: grid;
    grid-template-columns: auto 1fr auto;
    grid-template-rows: auto auto;
    align-items: center;
    gap: 0.4rem 1.25rem;
    border: none;
    box-shadow:
        0 0 0 1px rgba(102, 126, 234, 0.25),
        0 0 28px rgba(102, 126, 234, 0.1),
        0 8px 32px rgba(0, 0, 0, 0.3);
    transition: box-shadow 0.3s ease, transform 0.25s ease;
    position: relative;
    overflow: visible;
}

.casino-card::before {
    display: none;
}

.casino-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 16px;
    padding: 1px;
    background: linear-gradient(
        135deg,
        rgba(102, 126, 234, 0.8) 0%,
        rgba(118, 75, 162, 0.5) 50%,
        rgba(79, 172, 254, 0.25) 100%
    );
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.casino-card:hover {
    box-shadow:
        0 0 0 1px rgba(102, 126, 234, 0.5),
        0 0 48px rgba(102, 126, 234, 0.22),
        0 12px 48px rgba(0, 0, 0, 0.4);
    transform: translateY(-2px);
}

.casino-card:hover::after {
    background: linear-gradient(
        135deg,
        rgba(102, 126, 234, 1) 0%,
        rgba(118, 75, 162, 0.8) 50%,
        rgba(79, 172, 254, 0.6) 100%
    );
}

.card-label {
    position: absolute;
    top: -13px;
    left: 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 0.3rem 0.85rem;
    border-radius: 6px;
    z-index: 10;
    box-shadow: 0 4px 16px rgba(102, 126, 234, 0.55);
    white-space: nowrap;
    pointer-events: none;
}

.casino-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    min-width: 120px;
    grid-row: 1 / 3;
    align-self: center;
}

.casino-logo img {
    width: 120px;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

.casino-name {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.casino-info {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    grid-column: 2;
    grid-row: 1 / 3;
    align-self: center;
}

.casino-badge {
    display: inline-block;
    padding: 0.2rem 0.6rem;
    background: rgba(251, 191, 36, 0.1);
    color: #fbbf24;
    font-size: 0.7rem;
    font-weight: 700;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    width: fit-content;
    border: 1px solid rgba(251, 191, 36, 0.2);
}

.casino-description {
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.875rem;
    font-weight: 400;
    line-height: 1.4;
}

.casino-rating {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    padding: 0;
    grid-column: 3;
    grid-row: 1;
    align-self: end;
}

.stars {
    display: flex;
    gap: 0.25rem;
}

.star {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.15);
}

.star.filled {
    color: #fbbf24;
}

.rating-score {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #fbbf24;
    -webkit-text-fill-color: #fbbf24;
}

.btn-play {
    padding: 0.625rem 1.5rem;
    background: #fbbf24;
    color: #0f0c29;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.875rem;
    border-radius: 8px;
    transition: background 0.2s ease, transform 0.15s ease;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border: none;
    cursor: pointer;
    white-space: nowrap;
    grid-column: 3;
    grid-row: 2;
    align-self: start;
    text-align: center;
}

.btn-play:hover {
    background: #fcd34d;
    transform: translateY(-1px);
}

.btn-play:active {
    transform: translateY(0);
}

.content-section {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    margin-top: 2rem;
}

.content-block {
    background: rgba(30, 27, 75, 0.4);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 2.5rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: var(--shadow-lg);
    transition: all 0.3s ease;
}

.content-block:hover {
    border-color: rgba(102, 126, 234, 0.2);
    box-shadow: 0 8px 32px rgba(102, 126, 234, 0.15);
}

.content-block h2 {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    line-height: 1.3;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.content-block p {
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 1.25rem;
}

.content-block p:last-child {
    margin-bottom: 0;
}

.footer {
    background: linear-gradient(180deg, #0f0c29 0%, #000000 100%);
    padding: 4rem 2rem 2rem;
    margin-top: 4rem;
    border-top: 1px solid rgba(102, 126, 234, 0.2);
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--primary-gradient);
    opacity: 0.5;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-columns {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-column h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-column p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.footer-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
    padding: 2rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-logo-item {
    transition: transform 0.3s ease;
}

.footer-logo-item:hover {
    transform: scale(1.1);
}

.footer-logo-item img {
    height: 50px;
    width: auto;
    object-fit: contain;
    filter: brightness(0.9);
    transition: filter 0.3s ease;
}

.footer-logo-item:hover img {
    filter: brightness(1.1);
}

.footer-additional-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.footer-additional-logos img {
    height: 60px;
    width: auto;
    object-fit: contain;
    filter: brightness(0.9);
    transition: all 0.3s ease;
}

.footer-additional-logos img:hover {
    filter: brightness(1.1);
    transform: scale(1.05);
}

.footer-disclaimer {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 12px;
    padding: 1.25rem 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
    box-sizing: border-box;
}

.footer-disclaimer-badge {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: -0.5px;
}

.footer-disclaimer p {
    color: rgba(255, 255, 255, 0.35);
    font-size: 0.78rem;
    line-height: 1.6;
    margin: 0;
}

.footer-disclaimer p strong {
    color: rgba(255, 255, 255, 0.5);
    font-weight: 600;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem 1.5rem;
    padding: 1.5rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    margin-top: 1rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.4);
    text-decoration: none;
    font-size: 0.82rem;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: rgba(255, 255, 255, 0.75);
}

.footer-bottom {
    text-align: center;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

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

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

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

@media (max-width: 1024px) {
    .casino-card {
        grid-template-columns: auto 1fr;
        grid-template-rows: auto auto;
        gap: 0.75rem 1.25rem;
        text-align: left;
    }

    .casino-logo {
        grid-column: 1;
        grid-row: 1;
        align-self: center;
        justify-content: flex-start;
    }

    .casino-info {
        grid-column: 2;
        grid-row: 1;
        align-self: center;
        align-items: flex-start;
    }

    .casino-rating {
        grid-column: 1;
        grid-row: 2;
        align-self: center;
        align-items: flex-start;
        padding: 0;
    }

    .btn-play {
        grid-column: 2;
        grid-row: 2;
        align-self: center;
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .hero-section {
        height: auto;
        min-height: unset;
        padding: 3rem 0;
    }

    .hero-content {
        padding: 2rem 1.25rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-nav {
        gap: 0.5rem;
        flex-wrap: nowrap;
        overflow-x: auto;
        padding: 0 1rem;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    
    .hero-nav::-webkit-scrollbar {
        display: none;
    }
    
    .nav-link {
        padding: 0.5rem 0.875rem;
        font-size: 0.8rem;
        white-space: nowrap;
        flex-shrink: 0;
    }
    
    .casino-cards {
        margin-top: -40px;
        padding-top: 16px;
    }
    
    .casino-card {
        padding: 1.25rem;
    }
    
    .content-block {
        padding: 1.75rem;
    }
    
    .footer-columns {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* ── Policy pages ── */
.policy-hero {
    position: relative;
    padding: 5rem 1.5rem 4rem;
    background: url('https://images.unsplash.com/photo-1596838132731-3301c3fd4317?q=80&w=2070') center/cover;
    overflow: hidden;
}

.policy-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.88) 0%, rgba(118, 75, 162, 0.88) 100%);
    z-index: 1;
}

.policy-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(15, 12, 41, 0.6) 100%);
    z-index: 2;
}

.policy-hero-inner {
    position: relative;
    z-index: 3;
    max-width: 1200px;
    margin: 0 auto;
}

.policy-back {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: rgba(255, 255, 255, 0.65);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    transition: color 0.2s ease;
}

.policy-back:hover {
    color: #fff;
}

.policy-hero h1 {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(1.75rem, 4vw, 3rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, #ffffff 0%, #e0e7ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0;
}

.policy-main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 1.5rem 4rem;
}

.policy-body {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.policy-section {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 16px;
    padding: 2rem 2.5rem;
}

.policy-section h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.policy-section p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 0.9rem;
}

.policy-section p:last-child {
    margin-bottom: 0;
}

.policy-section ul {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
    line-height: 1.8;
    padding-left: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.policy-section a {
    color: #a5b4fc;
    text-decoration: none;
}

.policy-section a:hover {
    text-decoration: underline;
}

.policy-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 2.5rem;
}

.policy-nav a {
    padding: 0.45rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.55);
    text-decoration: none;
    font-size: 0.82rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

.policy-nav a:hover,
.policy-nav a.active {
    background: rgba(102, 126, 234, 0.15);
    border-color: rgba(102, 126, 234, 0.35);
    color: #fff;
}

@media (max-width: 768px) {
    .policy-hero {
        padding: 3.5rem 1.25rem 3rem;
    }

    .policy-section {
        padding: 1.5rem;
    }
}
