/* ============================================
   ZENTECH — PREMIUM DESIGN SYSTEM
   ============================================ */

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

:root {
    --cyan-400: #22d3ee;
    --cyan-500: #06b6d4;
    --cyan-600: #0891b2;
    --blue-400: #60a5fa;
    --blue-500: #3b82f6;
    --blue-glow: rgba(6, 182, 212, 0.35);
    --green-wpp: #25d366;
    --green-wpp-dim: rgba(37, 211, 102, 0.12);
    --green-wpp-border: rgba(37, 211, 102, 0.22);
    --pink-ig: #e1306c;
    --pink-ig-dim: rgba(225, 48, 108, 0.10);
    --pink-ig-border: rgba(225, 48, 108, 0.20);
    --blue-tg: #2AABEE;
    --bg-body: #020810;
    --bg-card: rgba(8, 16, 32, 0.55);
    --glass-border: rgba(255, 255, 255, 0.04);
    --text-primary: #f0f4f8;
    --text-secondary: rgba(240, 244, 248, 0.55);
    --text-muted: rgba(240, 244, 248, 0.3);
}

html {
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    width: 100%;
    height: 100vh;
    overflow: hidden;
    background: var(--bg-body);
    font-family: 'Plus Jakarta Sans', 'Inter', system-ui, sans-serif;
    color: var(--text-primary);
}

/* ===== CANVAS ===== */
#motherboard-canvas {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

/* ===== PARTICLES ===== */
.particles {
    position: fixed;
    inset: 0;
    z-index: 2;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 2px;
    height: 2px;
    background: var(--cyan-400);
    border-radius: 50%;
    box-shadow: 0 0 6px var(--cyan-500);
    animation: particleDrift linear infinite;
    opacity: 0;
}

@keyframes particleDrift {
    0% {
        opacity: 0;
        transform: translateY(0) scale(0);
    }

    8% {
        opacity: 0.5;
        transform: scale(1);
    }

    85% {
        opacity: 0.15;
    }

    100% {
        opacity: 0;
        transform: translateY(-100vh) scale(0.2);
    }
}

/* ===== SCANLINE ===== */
.scanline {
    position: fixed;
    inset: 0;
    z-index: 50;
    pointer-events: none;
    background: repeating-linear-gradient(0deg,
            transparent 0px,
            transparent 2px,
            rgba(0, 0, 0, 0.012) 2px,
            rgba(0, 0, 0, 0.012) 4px);
}

/* ===== PAGE WRAPPER ===== */
.page-wrapper {
    position: relative;
    z-index: 10;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 48px 20px;
}

/* ===== CONTENT CARD (glassmorphism) ===== */
.content-card {
    width: 100%;
    max-width: 440px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

/* ===== AVATAR ===== */
.avatar-container {
    position: relative;
    width: 200px;
    height: 200px;
    margin-bottom: 32px;
    animation: avatarEnter 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    opacity: 0;
    transform: scale(0.7) translateY(20px);
}

@keyframes avatarEnter {
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* Soft glow behind avatar */
.avatar-glow {
    position: absolute;
    inset: -20px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--blue-glow) 0%, transparent 70%);
    animation: glowBreath 4s ease-in-out infinite alternate;
    filter: blur(8px);
}

@keyframes glowBreath {
    0% {
        opacity: 0.7;
        transform: scale(0.95);
    }

    100% {
        opacity: 1;
        transform: scale(1.15);
    }
}

/* Outer ring */
.avatar-ring-outer {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    padding: 5px;
    background: conic-gradient(from 0deg,
            var(--cyan-500),
            var(--blue-500),
            var(--cyan-400),
            var(--cyan-600),
            var(--blue-400),
            var(--cyan-500));
    box-shadow:
        0 0 18px rgba(6, 182, 212, 0.25),
        0 0 40px rgba(6, 182, 212, 0.08);
    animation: ringGlow 3s ease-in-out infinite alternate;
}

@keyframes ringGlow {
    0% {
        box-shadow: 0 0 25px rgba(6, 182, 212, 0.4), 0 0 50px rgba(6, 182, 212, 0.15);
    }

    100% {
        box-shadow: 0 0 40px rgba(6, 182, 212, 0.7), 0 0 80px rgba(6, 182, 212, 0.3);
    }
}

/* Inner ring (dark gap) */
.avatar-ring-inner {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    padding: 3px;
    background: var(--bg-body);
    overflow: hidden;
}

.avatar-img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    object-position: center 15%;
    display: block;
    filter: brightness(0.75);
}

/* ===== BRAND NAME ===== */
.brand-name {
    font-family: 'Orbitron', monospace;
    font-size: 42px;
    font-weight: 900;
    letter-spacing: 12px;
    color: var(--text-primary);
    text-shadow:
        0 0 30px rgba(6, 182, 212, 0.15),
        0 0 60px rgba(6, 182, 212, 0.06);
    margin-bottom: 6px;
    animation: fadeUp 0.9s ease-out 0.25s forwards, textBluePulse 2s ease-in-out infinite alternate 1.15s;
    opacity: 0;
    transform: translateY(12px);
}

