/* style.css - Ocayú Landing Page */

/* ==========================================================================
   1. Design Tokens & Root Declarations
   ========================================================================== */
:root {
    --color-bg: #2d3126; /* Verde Floresta */
    --color-surface: #1e2119; /* Superfície Verde Escuro */
    --color-surface-glass: rgba(30, 33, 25, 0.6);
    --color-border: rgba(255, 186, 118, 0.15);
    --color-text: #ffba76; /* Pêssego/Laranja Claro */
    --color-text-muted: rgba(255, 186, 118, 0.6);
    --color-accent: #ffba76;
    --color-accent-dim: rgba(255, 186, 118, 0.15);
    --font-primary: 'Xanh Mono', monospace;
    --transition-smooth: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--color-bg);
    color: var(--color-text);
    font-family: var(--font-primary);
    font-style: italic; /* Todas as fontes Xanh Mono Italic por padrão */
    -webkit-font-smoothing: antialiased;
}

body {
    overflow-x: hidden;
    line-height: 1.6;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ==========================================================================
   2. Typography & Core Layout Elements
   ========================================================================== */
h1, h2, h3, h4 {
    font-weight: 400;
    letter-spacing: -0.02em;
    color: var(--color-text);
    line-height: 1.2;
}

p {
    font-weight: 300;
    color: var(--color-text-muted);
}

.section-title {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 400;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--color-text-muted);
    margin-bottom: 4rem;
    font-weight: 300;
}

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

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

@media (max-width: 900px) {
    .grid-2 {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
}

/* ==========================================================================
   3. Header Navigation (Silent Luxury Style)
   ========================================================================== */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 4rem;
    background: rgba(45, 49, 38, 0.85); /* Fundo com opacidade em verde floresta */
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--color-border);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.main-header.scrolled {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.logo-link {
    display: inline-block;
    text-decoration: none;
}

.logo-img {
    height: 38px;
    width: auto;
    display: block;
}

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

.nav-links a {
    text-decoration: none;
    color: var(--color-text-muted);
    font-size: 0.95rem;
    font-weight: 400;
    font-style: normal; /* ALLCAPS normal */
    text-transform: uppercase; /* ALLCAPS */
    letter-spacing: 0.1em;
    transition: var(--transition-smooth);
}

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

.btn-contact-nav {
    border: 1px solid var(--color-accent);
    padding: 0.5rem 1.5rem;
    border-radius: 8px;
    color: var(--color-accent) !important;
}

.btn-contact-nav:hover {
    background-color: var(--color-accent);
    color: var(--color-bg) !important;
}

@media (max-width: 768px) {
    .main-header {
        padding: 1rem 1.2rem;
    }
    .nav-links {
        gap: 1rem;
    }
    .nav-links a {
        font-size: 0.75rem;
    }
}

/* ==========================================================================
   4. Hero Section (Capa)
   ========================================================================== */
.hero-section {
    position: relative;
    height: 100vh;
    width: 100vw;
    display: flex;
    justify-content: center;
    align-items: center;
    background: radial-gradient(circle at center, rgba(45, 49, 38, 0.5) 0%, var(--color-bg) 100%);
    overflow: hidden;
}

.hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 60%, var(--color-bg));
    z-index: 1;
}

.hero-content {
    position: absolute;
    bottom: 180px; /* Ancorado no rodapé da primeira tela */
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
    padding: 0 1.5rem;
}

.hero-logo-img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); /* Perfeitamente centralizado no meio físico */
    height: 110px;
    width: auto;
    display: block;
    z-index: 2;
}

.coordinates {
    font-size: 1.1rem;
    letter-spacing: 0.35em;
    color: var(--color-accent);
    font-style: normal; /* Coordenadas em AllCaps normal */
    text-transform: uppercase;
    margin-bottom: 50px; /* Mantido 50px de espaçamento para o subtítulo */
}

.hero-subtitle {
    font-size: 1.1rem;
    font-weight: 400;
    letter-spacing: 0.1em;
    color: var(--color-text-muted);
    font-style: normal;
    text-transform: uppercase;
}

/* Scroll indicator animation */
.scroll-indicator {
    position: absolute;
    bottom: 100px; /* 100px acima da extremidade vertical (100vh - 100px) */
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
}

