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

:root {
    --primary-color: #00d9ff;
    --primary-dark: #00b8d4;
    --secondary-color: #1de9b6;
    --text-dark: #ffffff;
    --text-light: #b0bec5;
    --bg-dark: #0a0e27;
    --bg-darker: #060816;
    --bg-card: #141a35;
    --bg-gradient: linear-gradient(135deg, #1de9b6 0%, #00d9ff 100%);
    --hero-gradient: linear-gradient(180deg, #0a0e27 0%, #141a35 100%);
    --white: #ffffff;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.5);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-dark);
}

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

/* Navigation */
.navbar {
    background: var(--bg-darker);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 20px;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--white);
}

.brand-name {
    white-space: nowrap;
    display: none;
}

.logo {
    width: 120px;
    height: 50px;
    flex-shrink: 0;
    display: block;
    object-fit: contain;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--white);
    margin: 3px 0;
    transition: 0.3s;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    text-decoration: none;
    color: var(--white);
    font-weight: 500;
    transition: color 0.3s;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary-color);
}

/* Hero Section */
.hero {
    background: var(--hero-gradient);
    color: var(--white);
    padding: 120px 20px;
    text-align: center;
    position: relative;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.btn-primary {
    display: inline-block;
    background: var(--bg-gradient);
    color: var(--white);
    padding: 15px 40px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 4px 15px rgba(29, 233, 182, 0.4);
    border: none;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(29, 233, 182, 0.6);
}

/* About Section */
.about {
    padding: 80px 20px;
    background: var(--bg-dark);
}

.about h2 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 2rem;
    color: var(--text-dark);
}

.about p {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 800px;
    margin: 0 auto 1.5rem;
    text-align: center;
}

/* Features Section */
.features {
    padding: 80px 20px;
    background: var(--bg-darker);
}

.features h2 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 1rem;
}

.features-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem;
    color: var(--text-light);
    font-size: 1.1rem;
}

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

.feature-card {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 217, 255, 0.2);
    border-color: rgba(0, 217, 255, 0.3);
}

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

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

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

/* How To Section */
.how-to {
    padding: 80px 20px;
    background: var(--bg-dark);
}

.how-to-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.how-to h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.how-to h3 {
    font-size: 1.4rem;
    margin: 2rem 0 1rem;
    color: var(--primary-color);
}

.steps-list {
    list-style: none;
    margin-bottom: 2rem;
}

.steps-list li {
    padding: 12px 0 12px 30px;
    position: relative;
    color: var(--text-light);
}

.steps-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.how-to-image {
    text-align: center;
}

.how-to-image img {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.2));
}

/* Games Supported Section */
.games-supported {
    padding: 80px 20px;
    background: var(--bg-darker);
}

.games-supported h2 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 3rem;
}

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

.game-card {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 12px;
    border-left: 4px solid var(--primary-color);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-left: 4px solid var(--primary-color);
    transition: transform 0.3s, box-shadow 0.3s;
}

.game-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.game-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 217, 255, 0.15);
}

.game-card p {
    color: var(--text-light);
    line-height: 1.7;
}

/* Legal & Safety Section */
.legal-safety {
    padding: 80px 20px;
    background: var(--bg-dark);
}

.legal-safety h2 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 2rem;
}

.legal-safety p {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 800px;
    margin: 0 auto 1.5rem;
    text-align: center;
}

.cta-text {
    font-weight: 600;
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-top: 2rem;
}

/* Keywords Section */
.keywords-section {
    padding: 60px 20px;
    background: var(--bg-darker);
}

.keywords-section h2 {
    font-size: 1.8rem;
    text-align: center;
    margin-bottom: 2rem;
}

.keywords-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    max-width: 900px;
    margin: 0 auto;
}

.keywords-cloud span {
    background: var(--bg-card);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    color: var(--text-light);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s;
}

.keywords-cloud span:hover {
    background: rgba(0, 217, 255, 0.1);
    border-color: var(--primary-color);
    color: var(--primary-color);
}

/* Footer */
.footer {
    background: var(--bg-darker);
    color: var(--white);
    padding: 3rem 20px;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-logo {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    display: block;
    object-fit: contain;
}

.footer-links {
    margin-top: 1rem;
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--white);
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.footer-links a:hover {
    opacity: 1;
}

/* Content Pages (Privacy, Terms) */
.content-page {
    padding: 60px 20px;
    min-height: calc(100vh - 200px);
}

.content-page h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.last-updated {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 3rem;
}

.policy-section {
    margin-bottom: 3rem;
}

.policy-section h2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.policy-section h3 {
    font-size: 1.3rem;
    margin: 1.5rem 0 1rem;
    color: var(--text-dark);
}

.policy-section p {
    color: var(--text-light);
    margin-bottom: 1rem;
    line-height: 1.8;
}

.policy-section ul {
    margin-left: 2rem;
    margin-bottom: 1rem;
}

.policy-section li {
    color: var(--text-light);
    margin-bottom: 0.5rem;
    line-height: 1.7;
}

.policy-section a {
    color: var(--primary-color);
    text-decoration: none;
}

.policy-section a:hover {
    text-decoration: underline;
}

/* Contact Page */
.contact-page {
    padding: 60px 20px;
    min-height: calc(100vh - 200px);
}

.contact-page h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
    text-align: center;
}

.contact-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem;
    color: var(--text-light);
    font-size: 1.1rem;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-form {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s;
    background: var(--bg-darker);
    color: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-group textarea {
    resize: vertical;
}

.contact-form .btn-primary {
    width: 100%;
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

.form-message {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 8px;
    display: none;
}

.form-message.success {
    background: #d1fae5;
    color: #065f46;
    display: block;
}

.form-message.error {
    background: #fee2e2;
    color: #991b1b;
    display: block;
}

.contact-info h2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.contact-info > p {
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.info-box {
    background: var(--bg-card);
    padding: 1.5rem;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.info-box h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.info-box p {
    color: var(--text-light);
    line-height: 1.7;
}

.info-box ul {
    list-style: none;
}

.info-box li {
    color: var(--text-light);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.info-box strong {
    color: var(--text-dark);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }

    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--bg-darker);
        flex-direction: column;
        padding: 1rem;
        box-shadow: var(--shadow);
        display: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .nav-menu.active {
        display: flex;
    }

    .hero h1 {
        font-size: 1.8rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .features-grid,
    .games-grid {
        grid-template-columns: 1fr;
    }

    .how-to-content {
        grid-template-columns: 1fr;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-links {
        flex-direction: column;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 60px 20px;
    }

    .hero h1 {
        font-size: 1.5rem;
    }

    .about,
    .features,
    .how-to,
    .games-supported,
    .legal-safety {
        padding: 50px 20px;
    }

    .btn-primary {
        padding: 12px 30px;
        font-size: 0.9rem;
    }
}
