

:root {
    --bg-1: #0f172a;
    --bg-2: #1e293b;
    --accent-1: #06b6d4;
    --accent-2: #38bdf8;
    --text-color: #e2e8f0;
    --header-bg: rgba(15, 23, 42, 0.9);
    --font-main: "Montserrat", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body {
    font-family: var(--font-main);
    background-color: var(--bg-1);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

a { text-decoration: none; color: inherit; transition: color 0.3s ease; }
a:hover { color: var(--accent-1); }
ul { list-style: none; }

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

.about-title { font-size: 3.5rem; }
/* Navbar */
.navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    background: var(--header-bg);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.nav-container { display: flex; justify-content: space-between; align-items: center; height: 70px; }
.logo { display: flex; align-items: center; gap: 10px; font-size: 1.5rem; font-weight: bold; color: var(--accent-1); }
.nav-links { display: flex; gap: 20px; }
.nav-links a { font-weight: 600; text-transform: uppercase; font-size: 0.9rem; letter-spacing: 1px; }
.menu-btn { display: none; background: none; border: none; color: var(--text-color); cursor: pointer; }

.hero-buttons { display: flex; gap: 20px; justify-content: flex-start; flex-wrap: wrap; margin-top: 30px; }
.guide-hero-title { font-size: 3.5rem; }
.guide-hero-subtitle { font-size: 1.2rem; }

.about-title { font-size: 3.5rem; }
/* Main Padding */
main { padding-top: 70px; min-height: calc(100vh - 200px); }

/* Typography */
h1, h2, h3 { margin-bottom: 1rem; font-weight: 700; color: #fff; }
h1 { font-size: 3rem; background: linear-gradient(45deg, var(--accent-1), var(--accent-2)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
h2 { font-size: 2.2rem; }
p { margin-bottom: 1rem; color: rgba(255,255,255,0.7); }

/* Buttons */
.btn {
    display: inline-block;
    background: linear-gradient(45deg, var(--accent-1), var(--accent-2));
    color: #fff;
    padding: 10px 25px;
    border-radius: 30px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.3), 0 0 15px var(--accent-1);
    color: #fff;
}
.btn-outline {
    background: transparent;
    border: 2px solid var(--accent-1);
    color: var(--accent-1);
}
.btn-outline:hover { background: var(--accent-1); color: #fff; }

/* Hero Section */
.hero {
    min-height: 80vh;
    display: flex; align-items: center; justify-content: center;
    text-align: center;
    padding: 100px 20px;
    background: radial-gradient(circle at center, var(--bg-2) 0%, var(--bg-1) 100%);
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: ''; position: absolute; width: 150%; height: 150%;
    background: conic-gradient(from 0deg at 50% 50%, transparent, var(--accent-1), transparent);
    animation: rotate 20s linear infinite;
    opacity: 0.05;
}
@keyframes rotate { 100% { transform: rotate(360deg); } }
.hero-content { position: relative; z-index: 1; max-width: 800px; }

/* Grid Layout */
.section-pad { padding: 80px 20px; }
.text-center { text-align: center; }
.mb-4 { margin-bottom: 2rem; }

/* Game Cards */
.games-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 30px;
}
.game-card {
    background: var(--bg-2);
    border-radius: 15px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    border: 1px solid rgba(255,255,255,0.05);
    transform-style: preserve-3d;
}
.game-card .img-wrapper {
    width: 100%; height: 200px; overflow: hidden;
}
.game-card img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 0.5s ease;
}
.game-card:hover img { transform: scale(1.1); }
.game-info { padding: 20px; transform: translateZ(30px); }
.game-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 15px; }
.tag {
    background: rgba(255,255,255,0.1);
    padding: 5px 12px; border-radius: 20px;
    font-size: 0.75rem; font-weight: bold;
    color: var(--accent-2);
}
.game-card h3 { font-size: 1.4rem; margin-bottom: 10px; }
.game-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.85);
    display: flex; flex-direction: column; justify-content: center; align-items: center;
    padding: 20px; text-align: center;
    opacity: 0; transition: opacity 0.3s ease;
    transform: translateZ(50px);
}
.game-card:hover .game-overlay { opacity: 1; }
.game-overlay p { margin-bottom: 20px; font-size: 0.9rem; }

/* Forms */
.contact-form { max-width: 600px; margin: 0 auto; background: var(--bg-2); padding: 40px; border-radius: 15px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; margin-bottom: 8px; font-weight: bold; }
.form-group input, .form-group textarea {
    width: 100%; padding: 12px;
    background: rgba(0,0,0,0.2);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px; color: #fff;
    font-family: inherit;
}
.form-group input:focus, .form-group textarea:focus {
    outline: none; border-color: var(--accent-1);
    box-shadow: 0 0 10px rgba(0,0,0,0.2);
}

