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

:root {
    --primary-color: #bb2518;
    --secondary-color: #333;
    --light-color: #f4f4f4;
    --dark-color: #222;
    --white: #fff;
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
    background: #C2C2C2;
}

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

ul {
    list-style: none;
}

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

img {
    max-width: 100%;
    height: auto;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
    text-align: center;
}

.btn:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

.btn-primary {
    background-color: var(--primary-color);
}

.btn-secondary {
    background-color: var(--primary-color);
}

h1, h2, h3 {
    margin-bottom: 15px;
    line-height: 1.3;
}

/* Header */
.header {
    background: #C2C2C2;
    padding: 20px 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

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

.logo h1 {
    font-size: 24px;
    margin-bottom: 0;
}

.main-nav ul {
    display: flex;
}

.main-nav ul li {
    margin-left: 30px;
}

.main-nav ul li a {
    font-weight: 500;
    transition: var(--transition);
}

.main-nav ul li a:hover {
    color: var(--primary-color);
}

/* Hero Section */
.hero {
    background-image: url('./assets/hero-bg.png');
    background-size: cover;
    background-position: center;
    color: var(--white);
    text-align: center;
    padding: 100px 0;
    position: relative;
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero h2 {
    font-size: 38px;
    font-weight: 700;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Games Section */
.games {
    padding: 80px 0;
    background: #C2C2C2;

}

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

.game-card {
    background-color: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    text-align: center;
    padding-bottom: 20px;
}

.game-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.game-img {
    height: 220px;
    overflow: hidden;
}

.game-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.game-card h3 {
    margin-top: 15px;
    font-size: 18px;
    font-weight: 700;
}

.game-card p {
    margin-bottom: 15px;
    color: #555;
}

.game-card .btn {
    margin-top: 10px;
}

/* About Section */
.about {
    padding: 80px 0;
    background: #C2C2C2;
}

.about h2 {
    font-size: 32px;
    margin-bottom: 20px;
}

.about-text {
    margin: 40px 0;
    font-size: 16px;
}

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

.stat-box {
    background-color: #111;
    color: var(--white);
    padding: 30px 20px;
    border-radius: 5px;
}

.stat-box h3 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 10px;
}

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

.testimonial {
    background-color: var(--white);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.testimonial-img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 15px;
}

.testimonial h3 {
    margin-bottom: 15px;
    font-size: 18px;
}

.testimonial p {
    font-style: italic;
    color: #555;
}

/* Contact Section */
.contact {
    padding: 80px 0;
    background-color: var(--white);
    background-image: url('./assets/contact-bg.png');
    background-size: cover;
    background-position: center;
    color: #fff;
    text-align: center;
}

.contact h2 {
    font-size: 32px;
    margin-bottom: 20px;
}

.contact p {
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
}

.contact form {
    max-width: 500px;
    margin: 0 auto 40px;
}

.contact button {
    width: 100%;
    padding: 15px;
}

.contact-info {
    margin-top: 30px;
}

.contact-info p {
    margin-bottom: 10px;
}

/* Footer */
.footer {
    background: #C2C2C2;
    padding: 60px 0 30px;
    text-align: center;
}

.disclaimer {
    max-width: 1000px;
    margin: 0 auto 40px;
    font-size: 14px;
}

.footer-icons {
    margin-bottom: 30px;
}

.platform-icons {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.icon {
    width: 40px;
    margin: 0 10px;
}

.footer-nav ul {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.footer-nav ul li {
    margin: 0 15px;
}

.footer-nav ul li a {
    font-weight: 500;
    font-size: 14px;
    transition: var(--transition);
}

.footer-nav ul li a:hover {
    color: var(--primary-color);
}

.responsible-gaming {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
}

.gaming-icon {
    height: 40px;
    margin: 0 15px;
}

.copyright {
    font-size: 14px;
    color: #777;
}

/* Popups (Age Verification and Cookie) */
.popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    transition: opacity 0.3s, visibility 0.3s;
}

.popup.hidden {
    opacity: 0;
    visibility: hidden;
}

.popup-content {
    background-color: #000;
    color: var(--white);
    padding: 30px;
    border-radius: 8px;
    max-width: 500px;
    width: 90%;
    text-align: left;
}

.popup-content h2 {
    font-size: 24px;
    margin-bottom: 20px;
    font-weight: 600;
}

.popup-content p {
    margin-bottom: 20px;
    font-size: 16px;
    line-height: 1.5;
}

.popup-buttons {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    margin-top: 20px;
}

.popup-buttons button {
    flex: 1;
    padding: 12px 15px;
    font-weight: 600;
    font-size: 16px;
    border-radius: 4px;
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--primary-color);
    color: var(--white);
}

.btn-outline:hover {
    background-color: rgba(187, 37, 24, 0.1);
}

/* Responsive */
@media (max-width: 992px) {
    .games-grid,
    .stats-grid,
    .testimonials {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .hero h2 {
        font-size: 32px;
    }
}

@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
    }
    
    .logo {
        margin-bottom: 15px;
    }
    
    .main-nav ul {
        margin-top: 10px;
    }
    
    .main-nav ul li {
        margin: 0 10px;
    }
    
    .hero h2 {
        font-size: 28px;
    }
    
    .hero {
        padding: 80px 0;
    }
    
    .games-grid,
    .stats-grid,
    .testimonials {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .platform-icons {
        flex-wrap: wrap;
    }
    
    .icon {
        margin: 5px 10px;
    }
    
    .responsible-gaming {
        flex-wrap: wrap;
    }
    
    .gaming-icon {
        margin: 10px;
    }
}

@media (max-width: 576px) {
    .hero h2 {
        font-size: 24px;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 14px;
    }
    
    .game-img {
        height: 180px;
    }
    
    .footer-nav ul {
        flex-direction: column;
    }
    
    .footer-nav ul li {
        margin: 5px 0;
    }
    
    .cookie-popup {
        left: 10px;
        right: 10px;
        max-width: calc(100% - 20px);
    }
}

html {
    scroll-behavior: smooth;
}

.main-section {
    padding: 60px 0;
}

.main-section h1 {
    font-size: 36px;
    margin-bottom: 20px;
}

.hero-rocco {
    background-image: url('./assets/hero-rocco.png');
}

.hero-derby {
    background-image: url('./assets/hero-derby.png');
}


.about iframe {
    width: 100%;
    height: 784px;
    border: none;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    object-fit: cover;
}

@media (max-width: 768px) {
    .about iframe {
        height: 300px;
    }
}