.mouse {
    width: 24px;
    height: 40px;
    border: 1px solid var(--color-text-muted);
    border-radius: 20px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 8px;
    background-color: var(--color-accent);
    border-radius: 2px;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll-wheel 1.6s infinite ease-in-out;
}

@keyframes scroll-wheel {
    0% { transform: translate(-50%, 0); opacity: 0; }
    30% { opacity: 1; }
    100% { transform: translate(-50%, 12px); opacity: 0; }
}

@media (max-width: 768px) {
    .hero-logo-img {
        height: 70px;
        top: 38%;
    }
    .hero-content {
        bottom: 140px;
    }
    .coordinates {
        font-size: 0.8rem;
        margin-bottom: 25px;
        letter-spacing: 0.2em;
    }
    .hero-subtitle {
        font-size: 0.8rem;
    }
    .scroll-indicator {
        bottom: 60px;
    }
}

/* ==========================================================================
   5. O Manifesto
   ========================================================================== */
.manifesto-section {
    position: relative;
    height: 100vh;
    width: 100vw;
    display: flex;
    justify-content: center;
    align-items: center;
    background-image: url('_IMG/SCROLL_2.jpg');
    background-size: cover;
    background-position: center;
    overflow: hidden;
    border-bottom: 1px solid var(--color-border);
}

.manifesto-container {
    position: relative;
    z-index: 2;
    text-align: left; /* Alinhamento do parágrafo à esquerda */
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* Bloco alinhado à esquerda internamente */
    gap: 3.5rem; /* Maior espaçamento vertical para acomodar o marca-texto */
    max-width: 850px;
    padding: 0 2rem;
}

.manifesto-paragraph {
    font-size: 1.3rem; /* Fonte base do segundo parágrafo */
    line-height: 2.2; /* Aumentado para dar espaçamento de quebra ao marca-texto */
    color: var(--color-text); /* #ffba76 */
    font-weight: 300;
    max-width: 750px;
    margin: 0;
}

.manifesto-paragraph span {
    background-color: #2d3126; /* Cor do fundo do site para marca-texto */
    padding: 0.4rem 0.8rem;
    box-decoration-break: clone;
    -webkit-box-decoration-break: clone; /* Efeito de bordas arredondadas/separadas linha por linha */
}

@media (max-width: 768px) {
    .manifesto-paragraph {
        font-size: 1.1rem;
    }
}

/* ==========================================================================
   6. O Território
   ========================================================================== */
.territory-section {
    padding: 8rem 0;
    background-color: #ffba76;
    color: #2d3126;
    border-bottom: 1px solid rgba(45, 49, 38, 0.15);
}

.territory-section .section-title {
    color: #2d3126;
}

.text-lead {
    font-size: 1.5rem;
    color: #2d3126;
    margin-bottom: 1.5rem;
    font-weight: 300;
}

.text-description {
    font-size: 1.1rem;
    color: rgba(45, 49, 38, 0.8);
    margin-bottom: 3rem;
}

.features-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.feature-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.feature-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    color: #2d3126;
    background-color: #ffba76;
    border: 1px solid #2d3126;
    padding: 0.7rem;
    border-radius: 12px;
    line-height: 1;
    flex-shrink: 0;
}

.feature-icon svg {
    width: 40px;
    height: 40px;
    fill: #2d3126;
}

.feature-item h3 {
    font-size: 1.2rem;
    margin-bottom: 0.3rem;
    font-weight: 400;
    color: #2d3126;
}

.feature-item p {
    font-size: 0.95rem;
    color: rgba(45, 49, 38, 0.8);
}

