@import './tokens.css';
@import './socials.css';

:root {
    --primary:    var(--color-pink);
    --secondary:  var(--color-cyan);
    --news:       var(--color-gold);
    --bg-dark:    var(--color-bg);
    --text-main:  var(--color-text);
    --text-muted: #7a8494;
    --radius:     20px;
    --transition: var(--transition-base);
}

*:not(i) {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: var(--font-base) !important;
}
i { font-family: inherit; }

html, body { height: 100%; }

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    min-height: 100vh;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Vignette */
body::after {
    content: '';
    position: fixed;
    inset: 0;
    background: radial-gradient(ellipse at 50% 50%, transparent 35%, rgba(var(--color-bg-rgb), 0.75) 100%);
    pointer-events: none;
    z-index: 1;
    }


/* Grid */
.bg-grid {
    position: fixed;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.022) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.022) 1px, transparent 1px);
    background-size: 64px 64px;
    background-position: center center;
    pointer-events: none;
    z-index: 1;
    }


/* Blobs */
.blob {
    position: fixed;
    border-radius: 50%;
    filter: blur(90px);
    pointer-events: none;
    z-index: 5;
    animation: blobPulse 9s ease-in-out infinite;
}
.blob-pink {
    width: 560px;
    height: 560px;
    background: radial-gradient(circle, rgba(var(--color-pink-rgb), 0.13) 0%, transparent 70%);
    top: -140px;
    right: -100px;
}
.blob-cyan {
    width: 480px;
    height: 480px;
    background: radial-gradient(circle, rgba(var(--color-cyan-rgb), 0.09) 0%, transparent 70%);
    bottom: -120px;
    left: -100px;
    animation-delay: -4.5s;
}
@keyframes blobPulse {
    0%, 100% { transform: scale(1);    opacity: 0.8; }
    50%       { transform: scale(1.15); opacity: 1;   }
}

/* Page Transition */
@keyframes overlayEnter {
    from { opacity: 1; }
    to   { opacity: 0; }
}
@keyframes overlayLeave {
    from { opacity: 0; }
    to   { opacity: 1; }
}
#page-transition {
    position: fixed;
    inset: 0;
    background: var(--bg-dark);
    z-index: 1007;
    pointer-events: none;
    animation: overlayEnter 0.55s ease-out both;
}

/* Layout */
.wrapper {
    position: relative;
    z-index: 1006;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 24px 40px;
    gap: 56px;
}

/* Hero */
.hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    text-align: center;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 7px 18px;
    border-radius: 50px;
    border: 1px solid rgba(var(--color-pink-rgb), 0.35);
    background: rgba(var(--color-pink-rgb), 0.07);
    font-size: 0.68rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--primary);
    font-weight: 700;
}
.badge::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--primary);
    flex-shrink: 0;
    animation: dotPulse 2.2s ease-in-out infinite;
}
@keyframes dotPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%       { opacity: 0.4; transform: scale(0.65); }
}

.name {
    font-size: clamp(4rem, 11vw, 9rem);
    font-weight: 900;
    letter-spacing: 0.05em;
    line-height: 1;
    background: linear-gradient(90deg, var(--primary), var(--secondary), var(--news), var(--primary));
    background-size: 400% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: nameFlow 15s linear infinite;
    filter: drop-shadow(0 0 50px rgba(var(--color-pink-rgb), 0.22));
}
@keyframes nameFlow {
    from { background-position: 0% center; }
    to   { background-position: 400% center; }
}

.tagline {
    font-size: clamp(0.78rem, 1.8vw, 0.95rem);
    color: var(--text-muted);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-weight: 500;
}

/* Footer */
footer {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 0 0 28px;
    color: rgba(255, 255, 255, 0.15);
    font-size: 0.75rem;
    letter-spacing: 0.1em;
}

/* Responsive */
@media (max-width: 600px) {
    .wrapper { gap: 44px; padding: 48px 20px 36px; }
    .name { letter-spacing: 0.02em; }
    .tagline { letter-spacing: 0.08em; }
}

@media (max-width: 360px) {
    .name { font-size: 3.2rem; }
}
