/* ============================================
   ARENA TRAMPOLIM — Site oficial do app
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Unbounded:wght@400;600;800;900&family=Outfit:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;700&display=swap');

:root {
    --bg: #0a0612;
    --bg-deep: #050308;
    --ink: #ffffff;
    --ink-dim: rgba(255, 255, 255, 0.7);
    --ink-faint: rgba(255, 255, 255, 0.4);

    --pink: #ff2bd6;
    --magenta: #ff0080;
    --orange: #ff6b1a;
    --yellow: #ffd60a;
    --cyan: #00e5ff;
    --blue: #4d6bff;
    --purple: #8b2cff;

    --gradient-hero: linear-gradient(135deg, #ff0080 0%, #ff6b1a 35%, #ffd60a 60%, #00e5ff 100%);
    --gradient-pink-cyan: linear-gradient(135deg, #ff2bd6 0%, #00e5ff 100%);
    --gradient-warm: linear-gradient(135deg, #ff0080 0%, #ff6b1a 50%, #ffd60a 100%);
    --gradient-card: linear-gradient(135deg, rgba(255, 43, 214, 0.12) 0%, rgba(0, 229, 255, 0.12) 100%);

    --font-display: 'Unbounded', sans-serif;
    --font-body: 'Outfit', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
}

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

html { scroll-behavior: smooth; }

body {
    background: var(--bg);
    color: var(--ink);
    font-family: var(--font-body);
    font-weight: 400;
    line-height: 1.5;
    overflow-x: hidden;
    min-height: 100vh;
    position: relative;
}

/* ambient background glows */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background:
        radial-gradient(ellipse 900px 700px at 10% 5%, rgba(255, 43, 214, 0.22), transparent 60%),
        radial-gradient(ellipse 800px 600px at 90% 90%, rgba(0, 229, 255, 0.18), transparent 60%),
        radial-gradient(ellipse 700px 500px at 50% 50%, rgba(139, 44, 255, 0.1), transparent 70%);
    pointer-events: none;
    z-index: 0;
}

/* grain overlay */
body::after {
    content: '';
    position: fixed;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' /%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
    opacity: 0.06;
    pointer-events: none;
    z-index: 1;
    mix-blend-mode: overlay;
}

main, header, footer, nav { position: relative; z-index: 2; }

/* ============================================
   NAVIGATION
   ============================================ */
nav {
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    text-decoration: none;
    color: var(--ink);
}

.nav-brand img {
    height: 44px;
    width: auto;
    filter: drop-shadow(0 0 12px rgba(255, 43, 214, 0.4));
}

.nav-links {
    display: flex;
    gap: 1.75rem;
    align-items: center;
}

.nav-links a {
    color: var(--ink-dim);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    font-family: var(--font-body);
    transition: color 0.2s;
    letter-spacing: 0.02em;
}

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

.lang-switch {
    border: 1px solid var(--ink-faint);
    padding: 0.4rem 0.9rem;
    border-radius: 999px;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: all 0.25s;
}

.lang-switch:hover {
    border-color: var(--pink);
    color: var(--ink) !important;
    background: rgba(255, 43, 214, 0.12);
    box-shadow: 0 0 20px rgba(255, 43, 214, 0.3);
}

/* ============================================
   HERO
   ============================================ */
.hero {
    padding: 3rem 2rem 6rem;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    min-height: 85vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-eyebrow {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    color: var(--cyan);
    margin-bottom: 1.75rem;
    opacity: 0;
    animation: fadeUp 0.8s 0.1s forwards;
}

.hero-logo {
    max-width: 480px;
    width: 70%;
    height: auto;
    margin-bottom: 2rem;
    filter: drop-shadow(0 10px 40px rgba(255, 43, 214, 0.35));
    opacity: 0;
    animation: fadeUp 0.9s 0.15s forwards;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.8rem, 8vw, 6.5rem);
    font-weight: 800;
    line-height: 0.95;
    letter-spacing: -0.04em;
    margin-bottom: 1.75rem;
    opacity: 0;
    animation: fadeUp 0.8s 0.25s forwards;
    max-width: 900px;
}

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

