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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Cinzel', serif;
    font-weight: 700;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.5rem;
    line-height: 1.2;
}

h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style-type: none;
}

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

section {
    padding: 4rem 0;
}

/* Cookie Popup */
.cookie-popup {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 1000;
    max-width: 400px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    display: none;
}

.cookie-popup.fixed-top {
    top: 20px;
    bottom: auto;
}

.cookie-container {
    padding: 20px;
}

.cookie-popup h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.cookie-popup p {
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.cookie-buttons {
    display: flex;
    justify-content: space-between;
}

.cookie-buttons button {
    flex: 1;
    margin: 0 5px;
    padding: 8px 15px;
    font-size: 0.9rem;
}

/* Buttons */
.btn-dark {
    display: inline-block;
    background-color: #2c2133;
    color: white;
    padding: 12px 24px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 500;
    transition: background-color 0.3s ease;
    text-align: center;
}

.btn-dark:hover {
    background-color: #1e1623;
}

/* Header */
header {
    background-color: #2c2133;
    color: white;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.logo a {
    display: flex;
    align-items: center;
}

.logo img {
    height: 30px;
    margin-right: 10px;
}

.logo span {
    font-family: 'Cinzel', serif;
    font-size: 1.5rem;
    font-weight: 600;
}

nav ul {
    display: flex;
}

nav ul li {
    margin-left: 2rem;
}

nav ul li a {
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: #a78bfa;
}

.mobile-menu-button {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.mobile-menu-button span {
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 2px 0;
    transition: 0.3s;
}

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

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

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

.hero-content {
    max-width: 700px;
}

.hero-content h1 {
    margin-bottom: 1.5rem;
}

.hero-content p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.hero-content .btn-dark {
    margin-top: 1rem;
}

/* Philosophy Section */
.philosophy {
    background-color: #f9f9f9;
}

.philosophy h2 {
    text-align: center;
}

.philosophy-content {
    display: flex;
    gap: 40px;
    align-items: center;
}

.philosophy-image {
    flex: 1;
}

.philosophy-image img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.philosophy-text {
    flex: 1;
}

.philosophy-text ul {
    margin: 1.5rem 0;
    padding-left: 1.5rem;
}

.philosophy-text li {
    margin-bottom: 0.75rem;
    position: relative;
}

.philosophy-text li::before {
    content: '•';
    position: absolute;
    left: -1.5rem;
    color: #2c2133;
    font-weight: bold;
}

/* Catalog Section */
.catalog h2 {
    text-align: center;
}

.game-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.game-card {
    display: flex;
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.game-image {
    flex: 1;
    min-width: 280px;
}

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

.game-details {
    flex: 1;
    padding: 20px;
}

.game-details h3 {
    margin-bottom: 15px;
}

.game-details p {
    margin-bottom: 10px;
}

.google-play-btn {
    display: inline-block;
    margin-top: 15px;
}

.google-play-btn img {
    height: 40px;
}

/* Why Us Section */
.why-us {
    background-color: #f9f9f9;
}

.why-us-content {
    display: flex;
    gap: 40px;
    margin-bottom: 3rem;
}

.why-us-text {
    flex: 1;
}

.why-us-text h2 {
    margin-bottom: 1.5rem;
}

.why-us-text ul {
    padding-left: 1.5rem;
}

.why-us-text li {
    margin-bottom: 1rem;
    position: relative;
}

.why-us-text li::before {
    content: '•';
    position: absolute;
    left: -1.5rem;
    color: #2c2133;
    font-weight: bold;
}

.why-us-image {
    flex: 1;
}

.why-us-image img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

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

.testimonial {
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.testimonial h3 {
    margin-bottom: 5px;
}

.rating {
    color: #ffc107;
    margin-bottom: 10px;
    font-size: 1.2rem;
}

/* Contact Section */
.contact h2 {
    text-align: center;
}

.contact-content {
    display: flex;
    gap: 40px;
    align-items: center;
}

.contact-image {
    flex: 1;
}

.contact-image img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.contact-form-container {
    flex: 1;
}

.contact-form-container p {
    margin-bottom: 2rem;
    text-align: center;
}

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

.form-group input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: 'Inter', sans-serif;
}

.form-group button {
    width: 100%;
}

/* Footer */
footer {
    background-color: #2c2133;
    color: white;
    padding: 2rem 0;
}

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

.footer-links a {
    margin-left: 20px;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer-links a:hover {
    opacity: 1;
}

/* Responsive Styles */
@media (max-width: 991px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    .philosophy-content, 
    .why-us-content, 
    .contact-content {
        flex-direction: column;
    }
    
    .testimonials {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    nav ul {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: #2c2133;
        flex-direction: column;
        text-align: center;
        padding: 1rem 0;
    }
    
    nav ul.active {
        display: flex;
    }
    
    nav ul li {
        margin: 0.5rem 0;
    }
    
    .mobile-menu-button {
        display: flex;
    }
    
    .game-card {
        flex-direction: column;
    }
    
    .game-image {
        min-width: 100%;
        height: 200px;
    }
    
    .testimonials {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 20px;
    }
    
    .footer-links a {
        margin: 0 10px;
    }
}

@media (max-width: 576px) {
    section {
        padding: 3rem 0;
    }
    
    .hero {
        padding: 4rem 0;
    }
    
    .cookie-popup {
        left: 10px;
        right: 10px;
        max-width: none;
    }
}

html {
    scroll-behavior: smooth;
}