/* === RESET & BASE === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --gold: #d4af37;
    --dark-blue: #1a2332;
    --light-blue: #2c3e50;
    --bg-dark: #0f1419;
    --bg-light: #f8f9fa;
    --text-dark: #333;
    --text-light: #fff;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.2);
    --transition: all 0.3s ease;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-light);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    color: var(--gold);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: #ffd700;
}

/* === BUTTONS === */
.btn-primary, .btn-secondary {
    padding: 12px 30px;
    border-radius: 8px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, var(--gold), #ffd700);
    color: var(--dark-blue);
}

.btn-primary:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--gold);
    border: 2px solid var(--gold);
}

.btn-secondary:hover {
    background: var(--gold);
    color: var(--dark-blue);
}

/* Casino Button Animation */
.casino-btn {
    position: relative;
    overflow: hidden;
}

.casino-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.casino-btn:hover::before {
    width: 300px;
    height: 300px;
}

.casino-btn:hover {
    transform: scale(1.03);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.5);
}

/* === AGE VERIFICATION MODAL === */
.modal {
    display: flex;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    align-items: center;
    justify-content: center;
}

.modal.hidden {
    display: none;
}

.modal-content {
    background: linear-gradient(135deg, var(--dark-blue), var(--light-blue));
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    max-width: 500px;
    box-shadow: 0 20px 60px rgba(212, 175, 55, 0.3);
    animation: modalFadeIn 0.5s ease;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.modal-logo img {
    max-width: 150px;
    margin-bottom: 20px;
}

.modal-content h2 {
    color: var(--gold);
    font-size: 2em;
    margin-bottom: 15px;
}

.modal-content p {
    color: var(--text-light);
    margin-bottom: 25px;
    font-size: 1.1em;
}

.modal-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-bottom: 20px;
}

.modal-disclaimer {
    font-size: 0.85em;
    color: #ccc;
}

.modal-disclaimer a {
    color: var(--gold);
    text-decoration: underline;
}

/* === HEADER / NAVBAR === */
header {
    background: linear-gradient(135deg, var(--dark-blue), var(--light-blue));
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    padding: 15px 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.nav-brand .logo {
    height: 50px;
}

.brand-name {
    font-size: 1.8em;
    font-weight: 700;
    color: var(--gold);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-menu a {
    color: var(--text-light);
    font-weight: 500;
    padding: 8px 15px;
    border-radius: 5px;
    transition: var(--transition);
}

.nav-menu a:hover,
.nav-menu a.active {
    background: var(--gold);
    color: var(--dark-blue);
}

/* === HERO SECTION === */
.hero {
    background: linear-gradient(135deg, var(--dark-blue), var(--light-blue));
    color: var(--text-light);
    padding: 80px 20px;
    text-align: center;
}

.hero h1 {
    font-size: 2.8em;
    margin-bottom: 20px;
    color: var(--gold);
}

.hero-subtitle {
    font-size: 1.3em;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
}

.hero-features {
    display: flex;
    justify-content: center;
    gap: 50px;
    flex-wrap: wrap;
}

.feature {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.2em;
}

.feature-icon {
    font-size: 2em;
}

/* === WHY SECTION === */
.why-section {
    padding: 60px 20px;
    background: white;
}

.why-section h2 {
    text-align: center;
    font-size: 2.5em;
    margin-bottom: 40px;
    color: var(--dark-blue);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.why-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    background: var(--bg-light);
    padding: 25px;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.check {
    color: #28a745;
    font-size: 1.8em;
    font-weight: bold;
}

/* === CASINOS SECTION === */
.casinos-section {
    padding: 80px 20px;
    background: linear-gradient(180deg, #f8f9fa 0%, #e9ecef 100%);
}

.casinos-section h2 {
    text-align: center;
    font-size: 2.5em;
    margin-bottom: 15px;
    color: var(--dark-blue);
}

.section-subtitle {
    text-align: center;
    font-size: 1.2em;
    margin-bottom: 50px;
    color: #666;
}

.casino-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
}

/* === CASINO CARD ANIMATIONS === */
.casino-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
    transform: translateY(30px);
}

/* Staggered animation delays */
.casino-card[data-delay="0"] {
    animation-delay: 0s;
}

.casino-card[data-delay="1"] {
    animation-delay: 0.15s;
}

.casino-card[data-delay="2"] {
    animation-delay: 0.3s;
}

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

/* Hover animation - lift and golden shadow */
.casino-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(255, 215, 0, 0.25);
}

.casino-logo-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
    min-height: 80px;
    align-items: center;
}

.casino-logo {
    max-width: 180px;
    max-height: 80px;
    object-fit: contain;
}

.casino-rating {
    text-align: center;
    margin-bottom: 20px;
}

