/* Jaguar Interactive - Pastel Game Studio Theme */
:root {
    --bg: #faf8f5;
    --bg-alt: #f0ede8;
    --surface: #ffffff;
    --text: #2d2a26;
    --text-light: #6b6560;
    --text-muted: #9e9892;
    --accent: #e87f5f;       /* Warm pastel orange from logo */
    --accent-hover: #d46a4a;
    --accent-light: #fdf0ec;
    --lavender: #c4a8d8;     /* Soft purple */
    --lavender-light: #f3eef8;
    --mint: #8ecfbd;          /* Soft teal/mint */
    --mint-light: #edf8f5;
    --peach: #f5c5a3;
    --radius: 12px;
    --radius-lg: 20px;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.08);
    --shadow-lg: 0 8px 40px rgba(0,0,0,0.1);
    --transition: 0.3s ease;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', -apple-system, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
    font-family: 'Space Grotesk', sans-serif;
    line-height: 1.2;
}

/* ---- NAVBAR ---- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(250, 248, 245, 0.9);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0,0,0,0.06);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: var(--text);
}

.logo-img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.logo-text {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: -0.02em;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: var(--text-light);
    font-size: 0.95rem;
    font-weight: 500;
    transition: color var(--transition);
}

.nav-link:hover { color: var(--accent); }

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.mobile-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: var(--transition);
}

/* ---- HERO ---- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 2rem 80px;
    max-width: 1200px;
    margin: 0 auto;
    gap: 4rem;
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.hero-badge {
    display: inline-block;
    background: var(--accent-light);
    color: var(--accent);
    padding: 0.4rem 1rem;
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 3.8rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    margin-bottom: 1.5rem;
    color: var(--text);
}

.highlight {
    color: var(--accent);
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 2rem;
    max-width: 520px;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-visual {
    flex-shrink: 0;
}

.hero-logo {
    width: 280px;
    height: 280px;
    object-fit: contain;
    filter: drop-shadow(0 20px 40px rgba(232, 127, 95, 0.2));
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-16px); }
}

/* ---- BUTTONS ---- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.75rem;
    border-radius: var(--radius);
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all var(--transition);
    border: none;
}

.btn-primary {
    background: var(--accent);
    color: #fff;
    box-shadow: 0 4px 14px rgba(232, 127, 95, 0.3);
}

.btn-primary:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(232, 127, 95, 0.4);
}

.btn-outline {
    background: transparent;
    color: var(--text);
    border: 2px solid var(--bg-alt);
}

.btn-outline:hover {
    border-color: var(--accent);
    color: var(--accent);
}

/* ---- SECTIONS ---- */
.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-intro {
    text-align: center;
    margin-bottom: 3.5rem;
}

.section-intro h2 {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 0.75rem;
}

.section-intro p {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 500px;
    margin: 0 auto;
}

/* ---- GAMES SHOWCASE ---- */
.games {
    padding: 100px 0;
    background: var(--bg-alt);
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 1.5rem;
}

.game-card {
    background: var(--surface);
    border-radius: var(--radius-lg);
    padding: 2rem;
    transition: all var(--transition);
    border: 1px solid rgba(0,0,0,0.04);
}

.game-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.game-card.featured {
    grid-column: 1 / -1;
    background: linear-gradient(135deg, var(--accent-light) 0%, var(--lavender-light) 100%);
    border: 1px solid rgba(232, 127, 95, 0.15);
}

.game-tag {
    display: inline-block;
    background: var(--mint-light);
    color: #4a9e8a;
    padding: 0.25rem 0.75rem;
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.game-card.featured .game-tag {
    background: rgba(232, 127, 95, 0.15);
    color: var(--accent);
}

.game-card h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    letter-spacing: -0.01em;
}

.game-card p {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 1.25rem;
}

.game-features {
    list-style: none;
    padding: 0;
    margin: 0 0 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.game-features li {
    color: var(--text-light);
    font-size: 0.92rem;
    line-height: 1.5;
    padding-left: 1.2rem;
    position: relative;
}

.game-features li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: 600;
}

.game-tech {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.game-tech span {
    background: var(--bg-alt);
    color: var(--text-muted);
    padding: 0.2rem 0.65rem;
    border-radius: 6px;
    font-size: 0.78rem;
    font-weight: 500;
}

.game-card.featured .game-tech span {
    background: rgba(255,255,255,0.6);
}

/* ---- GAME CAROUSEL ---- */
.game-carousel {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: 1.25rem;
}

.carousel-track {
    display: flex;
    transition: transform 0.4s ease;
    width: 100%;
}

.carousel-slide {
    min-width: 100%;
    width: 100%;
    flex-shrink: 0;
    overflow: hidden;
}

.placeholder-img {
    width: 100%;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.7);
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    user-select: none;
}

