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

:root {
    --bg-dark: #0d0d0d;
    --gold: #ffd700;
    --neon-cyan: #00ffe1;
    --magenta: #ff45d1;
    --text-white: #ffffff;
    --text-gray: #cccccc;
    --font-heading: 'Cinzel Decorative', serif;
    --font-body: 'Poppins', sans-serif;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-dark);
    color: var(--text-white);
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* Header */
.header {
    background: linear-gradient(135deg, rgba(13,13,13,0.95) 0%, rgba(255,215,0,0.1) 100%);
    padding: 1rem 0;
    border-bottom: 2px solid var(--gold);
    position: relative;
    z-index: 1000;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-icon {
    font-size: 2rem;
    color: var(--neon-cyan);
    text-shadow: 0 0 20px var(--neon-cyan);
    animation: pulse 2s infinite;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--gold);
    text-shadow: 0 0 10px var(--gold);
}

.nav-center, .nav-right {
    display: flex;
    gap: 2rem;
}

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

.nav-link:hover {
    color: var(--gold);
    text-shadow: 0 0 10px var(--gold);
}

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

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

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(45deg, rgba(255,215,0,0.1) 0%, transparent 50%),
        linear-gradient(-45deg, rgba(0,255,225,0.1) 0%, transparent 50%),
        radial-gradient(circle at center, rgba(13,13,13,0.8) 0%, var(--bg-dark) 100%);
    z-index: -2;
}

.hero-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 35px,
            rgba(255,215,0,0.05) 35px,
            rgba(255,215,0,0.05) 70px
        );
    animation: scroll 20s linear infinite;
}

.hero-content {
    text-align: center;
    z-index: 1;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 900;
    color: var(--gold);
    margin-bottom: 1rem;
    text-shadow: 
        0 0 20px var(--gold),
        0 0 40px var(--gold),
        0 0 60px var(--gold);
    animation: glow 3s ease-in-out infinite alternate;
}

.hero-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.5rem);
    color: var(--text-gray);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-btn {
    background: linear-gradient(45deg, var(--gold), var(--neon-cyan));
    color: var(--bg-dark);
    border: none;
    padding: 1rem 2.5rem;
    font-size: 1.2rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 10px 30px rgba(255,215,0,0.3);
}

.hero-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(255,215,0,0.5);
    background: linear-gradient(45deg, var(--neon-cyan), var(--magenta));
}

.floating-symbols {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

.symbol {
    position: absolute;
    font-size: 2rem;
    color: var(--gold);
    text-shadow: 0 0 20px var(--gold);
    animation: float 6s ease-in-out infinite;
}

.symbol:nth-child(1) { top: 20%; left: 10%; animation-delay: 0s; }
.symbol:nth-child(2) { top: 30%; right: 15%; animation-delay: 1s; }
.symbol:nth-child(3) { top: 60%; left: 20%; animation-delay: 2s; }
.symbol:nth-child(4) { top: 70%; right: 10%; animation-delay: 3s; }
.symbol:nth-child(5) { top: 40%; left: 5%; animation-delay: 4s; }
.symbol:nth-child(6) { top: 80%; right: 25%; animation-delay: 5s; }

/* Games Section */
.games {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--bg-dark) 0%, rgba(255,215,0,0.05) 100%);
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--gold);
    text-align: center;
    margin-bottom: 3rem;
    text-shadow: 0 0 20px var(--gold);
}

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

.game-card {
    background: linear-gradient(135deg, rgba(255,215,0,0.1) 0%, rgba(0,255,225,0.1) 100%);
    border: 2px solid transparent;
    border-radius: 15px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.game-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, var(--gold), var(--neon-cyan), var(--magenta));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.game-card:hover::before {
    opacity: 0.1;
}

.game-card:hover {
    transform: translateY(-10px);
    border-color: var(--gold);
    box-shadow: 0 20px 40px rgba(255,215,0,0.3);
}

.game-image {
    margin-bottom: 1rem;
}

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

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

.game-title {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    color: var(--gold);
    margin-bottom: 1rem;
    text-shadow: 0 0 10px var(--gold);
}

.game-btn {
    background: linear-gradient(45deg, var(--neon-cyan), var(--magenta));
    color: var(--bg-dark);
    border: none;
    padding: 0.8rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.game-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 25px rgba(0,255,225,0.4);
}