/* Star animation */
.stars {
    color: var(--gold);
    font-size: 1.8em;
    margin-bottom: 5px;
    display: flex;
    justify-content: center;
    gap: 3px;
}

.star {
    display: inline-block;
    opacity: 0;
    animation: starFillIn 0.3s ease forwards;
}

@keyframes starFillIn {
    0% {
        opacity: 0;
        transform: scale(0) rotate(-180deg);
    }
    50% {
        transform: scale(1.2) rotate(0deg);
    }
    100% {
        opacity: 1;
        transform: scale(1) rotate(0deg);
    }
}

/* Re-trigger star animation on card hover */
.casino-card:hover .star {
    animation: starPulse 0.5s ease;
}

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

.rating-score {
    font-size: 0.95em;
    color: #666;
}

.casino-bonus {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 25px;
    text-align: center;
}

.bonus-label {
    display: block;
    font-size: 0.9em;
    color: #666;
    margin-bottom: 8px;
}

.bonus-value {
    display: block;
    font-size: 1.1em;
    font-weight: 700;
    color: var(--dark-blue);
}

.casino-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* === RESPONSIBLE GAMING === */
.responsible-gaming {
    background: var(--dark-blue);
    color: var(--text-light);
    padding: 60px 20px;
    text-align: center;
}

.responsible-gaming h2 {
    color: var(--gold);
    font-size: 2.5em;
    margin-bottom: 20px;
}

.responsible-gaming p {
    font-size: 1.2em;
    margin-bottom: 15px;
}

.help-links {
    margin: 30px 0;
}

.help-links p {
    margin-bottom: 10px;
}

.help-links a {
    color: var(--gold);
    font-weight: 600;
}

.disclaimer {
    font-size: 0.95em;
    color: #ccc;
    margin-top: 30px;
}

/* === FOOTER === */
footer {
    background: linear-gradient(135deg, var(--dark-blue), var(--bg-dark));
    color: var(--text-light);
    padding: 60px 20px 30px;
}

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

.footer-col h3 {
    color: var(--gold);
    margin-bottom: 20px;
    font-size: 1.4em;
}

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

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

.footer-col a {
    color: #ccc;
}

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

.footer-logo img {
    max-width: 120px;
    margin-top: 20px;
}

/* Regulator Logos Grid */
.regulator-logos {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-top: 20px;
}

.regulator-logos a,
.regulator-logos img {
    display: block;
}

.regulator-logos img {
    width: 100%;
    max-width: 80px;
    height: auto;
    background: white;
    padding: 8px;
    border-radius: 8px;
    transition: var(--transition);
    filter: grayscale(20%);
}

.regulator-logos a:hover img {
    transform: scale(1.1);
    filter: grayscale(0%);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
}

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

.footer-bottom p {
    margin-bottom: 10px;
    color: #ccc;
}

.footer-disclaimer {
    font-size: 0.9em;
    color: #999;
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
    .nav-menu {
        flex-direction: column;
        gap: 10px;
    }

    .hero h1 {
        font-size: 2em;
    }

    .hero-subtitle {
        font-size: 1.1em;
    }

    .hero-features {
        flex-direction: column;
        gap: 20px;
    }

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

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

    .modal-content {
        margin: 20px;
        padding: 30px 20px;
    }

    .modal-buttons {
        flex-direction: column;
    }
}

/* === CONTENT PAGES STYLES === */
.content-page {
    padding: 60px 20px;
    background: white;
}

.content-page h1 {
    color: var(--dark-blue);
    font-size: 2.8em;
    margin-bottom: 30px;
    text-align: center;
}

.content-page h2 {
    color: var(--dark-blue);
    font-size: 2em;
    margin-top: 40px;
    margin-bottom: 20px;
}

.content-page h3 {
    color: var(--light-blue);
    font-size: 1.5em;
    margin-top: 30px;
    margin-bottom: 15px;
}

.content-page p {
    margin-bottom: 20px;
    line-height: 1.8;
    font-size: 1.05em;
}

.content-page ul, .content-page ol {
    margin-left: 40px;
    margin-bottom: 20px;
}

.content-page li {
    margin-bottom: 10px;
    line-height: 1.7;
}

.content-page strong {
    color: var(--dark-blue);
}

.content-page table {
    width: 100%;
    border-collapse: collapse;
    margin: 30px 0;
}

.content-page table th,
.content-page table td {
    border: 1px solid #ddd;
    padding: 12px;
    text-align: left;
}

.content-page table th {
    background: var(--dark-blue);
    color: white;
    font-weight: 600;
}

.content-page table tr:nth-child(even) {
    background: #f8f9fa;
}

.last-updated {
    text-align: center;
    color: #666;
    font-style: italic;
    margin-bottom: 40px;
}