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

body {
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

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

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

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

.logo {
    font-size: 24px;
    font-weight: 700;
    color: #6366f1;
    text-decoration: none;
}

.nav-menu {
    display: flex;
    gap: 32px;
}

.nav-link {
    text-decoration: none;
    color: #374151;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #6366f1;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #6366f1;
    transition: width 0.3s ease;
}

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

.search-container {
    display: flex;
    align-items: center;
    background: #f9fafb;
    border-radius: 24px;
    padding: 8px 16px;
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
}

.search-container:focus-within {
    border-color: #6366f1;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.search-bar {
    border: none;
    background: transparent;
    outline: none;
    padding: 8px;
    width: 200px;
    font-size: 14px;
}

.search-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    font-size: 16px;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.search-btn:hover {
    opacity: 1;
}

/* Hero Section */
.hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    overflow: hidden;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.hero-title {
    font-size: 50px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 24px;
}

.hero-description {
    font-size: 18px;
    margin-bottom: 32px;
    opacity: 0.9;
    line-height: 1.7;
}

.cta-button {
    background: #ffffff;
    color: #6366f1;
    border: none;
    padding: 16px 32px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

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

.cta-button.secondary {
    background: #6366f1;
    color: white;
}

.hero-right {
    position: relative;
}
a{
text-decoration:none;
color:black;
}
.hero-image {
    width: 100%;
    height: 500px;
    background: url('https://i.pinimg.com/736x/08/e7/2a/08e72a5be255c2956b4527cdc2e8cae1.jpg') center/cover;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* About Section */
.about {
    padding: 100px 0;
    background: #f8fafc;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 24px;
}

.section-title.center {
    text-align: center;
    margin-bottom: 64px;
}

.about-description {
    font-size: 16px;
    color: #6b7280;
    margin-bottom: 32px;
    line-height: 1.8;
}

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

.about-img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.about-img:hover {
    transform: scale(1.05);
}

/* Games Section */
.games {
    padding: 100px 0;
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 32px;
}

.game-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.game-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.game-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.game-info {
    padding: 24px;
}

.game-title {
    font-size: 20px;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 16px;
}

.play-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    width: 100%;
}

.play-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Disclaimer Section */
.disclaimer {
    padding: 60px 0;
    background: linear-gradient(45deg, #f0f2f5 25%, transparent 25%), 
                linear-gradient(-45deg, #f0f2f5 25%, transparent 25%), 
                linear-gradient(45deg, transparent 75%, #f0f2f5 75%), 
                linear-gradient(-45deg, transparent 75%, #f0f2f5 75%);
    background-size: 20px 20px;
    background-position: 0 0, 0 10px, 10px -10px, -10px 0px;
}

.disclaimer-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.disclaimer-content p {
    font-size: 16px;
    color: #4b5563;
    font-weight: 500;
    line-height: 1.7;
}

/* Footer */
.footer {
    background: #1f2937;
    color: #9ca3af;
    padding: 40px 0;
}

.footer-content {
    text-align: center;
}

.copyright {
    font-size: 14px;
    margin-bottom: 8px;
}

.footer-content > p:last-of-type {
    font-size: 14px;
    margin-bottom: 24px;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 32px;
}

.footer-link {
    color: #9ca3af;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: #6366f1;
}

/* Game Page Styles */
.game-page {
    padding: 120px 0 60px;
    min-height: 100vh;
    background: #f8fafc;
}

.game-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
}

.game-header {
    text-align: center;
    margin-bottom: 40px;
}

.game-page-title {
    font-size: 32px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 16px;
}

.back-btn {
    background: #6b7280;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.back-btn:hover {
    background: #4b5563;
    transform: translateY(-2px);
}

.game-frame {
    width: 100%;
    height: 700px;
    border: none;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    background: white;
}

/* Contact Page Styles */
.contact-page {
    padding: 120px 0 60px;
    min-height: 100vh;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #374151;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #6366f1;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

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

.submit-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 16px 32px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

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

/* Content Page Styles */
.content-page {
    padding: 120px 0 60px;
    min-height: 100vh;
}

.content-container {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.content-title {
    font-size: 32px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 32px;
    text-align: center;
}

.content-text {
    font-size: 16px;
    line-height: 1.8;
    color: #4b5563;
    margin-bottom: 24px;
}

.content-text h3 {
    font-size: 20px;
    font-weight: 600;
    color: #1f2937;
    margin: 32px 0 16px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .games-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
    
    .hero-content,
    .about-content {
        grid-template-columns: 1fr;
        gap: 48px;
        text-align: center;
    }
    
    .hero-title {
        font-size: 42px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }
    
    .header .container {
        flex-wrap: wrap;
        height: auto;
        padding: 16px;
    }
    
    .nav-menu {
        order: 3;
        width: 100%;
        margin-top: 16px;
        justify-content: center;
        gap: 24px;
    }
    
    .search-container {
        order: 2;
    }
    
    .search-bar {
        width: 150px;
    }
    
    .hero {
        padding: 100px 0 60px;
    }
    
    .hero-title {
        font-size: 36px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .games-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .game-card {
        max-width: 400px;
        margin: 0 auto;
    }
    
    .about-images {
        flex-direction: row;
        gap: 16px;
    }
    
    .about-img {
        height: 150px;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 16px;
    }
    
    .game-frame {
        height: 500px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 28px;
    }
    
    .hero-description {
        font-size: 16px;
    }
    
    .section-title {
        font-size: 24px;
    }
    
    .about-images {
        flex-direction: column;
    }
    
    .contact-form,
    .content-container {
        padding: 24px;
    }
    
    .game-frame {
        height: 400px;
    }
}