/* ====================================================================
   ⛩️ STYLESHEET PRINCIPAL - KITSUNECRAFT ATM10 (Tech-Magic Shrine)
   ==================================================================== */

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

:root {
    /* 🦊 Identidade Oficial Kitsune & Sakura */
    --color-kitsune-primary: #F39C12;
    --color-kitsune-orange: #E67E22;
    --color-sakura-pink: #FD79A8;
    --color-sakura-soft: #F8A5C2;
    
    /* ⚡ ATM10 Minérios & Energia */
    --color-atm-star: #FFD700;
    --color-allthemodium: #F1C40F;
    --color-vibranium: #00CEC9;
    --color-vibranium-blue: #0984E3;
    --color-unobtainium: #9B51E0;
    --color-unobtainium-purple: #6C5CE7;

    /* 🌌 Superfícies & Fundo Oficial */
    --bg-night-base: #0f1016;
    --bg-night-surface: #171923;
    --bg-night-card: rgba(26, 29, 41, 0.85);
    --bg-glass: rgba(23, 25, 35, 0.8);
    --border-glass: rgba(255, 255, 255, 0.08);
    --border-neon-glow: rgba(0, 206, 201, 0.3);
    --border-gold-glow: rgba(255, 215, 0, 0.35);

    /* 📝 Textos */
    --text-pure-white: #FFFFFF;
    --text-main: #F1F2F6;
    --text-muted: #A4B0BE;
    --text-dim: #747D8C;

    /* 🎨 Gradientes de Assinatura */
    --grad-kitsune-sakura: linear-gradient(135deg, #F39C12 0%, #FD79A8 100%);
    --grad-atm-power: linear-gradient(135deg, #FFD700 0%, #00CEC9 50%, #9B51E0 100%);
    --grad-vibranium-glow: linear-gradient(135deg, #00CEC9 0%, #0984E3 100%);
    --grad-dark-card: linear-gradient(180deg, rgba(30, 33, 48, 0.95) 0%, rgba(18, 20, 29, 0.98) 100%);

    /* ✨ Efeitos de Iluminação / Glow */
    --glow-kitsune: 0 0 20px rgba(243, 156, 18, 0.45);
    --glow-sakura: 0 0 20px rgba(253, 121, 168, 0.45);
    --glow-atm-star: 0 0 25px rgba(255, 215, 0, 0.5);
    --glow-vibranium: 0 0 20px rgba(0, 206, 201, 0.4);

    /* ✍️ Tipografia */
    --font-heading: 'Montserrat', sans-serif;
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: 'JetBrains Mono', monospace;

    /* Transições & Sombras */
    --transition-smooth: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-epic: 0 20px 50px -15px rgba(0, 0, 0, 0.8), 0 0 35px -10px rgba(243, 156, 18, 0.3);
    --shadow-card: 0 10px 30px -5px rgba(0, 0, 0, 0.6);
}

/* Reset Global */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--bg-night-base);
    color: var(--text-main);
    font-family: var(--font-main);
    overflow-x: hidden;
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
    background: radial-gradient(circle at 50% 0%, #1a1c27 0%, #10121a 50%, #090a0f 100%);
    background-attachment: fixed;
    color: var(--text-main);
}

/* Canvas de Partículas / Pétalas de Sakura */
#particles-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

/* Containers */
.container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 1.5rem;
    position: relative;
    z-index: 2;
}

/* Contêiner Principal SPA com Compensação da Navbar Fixa */
#app-view {
    padding-top: 76px; /* Garante que o conteúdo NUNCA fique oculto atrás da navbar */
    min-height: calc(100vh - 280px);
    position: relative;
    z-index: 2;
}

/* Tipografia */
h1, h2, h3, h4, .font-heading {
    font-family: var(--font-heading);
    letter-spacing: -0.01em;
}

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

.text-gradient-atm {
    background: var(--grad-atm-power);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ====================================================================
   HEADER & NAVBAR FIXA (UX Impecável, Vidro Fosco & Espaçamento)
   ==================================================================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 76px;
    z-index: 1000;
    background: rgba(15, 16, 22, 0.88);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    transition: var(--transition-smooth);
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 1.5rem;
}

/* Brand Logo */
.brand-logo {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    text-decoration: none;
    flex-shrink: 0;
}

.brand-logo-img {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    border: 1.5px solid var(--color-kitsune-primary);
    box-shadow: 0 0 15px rgba(243, 156, 18, 0.35);
    object-fit: cover;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 900;
    color: var(--text-pure-white);
    line-height: 1.1;
    letter-spacing: 0.02em;
}

.logo-sub {
    font-size: 0.68rem;
    text-transform: uppercase;
    color: var(--color-kitsune-primary);
    font-weight: 800;
    letter-spacing: 0.12em;
}

