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

html {
    scroll-behavior: smooth;
}

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

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

/* Header Styles */
header {
    background-color: #1a1a1a;
    border-bottom: 2px solid #FFD700;
    position: relative;
}

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

.logo h1 {
    color: #FFD700;
    font-size: 1.8rem;
    font-weight: bold;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 5px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-links a:hover,
.nav-links a.active {
    color: #FFD700;
    background-color: rgba(138, 43, 226, 0.2);
}

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

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: #FFD700;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d1b69 100%);
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(255, 215, 0, 0.1) 0%, transparent 70%);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    background: linear-gradient(45deg, #FFD700, #8A2BE2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px rgba(255, 215, 0, 0.3);
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 30px;
    color: #cccccc;
}

.cta-button {
    display: inline-block;
    background: linear-gradient(45deg, #FFD700, #8A2BE2);
    color: #121212;
    padding: 15px 40px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(255, 215, 0, 0.3);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.4);
}

/* Games Section */
.games-section {
    padding: 80px 0;
    background-color: #1a1a1a;
}

.games-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: #FFD700;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
}

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

.game-card {
    background: linear-gradient(145deg, #2a2a2a, #1e1e1e);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
}

.game-card:hover {
    transform: translateY(-10px);
    border-color: #FFD700;
    box-shadow: 0 15px 30px rgba(255, 215, 0, 0.2);
}

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

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

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

.game-info h3 {
    color: #ffffff;
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.play-button {
    display: inline-block;
    background: linear-gradient(45deg, #8A2BE2, #FFD700);
    color: #121212;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 25px;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 3px 15px rgba(138, 43, 226, 0.3);
}

.play-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(138, 43, 226, 0.4);
}

/* Features Section */
.features-section {
    padding: 80px 0;
    background-color: #121212;
}

.features-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: #FFD700;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
}

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

.feature-card {
    background: linear-gradient(145deg, #2a2a2a, #1e1e1e);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: #8A2BE2;
    box-shadow: 0 10px 25px rgba(138, 43, 226, 0.2);
}

.feature-icon {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
}

.feature-card h3 {
    color: #FFD700;
    font-size: 1.3rem;
    margin-bottom: 15px;
}

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

/* About Section */
.about-section {
    padding: 80px 0;
    background-color: #1a1a1a;
    text-align: center;
}

.about-section h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    color: #FFD700;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
}

.about-section p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto;
    color: #cccccc;
    line-height: 1.8;
}

/* Disclaimer Section */
.disclaimer-section {
    padding: 60px 0;
    background-color: #0f0f0f;
    text-align: center;
}

.disclaimer-section h2 {
    font-size: 2rem;
    margin-bottom: 30px;
    color: #8A2BE2;
}

.disclaimer-section p {
    font-size: 1rem;
    max-width: 900px;
    margin: 0 auto;
    color: #aaaaaa;
    line-height: 1.7;
}

/* Footer */
footer {
    background-color: #0a0a0a;
    padding: 30px 0;
    text-align: center;
    border-top: 2px solid #FFD700;
}

footer p {
    color: #888888;
    font-size: 0.9rem;
}

/* Game Page Styles */
.game-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.game-header {
    background-color: #1a1a1a;
    padding: 30px 0;
    text-align: center;
    border-bottom: 2px solid #FFD700;
}

.game-header h1 {
    color: #FFD700;
    font-size: 2.5rem;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
}

.game-container {
    flex: 1;
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #121212;
}

.game-frame {
    width: 100%;
    max-width: 1200px;
    height: 80vh;
    min-height: 600px;
    border: 3px solid #FFD700;
    border-radius: 10px;
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.3);
}

.back-button {
    display: inline-block;
    background: linear-gradient(45deg, #8A2BE2, #FFD700);
    color: #121212;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 25px;
    font-weight: bold;
    margin: 20px;
    transition: all 0.3s ease;
}

.back-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(138, 43, 226, 0.4);
}

/* Contact Form Styles */
.contact-section {
    padding: 80px 0;
    background-color: #1a1a1a;
}

.contact-section h1 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: #FFD700;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    background: linear-gradient(145deg, #2a2a2a, #1e1e1e);
    padding: 40px;
    border-radius: 15px;
    border: 2px solid #8A2BE2;
}

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

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    background-color: #121212;
    border: 2px solid #333;
    border-radius: 8px;
    color: #ffffff;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #FFD700;
}

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

.submit-button {
    background: linear-gradient(45deg, #FFD700, #8A2BE2);
    color: #121212;
    padding: 15px 40px;
    border: none;
    border-radius: 25px;
    font-weight: bold;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.submit-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(255, 215, 0, 0.4);
}

/* Legal Pages Styles */
.legal-section {
    padding: 80px 0;
    background-color: #1a1a1a;
}

.legal-section h1 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: #FFD700;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
}

.legal-content {
    max-width: 800px;
    margin: 0 auto;
    color: #cccccc;
    line-height: 1.8;
}

.legal-content h2 {
    color: #8A2BE2;
    margin-top: 40px;
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.legal-content h3 {
    color: #FFD700;
    margin-top: 30px;
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.legal-content ul {
    margin-left: 20px;
    margin-bottom: 20px;
}

.legal-content li {
    margin-bottom: 10px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: #1a1a1a;
        flex-direction: column;
        padding: 20px;
        border-top: 2px solid #FFD700;
    }

    .nav-links.active {
        display: flex;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

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

    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .game-frame {
        height: 70vh;
        min-height: 500px;
    }

    .contact-form {
        margin: 0 20px;
        padding: 30px 20px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }

    .games-grid {
        grid-template-columns: 1fr;
    }

    .game-frame {
        height: 60vh;
        min-height: 400px;
    }
}