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

:root {
    --primary-bg: #0a0a0a;
    --secondary-bg: #1a1a1a;
    --accent-bg: #2a2a2a;
    --primary-text: #e0e0e0;
    --secondary-text: #b0b0b0;
    --accent-color: #ff6b35;
    --gold-color: #ffd700;
    --steel-color: #8a8a8a;
    --glow-color: #ff4500;
    --border-color: #444;
}

body {
    font-family: 'Cinzel', serif;
    background: var(--primary-bg);
    color: var(--primary-text);
    line-height: 1.6;
    overflow-x: hidden;
}

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

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

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

.logo-img {
    height: 40px;
    filter: drop-shadow(0 0 10px var(--glow-color));
}

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

.nav-link {
    color: var(--primary-text);
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    transition: all 0.3s ease;
    padding: 10px 15px;
}

.nav-link:hover,
.nav-link.active {
    color: var(--accent-color);
    text-shadow: 0 0 10px var(--glow-color);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent-color), transparent);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

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

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

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.5)),
        url('https://i.pinimg.com/736x/99/09/5c/99095c1135a71c77e082150b62463582.jpg') center/cover;
    z-index: -2;
}

.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    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="1" fill="%23ff6b35" opacity="0.6"><animate attributeName="opacity" values="0.6;1;0.6" dur="2s" repeatCount="indefinite"/></circle><circle cx="80" cy="30" r="1" fill="%23ffd700" opacity="0.4"><animate attributeName="opacity" values="0.4;0.8;0.4" dur="3s" repeatCount="indefinite"/></circle><circle cx="60" cy="70" r="1" fill="%23ff4500" opacity="0.5"><animate attributeName="opacity" values="0.5;1;0.5" dur="2.5s" repeatCount="indefinite"/></circle></svg>') repeat;
    z-index: -1;
    animation: float 20s linear infinite;
}

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

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

.hero-title {
    font-family: 'Orbitron', monospace;
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 900;
    margin-bottom: 20px;
    background: linear-gradient(45deg, var(--gold-color), var(--accent-color), var(--gold-color));
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 3s ease-in-out infinite;
    text-shadow: 0 0 30px rgba(255, 107, 53, 0.5);
}

@keyframes shimmer {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.hero-subtitle {
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    margin-bottom: 40px;
    color: var(--secondary-text);
    font-style: italic;
}

.cta-button {
    display: inline-block;
    position: relative;
    padding: 20px 40px;
    background: linear-gradient(45deg, var(--accent-color), var(--glow-color));
    color: white;
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-radius: 5px;
    transition: all 0.3s ease;
    overflow: hidden;
    border: 2px solid var(--gold-color);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 107, 53, 0.4);
}

.button-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transform: rotate(45deg);
    transition: all 0.6s ease;
}

.cta-button:hover .button-glow {
    animation: sweep 0.6s ease-in-out;
}

@keyframes sweep {
    0% { transform: translateX(-100%) rotate(45deg); }
    100% { transform: translateX(100%) rotate(45deg); }
}

/* Games Section */
.games-section {
    padding: 100px 0;
    background: var(--secondary-bg);
    position: relative;
}

.games-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><polygon points="50,10 90,90 10,90" fill="none" stroke="%23333" stroke-width="0.5" opacity="0.1"/></svg>') repeat;
    z-index: 0;
}

.section-title {
    font-family: 'Orbitron', monospace;
    font-size: clamp(2.5rem, 5vw, 4rem);
    text-align: center;
    margin-bottom: 60px;
    color: var(--gold-color);
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
    position: relative;
    z-index: 1;
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    position: relative;
    z-index: 1;
}

.game-card {
    background: var(--accent-bg);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 2px solid var(--border-color);
    position: relative;
    cursor: pointer;
}

.game-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-color);
    box-shadow: 0 20px 40px rgba(255, 107, 53, 0.2);
}

.game-image {
    position: relative;
    overflow: hidden;
    height: 200px;
}

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

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

.game-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(255, 107, 53, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.game-card:hover .game-overlay {
    opacity: 1;
}

.sparks {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 4px;
    height: 4px;
    background: var(--gold-color);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
}

.game-card:hover .sparks {
    animation: sparkle 0.6s ease-in-out;
}

@keyframes sparkle {
    0%, 100% { opacity: 0; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 1; transform: translate(-50%, -50%) scale(3); }
}

.game-title {
    font-family: 'Orbitron', monospace;
    font-size: 1.5rem;
    font-weight: 700;
    padding: 20px;
    color: var(--gold-color);
    text-align: center;
}

.game-link {
    display: block;
    text-align: center;
    padding: 15px;
    background: linear-gradient(45deg, var(--accent-color), var(--glow-color));
    color: white;
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.game-link:hover {
    background: linear-gradient(45deg, var(--glow-color), var(--accent-color));
    box-shadow: inset 0 0 20px rgba(255, 255, 255, 0.1);
}

/* Tooltip */
.tooltip {
    position: absolute;
    background: rgba(0, 0, 0, 0.9);
    color: var(--primary-text);
    padding: 10px 15px;
    border-radius: 8px;
    font-size: 0.9rem;
    max-width: 250px;
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    border: 1px solid var(--accent-color);
    font-style: italic;
}

.tooltip.show {
    opacity: 1;
}

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

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

.about-content p {
    font-size: 1.3rem;
    line-height: 1.8;
    color: var(--secondary-text);
    font-style: italic;
}

/* Features Section */
.features-section {
    padding: 100px 0;
    background: var(--secondary-bg);
}

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

.feature-card {
    text-align: center;
    padding: 40px 20px;
    background: var(--accent-bg);
    border-radius: 15px;
    border: 2px solid var(--border-color);
    transition: all 0.3s ease;
}

.feature-card:hover {
    border-color: var(--accent-color);
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-family: 'Orbitron', monospace;
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--gold-color);
}

.feature-card p {
    color: var(--secondary-text);
    line-height: 1.6;
}

/* Disclaimer Section */
.disclaimer-section {
    padding: 80px 0;
    background: var(--accent-bg);
    text-align: center;
    border-top: 2px solid var(--accent-color);
    border-bottom: 2px solid var(--accent-color);
}

.disclaimer-title {
    font-family: 'Orbitron', monospace;
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--accent-color);
}