/* Links de Navegação */
.nav-links {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 1.8rem;
    margin: 0 auto;
}

.nav-link {
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition-smooth);
    position: relative;
    padding: 0.5rem 0;
}

.nav-link:hover, .nav-link.active {
    color: #FFFFFF;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--grad-kitsune-sakura);
    transition: var(--transition-smooth);
    border-radius: 2px;
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

/* Ações da Navbar (Widget de Status, Áudio, Discord) */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    flex-shrink: 0;
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
    padding: 0.4rem;
}

/* ====================================================================
   HERO SECTION (Grandeza Visual, Sem Cortes e Alinhamento Preciso)
   ==================================================================== */
.hero-section {
    position: relative;
    padding: 5rem 0 5.5rem;
    text-align: center;
    overflow: hidden;
    background-image: linear-gradient(180deg, rgba(15, 16, 22, 0.72) 0%, rgba(15, 16, 22, 0.94) 75%, #0f1016 100%), url('../assets/images/banner_kitsunecraft_atm10.jpg');
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    border-bottom: 1px solid rgba(0, 206, 201, 0.2);
}

.hero-glow {
    position: absolute;
    top: 20%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 700px;
    height: 450px;
    background: radial-gradient(circle, rgba(243, 156, 18, 0.22) 0%, rgba(253, 121, 168, 0.15) 45%, transparent 75%);
    filter: blur(95px);
    pointer-events: none;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 920px;
    margin: 0 auto;
}

.hero-badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: rgba(23, 25, 35, 0.85);
    border: 1px solid rgba(255, 215, 0, 0.35);
    padding: 0.5rem 1.3rem;
    border-radius: 9999px;
    margin-bottom: 2rem;
    backdrop-filter: blur(12px);
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.45);
    font-size: 0.88rem;
}

.status-indicator-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #34d399;
    box-shadow: 0 0 10px #34d399;
    animation: statusPulse 2s infinite ease-in-out;
}

.hero-title {
    font-size: 3.2rem;
    font-weight: 900;
    line-height: 1.15;
    margin-bottom: 1.3rem;
    color: var(--text-pure-white);
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.7);
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-muted);
    line-height: 1.65;
    max-width: 740px;
    margin: 0 auto 2.5rem;
    font-weight: 400;
}

/* Banner de Urgência dos Fundadores */
.fomo-banner {
    background: linear-gradient(135deg, rgba(243, 156, 18, 0.18) 0%, rgba(253, 121, 168, 0.12) 100%);
    border: 1px solid rgba(255, 215, 0, 0.45);
    border-radius: 16px;
    padding: 1.2rem 1.8rem;
    margin: 0 auto 2.5rem;
    max-width: 820px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    box-shadow: 0 0 35px -5px rgba(243, 156, 18, 0.3);
    animation: fomoPulse 3s infinite ease-in-out;
}

.fomo-left {
    display: flex;
    align-items: center;
    gap: 1.1rem;
    text-align: left;
}

.fomo-icon-wrap {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(243, 156, 18, 0.25);
    border: 1px solid rgba(255, 215, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-atm-star);
    font-size: 1.5rem;
    flex-shrink: 0;
}

.fomo-title {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--text-pure-white);
    margin-bottom: 0.2rem;
}

.fomo-subtitle {
    font-size: 0.88rem;
    color: var(--text-muted);
}

.fomo-countdown-box {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    background: rgba(15, 16, 22, 0.85);
    border: 1px solid rgba(255, 215, 0, 0.4);
    padding: 0.6rem 1.4rem;
    border-radius: 12px;
    flex-shrink: 0;
}

.fomo-days-num {
    font-family: var(--font-mono);
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--color-atm-star);
}

.fomo-days-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    color: var(--text-muted);
    font-weight: 700;
}

.countdown-grid-boxes {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.countdown-unit {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 38px;
}

.countdown-unit .fomo-days-num {
    font-size: 1.35rem;
    line-height: 1.1;
}

.countdown-unit .fomo-days-label {
    font-size: 0.65rem;
}

.countdown-separator {
    color: var(--color-atm-star);
    font-weight: 800;
    font-size: 1.2rem;
    margin-top: -10px;
}

/* Caixa Principal de Conexão com IP & Botão de Copiar */
.hero-connect-box {
    background: rgba(23, 25, 35, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    padding: 1.3rem 2rem;
    margin: 0 auto 2.5rem;
    max-width: 680px;
    box-shadow: var(--shadow-epic);
    backdrop-filter: blur(16px);
}

.ip-bar-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.ip-details {
    text-align: left;
    display: flex;
    flex-direction: column;
}

.ip-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--text-dim);
    margin-bottom: 0.25rem;
}

