/* Base Styles */
:root {
    --primary-color: #7e57c2;
    --secondary-color: #ff5722;
    --tertiary-color: #4caf50;
    --accent-color: #2196f3;
    --dark-bg: #121212;
    --dark-secondary: #1e1e1e;
    --card-bg: #2d2d2d;
    --text-color: #ffffff;
    --text-secondary: #b3b3b3;
    --border-radius: 8px;
    --transition: all 0.3s ease;
}

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

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

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

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

a:hover {
    color: var(--secondary-color);
}

ul {
    list-style: none;
}

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

section {
    padding: 80px 0;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 50px;
    color: var(--text-color);
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--secondary-color);
    margin: 15px auto 0;
    border-radius: 2px;
}

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

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    color: var(--text-color);
}

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

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

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

.btn-small {
    padding: 8px 15px;
    font-size: 0.9rem;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--dark-secondary);
    padding: 20px;
    z-index: 1000;
    box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.3);
    display: none;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.cookie-options {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1001;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.8);
}

.modal-content {
    background-color: var(--dark-secondary);
    margin: 10% auto;
    padding: 30px;
    border-radius: var(--border-radius);
    width: 80%;
    max-width: 600px;
    position: relative;
}

.close {
    color: var(--text-secondary);
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover {
    color: var(--text-color);
}

.cookie-preferences {
    margin: 20px 0;
}

.cookie-option {
    margin-bottom: 15px;
    padding: 15px;
    background-color: var(--card-bg);
    border-radius: var(--border-radius);
}

.cookie-option p {
    margin-top: 5px;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.modal-actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 20px;
}

/* Header */
header {
    background-color: var(--dark-secondary);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

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

.logo {
    max-width: 180px;
}

.main-nav {
    display: flex;
    gap: 20px;
}

.main-nav li {
    position: relative;
}

.main-nav a {
    padding: 8px 12px;
    font-weight: 500;
}

.main-nav a.active {
    color: var(--secondary-color);
}

.main-nav a:hover {
    color: var(--secondary-color);
}

.mobile-menu-toggle {
    display: none;
    cursor: pointer;
}

/* Hero Section */
.hero {
    background-color: var(--dark-bg);
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color) 0%, rgba(33, 150, 243, 0) 100%);
    opacity: 0.1;
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

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

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--text-color);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    color: var(--text-secondary);
}

.hero-buttons {
    display: flex;
    gap: 15px;
}

.hero-image {
    max-width: 500px;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-15px);
    }
    100% {
        transform: translateY(0px);
    }
}

/* Featured Games Section */
.featured-games {
    background-color: var(--dark-secondary);
    padding: 100px 0;
}

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

.game-card {
    background-color: var(--card-bg);
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: var(--transition);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

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

.game-image {
    overflow: hidden;
}

.game-image svg {
    transition: var(--transition);
    width: 100%;
    height: auto;
}

.game-card:hover .game-image svg {
    transform: scale(1.05);
}

.game-info {
    padding: 20px;
}

.game-info h3 {
    font-size: 1.4rem;
    margin-bottom: 10px;
    color: var(--text-color);
}

.game-info p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 15px;
}

/* About Us Section */
.about-us {
    background-color: var(--dark-bg);
    padding: 100px 0;
}

.about-us .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}

.about-content {
    max-width: 550px;
}

.about-content .section-title {
    text-align: left;
}

.about-content .section-title::after {
    margin-left: 0;
}

.about-content p {
    margin-bottom: 20px;
    color: var(--text-secondary);
}

.stats {
    display: flex;
    gap: 30px;
    margin-top: 40px;
}

.stat-item h3 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--secondary-color);
    margin-bottom: 5px;
}

.stat-item p {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 0;
}

.about-image {
    max-width: 400px;
}

/* Services Section */
.services {
    background-color: var(--dark-secondary);
    padding: 100px 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: var(--card-bg);
    border-radius: var(--border-radius);
    padding: 30px;
    text-align: center;
    transition: var(--transition);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.service-icon {
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--text-color);
}

.service-card p {
    font-size: 0.95rem;
    color: var(--text-secondary);
}

/* Latest News Section */
.latest-news {
    background-color: var(--dark-bg);
    padding: 100px 0;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.news-card {
    background-color: var(--card-bg);
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: var(--transition);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.news-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.news-image {
    overflow: hidden;
}

.news-image svg {
    transition: var(--transition);
    width: 100%;
    height: auto;
}

.news-card:hover .news-image svg {
    transform: scale(1.05);
}

.news-info {
    padding: 20px;
}

.date {
    display: block;
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 10px;
}

.news-info h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--text-color);
}

.news-info p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 15px;
}

.read-more {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--secondary-color);
}

.read-more:hover {
    text-decoration: underline;
}

.more-news {
    text-align: center;
}

/* Testimonials Section */
.testimonials {
    background-color: var(--dark-secondary);
    padding: 100px 0;
}

.testimonials-slider {
    display: flex;
    gap: 30px;
    overflow-x: auto;
    padding: 20px 0;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.testimonials-slider::-webkit-scrollbar {
    display: none;
}

.testimonial {
    background-color: var(--card-bg);
    border-radius: var(--border-radius);
    padding: 30px;
    min-width: 350px;
    flex: 1;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.testimonial:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.testimonial-content {
    margin-bottom: 20px;
}

.testimonial-content p {
    font-size: 1rem;
    font-style: italic;
    color: var(--text-secondary);
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
}

.author-info h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: var(--text-color);
}

.author-info p {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* Newsletter Section */
.newsletter {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    padding: 80px 0;
    text-align: center;
}

.newsletter-content {
    max-width: 600px;
    margin: 0 auto;
}

.newsletter h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--text-color);
}

.newsletter p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: var(--text-color);
}

.form-group {
    display: flex;
    gap: 10px;
    max-width: 500px;
    margin: 0 auto;
}

.form-group input {
    flex: 1;
    padding: 15px;
    border: none;
    border-radius: var(--border-radius);
    font-size: 1rem;
}

/* Contact Section */
.contact {
    background-color: var(--dark-bg);
    padding: 100px 0;
}

.contact-content {
    display: flex;
    gap: 50px;
    align-items: flex-start;
}

.contact-info {
    flex: 1;
}

.contact-info h3 {
    font-size: 1.8rem;
    margin-bottom: 25px;
    color: var(--text-color);
}

.contact-info ul {
    margin-bottom: 40px;
}

.contact-info li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
}

.contact-info li svg {
    margin-top: 3px;
}

.contact-info li p {
    color: var(--text-secondary);
}

.social-media h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--text-color);
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    display: inline-block;
    transition: var(--transition);
}

.social-links a:hover {
    transform: translateY(-5px);
}

.contact-map {
    flex: 1;
}

.contact-map svg {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius);
}

/* Footer */
footer {
    background-color: var(--dark-secondary);
    padding: 80px 0 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: 50px;
}

.footer-logo {
    max-width: 300px;
}

.footer-logo svg {
    margin-bottom: 20px;
}

.footer-logo p {
    color: var(--text-secondary);
}

.footer-links {
    display: flex;
    gap: 60px;
}

.footer-section h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--text-color);
}

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

.footer-section ul li a {
    color: var(--text-secondary);
    transition: var(--transition);
}

.footer-section ul li a:hover {
    color: var(--secondary-color);
    padding-left: 5px;
}

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

.footer-bottom p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}
