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

:root {
    --color-primary: #ED6A1C;
    --color-secondary: #FF6B35;
    --color-dark: #2A1003;
    --color-brown: #5B2308;
    --color-light: #FFFDF6;
    --color-cream: #FFD69E;
    --color-gold: #F1A319;
    --color-border: #8C4C2E;
}

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

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

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 253, 246, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--color-cream);
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav.scrolled {
    box-shadow: 0 2px 20px rgba(42, 16, 3, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-logo {
    width: 60px;
    height: auto;
}

.nav-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--color-dark);
}

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

.nav-links a {
    color: var(--color-brown);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-primary);
    transition: width 0.3s ease;
}

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

.nav-links a:hover::after {
    width: 100%;
}

/* Hero Section */
.hero {
    padding: 150px 20px 100px;
    background: linear-gradient(135deg, var(--color-light) 0%, var(--color-cream) 100%);
}

.hero-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 800;
    line-height: 1.1;
    color: var(--color-dark);
    margin-bottom: 20px;
    letter-spacing: -2px;
}

.hero-title .accent {
    color: var(--color-primary);
}

.hero-subtitle {
    font-size: 1.4rem;
    color: var(--color-brown);
    line-height: 1.6;
}

.hero-image {
    text-align: center;
}

.mascot-large {
    width: 100%;
    max-width: 400px;
    height: auto;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

/* Games Section */
.games {
    padding: 100px 20px;
    background: white;
}

.section-title {
    font-size: 3rem;
    font-weight: 800;
    color: var(--color-dark);
    margin-bottom: 60px;
    text-align: center;
}

.section-title.left {
    text-align: left;
}

.game-featured {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-bottom: 80px;
    padding: 60px;
    background: var(--color-light);
    border-radius: 30px;
    border: 2px solid var(--color-cream);
}

.game-info {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
}

.game-badge {
    display: inline-block;
    background: var(--color-primary);
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.game-title {
    font-size: 3rem;
    font-weight: 800;
    color: var(--color-dark);
    margin-bottom: 5px;
    letter-spacing: -1px;
}

.game-tagline {
    font-size: 1.3rem;
    color: var(--color-brown);
    margin-bottom: 20px;
    font-style: italic;
}

.game-description p {
    font-size: 1.1rem;
    color: var(--color-brown);
    line-height: 1.8;
    margin-bottom: 30px;
}

.game-highlights {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-bottom: 30px;
}

.highlight {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 15px;
    background: white;
    border-radius: 10px;
    border: 1px solid var(--color-cream);
    font-weight: 500;
    color: var(--color-dark);
}

.highlight-icon {
    font-size: 1.3rem;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--color-primary);
    color: white;
    padding: 16px 35px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 12px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background: var(--color-secondary);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(237, 106, 28, 0.3);
}

.apple-icon {
    width: 22px;
    height: 22px;
}

.game-preview {
    display: flex;
    align-items: center;
}

.preview-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    width: 100%;
}

.preview-card {
    aspect-ratio: 16/9;
}

.screenshot-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--color-cream) 0%, var(--color-gold) 100%);
    border-radius: 20px;
    border: 3px solid var(--color-border);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 8px;
    padding: 15px;
    transition: transform 0.3s ease;
}

.screenshot-placeholder:hover {
    transform: translateY(-5px);
}

.screenshot-placeholder p {
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-dark);
}

.screenshot-placeholder span {
    font-size: 0.8rem;
    color: var(--color-brown);
}

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

.future-game-card {
    aspect-ratio: 16/9;
    background: var(--color-light);
    border: 2px dashed var(--color-cream);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.future-placeholder {
    text-align: center;
    color: var(--color-brown);
}

.future-icon {
    font-size: 3rem;
    display: block;
    margin-bottom: 15px;
    opacity: 0.5;
}

.future-placeholder p {
    font-size: 1.1rem;
    font-style: italic;
}

/* About Section */
.about {
    padding: 100px 20px;
    background: var(--color-dark);
    color: var(--color-light);
}

.about .section-title {
    color: var(--color-gold);
}

.about-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-text {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 20px;
    color: var(--color-cream);
}

.about-tagline {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-top: 30px;
    font-style: italic;
}

.about-visual {
    text-align: center;
}

.about-character {
    width: 100%;
    max-width: 350px;
    height: auto;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.5));
}

/* Contact Section */
.contact {
    padding: 100px 20px;
    background: white;
}

.contact-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.contact-text {
    font-size: 1.3rem;
    color: var(--color-brown);
    margin-bottom: 15px;
}

.contact-methods {
    margin-top: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.contact-link {
    color: var(--color-primary);
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
}

.contact-link::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--color-primary);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.contact-link:hover {
    color: var(--color-secondary);
}

.contact-link:hover::after {
    transform: scaleX(1);
}

.divider {
    color: var(--color-cream);
    font-size: 1.5rem;
}

/* Footer */
.footer {
    background: var(--color-dark);
    color: var(--color-light);
    padding: 60px 20px 30px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--color-brown);
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 15px;
}

.footer-logo {
    width: 70px;
    height: auto;
    opacity: 0.8;
}

.footer-tagline {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--color-gold);
}

.footer-links {
    display: flex;
    gap: 25px;
}

.footer-links a {
    color: var(--color-cream);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.footer-bottom {
    text-align: center;
    color: var(--color-light);
}

/* Responsive Design */
@media (max-width: 968px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-title {
        font-size: 3rem;
    }

    .game-featured {
        grid-template-columns: 1fr;
        padding: 40px 30px;
    }

    .preview-grid {
        grid-template-columns: 1fr;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .nav-links {
        gap: 20px;
    }

    .game-highlights {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .nav-links {
        display: none;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .game-title {
        font-size: 2rem;
    }

    .game-featured {
        padding: 30px 20px;
    }

    .footer-content {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }

    .footer-links {
        flex-direction: column;
        gap: 15px;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Scroll Reveal Animation */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}
