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

:root {
    --primary-color: #4a1f7c;
    --secondary-color: #ff3e6c;
    --dark-color: #30124e;
    --light-color: #f8f9fa;
    --text-color: #333333;
    --text-light: #ffffff;
    --transition: all 0.3s ease;
}

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

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

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

ul {
    list-style: none;
}

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

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

h2 {
    font-size: 2rem;
    text-align: center;
    color: var(--primary-color);
    padding-bottom: 10px;
    position: relative;
}

h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--secondary-color);
}

h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
}

p {
    margin-bottom: 15px;
}

section {
    padding: 80px 0;
}

/* Header Styles */
header {
    background-color: var(--primary-color);
    color: var(--text-light);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

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

.logo-container {
    width: 200px;
}

.logo {
    width: 100%;
    height: auto;
}

nav ul {
    display: flex;
    gap: 25px;
}

nav a {
    font-weight: 500;
    position: relative;
}

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

nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--secondary-color);
    transition: var(--transition);
}

nav a:hover::after {
    width: 100%;
}

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

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

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--dark-color) 100%);
    color: var(--text-light);
    min-height: 600px;
    display: flex;
    align-items: center;
}

.hero .container {
    display: flex;
    align-items: center;
    gap: 30px;
}

.hero-content {
    flex: 1;
}

.hero-visual {
    flex: 1;
    max-width: 500px;
}

.cta-button {
    display: inline-block;
    background-color: var(--secondary-color);
    color: var(--text-light);
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    margin-top: 20px;
    box-shadow: 0 5px 15px rgba(255, 62, 108, 0.3);
    transition: var(--transition);
}

.cta-button:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 62, 108, 0.4);
}

/* Features Section */
.features {
    background-color: #f9f9f9;
}

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

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

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

.feature-icon {
    width: 100px;
    height: 100px;
    margin-bottom: 20px;
}

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

.game-card {
    background-color: #ffffff;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

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

.game-image {
    width: 100%;
    height: 200px;
    border-radius: 10px;
    margin-bottom: 15px;
}

.game-link {
    display: inline-block;
    color: var(--secondary-color);
    font-weight: 600;
    margin-top: 10px;
}

.game-link:hover {
    color: var(--primary-color);
}

.games-cta {
    margin-top: 50px;
    text-align: center;
}

/* Technology Section */
.technology {
    background-color: #f9f9f9;
}

.tech-content {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-top: 40px;
}

.tech-info {
    flex: 1;
}

.tech-visual {
    flex: 1;
}

/* About Section */
.about {
    text-align: center;
    background-color: var(--primary-color);
    color: var(--text-light);
}

.about h2 {
    color: var(--text-light);
}

.about h2:after {
    background-color: var(--secondary-color);
}

.about p {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Footer */
footer {
    background-color: var(--dark-color);
    color: var(--text-light);
    padding: 60px 0 20px;
}

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

.footer-logo {
    flex: 1;
    min-width: 300px;
    margin-bottom: 30px;
}

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

.footer-links {
    flex: 2;
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}

.footer-column {
    flex: 1;
    min-width: 160px;
}

.footer-column h4 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--secondary-color);
}

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

.footer-column ul li a:hover {
    color: var(--secondary-color);
}

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

/* Responsive Styles */
@media (max-width: 992px) {
    .hero .container {
        flex-direction: column;
    }
    
    .hero-content {
        text-align: center;
    }
    
    .tech-content {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    section {
        padding: 60px 0;
    }
    
    nav ul {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background-color: var(--primary-color);
        flex-direction: column;
        padding: 20px;
        text-align: center;
    }
    
    nav ul.show {
        display: flex;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
}

@media (max-width: 576px) {
    .footer-content {
        flex-direction: column;
    }
    
    .footer-links {
        flex-direction: column;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
}