.disclaimer-text {
    max-width: 600px;
    margin: 0 auto;
    font-size: 1.1rem;
    color: var(--secondary-text);
    line-height: 1.6;
}

/* Footer */
.footer {
    background: var(--primary-bg);
    padding: 40px 0;
    border-top: 2px solid var(--accent-color);
}

.footer .container {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    align-items: center;
    gap: 20px;
}

.footer-logo {
    height: 30px;
    filter: drop-shadow(0 0 5px var(--glow-color));
}

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

.footer-center a {
    color: var(--secondary-text);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-center a:hover {
    color: var(--accent-color);
}

.footer-right {
    text-align: right;
}

.footer-right p {
    color: var(--secondary-text);
    font-size: 0.9rem;
}

/* Game Page Styles */
.game-page {
    padding-top: 100px;
    min-height: 100vh;
    background: var(--primary-bg);
}

.game-header {
    text-align: center;
    padding: 60px 0;
    background: var(--secondary-bg);
}

.game-page-title {
    font-family: 'Orbitron', monospace;
    font-size: clamp(2rem, 5vw, 3.5rem);
    color: var(--gold-color);
    margin-bottom: 30px;
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
}

.back-button {
    display: inline-block;
    padding: 15px 30px;
    background: linear-gradient(45deg, var(--steel-color), var(--border-color));
    color: white;
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 5px;
    transition: all 0.3s ease;
    border: 2px solid var(--accent-color);
}

.back-button:hover {
    background: linear-gradient(45deg, var(--accent-color), var(--glow-color));
    transform: translateY(-2px);
}

.game-container {
    padding: 60px 0;
    text-align: center;
}

.game-iframe {
    width: 100%;
    max-width: 800px;
    height: 600px;
    border: 3px solid var(--accent-color);
    border-radius: 10px;
    background: var(--secondary-bg);
}

/* Contact Page Styles */
.contact-page {
    padding-top: 100px;
    min-height: 100vh;
    background: var(--primary-bg);
}

.contact-header {
    text-align: center;
    padding: 60px 0;
    background: var(--secondary-bg);
}

.contact-form {
    max-width: 600px;
    margin: 60px auto;
    padding: 40px;
    background: var(--accent-bg);
    border-radius: 15px;
    border: 2px solid var(--border-color);
}

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

.form-group label {
    display: block;
    margin-bottom: 10px;
    color: var(--gold-color);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    background: var(--secondary-bg);
    border: 2px solid var(--border-color);
    border-radius: 8px;
    color: var(--primary-text);
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 10px rgba(255, 107, 53, 0.2);
}

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

.submit-button {
    width: 100%;
    padding: 20px;
    background: linear-gradient(45deg, var(--accent-color), var(--glow-color));
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid var(--gold-color);
}

.submit-button:hover {
    background: linear-gradient(45deg, var(--glow-color), var(--accent-color));
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255, 107, 53, 0.3);
}

/* Legal Pages */
.legal-page {
    padding-top: 100px;
    min-height: 100vh;
    background: var(--primary-bg);
}

.legal-header {
    text-align: center;
    padding: 60px 0;
    background: var(--secondary-bg);
}

.legal-content {
    max-width: 800px;
    margin: 60px auto;
    padding: 40px;
    background: var(--accent-bg);
    border-radius: 15px;
    border: 2px solid var(--border-color);
    line-height: 1.8;
}

.legal-content h2 {
    color: var(--gold-color);
    margin-bottom: 20px;
    font-family: 'Orbitron', monospace;
}

.legal-content p {
    margin-bottom: 20px;
    color: var(--secondary-text);
}

/* Responsive Design */
@media (max-width: 768px) {
    .header .container {
        flex-direction: column;
        gap: 20px;
    }
    
    .nav {
        gap: 15px;
    }
    
    .nav-link {
        padding: 8px 12px;
        font-size: 0.9rem;
    }
    
    .games-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .footer .container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 20px;
    }
    
    .footer-right {
        text-align: center;
    }
    
    .game-iframe {
        height: 400px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .cta-button {
        padding: 15px 25px;
        font-size: 0.9rem;
    }
    
    .games-grid {
        grid-template-columns: 1fr;
    }
    
    .game-card {
        margin: 0 10px;
    }
}
#Game {
    width: 100%;
    height: 80vh; /* Adjust this height as needed */
    border: none;
}