@keyframes textBluePulse {
    0% {
        color: var(--text-primary);
        text-shadow:
            0 0 10px rgba(6, 182, 212, 0.2),
            0 0 20px rgba(6, 182, 212, 0.1);
    }

    100% {
        color: #dcf8ff;
        text-shadow:
            0 0 15px rgba(6, 182, 212, 0.9),
            0 0 30px rgba(6, 182, 212, 0.7),
            0 0 50px rgba(6, 182, 212, 0.5);
    }
}

.brand-logo-z {
    height: 2.5em;
    width: auto;
    vertical-align: middle;
    margin-right: -2px;
    margin-bottom: 0.05em;
    display: inline-block;
    filter: drop-shadow(0 0 14px rgba(6, 182, 212, 0.5));
    animation: pulseLogo 2s ease-in-out infinite alternate;
}

@keyframes pulseLogo {
    0% {
        filter: drop-shadow(0 0 10px rgba(6, 182, 212, 0.3));
        transform: scale(0.98) translateY(0px);
    }

    100% {
        filter: drop-shadow(0 0 25px rgba(6, 182, 212, 0.9)) drop-shadow(0 0 10px rgba(6, 182, 212, 0.6));
        transform: scale(1.05) translateY(-2px);
    }
}

.brand-logo-z:hover {
    filter: drop-shadow(0 0 20px rgba(6, 182, 212, 0.7));
}

.brand-tagline {
    font-family: 'Orbitron', monospace;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 5px;
    color: var(--cyan-500);
    text-transform: uppercase;
    margin-bottom: 18px;
    animation: fadeUp 0.9s ease-out 0.4s forwards;
    opacity: 0;
    transform: translateY(12px);
}

.brand-bio {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: #ffffff;
    text-align: center;
    line-height: 1.7;
    margin-bottom: 32px;
    animation: fadeUp 0.9s ease-out 0.55s forwards;
    opacity: 0;
    transform: translateY(12px);
}

.brand-bio strong {
    color: #22d3ee;
    font-weight: 600;
}

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

/* ===== LINK BUTTONS ===== */
.links-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 32px;
    animation: fadeUp 0.9s ease-out 0.7s forwards;
    opacity: 0;
    transform: translateY(12px);
}

.link-btn {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 20px;
    border-radius: 16px;
    text-decoration: none;
    color: #fff;
    cursor: pointer;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    overflow: hidden;
}

/* Efeito de brilho interno (Shine) rodando continuamente */
.link-btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(to right,
            rgba(255, 255, 255, 0) 0%,
            rgba(255, 255, 255, 0.12) 50%,
            rgba(255, 255, 255, 0) 100%);
    transform: skewX(-25deg);
    animation: shineSweep 4s infinite cubic-bezier(0.25, 0.8, 0.25, 1);
    pointer-events: none;
}

@keyframes shineSweep {
    0% {
        left: -100%;
    }

    25% {
        left: 200%;
    }

    100% {
        left: 200%;
    }
}

.link-btn:hover {
    transform: translateY(-3px) scale(1.01);
}

.link-btn:active {
    transform: translateY(0) scale(0.99);
}

/* WhatsApp */
.link-whatsapp {
    background: linear-gradient(135deg, #0e2a16 0%, #153d1f 50%, #0e2a16 100%);
    border: 1px solid rgba(37, 211, 102, 0.4);
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.1);
}