.carousel-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.game-card.featured .placeholder-img,
.game-card.featured .carousel-img {
    height: 260px;
}

/* Portrait carousel for mobile app screenshots */
.portrait-carousel {
    max-width: 260px;
    margin: 0 auto 1.25rem;
}

.portrait-carousel .carousel-img {
    height: 380px;
    object-fit: contain;
    background: #1a1a2e;
    border-radius: var(--radius);
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.85);
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    font-size: 1.2rem;
    line-height: 1;
    cursor: pointer;
    color: var(--text);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--transition);
    box-shadow: var(--shadow-sm);
    z-index: 2;
}

.game-carousel:hover .carousel-btn { opacity: 1; }
.carousel-btn.prev { left: 8px; }
.carousel-btn.next { right: 8px; }
.carousel-btn:hover { background: #fff; }

.carousel-dots {
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
    z-index: 2;
}

.carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: background var(--transition);
}

.carousel-dot.active {
    background: #fff;
}

/* Portrait carousel for mobile app screenshots */
.portrait-carousel .carousel-img {
    height: 360px;
    object-fit: contain;
    background: #1a1a2e;
    border-radius: var(--radius);
}

/* ---- ABOUT / TEAM ---- */
.about {
    padding: 100px 0;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 4rem;
}

.team-card {
    background: var(--surface);
    border-radius: var(--radius-lg);
    padding: 2.5rem 2rem;
    text-align: center;
    border: 1px solid rgba(0,0,0,0.04);
    transition: all var(--transition);
}

.team-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.team-avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 1.3rem;
    color: #fff;
}

.team-avatar-img {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 1.25rem;
    display: block;
}

.miriam-photo {
    object-position: center 20%;
}

.team-card:nth-child(1) .team-avatar { background: var(--accent); }
.team-card:nth-child(2) .team-avatar { background: var(--lavender); }
.team-card:nth-child(3) .team-avatar { background: var(--mint); }

.team-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.team-role {
    color: var(--accent);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.team-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
}

.about-extra {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.about-block {
    background: var(--bg-alt);
    border-radius: var(--radius-lg);
    padding: 2rem;
}

.about-block h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.about-block p {
    color: var(--text-light);
    line-height: 1.7;
}

/* ---- CONTACT ---- */
.contact {
    padding: 100px 0;
    background: var(--bg-alt);
}

.contact-form {
    max-width: 640px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.form-group label {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.75rem 1rem;
    border: 2px solid var(--bg-alt);
    border-radius: var(--radius);
    background: var(--surface);
    color: var(--text);
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    transition: border-color var(--transition);
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--accent);
}

.form-group textarea { resize: vertical; min-height: 120px; }

.btn-submit {
    align-self: flex-start;
    margin-top: 0.5rem;
}

/* ---- FOOTER ---- */
.footer {
    padding: 2.5rem 0;
    border-top: 1px solid rgba(0,0,0,0.06);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    color: var(--text);
}

.footer-logo-img {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.footer-copy {
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* ---- MOBILE ---- */
@media (max-width: 768px) {
    .nav-links { display: none; }
    .nav-links.open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        background: rgba(250, 248, 245, 0.98);
        backdrop-filter: blur(12px);
        padding: 1.5rem 2rem;
        gap: 1rem;
        border-bottom: 1px solid rgba(0,0,0,0.06);
    }
    .mobile-toggle { display: flex; }

    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 100px;
        gap: 2rem;
    }
    .hero-subtitle { margin-left: auto; margin-right: auto; }
    .hero-actions { justify-content: center; }
    .hero-logo { width: 180px; height: 180px; }

    .games-grid { grid-template-columns: 1fr; }
    .game-card.featured { grid-column: auto; }

    .form-row { grid-template-columns: 1fr; }

    .footer-container {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero h1 { font-size: 2rem; }
    .section-intro h2 { font-size: 1.8rem; }
}

/* ---- FORM SUCCESS STATE ---- */
.form-success {
    text-align: center;
    padding: 2rem;
}

.form-success h3 {
    color: var(--accent);
    margin-bottom: 0.5rem;
}

.form-success p {
    color: var(--text-light);
}

/* ---- SCROLL ANIMATIONS ---- */
.fade-up {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}
