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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #2c2c2c;
    background-color: #ffffff;
    overflow-x: hidden;
}

/* Color Variables */
:root {
    --primary-dark: #3A0519;
    --primary-medium: #670D2F;
    --primary-light: #A53860;
    --accent: #EF88AD;
    --text-dark: #2c2c2c;
    --text-light: #ffffff;
    --background: #ffffff;
    --shadow: rgba(58, 5, 25, 0.1);
}

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--accent);
    z-index: 1000;
    transition: all 0.3s ease;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo-text {
    font-size: 28px;
    font-weight: bold;
    color: var(--primary-dark);
    text-decoration: none;
}

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

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    position: relative;
    transition: color 0.3s ease;
}

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.search-container {
    display: flex;
    align-items: center;
    background: var(--background);
    border: 2px solid var(--accent);
    border-radius: 25px;
    padding: 5px;
    transition: all 0.3s ease;
}

.search-container:focus-within {
    border-color: var(--primary-medium);
    box-shadow: 0 0 10px rgba(239, 136, 173, 0.3);
}

.search-input {
    border: none;
    outline: none;
    padding: 8px 15px;
    border-radius: 20px;
    width: 200px;
    font-size: 14px;
}

.search-btn {
    background: var(--primary-medium);
    border: none;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-btn:hover {
    background: var(--primary-dark);
    transform: scale(1.05);
}

/* Hero Section */
.hero {
    margin-top: 70px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content {
    animation: slideInLeft 1s ease-out;
}

.hero-title {
    font-size: 50px;
    font-weight: bold;
    color: var(--primary-dark);
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-description {
    font-size: 18px;
    color: var(--text-dark);
    margin-bottom: 30px;
    line-height: 1.8;
}

.hero-btn {
    background: linear-gradient(135deg, var(--primary-medium), var(--primary-light));
    color: var(--text-light);
    padding: 15px 30px;
    border: none;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px var(--shadow);
}

.hero-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px var(--shadow);
}

.hero-image {
    position: relative;
    height: 500px;
    border-radius: 20px;
    overflow: hidden;
    animation: slideInRight 1s ease-out;
}

.hero-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.hero-image:hover .hero-bg {
    transform: scale(1.05);
}

/* About Section */
.about {
    padding: 100px 0;
    background: var(--background);
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-title {
    font-size: 36px;
    font-weight: bold;
    color: var(--primary-dark);
    margin-bottom: 25px;
}

.about-text {
    font-size: 16px;
    color: var(--text-dark);
    margin-bottom: 30px;
    line-height: 1.8;
}

.about-btn {
    background: linear-gradient(135deg, var(--accent), var(--primary-light));
    color: var(--text-light);
    padding: 12px 25px;
    border: none;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.about-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(239, 136, 173, 0.3);
}

.about-images {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.about-img-1,
.about-img-2 {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 15px;
    transition: transform 0.3s ease;
}

.about-img-1:hover,
.about-img-2:hover {
    transform: scale(1.02);
}

/* Games Section */
.games {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

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

.games-title {
    font-size: 40px;
    font-weight: bold;
    color: var(--primary-dark);
    text-align: center;
    margin-bottom: 60px;
}

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

.game-card {
    background: var(--background);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 5px 20px var(--shadow);
    transition: all 0.3s ease;
    cursor: pointer;
}

.game-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(58, 5, 25, 0.15);
}

.game-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.game-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--primary-dark);
    padding: 20px 20px 10px;
}

.play-btn {
    background: linear-gradient(135deg, var(--primary-medium), var(--primary-light));
    color: var(--text-light);
    padding: 12px 20px;
    border: none;
    border-radius: 0 0 20px 20px;
    width: 100%;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.play-btn:hover {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-medium));
}

/* Disclaimer Section */
.disclaimer {
    padding: 60px 0;
    background: linear-gradient(45deg, var(--primary-dark), var(--primary-medium));
    position: relative;
    overflow: hidden;
}

.disclaimer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="2" fill="rgba(255,255,255,0.1)"/><circle cx="80" cy="40" r="2" fill="rgba(255,255,255,0.1)"/><circle cx="40" cy="80" r="2" fill="rgba(255,255,255,0.1)"/></svg>');
    opacity: 0.3;
}

.disclaimer-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
    position: relative;
    z-index: 1;
}
.disclaimer-container h2 {
    font-size: 30px;
    color: #f8f9fa;
}

.disclaimer-text {
    font-size: 16px;
    color: var(--text-light);
    line-height: 1.8;
}

/* Footer */
.footer {
    background: var(--primary-dark);
    padding: 40px 0;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-copyright {
    color: var(--text-light);
    font-size: 14px;
}

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

.footer-link {
    color: var(--accent);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

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

/* Animations */
@keyframes slideInLeft {
    from {
        transform: translateX(-50px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideInRight {
    from {
        transform: translateX(50px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-container,
    .about-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .games-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    .hero-title {
        font-size: 40px;
    }
    
    .search-input {
        width: 150px;
    }
}

@media (max-width: 768px) {
    .header-container {
        padding: 0 15px;
        height: 60px;
    }
    
    .logo-text {
        font-size: 24px;
    }
    
    .nav {
        display: none;
    }
    
    .search-container {
        display: none;
    }
    
    .hero {
        margin-top: 60px;
    }
    
    .hero-title {
        font-size: 32px;
    }
    
    .hero-description {
        font-size: 16px;
    }
    
    .games-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .footer-container {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .footer-links {
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .hero-container,
    .about-container,
    .games-container {
        padding: 0 15px;
    }
    
    .hero-title {
        font-size: 28px;
    }
    
    .games-title,
    .about-title {
        font-size: 28px;
    }
}