/* FAQ Accordion */
.faq-item {
    background: var(--bg-2);
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
}
.faq-question {
    padding: 20px;
    display: flex; justify-content: space-between; align-items: center;
    cursor: pointer; font-weight: bold;
    transition: background 0.3s ease;
}
.faq-question:hover { background: rgba(255,255,255,0.05); color: var(--accent-1); }
.faq-answer {
    padding: 0 20px; max-height: 0; overflow: hidden;
    transition: all 0.3s ease;
    color: rgba(255,255,255,0.7);
}
.faq-item.active .faq-answer { padding: 20px; max-height: 500px; border-top: 1px solid rgba(255,255,255,0.05); }
.faq-item.active .faq-icon { transform: rotate(45deg); }
.faq-icon { transition: transform 0.3s ease; color: var(--accent-1); font-size: 1.5rem; }

/* Testimonials */
.testimonials { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.testimonial-card {
    background: var(--bg-2); padding: 30px; border-radius: 15px;
    position: relative;
    border-left: 4px solid var(--accent-1);
}
.testimonial-card::before {
    content: '\201C'; position: absolute; top: 10px; right: 20px;
    font-size: 4rem; color: rgba(255,255,255,0.05); font-family: serif;
}

/* About Section icons */
.about-features { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; margin-top: 40px; }
.feature-box {
    text-align: center; padding: 30px; background: var(--bg-2); border-radius: 15px;
    transition: transform 0.3s ease;
}
.feature-box:hover { transform: translateY(-10px); }
.feature-icon { margin-bottom: 20px; color: var(--accent-1); display: inline-block; animation: float 3s ease-in-out infinite; }
@keyframes float { 0% { transform: translateY(0); } 50% { transform: translateY(-10px); } 100% { transform: translateY(0); } }

/* Single Game Page */
.detail-title { font-size: 3rem; }

.game-detail-hero {
    display: flex; gap: 40px; align-items: flex-start;
    background: var(--bg-2); padding: 40px; border-radius: 20px; margin-bottom: 40px;
}
.game-detail-img { flex: 0 0 400px; border-radius: 15px; overflow: hidden; box-shadow: 0 20px 40px rgba(0,0,0,0.5); }
.game-detail-img img { width: 100%; height: auto; display: block; }
.game-detail-info { flex: 1; }
.meta-info { display: flex; gap: 20px; margin: 20px 0; color: var(--accent-2); font-weight: bold; }

/* Content Pages (Policies) */
.content-page { max-width: 800px; margin: 0 auto; background: var(--bg-2); padding: 40px; border-radius: 15px; }
.content-page h2 { margin-top: 2rem; margin-bottom: 1rem; color: var(--accent-1); font-size: 1.5rem; }
.content-page ul { margin-left: 20px; margin-bottom: 1rem; color: rgba(255,255,255,0.7); }
.content-page li { margin-bottom: 0.5rem; }

/* Footer */
.footer { background: var(--bg-2); padding: 60px 0 20px; border-top: 1px solid rgba(255,255,255,0.05); margin-top: 50px; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 40px; margin-bottom: 40px; }
.footer-col h3 { margin-bottom: 20px; color: var(--accent-1); font-size: 1.2rem; }
.footer-col a { display: block; margin-bottom: 10px; color: rgba(255,255,255,0.6); }
.footer-col a:hover { color: var(--accent-1); }
.footer-bottom { text-align: center; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.05); color: rgba(255,255,255,0.4); }

/* Message box */
#formMessage { margin-top: 20px; padding: 15px; border-radius: 8px; display: none; }
#formMessage.success { background: rgba(0, 255, 0, 0.1); color: #4ade80; border: 1px solid #4ade80; }
#formMessage.error { background: rgba(255, 0, 0, 0.1); color: #f87171; border: 1px solid #f87171; }

@media (max-width: 768px) {
    .game-detail-hero { padding: 20px !important; }

    .about-title { font-size: 2.2rem !important; }

    .detail-title { font-size: 2rem !important; }

    .desktop-only { display: none !important; }
    .guide-hero-title { font-size: 2.2rem !important; }
    .guide-hero-subtitle { font-size: 1rem !important; }
    .nav-links {
        display: none; position: absolute; top: 70px; left: 0; width: 100%;
        background: var(--bg-2); flex-direction: column; padding: 20px; gap: 15px;
    }
    .nav-links.active { display: flex; }
    .menu-btn { display: block; }
    h1 { font-size: 2.2rem; }
    .game-detail-hero { flex-direction: column; }
    .game-detail-img { flex: none; width: 100%; }
}

    