/* Base Styles */
:root {
    --primary-color: #5932eb;
    --secondary-color: #f8f9fa;
    --text-color: #333;
    --light-gray: #f5f6f8;
    --border-radius: 8px;
}

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

body {
    font-family: 'Noto Sans', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: #fff;
}

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

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

ul {
    list-style: none;
}

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

h1, h2, h3, h4 {
    margin-bottom: 20px;
}

h1 {
    font-size: 2.5rem;
    font-weight: 700;
}

h2 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 40px;
    font-weight: 700;
}

h3 {
    font-size: 1.3rem;
    font-weight: 600;
}

h4 {
    font-weight: 500;
    color: #555;
}

section {
    padding: 70px 0;
}

/* Header & Navigation */
header {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo img {
    height: 40px;
}

nav ul {
    display: flex;
}

nav ul li {
    margin-left: 25px;
}

nav ul li a {
    font-weight: 500;
}

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

/* Hero Section */
.hero {
    background-color: var(--light-gray);
    padding: 60px 0;
}

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

.hero-content {
    flex: 1;
    padding-right: 30px;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.hero-image img {
    max-width: 100%;
}

/* About Section */
.about .container {
    display: flex;
    align-items: center;
    gap: 40px;
}

.about-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.about-image img {
    max-width: 100%;
    border-radius: var(--border-radius);
}

.about-content {
    flex: 1;
}

.about-content h2 {
    text-align: left;
}

.motto {
    font-weight: 600;
    margin-top: 20px;
}

/* Trust Section */
.trust {
    background-color: var(--light-gray);
}

.trust-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.trust-card {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 30px 20px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.trust-icon {
    margin-bottom: 20px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.trust-icon img {
    max-height: 100%;
}

/* Games Section */
.game-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.game-card {
    background-color: var(--light-gray);
    border-radius: var(--border-radius);
    padding: 30px;
    position: relative;
    overflow: hidden;
}

.game-card h3 {
    margin-bottom: 5px;
}

.game-card h4 {
    margin-bottom: 15px;
    font-weight: 500;
    color: #666;
}

.game-card ul {
    margin: 15px 0;
    padding-left: 20px;
}

.game-card ul li {
    list-style: disc;
    margin-bottom: 5px;
}

.game-for {
    font-style: italic;
    margin-bottom: 20px;
}

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

.game-image {
    margin-top: 20px;
}

.game-image img {
    width: 100%;
    border-radius: var(--border-radius);
}

/* Comparison Table */
.comparison {
    background-color: var(--light-gray);
}

.table-container {
    overflow-x: auto;
    border-radius: var(--border-radius);
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

table {
    width: 100%;
    border-collapse: collapse;
    background-color: white;
}

table th, table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

table th {
    background-color: #f0f0f0;
    color: var(--primary-color);
    font-weight: 600;
}

table tbody tr:nth-child(even) {
    background-color: #fafafa;
}

table tbody tr:last-child td {
    border-bottom: none;
}

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

form {
    max-width: 600px;
    margin: 30px auto 0;
}

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

input, textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
    font-family: 'Noto Sans', sans-serif;
    font-size: 16px;
}

textarea {
    min-height: 150px;
    resize: vertical;
}

button[type="submit"] {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: var(--border-radius);
    cursor: pointer;
    font-weight: 600;
    font-family: 'Noto Sans', sans-serif;
    transition: background-color 0.3s;
    font-size: 16px;
}

button[type="submit"]:hover {
    background-color: #4922d8;
}

/* Footer */
footer {
    background-color: #2a2a2a;
    color: white;
    padding: 30px 0;
    text-align: center;
}

.footer-links {
    margin-bottom: 15px;
}

.footer-links a {
    margin: 0 15px;
    color: #ddd;
}

.footer-links a:hover {
    color: white;
}

.copyright {
    font-size: 0.9rem;
    color: #aaa;
}

/* Cookie Popup */
.cookie-popup {
    position: fixed;
    bottom: 20px;
    left: 0;
    right: 0;
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
    z-index: 1001;
    padding: 20px;
    max-width: 600px;
    margin: 0 auto;
    display: none;
}

.cookie-popup.active {
    display: block;
}

.cookie-content h3 {
    margin-bottom: 10px;
}

.cookie-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 20px;
}

.cookie-buttons button {
    padding: 12px;
    border: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    cursor: pointer;
    font-family: 'Noto Sans', sans-serif;
    transition: background-color 0.3s;
    font-size: 16px;
}

#acceptCookies {
    background-color: var(--primary-color);
    color: white;
}

#acceptCookies:hover {
    background-color: #4922d8;
}

#cookieSettings, #learnMore {
    background-color: white;
    border: 1px solid #ddd;
}

#cookieSettings:hover, #learnMore:hover {
    background-color: #f5f5f5;
}

/* Responsive Styles */
@media (max-width: 992px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.7rem;
    }
    
    .hero .container {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-content {
        padding-right: 0;
        margin-bottom: 40px;
    }
    
    .about .container {
        flex-direction: column;
    }
    
    .about-image {
        margin-bottom: 20px;
    }
    
    .about-content h2 {
        text-align: center;
    }
    
    .trust-cards {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .game-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    section {
        padding: 50px 0;
    }
    
    header .container {
        flex-direction: column;
    }
    
    .logo {
        margin-bottom: 15px;
    }
    
    nav ul {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    nav ul li {
        margin: 0 10px;
        margin-bottom: 5px;
    }
    
    .trust-cards {
        grid-template-columns: 1fr;
    }
}

@media (min-width: 768px) {
    .cookie-buttons {
        flex-direction: row;
        justify-content: center;
    }
    
    .cookie-buttons button {
        flex: 1;
    }
}

html {
    scroll-behavior: smooth;
}