.hero-title .cyan-text {
    background: var(--gradient-pink-cyan);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 1.6vw, 1.35rem);
    color: var(--ink-dim);
    max-width: 640px;
    margin-bottom: 2.5rem;
    line-height: 1.55;
    font-weight: 400;
    opacity: 0;
    animation: fadeUp 0.8s 0.35s forwards;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    opacity: 0;
    animation: fadeUp 0.8s 0.45s forwards;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 1.05rem 2rem;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.25s;
    cursor: pointer;
    border: none;
    font-family: var(--font-body);
    letter-spacing: 0.01em;
}

.btn-primary {
    background: var(--gradient-warm);
    color: var(--bg-deep);
    box-shadow: 0 8px 32px rgba(255, 107, 26, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 44px rgba(255, 43, 214, 0.6);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.04);
    color: var(--ink);
    border: 1px solid var(--ink-faint);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    border-color: var(--cyan);
    background: rgba(0, 229, 255, 0.08);
    color: var(--cyan);
}

/* decorative floating elements */
.hero-deco {
    position: absolute;
    pointer-events: none;
    z-index: -1;
}

.hero-deco-1 {
    top: 5%;
    right: -5%;
    width: 50%;
    max-width: 600px;
    opacity: 0.85;
    animation: floatA 14s infinite ease-in-out;
}

.hero-deco-2 {
    bottom: 0%;
    right: 8%;
    width: 25%;
    max-width: 280px;
    opacity: 0.6;
    animation: floatB 10s infinite ease-in-out;
}

@keyframes floatA {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(-20px, -25px) rotate(8deg); }
}

@keyframes floatB {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(15px, -20px) rotate(-12deg); }
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ============================================
   SECTIONS GENERAL
   ============================================ */
section {
    padding: 5rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
}

.section-eyebrow {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    color: var(--cyan);
    margin-bottom: 1rem;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4.5vw, 3.8rem);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -0.03em;
    margin-bottom: 3rem;
    max-width: 900px;
}

/* ============================================
   FEATURE GRID — minigames
   ============================================ */
.minigames-section { position: relative; }

.minigames-section .deco-bg {
    position: absolute;
    top: 10%;
    right: -10%;
    width: 40%;
    max-width: 500px;
    opacity: 0.3;
    pointer-events: none;
    z-index: -1;
    animation: floatA 18s infinite ease-in-out;
}

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

.feature-card {
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1.75rem;
    padding: 2rem;
    position: relative;
    overflow: hidden;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(12px);
}

.feature-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-card);
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
}

.feature-card::after {
    content: '';
    position: absolute;
    top: 0; left: 0;
    height: 3px;
    width: 0%;
    background: var(--gradient-warm);
    transition: width 0.4s ease;
}

.feature-card:hover {
    transform: translateY(-6px);
    border-color: rgba(255, 43, 214, 0.4);
}

.feature-card:hover::before { opacity: 1; }
.feature-card:hover::after { width: 100%; }

.feature-card > * { position: relative; z-index: 1; }

.feature-icon {
    width: 56px;
    height: 56px;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-warm);
    margin-bottom: 1.5rem;
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--bg-deep);
    font-family: var(--font-mono);
}

.feature-card h3 {
    font-family: var(--font-display);
    font-size: 1.45rem;
    font-weight: 700;
    margin-bottom: 0.7rem;
    letter-spacing: -0.02em;
}

.feature-card p {
    color: var(--ink-dim);
    font-size: 0.97rem;
    line-height: 1.65;
}

.feature-tag {
    display: inline-block;
    margin-top: 1.25rem;
    font-family: var(--font-mono);
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--cyan);
    padding: 0.3rem 0.7rem;
    border: 1px solid rgba(0, 229, 255, 0.3);
    border-radius: 999px;
}

/* ============================================
   ABOUT / SPLIT
   ============================================ */
.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.split-image {
    border-radius: 1.75rem;
    overflow: hidden;
    aspect-ratio: 4 / 5;
    position: relative;
    box-shadow: 0 30px 80px rgba(255, 43, 214, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.split-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.split-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(10, 6, 18, 0.5) 100%);
    pointer-events: none;
}

