 /* Base Styles */
:root {
    --primary-color: #8a2be2; /* Vibrant purple */
    --secondary-color: #00b4d8; /* Bright blue */
    --accent-color: #ff5722; /* Orange accent */
    --dark-bg: #121212; /* Very dark background */
    --darker-bg: #0a0a0a; /* Even darker background */
    --light-text: #f0f0f0; /* Light text */
    --card-bg: #1e1e1e; /* Slightly lighter than background for cards */
    --border-color: #333333; /* Border color */
    --glow-color: rgba(138, 43, 226, 0.6); /* Glow effect color */
}

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

body {
    font-family: 'Roboto', sans-serif;
    background-color: var(--dark-bg);
    color: var(--light-text);
    line-height: 1.6;
    overflow-x: hidden;
    background-image: 
        radial-gradient(circle at 25% 25%, rgba(138, 43, 226, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(0, 180, 216, 0.05) 0%, transparent 50%);
}

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

h1, h2, h3 {
    font-family: 'Press Start 2P', cursive;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
    color: var(--light-text);
    text-shadow: 0 0 10px var(--glow-color);
}

h1 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    text-align: center;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 0 15px var(--glow-color);
}

h2 {
    font-size: 1.8rem;
    position: relative;
    padding-bottom: 0.5rem;
    margin-top: 2rem;
}

h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100px;
    height: 4px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

h3 {
    font-size: 1.2rem;
    color: var(--secondary-color);
}

p {
    margin-bottom: 1rem;
    font-size: 1rem;
}

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

a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

section {
    margin: 3rem 0;
    padding: 2rem;
    background-color: var(--darker-bg);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
    border: 1px solid var(--border-color);
}

/* Header Styles */
header {
    background-color: var(--darker-bg);
    padding: 2rem 0;
    text-align: center;
    border-bottom: 4px solid var(--primary-color);
    position: relative;
    overflow: hidden;
}

header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(135deg, rgba(138, 43, 226, 0.1) 0%, transparent 50%),
        linear-gradient(45deg, rgba(0, 180, 216, 0.1) 0%, transparent 50%);
    z-index: 0;
}

header .container {
    position: relative;
    z-index: 1;
}

.tagline {
    font-size: 1.2rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
    font-style: italic;
}

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

.feature {
    background-color: var(--card-bg);
    padding: 1.5rem;
    border-radius: 8px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-color);
}

.feature:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    border-color: var(--primary-color);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

/* Game Container */
.game-container {
    margin-top: 1rem; /* Reduced from 3rem to bring it higher */
}

.game-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    border-radius: 10px;
    border: 3px solid var(--primary-color);
    box-shadow: 0 0 20px var(--glow-color);
    margin: 1.5rem 0; /* Reduced from 2rem to tighten spacing */
    animation: glow 3s infinite;
}

.game-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Game Controls */
.game-controls {
    margin-top: 2rem;
}

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

.control {
    display: flex;
    align-items: center;
    background-color: var(--card-bg);
    padding: 1rem;
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.key {
    background-color: var(--primary-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    margin-right: 1rem;
    font-family: 'Press Start 2P', cursive;
    font-size: 0.8rem;
    min-width: 80px;
    text-align: center;
}

.action {
    font-weight: bold;
}

/* Game Info Section */
.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.info-card {
    background-color: var(--card-bg);
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    border-color: var(--secondary-color);
}

/* How To Play Section */
.steps {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 2rem;
}

.step {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
}

.step-number {
    background-color: var(--primary-color);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Press Start 2P', cursive;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.step-content {
    flex-grow: 1;
}

/* FAQ Section */
.faq-item {
    margin-bottom: 1.5rem;
    padding: 1.5rem;
    background-color: var(--card-bg);
    border-radius: 8px;
    border-left: 4px solid var(--secondary-color);
}

.faq-item h3 {
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

/* Footer */
footer {
    background-color: var(--darker-bg);
    padding: 2rem 0;
    text-align: center;
    border-top: 4px solid var(--primary-color);
    margin-top: 3rem;
}

footer p {
    margin-bottom: 0.5rem;
}

/* Responsive Styles */
@media (max-width: 768px) {
    h1 {
        font-size: 1.8rem;
    }
    
    h2 {
        font-size: 1.4rem;
    }
    
    .features, .info-grid {
        grid-template-columns: 1fr;
    }
    
    .step {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .step-number {
        margin-bottom: 1rem;
    }
    
    section {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 1.5rem;
    }
    
    h2 {
        font-size: 1.2rem;
    }
    
    .container {
        width: 95%;
        padding: 0 10px;
    }
    
    .control {
        flex-direction: column;
        text-align: center;
    }
    
    .key {
        margin-right: 0;
        margin-bottom: 0.5rem;
    }
}

/* Animation Effects */
@keyframes glow {
    0% {
        box-shadow: 0 0 10px var(--glow-color);
    }
    50% {
        box-shadow: 0 0 20px var(--glow-color), 0 0 30px var(--glow-color);
    }
    100% {
        box-shadow: 0 0 10px var(--glow-color);
    }
}


/* DMCA Page Styles */
.dmca-content {
    margin: 3rem 0;
    padding: 2rem;
    background-color: var(--darker-bg);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
    border: 1px solid var(--border-color);
}

.dmca-list {
    margin: 1.5rem 0;
    padding-left: 1.5rem;
}

.dmca-list li {
    margin-bottom: 1rem;
    line-height: 1.6;
}

.warning {
    background-color: rgba(255, 87, 34, 0.1);
    border-left: 4px solid var(--accent-color);
    padding: 1rem;
    margin: 1.5rem 0;
    border-radius: 0 8px 8px 0;
}

.contact-info, .policy-links {
    margin-top: 2rem;
    padding: 1.5rem;
    background-color: var(--card-bg);
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.policy-links ul {
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1rem;
}

.policy-links li {
    background-color: var(--primary-color);
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.policy-links li:hover {
    transform: translateY(-3px);
    background-color: var(--secondary-color);
}

.policy-links a {
    color: white;
    text-decoration: none;
    font-weight: bold;
}

.policy-links a:hover {
    color: white;
    text-decoration: none;
}

@media (max-width: 768px) {
    .policy-links ul {
        flex-direction: column;
        gap: 0.5rem;
    }
}