 /* Base Styles */
:root {
    --primary-color: #ff6b9d; /* Pink */
    --secondary-color: #8a2be2; /* Purple */
    --dark-bg: #1a1a2e; /* Dark blue-black */
    --darker-bg: #121225; /* Darker blue-black */
    --light-text: #e6e6fa; /* Lavender */
    --accent-color: #4d4dff; /* Bright blue */
    --card-bg: #2a2a40; /* Slightly lighter than background */
    --border-radius: 8px;
    --box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--dark-bg);
    color: var(--light-text);
    line-height: 1.6;
}

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

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

a:hover {
    color: var(--secondary-color);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    margin-bottom: 1rem;
    font-weight: 700;
    line-height: 1.2;
}

h1 {
    font-size: 3rem;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 0 10px rgba(255, 107, 157, 0.3);
}

h2 {
    font-size: 2.2rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

h3 {
    font-size: 1.5rem;
    color: var(--light-text);
}

p {
    margin-bottom: 1rem;
}

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

.tagline {
    font-size: 1.2rem;
    color: var(--light-text);
    opacity: 0.8;
}

/* Navigation */
nav {
    background-color: var(--card-bg);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--box-shadow);
}

nav ul {
    display: flex;
    justify-content: center;
    list-style: none;
    flex-wrap: wrap;
}

nav ul li {
    margin: 0 1rem;
}

nav ul li a {
    color: var(--light-text);
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    transition: all 0.3s ease;
}

nav ul li a:hover {
    background-color: var(--primary-color);
    color: var(--darker-bg);
}

/* Hero Section */
#hero {
    padding: 4rem 0;
    text-align: center;
    background: linear-gradient(rgba(26, 26, 46, 0.8), rgba(26, 26, 46, 0.9)), 
                url('images/hero-bg.jpg') no-repeat center center/cover;
    background-attachment: fixed;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.cta-button {
    display: inline-block;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 1rem 2rem;
    border-radius: var(--border-radius);
    font-weight: 700;
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 107, 157, 0.4);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 107, 157, 0.6);
    color: white;
}

/* Game Section */
#game {
    padding: 3rem 0;
    text-align: center;
}

.game-container {
    position: relative;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 0 20px rgba(255, 107, 157, 0.3);
    border: 3px solid var(--primary-color);
    aspect-ratio: 16 / 9;
}

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

.game-controls {
    margin-top: 1rem;
    font-size: 0.9rem;
    opacity: 0.8;
}

/* About Section */
#about {
    padding: 4rem 0;
    background-color: var(--darker-bg);
}

.about-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 2rem;
}

.about-text {
    flex: 1;
    min-width: 300px;
}

.about-image {
    flex: 1;
    min-width: 300px;
}

.image-placeholder {
    background-color: var(--card-bg);
    height: 300px;
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-style: italic;
    border: 2px dashed var(--primary-color);
}

/* Features Section */
#features {
    padding: 4rem 0;
}

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

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

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
}

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

/* How to Play Section */
#how-to-play {
    padding: 4rem 0;
    background-color: var(--darker-bg);
}

.instructions {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

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

.step-number {
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.step-content {
    flex: 1;
}

/* FAQ Section */
#faq {
    padding: 4rem 0;
}

.faq-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background-color: var(--card-bg);
    border-radius: var(--border-radius);
    overflow: hidden;
}

.faq-question {
    padding: 1.5rem;
    font-weight: 700;
    cursor: pointer;
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
}

.faq-item.active .faq-question::after {
    content: '-';
}

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 0 1.5rem 1.5rem;
    max-height: 1000px;
}

/* Footer */
footer {
    background-color: var(--darker-bg);
    padding: 3rem 0 1rem;
    border-top: 3px solid var(--primary-color);
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-logo, .footer-links, .footer-social {
    flex: 1;
    min-width: 250px;
}

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

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

.social-icons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.social-icon {
    display: inline-block;
    padding: 0.5rem 1rem;
    background-color: var(--card-bg);
    border-radius: var(--border-radius);
    transition: all 0.3s ease;
}

.social-icon:hover {
    background-color: var(--primary-color);
    color: var(--darker-bg);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    opacity: 0.7;
}

/* Responsive Design */
@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    nav ul {
        flex-direction: row;
        justify-content: center;
    }
    
    nav ul li {
        margin: 0.5rem;
    }
    
    .about-content, .footer-content {
        flex-direction: column;
    }
    
    .instruction-step {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .cta-button {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }
    
    .feature-card {
        padding: 1.5rem;
    }
}

/* Terms of Service Page Styles */
.terms-section {
    padding: 40px 20px;
}

.last-updated {
    color: #777;
    font-style: italic;
    margin-bottom: 30px;
}

.terms-content {
    max-width: 800px;
    margin: 0 auto;
}

.terms-content h3 {
    margin-top: 30px;
    color: #444;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

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

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