.link-whatsapp:hover {
    background: linear-gradient(135deg, #123520 0%, #1a4d28 50%, #123520 100%);
    border-color: rgba(37, 211, 102, 0.6);
    box-shadow: 0 8px 32px rgba(37, 211, 102, 0.2);
}

/* Instagram */
.link-instagram {
    background: linear-gradient(135deg, #2a0e18 0%, #3d1524 50%, #2a0e18 100%);
    border: 1px solid rgba(225, 48, 108, 0.4);
    box-shadow: 0 4px 20px rgba(225, 48, 108, 0.1);
}

.link-instagram:hover {
    background: linear-gradient(135deg, #351220 0%, #4d1a2e 50%, #351220 100%);
    border-color: rgba(225, 48, 108, 0.6);
    box-shadow: 0 8px 32px rgba(225, 48, 108, 0.2);
}

/* Telegram */
.link-telegram {
    background: linear-gradient(135deg, #091a26 0%, #0e2b40 50%, #091a26 100%);
    border: 1px solid rgba(42, 171, 238, 0.4);
    box-shadow: 0 4px 20px rgba(42, 171, 238, 0.1);
}

.link-telegram:hover {
    background: linear-gradient(135deg, #0c2233 0%, #153e5e 50%, #0c2233 100%);
    border-color: rgba(42, 171, 238, 0.6);
    box-shadow: 0 8px 32px rgba(42, 171, 238, 0.2);
}

/* Icon wrapper */
.link-icon-wrap {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.link-btn:hover .link-icon-wrap {
    transform: scale(1.1);
}

.link-icon-wpp {
    background: rgba(37, 211, 102, 0.12);
    color: var(--green-wpp);
}

.link-icon-ig {
    background: rgba(225, 48, 108, 0.12);
    color: var(--pink-ig);
}

.link-icon-tg {
    background: rgba(42, 171, 238, 0.12);
    color: var(--blue-tg);
}

.link-icon-wrap svg {
    width: 22px;
    height: 22px;
}

/* Text */
.link-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1;
    min-width: 0;
}

.link-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 15px;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: 0.2px;
}

.link-subtitle {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 12px;
    font-weight: 400;
    color: var(--text-muted);
    letter-spacing: 0.1px;
}

/* Badge */
.link-badge {
    font-family: 'Orbitron', monospace;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 1.5px;
    padding: 5px 14px;
    border-radius: 20px;
    flex-shrink: 0;
    text-transform: uppercase;
}

.badge-green {
    background: rgba(37, 211, 102, 0.15);
    color: var(--green-wpp);
    border: 1px solid rgba(37, 211, 102, 0.3);
}

.badge-pink {
    background: rgba(225, 48, 108, 0.15);
    color: var(--pink-ig);
    border: 1px solid rgba(225, 48, 108, 0.3);
}

.badge-blue {
    background: rgba(42, 171, 238, 0.15);
    color: var(--blue-tg);
    border: 1px solid rgba(42, 171, 238, 0.3);
}

/* ===== STATS ===== */
.stats {
    display: flex;
    align-items: center;
    gap: 28px;
    margin-bottom: 36px;
    animation: fadeUp 0.9s ease-out 0.85s forwards;
    opacity: 0;
    transform: translateY(12px);
}

.stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.stat-number {
    font-family: 'Orbitron', monospace;
    font-size: 16px;
    font-weight: 700;
    color: var(--cyan-400);
    text-shadow: 0 0 12px rgba(34, 211, 238, 0.25);
}

.stat-text {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 9px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
    letter-spacing: 3px;
    text-transform: uppercase;
}

.stat-sep {
    width: 1px;
    height: 28px;
    background: linear-gradient(180deg, transparent 0%, rgba(6, 182, 212, 0.2) 50%, transparent 100%);
}

/* ===== FOOTER ===== */
.footer {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 10px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.1);
    letter-spacing: 3px;
    text-transform: uppercase;
    animation: fadeUp 0.9s ease-out 1s forwards;
    opacity: 0;
    transform: translateY(12px);
}

/* ===== VIGNETTE ===== */
body::after {
    content: '';
    position: fixed;
    inset: 0;
    z-index: 3;
    pointer-events: none;
    background: radial-gradient(ellipse 60% 60% at 50% 50%,
            transparent 25%,
            rgba(2, 8, 16, 0.8) 100%);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 480px) {
    .page-wrapper {
        padding: 15px 12px;
    }

    .avatar-container {
        width: 130px;
        height: 130px;
        margin-bottom: 15px;
    }

    .brand-name {
        font-size: 26px;
        letter-spacing: 6px;
    }

    .brand-logo-z {
        height: 1.8em;
    }

    .brand-tagline {
        font-size: 8px;
        letter-spacing: 3px;
        margin-bottom: 12px;
    }

    .brand-bio {
        font-size: 13px;
        line-height: 1.5;
        margin-bottom: 20px;
    }

    .links-container {
        gap: 10px;
        margin-bottom: 20px;
    }

    .link-btn {
        padding: 12px 14px;
        gap: 10px;
        border-radius: 12px;
    }

    .link-icon-wrap {
        width: 36px;
        height: 36px;
    }

    .link-icon-wrap svg {
        width: 18px;
        height: 18px;
    }

    .link-title {
        font-size: 13px;
    }

    .link-subtitle {
        font-size: 9px;
    }

    .link-badge {
        font-size: 8px;
        padding: 4px 10px;
    }

    .stats {
        gap: 15px;
        margin-bottom: 15px;
    }

    .stat-number {
        font-size: 12px;
    }

    .stat-text {
        font-size: 7px;
    }

    .footer {
        font-size: 9px;
    }
}

@media (max-height: 700px) {
    .page-wrapper {
        padding: 10px;
    }

    .avatar-container {
        width: 110px;
        height: 110px;
        margin-bottom: 12px;
    }

    .brand-name {
        font-size: 24px;
        margin-bottom: 2px;
    }

    .brand-bio {
        margin-bottom: 15px;
    }

    .links-container {
        gap: 8px;
        margin-bottom: 15px;
    }

    .link-btn {
        padding: 10px 14px;
    }

    .stats {
        margin-bottom: 15px;
    }
}