/* Map Card Layout */
.territory-visual {
    height: 500px;
    background-image: url('_IMG/Ocayu_Satellite.jpg');
    background-size: cover;
    background-position: center;
    border-radius: 24px;
    border: 1px solid rgba(45, 49, 38, 0.3);
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.map-card {
    background-color: var(--color-surface-glass);
    backdrop-filter: blur(20px);
    border: 1px solid var(--color-border);
    padding: 2rem;
    border-radius: 16px;
    width: 280px;
    position: relative;
    z-index: 2;
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

@media (max-width: 768px) {
    .territory-section {
        padding: 5rem 0;
    }
    .territory-visual {
        height: 350px;
    }
    .map-card {
        padding: 1.5rem;
        width: 240px;
    }
}

.map-card h4 {
    font-size: 1.25rem;
    margin-bottom: 0.2rem;
}

.map-card p {
    font-size: 0.85rem;
}

.map-card hr {
    border: 0;
    height: 1px;
    background-color: var(--color-border);
    margin: 1rem 0;
}

.map-stat {
    margin-bottom: 0.5rem;
    color: var(--color-text) !important;
}

.map-marker {
    position: absolute;
    top: 30%;
    left: 65%;
    transform: translate(-50%, -50%);
}

.dot {
    width: 12px;
    height: 12px;
    background-color: var(--color-accent);
    border-radius: 50%;
    display: block;
}

.ping {
    width: 36px;
    height: 36px;
    border: 2px solid var(--color-accent);
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: ping-anim 2s infinite ease-out;
}

@keyframes ping-anim {
    0% { transform: translate(-50%, -50%) scale(0.2); opacity: 1; }
    80% { opacity: 0; }
    100% { transform: translate(-50%, -50%) scale(1.6); opacity: 0; }
}

/* ==========================================================================
   7. Os Conceitos (Tabs System)
   ========================================================================== */
.concepts-section {
    padding: 8rem 0;
    border-bottom: 1px solid var(--color-border);
}

.tabs-nav {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 4rem;
}

.tab-btn {
    background-color: var(--color-surface);
    border: 1px solid var(--color-border);
    padding: 1.2rem 2.5rem;
    border-radius: 12px;
    cursor: pointer;
    text-align: left;
    display: flex;
    flex-direction: column;
    transition: var(--transition-smooth);
    font-style: normal; /* ALLCAPS */
    text-transform: uppercase; /* ALLCAPS */
    letter-spacing: 0.05em;
}

.tab-btn span {
    font-size: 0.8rem;
    color: var(--color-accent);
    margin-bottom: 0.2rem;
}

.tab-btn strong {
    font-size: 1.2rem;
    color: var(--color-text);
    font-weight: 400;
}

.tab-btn:hover, .tab-btn.active {
    background-color: var(--color-accent);
    border-color: var(--color-accent);
}

.tab-btn:hover span, .tab-btn.active span {
    color: rgba(45, 49, 38, 0.7);
}

.tab-btn:hover strong, .tab-btn.active strong {
    color: var(--color-bg);
}

.tabs-container {
    background-color: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 24px;
    overflow: hidden;
    min-height: 480px;
}

.tab-content {
    display: none;
    animation: fade-tab 0.5s ease;
}

.tab-content.active {
    display: block;
}

@keyframes fade-tab {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.concept-details {
    padding: 4rem;
}

.concept-details h3 {
    font-size: 2.2rem;
    margin: 1rem 0;
}

.concept-desc-text {
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.badge {
    background-color: var(--color-accent-dim);
    color: var(--color-accent);
    padding: 0.3rem 1rem;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 50px;
    border: 1px solid rgba(197, 168, 128, 0.3);
}

.concept-specs {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.concept-specs li {
    font-size: 0.95rem;
    color: var(--color-text-muted);
}

.concept-specs li strong {
    color: #fff;
    font-weight: 400;
}

/* Concept Images placeholders representing design visual */
.concept-image-holder {
    height: 500px;
    position: relative;
    background-size: cover;
    background-position: center;
}

.concept-img-campus {
    background-image: radial-gradient(circle, rgba(11, 12, 14, 0.4) 0%, rgba(11, 12, 14, 0.9) 100%), linear-gradient(to right, #1d332d, #1b262f);
}

.concept-img-oca {
    background-image: radial-gradient(circle, rgba(11, 12, 14, 0.4) 0%, rgba(11, 12, 14, 0.9) 100%), linear-gradient(to right, #2c251e, #1a222a);
}

.concept-img-cabanas {
    background-image: radial-gradient(circle, rgba(11, 12, 14, 0.4) 0%, rgba(11, 12, 14, 0.9) 100%), linear-gradient(to right, #1a221f, #0d0f11);
}

.concept-image-overlay {
    position: absolute;
    bottom: 2rem;
    left: 2rem;
    background-color: rgba(11, 12, 14, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid var(--color-border);
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
}

.concept-image-overlay span {
    font-size: 0.85rem;
    letter-spacing: 0.05em;
    color: #fff;
}

@media (max-width: 768px) {
    .concept-details {
        padding: 2rem 1.5rem;
    }
    .concept-image-holder {
        height: 260px;
    }
    .tabs-nav {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 0.5rem;
        margin-bottom: 2.5rem;
    }
    .tab-btn {
        padding: 0.8rem 0.4rem;
        align-items: center;
        text-align: center;
        border-radius: 8px;
    }
    .tab-btn span {
        font-size: 0.65rem;
        margin-bottom: 0.1rem;
    }
    .tab-btn strong {
        font-size: 0.85rem;
    }
    .concept-details h3 {
        font-size: 1.6rem;
    }
    .concept-desc-text {
        font-size: 0.95rem;
    }
}

/* ==========================================================================
   8. A Evolução (Timeline)
   ========================================================================== */
.evolution-section {
    padding: 8rem 0;
    border-bottom: 1px solid var(--color-border);
}

.evolution-wrapper {
    position: relative;
    max-width: 900px;
    margin: 4rem auto 0;
}

.timeline-line {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    background: linear-gradient(to bottom, var(--color-accent) 0%, var(--color-border) 100%);
}

.timeline-item {
    display: flex;
    justify-content: flex-end;
    width: 50%;
    padding: 2rem 3rem;
    position: relative;
}

.timeline-item.right {
    align-self: flex-end;
    justify-content: flex-start;
    margin-left: 50%;
}

.timeline-badge {
    position: absolute;
    top: 2.2rem;
    right: -2.35rem;
    background-color: var(--color-accent);
    color: var(--color-bg);
    width: 75px;
    height: 24px;
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 3px solid var(--color-bg);
    z-index: 10;
}

.timeline-item.right .timeline-badge {
    left: -2.35rem;
}

.timeline-panel {
    background-color: var(--color-surface);
    border: 1px solid var(--color-border);
    padding: 2rem;
    border-radius: 16px;
    position: relative;
}

.timeline-year {
    font-size: 0.85rem;
    color: var(--color-accent);
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    display: block;
    margin-bottom: 0.5rem;
}

.timeline-panel h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.timeline-meta {
    font-size: 0.8rem;
    color: var(--color-text-muted);
    border-top: 1px solid var(--color-border);
    display: block;
    padding-top: 0.8rem;
    margin-top: 1rem;
}

@media (max-width: 768px) {
    .timeline-line {
        left: 1.5rem;
    }
    .timeline-item {
        width: 100%;
        margin-left: 0 !important;
        padding-left: 3rem;
        padding-right: 0;
        justify-content: flex-start;
    }
    .timeline-badge {
        left: 0.35rem !important;
        right: auto !important;
    }
    .timeline-panel {
        padding: 1.5rem;
    }
}

/* ==========================================================================
   9. Contato / Formulário
   ========================================================================== */
.contact-section {
    padding: 8rem 0;
    background-color: var(--color-bg);
}

.contact-box {
    background-color: var(--color-surface);
    border: 1px solid var(--color-border);
    padding: 4rem;
    border-radius: 24px;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

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

.contact-box p {
    font-size: 1.1rem;
    margin-bottom: 3rem;
}

#contact-form {
    text-align: left;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.form-group label {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    font-style: normal; /* ALLCAPS */
    text-transform: uppercase; /* ALLCAPS */
    letter-spacing: 0.1em;
}

.form-group input, .form-group select, .form-group textarea {
    background-color: var(--color-bg);
    border: 1px solid var(--color-border);
    padding: 1rem;
    border-radius: 8px;
    color: var(--color-text);
    font-family: var(--font-primary);
    font-size: 1rem;
    font-weight: 300;
    transition: var(--transition-smooth);
}

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

.btn-submit {
    background-color: var(--color-accent);
    color: var(--color-bg);
    border: none;
    padding: 1.2rem 3rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    font-style: normal; /* ALLCAPS */
    text-transform: uppercase; /* ALLCAPS */
    letter-spacing: 0.1em;
    cursor: pointer;
    width: 100%;
    margin-top: 1rem;
    transition: var(--transition-smooth);
}

.btn-submit:hover {
    background-color: var(--color-text);
    color: var(--color-surface);
}

.success-message {
    background-color: rgba(46, 204, 113, 0.15);
    border: 1px solid #2ecc71;
    padding: 2rem;
    border-radius: 12px;
    color: #2ecc71;
    font-weight: 400;
}

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    .contact-box {
        padding: 2rem;
    }
}

/* ==========================================================================
   10. Footer
   ========================================================================== */
.main-footer {
    border-top: 1px solid var(--color-border);
    padding: 4rem 0;
    background-color: var(--color-surface);
}

.main-footer p {
    font-size: 0.9rem;
}

.footer-sub {
    color: var(--color-accent);
    margin-top: 0.5rem;
}

/* ==========================================================================
   11. Scroll Animations (CSS Scroll-Driven)
   ========================================================================== */
@media (prefers-reduced-motion: no-preference) {
    @supports ((animation-timeline: view()) and (animation-range: entry)) {
        
        /* Keyframes */
        @keyframes reveal-up {
            from {
                opacity: 0;
                transform: translateY(60px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }
        
        /* Scroll Animated Classes */
        .reveal-element {
            animation: reveal-up auto linear backwards;
            animation-timeline: view();
            animation-range: entry 10% cover 40%;
        }

        .hero-content {
            animation: fade-out-hero auto linear forwards;
            animation-timeline: view();
            animation-range: exit 0% exit 80%;
        }

        .hero-logo-img {
            animation: fade-out-logo auto linear forwards;
            animation-timeline: view();
            animation-range: exit 0% exit 60%;
        }

        .scroll-indicator {
            animation: fade-out-indicator auto linear forwards;
            animation-timeline: view();
            animation-range: exit 0% exit 20%; /* Fades out very early in the scroll */
        }

        @keyframes fade-out-hero {
            to {
                opacity: 0;
                transform: translate(-50%, -50px); /* Keeps base horizontal align */
            }
        }

        @keyframes fade-out-logo {
            to {
                opacity: 0;
            }
        }

        @keyframes fade-out-indicator {
            to {
                opacity: 0;
            }
        }
    }
}

/* IntersectionObserver Fallback Classes (For unsupported browsers) */
.reveal-element {
    transition: opacity 1s ease, transform 1s ease;
}

.fade-in-element {
    transition: opacity 1.5s ease;
}

/* Class attached by JS when native scroll-driven animations are missing */
.js-reveal .reveal-element {
    opacity: 0;
    transform: translateY(40px);
}

.js-reveal .reveal-element.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================================================
   12. Access Gate (Tela de Bloqueio de Acesso Público)
   ========================================================================== */
#access-gate {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: var(--color-bg); /* #2d3126 */
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 1;
    transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1), visibility 0.8s;
}

#access-gate.unlocked {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

/* If already unlocked in previous session, hide the gate immediately to prevent content flashing */
.gate-unlocked #access-gate {
    display: none !important;
}

.gate-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
    max-width: 360px;
    padding: 2.5rem;
    animation: fade-in-gate 1.2s ease;
}

@keyframes fade-in-gate {
    from { opacity: 0; transform: translateY(15px); }
    to { opacity: 1; transform: translateY(0); }
}

.gate-logo {
    height: 90px;
    width: auto;
    margin-bottom: 2.5rem;
}

.gate-prompt {
    font-size: 1.15rem;
    color: var(--color-text-muted);
    margin-bottom: 2.5rem;
    font-style: italic;
    line-height: 1.5;
}

.gate-form {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 1.2rem;
}

#gate-key {
    background: transparent;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    color: var(--color-text);
    padding: 0.9rem 1.2rem;
    font-family: var(--font-primary);
    font-style: normal;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-size: 0.95rem;
    text-align: center;
    outline: none;
    transition: var(--transition-smooth);
}

#gate-key:focus {
    border-color: var(--color-accent);
    box-shadow: 0 0 12px rgba(255, 186, 118, 0.15);
}

.gate-btn {
    background-color: var(--color-accent);
    color: var(--color-bg);
    border: 1px solid var(--color-accent);
    border-radius: 8px;
    padding: 0.9rem 1.2rem;
    font-family: var(--font-primary);
    font-style: normal;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.gate-btn:hover {
    background-color: transparent;
    color: var(--color-accent);
}

.gate-error-msg {
    color: #ff6b6b;
    font-size: 0.9rem;
    margin-top: 1.2rem;
    font-style: italic;
}

@media (max-width: 480px) {
    .gate-content {
        max-width: 290px;
        padding: 1.5rem;
    }
    .gate-logo {
        height: 70px;
        margin-bottom: 2rem;
    }
    .gate-prompt {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    #gate-key, .gate-btn {
        padding: 0.8rem 1rem;
        font-size: 0.9rem;
    }
}

