/* Base Styles & Variables */
:root {
    --primary-color: #4b36d3;
    --secondary-color: #ff6e48;
    --accent-color: #00d2b3;
    --text-color: #2d2d2d;
    --light-text: #ffffff;
    --dark-bg: #1a1a2e;
    --light-bg: #f8f9fa;
    --border-radius: 8px;
    --shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--light-bg);
    overflow-x: hidden;
}

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

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

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: var(--dark-bg);
}

h1 {
    font-size: 2.8rem;
}

h2 {
    font-size: 2.2rem;
    position: relative;
    margin-bottom: 2rem;
    text-align: center;
}

h2:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--primary-color);
    border-radius: 2px;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1.5rem;
}

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

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

ul {
    list-style: none;
}

section {
    padding: 100px 0;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

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

.btn.primary:hover {
    background-color: #3929b0;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(75, 54, 211, 0.3);
}

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

.btn.secondary:hover {
    background-color: var(--primary-color);
    color: var(--light-text);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(75, 54, 211, 0.3);
}

.btn.tertiary {
    background-color: var(--accent-color);
    color: var(--light-text);
    padding: 10px 20px;
    font-size: 0.9rem;
}

.btn.tertiary:hover {
    background-color: #00bba0;
    transform: translateY(-2px);
}

.cta-buttons {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

/* Header Styles */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(5px);
}

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

.logo img {
    height: 40px;
}

nav .menu {
    display: flex;
    gap: 30px;
}

nav .menu li a {
    color: var(--text-color);
    font-weight: 600;
    position: relative;
}

nav .menu li a:before {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

nav .menu li a:hover:before {
    width: 100%;
}

.menu-icon {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.menu-icon span {
    display: block;
    width: 30px;
    height: 3px;
    background-color: var(--text-color);
    transition: var(--transition);
}

/* Hero Section */
.hero {
    padding: 180px 0 100px;
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
}

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

.hero-content {
    flex: 1;
}

.hero-content h1 {
    color: var(--dark-bg);
    margin-bottom: 20px;
    font-size: 3.5rem;
    animation: fadeInUp 0.8s ease-out;
}

.hero-content p {
    font-size: 1.1rem;
    color: #4a5568;
    margin-bottom: 30px;
    max-width: 90%;
    animation: fadeInUp 1s ease-out;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    animation: floatAnimation 3s ease-in-out infinite alternate;
}

/* Services Section */
.services {
    background-color: #ffffff;
}

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

.service-card {
    background-color: #ffffff;
    padding: 40px 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
}

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

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

.service-icon img {
    width: 64px;
    height: 64px;
}

/* Products Section */
.products {
    background-color: #f8f9fa;
}

.products-slider {
    display: flex;
    gap: 30px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 20px 0;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

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

.product-card {
    min-width: 300px;
    background-color: #ffffff;
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--shadow);
    scroll-snap-align: start;
    text-align: center;
    transition: var(--transition);
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.product-image {
    margin-bottom: 20px;
}

.product-image img {
    width: 200px;
    height: auto;
}

/* About Section */
.about {
    background-color: #ffffff;
}

.about .container {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-content {
    flex: 1;
}

.about-image {
    flex: 1;
}

.about-image img {
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

/* Games Section */
.games {
    background-color: #f8f9fa;
}

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

.game-card {
    background-color: #ffffff;
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.gaming-links, .media-links {
    margin-top: 20px;
}

.gaming-links li, .media-links li {
    margin-bottom: 10px;
}

.gaming-links a, .media-links a {
    color: var(--primary-color);
    font-weight: 600;
    transition: var(--transition);
}

.gaming-links a:hover, .media-links a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

/* Contact Section */
.contact {
    background-color: #ffffff;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 50px;
    margin-top: 50px;
}

.contact-form {
    background-color: #f8f9fa;
    padding: 40px;
    border-radius: var(--border-radius);
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
    font-family: inherit;
    font-size: 1rem;
}

.form-group textarea {
    height: 150px;
    resize: vertical;
}

.contact-info {
    padding: 0 20px;
}

.contact-info h3 {
    margin-bottom: 30px;
}

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

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

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px);
}

/* Footer Styles */
footer {
    background-color: var(--dark-bg);
    color: var(--light-text);
    padding: 80px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
}

.footer-brand img {
    margin-bottom: 20px;
    max-width: 80px;
}

.footer-brand p {
    color: #a0aec0;
}

.footer-links h4,
.footer-services h4,
.footer-contact h4 {
    color: var(--light-text);
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.footer-links h4:after,
.footer-services h4:after,
.footer-contact h4:after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--accent-color);
}

.footer-links ul,
.footer-services ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a,
.footer-services a {
    color: #a0aec0;
    transition: var(--transition);
}

.footer-links a:hover,
.footer-services a:hover {
    color: var(--light-text);
    padding-left: 5px;
}

.footer-contact p {
    color: #a0aec0;
    margin-bottom: 10px;
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-bottom p {
    margin-bottom: 0;
    color: #a0aec0;
}

.footer-legal {
    display: flex;
    gap: 20px;
}

.footer-legal a {
    color: #a0aec0;
}

.footer-legal a:hover {
    color: var(--light-text);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* Responsive Styles */
@media (max-width: 991px) {
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .hero {
        padding: 150px 0 80px;
    }
    
    .hero .container {
        flex-direction: column;
    }
    
    .about .container {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    section {
        padding: 70px 0;
    }
    
    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .menu-icon {
        display: flex;
    }
    
    nav .menu {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        flex-direction: column;
        background-color: #fff;
        padding: 20px 0;
        gap: 15px;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: var(--transition);
    }
    
    nav .menu.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
    
    nav .menu li {
        width: 100%;
        text-align: center;
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: 10px;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-legal {
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .hero {
        padding: 130px 0 60px;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
}