.split-text h2 {
    font-family: var(--font-display);
    font-size: clamp(1.9rem, 3.8vw, 3rem);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -0.03em;
    margin-bottom: 1.5rem;
}

.split-text p {
    color: var(--ink-dim);
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 1rem;
}

/* ============================================
   GALLERY
   ============================================ */
.gallery {
    display: grid;
    grid-template-columns: 2fr 1fr;
    grid-template-rows: repeat(2, 1fr);
    gap: 1.25rem;
    height: 600px;
}

.gallery-item {
    border-radius: 1.5rem;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.gallery-item:first-child {
    grid-row: span 2;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s;
}

.gallery-item:hover img { transform: scale(1.05); }

/* ============================================
   HOW IT WORKS (motion-based gameplay)
   ============================================ */
.how-section {
    position: relative;
    overflow: hidden;
}

.how-section .deco-bg {
    position: absolute;
    bottom: -10%;
    left: -10%;
    width: 50%;
    max-width: 600px;
    opacity: 0.25;
    pointer-events: none;
    z-index: -1;
    animation: floatB 16s infinite ease-in-out;
}

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

.how-step {
    position: relative;
}

.how-step-number {
    font-family: var(--font-display);
    font-size: 4rem;
    font-weight: 900;
    line-height: 1;
    background: var(--gradient-pink-cyan);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1rem;
    letter-spacing: -0.05em;
}

.how-step h3 {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    letter-spacing: -0.02em;
}

.how-step p {
    color: var(--ink-dim);
    font-size: 0.97rem;
    line-height: 1.65;
}

/* ============================================
   DOWNLOAD CTA
   ============================================ */
.download-cta {
    text-align: center;
    padding: 6rem 2rem 4rem;
    position: relative;
}

.download-cta .deco-element {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    max-width: 800px;
    opacity: 0.15;
    pointer-events: none;
    z-index: -1;
    animation: floatA 20s infinite ease-in-out;
}

.download-cta h2 {
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.03em;
    margin-bottom: 1.5rem;
}

.download-cta p {
    color: var(--ink-dim);
    font-size: 1.15rem;
    max-width: 580px;
    margin: 0 auto 2rem;
}

/* ============================================
   FOOTER
   ============================================ */
footer {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 3rem 2rem 2rem;
    margin-top: 2rem;
}

.footer-inner {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.footer-brand-block {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.footer-brand-block img {
    height: 36px;
    width: auto;
    opacity: 0.85;
}

.footer-brand {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--ink-faint);
    letter-spacing: 0.05em;
}

.footer-links {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--ink-dim);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s;
}

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

/* ============================================
   PRIVACY PAGE
   ============================================ */
.privacy-content {
    max-width: 820px;
    margin: 0 auto;
    padding: 5rem 2rem;
}

.privacy-content h1 {
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.03em;
    margin-bottom: 1rem;
}

.privacy-content .last-updated {
    font-family: var(--font-mono);
    font-size: 0.78rem;
    color: var(--ink-faint);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 3rem;
}

.privacy-content h2 {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 700;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    color: var(--ink);
    letter-spacing: -0.02em;
}

.privacy-content p,
.privacy-content li {
    color: var(--ink-dim);
    font-size: 1rem;
    line-height: 1.75;
    margin-bottom: 1rem;
}

.privacy-content ul { padding-left: 1.5rem; margin-bottom: 1rem; }

.privacy-content a {
    color: var(--cyan);
    text-decoration: none;
    border-bottom: 1px solid currentColor;
}

.privacy-content strong { color: var(--ink); }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 900px) {
    .split { grid-template-columns: 1fr; gap: 2rem; }
    .gallery { grid-template-columns: 1fr; height: auto; }
    .gallery-item { aspect-ratio: 4 / 3; }
    .gallery-item:first-child { grid-row: auto; }
}

@media (max-width: 768px) {
    nav { padding: 1rem; }
    .nav-brand img { height: 36px; }
    .hero { padding: 2rem 1rem 4rem; min-height: 70vh; }
    section { padding: 3.5rem 1rem; }
    .hero-deco-1 { display: none; }
    .hero-deco-2 { display: none; }
    .nav-links { gap: 0.75rem; }
    .nav-links a:not(.lang-switch) { display: none; }
}
