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

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
}

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

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

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
}

.logo h2 {
    background: linear-gradient(135deg, #6366F1, #3B82F6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
    font-size: 24px;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 32px;
    align-items: center;
}

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

.nav-link:hover,
.nav-link.active {
    color: #6366F1;
}

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

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

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

.mobile-menu-toggle span {
    width: 24px;
    height: 3px;
    background: #374151;
    transition: all 0.3s ease;
}

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

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

.banner-graphic {
    display: flex;
    justify-content: center;
    align-items: center;
}

.game-controller {
    width: 300px;
    height: 200px;
    position: relative;
    animation: float 3s ease-in-out infinite;
}

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

.controller-body {
    width: 100%;
    height: 100%;
    background: linear-gradient(145deg, #2D3748, #1A202C);
    border-radius: 40px;
    position: relative;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.d-pad {
    position: absolute;
    left: 20%;
    top: 30%;
    width: 60px;
    height: 60px;
}

.d-pad-btn {
    position: absolute;
    background: #4A5568;
    border-radius: 4px;
}

.d-pad-btn.up, .d-pad-btn.down {
    width: 20px;
    height: 25px;
    left: 20px;
}

.d-pad-btn.up { top: 0; }
.d-pad-btn.down { bottom: 0; }

.d-pad-btn.left, .d-pad-btn.right {
    width: 25px;
    height: 20px;
    top: 20px;
}

.d-pad-btn.left { left: 0; }
.d-pad-btn.right { right: 0; }

.d-pad-center {
    position: absolute;
    top: 20px;
    left: 20px;
    width: 20px;
    height: 20px;
    background: #2D3748;
    border-radius: 4px;
}

.action-buttons {
    position: absolute;
    right: 20%;
    top: 30%;
    width: 60px;
    height: 60px;
}

.action-btn {
    position: absolute;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.btn-a { background: #10B981; bottom: 0; right: 18px; }
.btn-b { background: #EF4444; bottom: 18px; right: 0; }
.btn-x { background: #3B82F6; top: 18px; right: 0; }
.btn-y { background: #F59E0B; top: 0; right: 18px; }

.banner-text h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 24px;
    line-height: 1.2;
}

.banner-text p {
    font-size: 18px;
    margin-bottom: 32px;
    opacity: 0.9;
}

.cta-button {
    display: inline-block;
    background: linear-gradient(135deg, #F97316, #EA580C);
    color: white;
    padding: 16px 32px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 8px 24px rgba(249, 115, 22, 0.3);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(249, 115, 22, 0.4);
}

/* Why Choose Us Section */
.why-choose-us {
    padding: 80px 0;
    background: white;
}

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

.section-header h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 16px;
    color: #1F2937;
}

.section-header p {
    font-size: 18px;
    color: #6B7280;
    max-width: 600px;
    margin: 0 auto;
}

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

.feature-card {
    background: white;
    padding: 40px 24px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid #E5E7EB;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

.feature-icon {
    margin-bottom: 24px;
}

.icon-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #6366F1, #3B82F6);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    color: white;
}

.icon-circle svg {
    width: 32px;
    height: 32px;
}

.feature-card h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 16px;
    color: #1F2937;
}

.feature-card p {
    color: #6B7280;
    line-height: 1.6;
}

/* About Preview Section */
.about-preview {
    padding: 80px 0;
    background: linear-gradient(135deg, #F3F4F6, #E5E7EB);
}

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

.about-image {
    position: relative;
    height: 400px;
    background: linear-gradient(135deg, #6366F1, #3B82F6);
    border-radius: 20px;
    overflow: hidden;
}

.game-elements {
    position: relative;
    width: 100%;
    height: 100%;
}

.floating-element {
    position: absolute;
    border-radius: 50%;
    animation: float 4s ease-in-out infinite;
}

.element-1 {
    width: 60px;
    height: 60px;
    background: #F59E0B;
    top: 20%;
    left: 20%;
    animation-delay: 0s;
}

.element-2 {
    width: 40px;
    height: 40px;
    background: #10B981;
    top: 60%;
    right: 30%;
    animation-delay: 1s;
}

.element-3 {
    width: 80px;
    height: 80px;
    background: #EF4444;
    bottom: 20%;
    left: 60%;
    animation-delay: 2s;
}

.element-4 {
    width: 50px;
    height: 50px;
    background: #8B5CF6;
    top: 30%;
    right: 20%;
    animation-delay: 3s;
}

.about-text h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 24px;
    color: #1F2937;
}

.about-text p {
    font-size: 18px;
    color: #6B7280;
    margin-bottom: 32px;
    line-height: 1.6;
}

.learn-more-btn {
    display: inline-block;
    background: linear-gradient(135deg, #6366F1, #3B82F6);
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.learn-more-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(99, 102, 241, 0.3);
}

/* Games Preview Section */
.games-preview {
    padding: 80px 0;
    background: white;
}

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

.game-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    cursor: pointer;
}

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

.game-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

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

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

.game-info {
    padding: 24px;
    text-align: center;
}

.game-info h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 16px;
    color: #1F2937;
}

.play-btn {
    display: inline-block;
    background: linear-gradient(135deg, #10B981, #059669);
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.play-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(16, 185, 129, 0.3);
}

.view-all-games {
    text-align: center;
}

.view-all-btn {
    display: inline-block;
    background: transparent;
    color: #6366F1;
    border: 2px solid #6366F1;
    padding: 12px 32px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.view-all-btn:hover {
    background: #6366F1;
    color: white;
    transform: translateY(-2px);
}

/* Disclaimer */
.disclaimer {
    background: #FEF3C7;
    border-top: 4px solid #F59E0B;
    padding: 32px 0;
}

.disclaimer h1 {
    font-size: 16px;
    font-weight: 600;
    color: #92400E;
    text-align: center;
    line-height: 1.5;
}

/* Footer */
.footer {
    background: #1F2937;
    color: white;
    padding: 48px 0 24px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 32px;
}

.footer-brand h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 8px;
    background: linear-gradient(135deg, #6366F1, #3B82F6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-brand p {
    color: #9CA3AF;
}

.footer-nav ul {
    list-style: none;
}

.footer-nav li {
    margin-bottom: 8px;
}

.footer-nav a {
    color: #D1D5DB;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-nav a:hover {
    color: #6366F1;
}

.footer-contact p {
    color: #9CA3AF;
    margin-bottom: 8px;
}

/* Game Page Styles */
.game-container {
    padding: 100px 0 32px;
    background: white;
}

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

.game-header h1 {
    font-size: 36px;
    font-weight: 700;
    color: #1F2937;
    margin-bottom: 16px;
}

.game-header p {
    font-size: 18px;
    color: #6B7280;
}

.game-frame {
    width: 100%;
    height: 500px;
    border: none;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    background: #F9FAFB;
}

/* Responsive Design */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav-list {
        display: none;
    }
    
    .banner-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 32px;
    }
    
    .banner-text h1 {
        font-size: 32px;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 32px;
        text-align: center;
    }
    
    .games-grid {
        grid-template-columns: 1fr;
    }
    
    .container {
        padding: 0 16px;
    }
}

@media (max-width: 480px) {
    .banner-text h1 {
        font-size: 28px;
    }
    
    .section-header h2 {
        font-size: 28px;
    }
    
    .about-text h2 {
        font-size: 28px;
    }
    
    .disclaimer h1 {
        font-size: 14px;
    }
}

/* Page-specific styles */
.page-container {
    padding: 100px 0 32px;
    background: white;
    min-height: calc(100vh - 200px);
}

.page-header {
    text-align: center;
    margin-bottom: 48px;
}

.page-header h1 {
    font-size: 48px;
    font-weight: 700;
    color: #1F2937;
    margin-bottom: 16px;
}

.page-header p {
    font-size: 20px;
    color: #6B7280;
    max-width: 600px;
    margin: 0 auto;
}

.content-section {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 24px;
}

.content-section h2 {
    font-size: 28px;
    font-weight: 600;
    color: #1F2937;
    margin: 32px 0 16px;
}

.content-section p {
    font-size: 16px;
    color: #4B5563;
    line-height: 1.7;
    margin-bottom: 16px;
}

.content-section ul {
    margin: 16px 0;
    padding-left: 24px;
}

.content-section li {
    color: #4B5563;
    margin-bottom: 8px;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    background: #F9FAFB;
    padding: 32px;
    border-radius: 12px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
}

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

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

.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, #6366F1, #3B82F6);
    color: white;
    border: none;
    padding: 12px 32px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(99, 102, 241, 0.3);
}