/* Game Page Styles */
.game-container {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 0;
}

.game-frame {
    width: 100%;
    height: 80vh;
    min-height: 600px;
    border: 3px solid var(--gold);
    border-radius: 15px;
    box-shadow: 0 0 30px rgba(255,215,0,0.3);
    background: #000;
}

.game-title-header {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--gold);
    text-shadow: 0 0 20px var(--gold);
}

.back-btn {
    background: linear-gradient(45deg, var(--neon-cyan), var(--magenta));
    color: var(--bg-dark);
    border: none;
    padding: 0.8rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.back-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 25px rgba(0,255,225,0.4);
}

/* Features Section */
.features {
    padding: 5rem 0;
    background: var(--bg-dark);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    background: linear-gradient(135deg, rgba(255,215,0,0.1) 0%, rgba(255,69,209,0.1) 100%);
    border: 1px solid rgba(255,215,0,0.3);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--gold);
    box-shadow: 0 15px 30px rgba(255,215,0,0.2);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.feature-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--gold);
    margin-bottom: 1rem;
}

.feature-text {
    color: var(--text-gray);
    font-size: 1rem;
}

/* About Section */
.about {
    padding: 5rem 0;
    background: linear-gradient(135deg, rgba(0,255,225,0.05) 0%, var(--bg-dark) 100%);
}

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

.about-content p {
    font-size: 1.2rem;
    color: var(--text-gray);
    line-height: 1.8;
}

/* Disclaimer Section */
.disclaimer {
    padding: 2rem 0;
    background: rgba(255,215,0,0.1);
    border-top: 1px solid var(--gold);
    border-bottom: 1px solid var(--gold);
}

.disclaimer p {
    text-align: center;
    color: var(--gold);
    font-weight: 500;
    font-size: 1.1rem;
}

/* Contact Section */
.contact {
    padding: 5rem 0;
    background: var(--bg-dark);
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    background: rgba(255,215,0,0.1);
    border: 2px solid rgba(255,215,0,0.3);
    border-radius: 10px;
    color: var(--text-white);
    font-size: 1rem;
    font-family: var(--font-body);
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 20px rgba(255,215,0,0.3);
    background: rgba(255,215,0,0.2);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-gray);
}

.contact-btn {
    background: linear-gradient(45deg, var(--gold), var(--neon-cyan));
    color: var(--bg-dark);
    border: none;
    padding: 1rem 2.5rem;
    font-size: 1.2rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    width: 100%;
}

.contact-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(255,215,0,0.5);
}

/* Footer */
.footer {
    background: var(--bg-dark);
    border-top: 2px solid var(--gold);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section {
    color: var(--text-gray);
}

.footer-logo .logo {
    margin-bottom: 1rem;
}

.footer-description {
    color: var(--text-gray);
    font-size: 0.9rem;
    line-height: 1.6;
}

.footer-title {
    font-family: var(--font-heading);
    color: var(--gold);
    font-size: 1.2rem;
    margin-bottom: 1rem;
    text-shadow: 0 0 10px var(--gold);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: var(--text-gray);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--gold);
    text-shadow: 0 0 10px var(--gold);
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
}

.footer-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    margin-bottom: 1rem;
}

.footer-bottom p {
    color: var(--text-gray);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.footer-disclaimer {
    font-size: 0.8rem !important;
    color: var(--gold);
    font-weight: 500;
}

/* Animations */
@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

@keyframes glow {
    0% { text-shadow: 0 0 20px var(--gold), 0 0 40px var(--gold), 0 0 60px var(--gold); }
    100% { text-shadow: 0 0 30px var(--gold), 0 0 60px var(--gold), 0 0 90px var(--gold); }
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-70px); }
}

/* Responsive Design */
@media (max-width: 768px) {
    .header .container {
        flex-direction: column;
        gap: 1rem;
    }
    
    .nav-center, .nav-right {
        gap: 1rem;
    }
    
    .nav-link {
        font-size: 0.9rem;
    }
    
    .games-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1.5rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .footer-content {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 1.5rem;
    }
    
    .game-frame {
        height: 70vh;
        min-height: 500px;
    }
    
    .game-title-header {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .games-grid {
        grid-template-columns: 1fr;
    }
    
    .game-card {
        padding: 1rem;
    }
    
    .hero-btn, .contact-btn {
        padding: 0.8rem 2rem;
        font-size: 1rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}