/* =========================================
   Reset & Base Styles
   ========================================= */
:root {
    --bg-dark: #0a0b16;
    --bg-light: #161828;
    --bg-card: rgba(30, 34, 53, 0.6);
    --primary-orange: #ff6a00;
    --primary-gradient: linear-gradient(135deg, #ff8c00, #ff3d00);
    --accent-gold: #ffc107;
    --text-main: #ffffff;
    --text-muted: #a0a5b5;
    --glass-border: rgba(255, 255, 255, 0.08);
    --shadow-glow: 0 8px 32px rgba(255, 106, 0, 0.2);
}

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

html {
    scroll-behavior: smooth;
}

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

h1, h2, h3, h4, .logo {
    font-family: 'Outfit', sans-serif;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

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

.highlight {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

/* =========================================
   Navbar
   ========================================= */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 20px 0;
    background: rgba(10, 11, 22, 0.85);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo-icon {
    font-size: 1.8rem;
}

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

.nav-links a {
    font-weight: 500;
    color: var(--text-muted);
    font-size: 1rem;
}

.nav-links a:hover {
    color: var(--text-main);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--text-main);
    font-size: 1.8rem;
    cursor: pointer;
}

/* =========================================
   Buttons
   ========================================= */
.btn {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-family: 'Outfit', sans-serif;
    text-align: center;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-primary {
    background: var(--primary-gradient);
    color: #fff;
    box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(255, 106, 0, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--text-main);
    border: 2px solid var(--glass-border);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-3px);
}

/* =========================================
   Hero Section
   ========================================= */
.hero {
    padding: 160px 0 100px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: radial-gradient(circle at 80% 20%, rgba(255, 106, 0, 0.1) 0%, transparent 40%),
                radial-gradient(circle at 20% 80%, rgba(255, 193, 7, 0.05) 0%, transparent 40%);
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}

.hero-content {
    flex: 1;
}

.hero h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 500px;
}

.cta-buttons {
    display: flex;
    gap: 20px;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    perspective: 1000px;
}

/* Mockup CSS art instead of real image */
.mockup-frame {
    width: 320px;
    height: 650px;
    border-radius: 40px;
    background: #000;
    padding: 10px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5), var(--shadow-glow);
    transform: rotateY(-15deg) rotateX(5deg);
    transition: transform 0.5s ease;
}

.mockup-frame:hover {
    transform: rotateY(0deg) rotateX(0deg);
}

.mockup-screen {
    width: 100%;
    height: 100%;
    border-radius: 32px;
    overflow: hidden;
    background: var(--bg-light);
    position: relative;
    border: 1px solid rgba(255,255,255,0.1);
}

.mockup-content {
    padding: 40px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
}

.mockup-content h3 {
    color: var(--accent-gold);
    margin-bottom: 20px;
}

.mockup-image-placeholder {
    width: 100%;
    height: 200px;
    background: linear-gradient(45deg, #2a2d43, #3b3f5c);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.5);
    margin-bottom: 40px;
    border: 2px solid #fff;
}

.mockup-word-boxes {
    display: flex;
    gap: 8px;
}

.mockup-word-boxes span {
    display: block;
    width: 35px;
    height: 40px;
    background: #a0a5b5;
    border-radius: 8px;
}

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

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
}

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

.glass {
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 40px;
    transition: transform 0.3s ease, background 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    background: rgba(40, 45, 70, 0.7);
}

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

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.feature-card p {
    color: var(--text-muted);
}

/* =========================================
   Contact Section
   ========================================= */
.contact {
    padding: 100px 0;
    text-align: center;
}

.contact-box {
    max-width: 600px;
    margin: 0 auto;
    padding: 50px;
}

.contact-box h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.contact-box p {
    color: var(--text-muted);
    margin-bottom: 40px;
}

.email-display {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    background: rgba(0, 0, 0, 0.3);
    padding: 20px 30px;
    border-radius: 16px;
    border: 1px solid var(--glass-border);
    margin-bottom: 20px;
}

.email-icon {
    font-size: 1.8rem;
}

.email-text {
    font-size: 1.2rem;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    color: var(--accent-gold);
}

.contact-note {
    font-size: 0.9rem !important;
    margin-bottom: 0 !important;
}

/* =========================================
   Footer
   ========================================= */
footer {
    background: #05060b;
    padding: 60px 0 20px;
    border-top: 1px solid var(--glass-border);
}

.footer-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.footer-brand p {
    color: var(--text-muted);
}

.footer-links h4 {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: var(--accent-gold);
}

.footer-links a {
    display: block;
    color: var(--text-muted);
    margin-bottom: 10px;
}

.footer-links a:hover {
    color: var(--primary-orange);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.05);
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* =========================================
   Subpages Content Wrapper
   ========================================= */
.page-content {
    padding: 150px 0 100px;
    min-height: 80vh;
}

.page-content h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--accent-gold);
}

.page-content h2 {
    font-size: 1.8rem;
    margin: 40px 0 20px;
}

.page-content p, .page-content li {
    color: var(--text-muted);
    margin-bottom: 15px;
    font-size: 1.1rem;
}

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

/* =========================================
   How to Play Section
   ========================================= */
.how-to-play {
    padding: 100px 0;
    background: var(--bg-dark);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    text-align: center;
}

.step-card {
    padding: 40px 20px;
}

.step-number {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    background: var(--primary-gradient);
    color: #fff;
    font-size: 1.8rem;
    font-weight: 800;
    font-family: 'Outfit', sans-serif;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-glow);
}

/* =========================================
   Screenshots Section
   ========================================= */
.screenshots {
    padding: 100px 0;
    background: var(--bg-light);
}

.screenshot-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 30px;
    justify-items: center;
}

.screenshot-item {
    border-radius: 20px;
    overflow: hidden;
    transition: transform 0.3s ease;
    padding: 10px;
}

.screenshot-item img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    display: block;
}

.screenshot-item:hover {
    transform: translateY(-10px) scale(1.02);
}

/* =========================================
   Responsive Design
   ========================================= */
@media (max-width: 900px) {
    .hero-container {
        flex-direction: column;
        text-align: center;
    }
    
    .hero p {
        margin: 0 auto 30px;
    }
    
    .cta-buttons {
        justify-content: center;
    }
    
    .hero h1 {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(10, 11, 22, 0.95);
        backdrop-filter: blur(10px);
        flex-direction: column;
        padding: 20px;
        text-align: center;
        border-bottom: 1px solid var(--glass-border);
    }

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

    .mobile-menu-btn {
        display: block;
    }
    
    .contact-box {
        padding: 30px 20px;
    }
    
    .email-display {
        flex-direction: column;
        padding: 15px;
        word-break: break-all;
    }
}