.ip-address {
    font-family: var(--font-mono);
    font-size: 1.45rem;
    font-weight: 800;
    color: var(--text-pure-white);
    letter-spacing: 0.03em;
}

.btn-copy-action {
    background: var(--grad-kitsune-sakura);
    color: #10121a;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 0.95rem;
    padding: 0.75rem 1.6rem;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition-smooth);
    box-shadow: 0 4px 20px rgba(243, 156, 18, 0.4);
    flex-shrink: 0;
}

.btn-copy-action:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(253, 121, 168, 0.6);
    background: linear-gradient(135deg, #FFD700 0%, #FD79A8 100%);
}

.btn-copy-action.copied-active {
    background: #10b981 !important;
    color: #fff !important;
    box-shadow: 0 0 25px rgba(16, 185, 129, 0.7) !important;
}

/* Botões CTA do Hero */
.hero-cta-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.2rem;
    flex-wrap: wrap;
}

/* ====================================================================
   SEÇÕES GERAIS (Headers e Espaçamento)
   ==================================================================== */
.section-header {
    text-align: center;
    margin-bottom: 3.5rem;
    position: relative;
}

.section-subtitle {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-kitsune-primary);
    background: rgba(243, 156, 18, 0.1);
    padding: 0.4rem 1.1rem;
    border-radius: 9999px;
    border: 1px solid rgba(243, 156, 18, 0.3);
    margin-bottom: 0.8rem;
}

.section-title {
    font-size: 2.3rem;
    font-weight: 800;
    color: var(--text-pure-white);
    margin-bottom: 0.8rem;
}

.section-desc {
    color: var(--text-muted);
    font-size: 1.05rem;
    max-width: 680px;
    margin: 0 auto;
    line-height: 1.6;
}

/* ====================================================================
   DIFERENCIAIS GRID (4 Cards)
   ==================================================================== */
.features-section {
    padding: 5rem 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.8rem;
}

.feature-card {
    padding: 2.2rem 1.8rem;
    border-radius: 18px;
    background: var(--bg-night-card);
    border: 1px solid var(--border-glass);
    transition: var(--transition-smooth);
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: rgba(243, 156, 18, 0.4);
    box-shadow: 0 15px 35px -5px rgba(0, 0, 0, 0.6), 0 0 25px rgba(243, 156, 18, 0.2);
}

.feature-icon-wrapper {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: rgba(243, 156, 18, 0.12);
    border: 1px solid rgba(243, 156, 18, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.4rem;
}

.feature-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-pure-white);
    margin-bottom: 0.7rem;
}

.feature-desc {
    font-size: 0.92rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ====================================================================
   DISCORD BANNER CTA
   ==================================================================== */
.discord-cta-section {
    padding: 3rem 0 6rem;
}

.discord-banner-cta {
    border-radius: 20px;
    padding: 3.5rem;
    border: 1px solid rgba(88, 101, 242, 0.35);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7);
}

.discord-cta-content h3 {
    font-size: 1.8rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 0.6rem;
}

.discord-cta-content p {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.55;
}

/* ====================================================================
   FOOTER (Rodapé Oficial)
   ==================================================================== */
.site-footer {
    background: #090a0f;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 4.5rem 0 2rem;
    margin-top: auto;
    position: relative;
    z-index: 2;
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.2fr;
    gap: 3rem;
    margin-bottom: 3.5rem;
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-top: 1rem;
    max-width: 320px;
}

.footer-col h4 {
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

.footer-col a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition-smooth);
}

.footer-col a:hover {
    color: var(--color-kitsune-primary);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding-top: 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    color: var(--text-dim);
    font-size: 0.85rem;
}

/* ====================================================================
   RESPONSIVIDADE (Tablets & Mobiles)
   ==================================================================== */
@media (max-width: 992px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 76px;
        left: 0;
        width: 100%;
        background: rgba(15, 16, 22, 0.98);
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

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

    .mobile-toggle {
        display: block;
    }

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

    .discord-banner-cta {
        flex-direction: column;
        text-align: center;
        padding: 2.5rem;
    }

    .footer-top {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 640px) {
    .hero-title {
        font-size: 2rem;
    }

    .fomo-banner {
        flex-direction: column;
        text-align: center;
    }

    .fomo-left {
        flex-direction: column;
        text-align: center;
    }

    .ip-bar-wrapper {
        flex-direction: column;
        text-align: center;
    }

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

    .footer-top {
        grid-template-columns: 1fr;
    }
}

@keyframes fomoPulse {
    0%, 100% { border-color: rgba(255, 215, 0, 0.45); }
    50% { border-color: var(--color-atm-star); box-shadow: 0 0 40px rgba(255, 215, 0, 0.45); }
}

@keyframes statusPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(0.85); }
}
