/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #e2e8f0;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.95), rgba(30, 41, 59, 0.95)), url('../images/hero.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    min-height: 100vh;
}

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

/* Header Styles */
header {
    background: linear-gradient(135deg, #0f172a, #1e293b);
    color: white;
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-container {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: white;
}

.logo-container img {
    width: 200px;
    height: 50px;
    margin-right: 15px;
    border-radius: 8px;
}

.brand-name {
    font-size: 1.8rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Navigation */
nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

nav a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

nav a:hover {
    color: #ffd700;
}

/* Hero Section */
.hero {
    color: white;
    padding: 6rem 0;
    text-align: center;
    position: relative;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    z-index: 1;
    position: relative;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* Offers Section */
.offers {
    padding: 4rem 0;
}

.offers h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #ffffff;
}

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

.offer-card {
    background: linear-gradient(135deg, #2d3748, #4a5568);
    color: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.offer-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.5);
}

.offer-logo {
    width: 120px;
    height: 60px;
    object-fit: contain;
    margin-bottom: 1.5rem;
    filter: brightness(0.9);
}

.offer-card .bonus {
    font-size: 2rem;
    font-weight: bold;
    color: #ffd700;
    margin: 1rem 0;
}

.offer-card .description {
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.cta-button {
    background: #ffd700;
    color: #1a1a2e;
    padding: 12px 30px;
    border: none;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
}

.cta-button:hover {
    background: #ffed4e;
    transform: scale(1.05);
}

/* Criteria Section */
.description {
    padding: 2rem 1rem;
}

.description h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #ffffff;
}

.criteria-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.criterion-card {
    background: linear-gradient(135deg, #1e293b, #334155);
    color: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-left: 4px solid #ffd700;
}

.criterion-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}

.criterion-card h3 {
    color: #ffd700;
    font-size: 1.4rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.criterion-card h3::before {
    content: "✓";
    background: #ffd700;
    color: #0f172a;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.criterion-card p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    font-size: 1rem;
}

/* Footer Styles */
footer {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.9), rgba(30, 41, 59, 0.9));
    color: white;
    padding: 3rem 0 1rem;
}

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

.footer-section h3 {
    margin-bottom: 1rem;
    color: #ffd700;
}

.footer-logo {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.footer-logo img {
    width: 160px;
    height: 40px;
    margin-right: 10px;
    border-radius: 5px;
}

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

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #ffd700;
}

.responsible-gaming {
    background: rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    border-radius: 10px;
    margin-bottom: 2rem;
}

.age-18 {
    background: #ff4444;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    display: inline-block;
    font-weight: bold;
    margin-bottom: 1rem;
}

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

.gambling-logos {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.gambling-logos a {
    display: block;
    transition: transform 0.3s ease;
    filter: brightness(0) invert(1);
}

.gambling-logos a:hover {
    transform: scale(1.1);
    filter: brightness(0) invert(0.8);
}

.gambling-logos img {
    width: 80px;
    height: 40px;
    object-fit: contain;
    transition: all 0.3s ease;
}

/* Age Verification Popup */
.age-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.age-popup-content {
    background: linear-gradient(135deg, #1e293b, #334155);
    padding: 3rem;
    border-radius: 15px;
    text-align: center;
    max-width: 500px;
    width: 90%;
    border: 2px solid #ffd700;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}

.age-popup-content h3 {
    color: #ffd700;
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.age-text {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.age-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.age-btn {
    padding: 12px 30px;
    border: none;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    min-width: 150px;
}

.over-btn {
    background: #ffd700;
    color: #1e293b;
}

.over-btn:hover {
    background: #ffed4e;
    transform: scale(1.05);
}

.under-btn {
    background: #dc3545;
    color: white;
}

.under-btn:hover {
    background: #c82333;
    transform: scale(1.05);
}

/* Hide main content when age popup is active */
body.age-verification-active {
    overflow: hidden;
}

body.age-verification-active > *:not(.age-popup) {
    filter: blur(5px);
    pointer-events: none;
}

/* Cookie Popup */
.cookie-popup {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.95), rgba(51, 65, 85, 0.95));
    backdrop-filter: blur(10px);
    z-index: 9999;
    border-top: 2px solid #ffd700;
}

.cookie-popup-content {
    padding: 1.5rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}

.cookie-popup-content h3 {
    color: #ffd700;
    font-size: 1.3rem;
    margin: 0;
    flex-shrink: 0;
    min-width: 200px;
}

.cookie-text {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    margin: 0;
    line-height: 1.5;
    flex: 1;
    min-width: 300px;
}

.cookie-text a {
    color: #ffd700;
    text-decoration: none;
    font-weight: 500;
}

.cookie-text a:hover {
    text-decoration: underline;
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
    flex-shrink: 0;
}

.cookie-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: bold;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    min-width: 100px;
}

.accept-btn {
    background: #ffd700;
    color: #1e293b;
}

.accept-btn:hover {
    background: #ffed4e;
    transform: scale(1.05);
}

.decline-btn {
    background: transparent;
    color: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.decline-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border-color: rgba(255, 255, 255, 0.5);
}

/* Mobile responsive for cookie popup */
@media (max-width: 768px) {
    .cookie-popup-content {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
    
    .cookie-popup-content h3 {
        min-width: auto;
        font-size: 1.2rem;
    }
    
    .cookie-text {
        min-width: auto;
        font-size: 0.9rem;
    }
    
    .cookie-buttons {
        width: 100%;
        justify-content: center;
    }
    
    .cookie-btn {
        min-width: 120px;
    }
}

/* Legal Pages Styles */
.legal-page {
    padding: 2rem 0;
    min-height: 60vh;
}

.legal-page h1 {
    text-align: center;
    color: #1e3c72;
    margin-bottom: 2rem;
    font-size: 2.5rem;
}

.legal-page h2 {
    color: #1e3c72;
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-size: 1.8rem;
}

.legal-page h3 {
    color: #2a5298;
    margin-top: 1.5rem;
    margin-bottom: 0.8rem;
    font-size: 1.4rem;
}

.legal-page p {
    margin-bottom: 1rem;
    line-height: 1.7;
}

.legal-page ul {
    margin-left: 2rem;
    margin-bottom: 1rem;
}

.legal-page li {
    margin-bottom: 0.5rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 1rem;
        justify-content: center;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .offers-grid {
        grid-template-columns: 1fr;
    }
    
    .criteria-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .gambling-logos {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero h1 {
        font-size: 1.5rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .offers h2 {
        font-size: 2rem;
    }
    
}

.cookie-popup {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.95), rgba(51, 65, 85, 0.95));
    backdrop-filter: blur(10px);
    z-index: 9999;
    border-top: 2px solid #ffd700;
}

.cookie-popup-content {
    padding: 1.5rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}

.cookie-popup-content h3 {
    color: #ffd700;
    font-size: 1.3rem;
    margin: 0;
    flex-shrink: 0;
    min-width: 200px;
}

.cookie-text {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    margin: 0;
    line-height: 1.5;
    flex: 1;
    min-width: 300px;
}

.cookie-text a {
    color: #ffd700;
    text-decoration: none;
    font-weight: 500;
}

.cookie-text a:hover {
    text-decoration: underline;
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
    flex-shrink: 0;
}

.cookie-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: bold;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    min-width: 100px;
}

.accept-btn {
    background: #ffd700;
    color: #1e293b;
}

.accept-btn:hover {
    background: #ffed4e;
    transform: scale(1.05);
}

.decline-btn {
    background: transparent;
    color: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.decline-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border-color: rgba(255, 255, 255, 0.5);
}

/* Mobile responsive for cookie popup */
@media (max-width: 768px) {
    .cookie-popup-content {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
    
    .cookie-popup-content h3 {
        min-width: auto;
        font-size: 1.2rem;
    }
    
    .cookie-text {
        min-width: auto;
        font-size: 0.9rem;
    }
    
    .cookie-buttons {
        width: 100%;
        justify-content: center;
    }
    
    .cookie-btn {
        min-width: 120px;
    }
}