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

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

:root {
    --primary: #ff1493;
    --primary-light: #ff69b4;
    --secondary: #a855f7;
    --accent: #06b6d4;
    --dark: #0f0f1e;
    --darker: #0a0a14;
    --light: #ffffff;
    --text-secondary: #b8b8c8;
    --text-tertiary: #7d7d8a;
    --card-bg: rgba(255, 255, 255, 0.05);
    --card-border: rgba(255, 255, 255, 0.1);
}

html {
    scroll-behavior: auto;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    overflow-x: hidden;
    background: var(--dark);
    color: var(--light);
    line-height: 1.6;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000000;
    z-index: -1;
    pointer-events: none;
}

/* Background Video */
.bg-video {
    display: none;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000000;
    z-index: -1;
    pointer-events: none;
}

.overlay.behind-visualizer {
    z-index: -2;
}

/* Visualizer Canvas */
.visualizer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 500;
    display: none;
    mix-blend-mode: screen;
}

.visualizer.active {
    display: block;
    animation: visualizer-fade-in 0.3s ease-out;
}

@keyframes visualizer-fade-in {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Animated Stars Background */
.stars {
    display: none;
}

.stars::before {
    display: none;
}

/* Camera Shake Effect */
@keyframes camera-shake {
    0%, 100% { transform: translate(0, 0); }
    10% { transform: translate(-3px, -3px); }
    20% { transform: translate(3px, 3px); }
    30% { transform: translate(-2px, 2px); }
    40% { transform: translate(2px, -2px); }
    50% { transform: translate(-1px, -1px); }
    60% { transform: translate(1px, 1px); }
    70% { transform: translate(-2px, 2px); }
    80% { transform: translate(2px, -2px); }
    90% { transform: translate(-1px, -1px); }
}

/* Geometric Background Patterns */
.geometric-patterns {
    display: none;
}

/* Entry Screen - Beautiful Blur & Overlay */
.entry-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1), display 0s linear 0.8s;
    pointer-events: auto;
    background: #000000;
}

.pattern-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.4;
    pointer-events: none;
}

.entry-patterns {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
}

.pattern-group circle,
.pattern-lines line {
    transform-origin: center;
    animation: pattern-float 8s ease-in-out infinite;
}

.pattern-group circle:nth-child(1) { animation-delay: 0s; }
.pattern-group circle:nth-child(2) { animation-delay: 0.5s; }
.pattern-group circle:nth-child(3) { animation-delay: 1s; }
.pattern-group circle:nth-child(4) { animation-delay: 1.5s; }
.pattern-group circle:nth-child(5) { animation-delay: 2s; }

@keyframes pattern-float {
    0%, 100% { transform: scale(1) translateY(0); }
    50% { transform: scale(1.1) translateY(-10px); }
}

.entry-screen.hidden {
    opacity: 0;
    pointer-events: none;
    display: none;
}

.animated-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    display: none;
}

/* Animated Gradient Orbs */
.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    mix-blend-mode: screen;
    opacity: 0.6;
}

.orb-1 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 20, 147, 0.8), transparent);
    top: -100px;
    left: -100px;
    animation: float-orb-1 8s ease-in-out infinite;
}

.orb-2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.7), transparent);
    bottom: -150px;
    right: -100px;
    animation: float-orb-2 10s ease-in-out infinite;
}

.orb-3 {
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.6), transparent);
    top: 50%;
    right: -50px;
    animation: float-orb-3 9s ease-in-out infinite;
}

@keyframes float-orb-1 {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(50px, 50px); }
}

@keyframes float-orb-2 {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(-50px, -50px); }
}

@keyframes float-orb-3 {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(-30px, 30px); }
}

/* Noise Texture Overlay */
.noise-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        url("data:image/svg+xml,%3Csvg width='100' height='100' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' seed='2' /%3E%3CfeDisplacementMap in='SourceGraphic' scale='2' /%3E%3C/filter%3E%3Crect width='100' height='100' fill='%23ffffff' opacity='0.05' filter='url(%23noise)' /%3E%3C/svg%3E");
    pointer-events: none;
    mix-blend-mode: overlay;
    animation: grain-shift 3s ease-in-out infinite;
}

@keyframes grain-shift {
    0%, 100% { opacity: 0.05; }
    50% { opacity: 0.08; }
}

/* Blur Layer */
.entry-screen::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    z-index: 1;
    pointer-events: none;
}

.entry-content {
    position: relative;
    z-index: 2;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 40px;
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    min-height: 100vh;
}

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

.entry-text h2 {
    font-size: 140px;
    font-weight: 300;
    letter-spacing: 8px;
    text-transform: lowercase;
    margin: 0;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.entry-text h2 .letter {
    background: linear-gradient(135deg, #ff1493 0%, #a855f7 25%, #06b6d4 75%, #ff1493 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: letter-blink 1.5s ease-in-out infinite;
    display: inline-block;
}

.entry-text h2 .letter:nth-child(1) { animation-delay: 0s; }
.entry-text h2 .letter:nth-child(2) { animation-delay: 0.2s; }
.entry-text h2 .letter:nth-child(3) { animation-delay: 0.4s; }
.entry-text h2 .letter:nth-child(4) { animation-delay: 0.6s; }
.entry-text h2 .letter:nth-child(5) { animation-delay: 0.8s; }

@keyframes letter-blink {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 1; }
}

.entry-text h2:hover .letter {
    animation: none;
    opacity: 1;
}

@keyframes shimmer {
    0%, 100% {
        filter: drop-shadow(0 0 30px rgba(255, 20, 147, 0.3));
    }
    50% {
        filter: drop-shadow(0 0 60px rgba(255, 20, 147, 0.6));
    }
}

.entry-hint {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 30px;
    animation: float-text 3s ease-in-out infinite;
    letter-spacing: 1px;
    font-weight: 300;
}

@keyframes float-text {
    0%, 100% { opacity: 0.4; transform: translateY(0); }
    50% { opacity: 0.8; transform: translateY(-5px); }
}

.entry-btn {
    width: 160px;
    height: 160px;
    border: none;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    cursor: pointer;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    box-shadow: 0 0 100px rgba(255, 20, 147, 0.6), 0 0 150px rgba(168, 85, 247, 0.4), inset 0 0 30px rgba(255, 255, 255, 0.1);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    backdrop-filter: blur(10px);
    animation: button-phase 6s ease-in-out infinite;
}

@keyframes button-phase {
    0% { transform: scale(1) translateY(0); box-shadow: 0 0 100px rgba(255, 20, 147, 0.6), 0 0 150px rgba(168, 85, 247, 0.4), inset 0 0 30px rgba(255, 255, 255, 0.1); }
    25% { transform: scale(1.08) translateY(-5px); box-shadow: 0 0 120px rgba(255, 20, 147, 0.8), 0 0 180px rgba(168, 85, 247, 0.6), inset 0 0 40px rgba(255, 255, 255, 0.15); }
    50% { transform: scale(1) translateY(0); box-shadow: 0 0 80px rgba(6, 182, 212, 0.7), 0 0 120px rgba(168, 85, 247, 0.3), inset 0 0 25px rgba(255, 255, 255, 0.1); }
    75% { transform: scale(1.08) translateY(-5px); box-shadow: 0 0 120px rgba(255, 20, 147, 0.8), 0 0 180px rgba(168, 85, 247, 0.6), inset 0 0 40px rgba(255, 255, 255, 0.15); }
    100% { transform: scale(1) translateY(0); box-shadow: 0 0 100px rgba(255, 20, 147, 0.6), 0 0 150px rgba(168, 85, 247, 0.4), inset 0 0 30px rgba(255, 255, 255, 0.1); }
}

.entry-btn:hover {
    transform: scale(1.12) !important;
    box-shadow: 0 0 140px rgba(255, 20, 147, 0.9), 0 0 200px rgba(168, 85, 247, 0.7), inset 0 0 50px rgba(255, 255, 255, 0.2) !important;
}

.entry-btn:active {
    transform: scale(0.92) !important;
}

.phase-ring {
    position: absolute;
    border-radius: 50%;
    animation: phase-expand 3s ease-out infinite;
}

.phase-1 {
    width: 160px;
    height: 160px;
    border: 3px solid rgba(255, 20, 147, 0.8);
    animation-delay: 0s;
}

.phase-2 {
    width: 160px;
    height: 160px;
    border: 2px solid rgba(168, 85, 247, 0.5);
    animation-delay: 0.6s;
}

.phase-3 {
    width: 160px;
    height: 160px;
    border: 1px solid rgba(6, 182, 212, 0.4);
    animation-delay: 1.2s;
}

@keyframes phase-expand {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    100% {
        transform: scale(2);
        opacity: 0;
    }
}

/* Container */
.container {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 30px 20px;
    position: relative;
    z-index: 100;
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    overflow: hidden;
}

.container::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0) 35%, rgba(0, 0, 0, 0.4) 70%, rgba(0, 0, 0, 0.8) 100%);
    pointer-events: none;
}

.blur-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at center, rgba(168, 85, 247, 0.2), transparent 60%),
                linear-gradient(to bottom, rgba(255, 20, 147, 0.1), rgba(6, 182, 212, 0.1));
    z-index: 0;
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
}

.container.blurred .blur-bg {
    filter: blur(20px) brightness(0.3);
    backdrop-filter: blur(15px);
    opacity: 0.9;
}

.container.unblurred .blur-bg {
    filter: blur(0px) brightness(1);
    opacity: 0.4;
}

.container.blurred {
    filter: blur(20px) brightness(0.5);
    pointer-events: none;
}

.container.blurred .content {
    transform: scale(0.95);
    opacity: 0.7;
}

.container.unblurred {
    filter: blur(0px) brightness(1);
    pointer-events: auto;
}

.container.unblurred .content {
    transform: scale(1);
    opacity: 1;
}

.content {
    max-width: 500px;
    width: 100%;
    animation: slideUp 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* Linktree-style Hero Section */
.linktree-hero {
    position: relative;
    z-index: 100;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    text-align: center;
}

/* Corner Brackets */
.corner-bracket {
    position: absolute;
    width: 40px;
    height: 40px;
    pointer-events: none;
    display: none;
}

.corner-tl {
    top: 30px;
    left: 30px;
    border-top: 1.5px solid rgba(0, 255, 0, 0.3);
    border-left: 1.5px solid rgba(0, 255, 0, 0.3);
}

.corner-tr {
    top: 30px;
    right: 30px;
    border-top: 1.5px solid rgba(0, 255, 0, 0.3);
    border-right: 1.5px solid rgba(0, 255, 0, 0.3);
}

.corner-bl {
    bottom: 30px;
    left: 30px;
    border-bottom: 1.5px solid rgba(0, 255, 0, 0.3);
    border-left: 1.5px solid rgba(0, 255, 0, 0.3);
}

.corner-br {
    bottom: 30px;
    right: 30px;
    border-bottom: 1.5px solid rgba(0, 255, 0, 0.3);
    border-right: 1.5px solid rgba(0, 255, 0, 0.3);
}

.hero-profile {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 28px;
    max-width: 600px;
    width: 100%;
    padding: 50px;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.9), rgba(10, 20, 30, 0.85));
    border: 2px solid rgba(0, 255, 0, 0.5);
    border-radius: 25px;
    backdrop-filter: blur(20px);
    box-shadow: 0 0 30px rgba(0, 255, 0, 0.2), inset 0 1px 1px rgba(255, 255, 255, 0.1);
    animation: hero-glow 5s linear infinite;
    overflow: hidden;
}

/* Cat Scatter Decorations */
.cat-scatter {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.cat-deco {
    position: absolute;
    font-size: 18px;
    opacity: 0.4;
    animation: none;
    will-change: auto;
}

.cat-deco:nth-child(1) {
    top: 15%;
    left: 8%;
    animation-delay: 0s;
}

.cat-deco:nth-child(2) {
    top: 25%;
    right: 10%;
    animation-delay: 0.5s;
}

.cat-deco:nth-child(3) {
    top: 40%;
    left: 5%;
    animation-delay: 1s;
}

.cat-deco:nth-child(4) {
    top: 55%;
    right: 8%;
    animation-delay: 1.5s;
}

.cat-deco:nth-child(5) {
    bottom: 20%;
    left: 10%;
    animation-delay: 2s;
}

.cat-deco:nth-child(6) {
    top: 70%;
    right: 5%;
    animation-delay: 2.5s;
}

.cat-deco:nth-child(7) {
    top: 35%;
    left: 15%;
    animation-delay: 3s;
}

.cat-deco:nth-child(8) {
    bottom: 30%;
    right: 12%;
    animation-delay: 3.5s;
}

.cat-deco:nth-child(9) {
    top: 60%;
    left: 8%;
    animation-delay: 4s;
}

.cat-deco:nth-child(10) {
    top: 20%;
    right: 15%;
    animation-delay: 4.5s;
}

@keyframes float-deco {
    0%, 100% { 
        transform: translateY(0px);
        opacity: 0.3;
    }
    50% { 
        transform: translateY(-15px);
        opacity: 0.7;
    }
}

@keyframes hero-glow {
    0%, 100% { border-color: rgba(0, 255, 0, 0.5); box-shadow: 0 0 30px rgba(0, 255, 0, 0.2), inset 0 1px 1px rgba(255, 255, 255, 0.1); }
    50% { border-color: rgba(0, 255, 0, 0.7); box-shadow: 0 0 40px rgba(0, 255, 0, 0.3), inset 0 1px 2px rgba(255, 255, 255, 0.15); }
}

.hero-profile::before {
    content: '';
    position: absolute;
    width: 90%;
    max-width: 400px;
    height: 1px;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(90deg, transparent, rgba(0, 255, 0, 0.15), transparent);
    display: none;
}

.hero-profile::after {
    content: '';
    position: absolute;
    width: 90%;
    max-width: 400px;
    height: 1px;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(90deg, transparent, rgba(0, 255, 0, 0.15), transparent);
    display: none;
}

/* Vine Decoration */
.vine-decoration {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    display: none;
}

.vine-paths {
    stroke: #00ff00;
    fill: none;
    filter: url(#vine-glow);
}

.vine-path {
    stroke-width: 1.2;
    opacity: 0;
    animation: vine-grow 2s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
    animation-delay: var(--delay, 0s);
}

@keyframes vine-grow {
    0% {
        stroke-dasharray: 1000;
        stroke-dashoffset: 1000;
        opacity: 0;
    }
    50% {
        opacity: 0.7;
    }
    100% {
        stroke-dasharray: 1000;
        stroke-dashoffset: 0;
        opacity: 0.5;
    }
}

.vine-leaf {
    opacity: 0;
    animation: leaf-bloom 1.5s ease-out forwards;
}

.vine-leaf-0 { animation-delay: 0.8s; }
.vine-leaf-1 { animation-delay: 0.9s; }
.vine-leaf-2 { animation-delay: 1.0s; }
.vine-leaf-3 { animation-delay: 1.1s; }
.vine-leaf-4 { animation-delay: 1.2s; }
.vine-leaf-5 { animation-delay: 1.3s; }
.vine-leaf-6 { animation-delay: 1.4s; }
.vine-leaf-7 { animation-delay: 1.5s; }
.vine-leaf-8 { animation-delay: 1.6s; }
.vine-leaf-9 { animation-delay: 1.7s; }
.vine-leaf-10 { animation-delay: 1.8s; }
.vine-leaf-11 { animation-delay: 1.9s; }
.vine-leaf-12 { animation-delay: 2.0s; }
.vine-leaf-13 { animation-delay: 2.1s; }
.vine-leaf-14 { animation-delay: 2.2s; }

@keyframes leaf-bloom {
    0% {
        opacity: 0;
        transform: scale(0) rotate(0deg);
    }
    100% {
        opacity: 0.7;
        transform: scale(1) rotate(360deg);
    }
}

/* Avatar Wrapper with Glows */
.avatar-wrapper {
    position: relative;
    width: 320px;
    height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.buttons-section {
    position: relative;
    z-index: 1;
}

.title, .bio, .tagline {
    position: relative;
    z-index: 1;
}

.avatar-badge {
    position: relative;
    width: 280px;
    height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border-radius: 50%;
    box-shadow: inset 0 0 15px rgba(0, 255, 0, 0.08);
    animation: breathing 6s ease-in-out infinite;
}

@keyframes breathing {
    0%, 100% {
        box-shadow: inset 0 0 10px rgba(0, 255, 0, 0.05);
    }
}

.avatar-glow-1 {
    position: absolute;
    width: 340px;
    height: 340px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, rgba(0, 255, 136, 0.15), rgba(0, 255, 136, 0.02));
    filter: blur(25px);
    animation: none;
}

.avatar-glow-2 {
    position: absolute;
    width: 360px;
    height: 360px;
    border-radius: 50%;
    background: radial-gradient(circle at 70% 70%, rgba(0, 255, 136, 0.1), transparent);
    filter: blur(40px);
    animation: none;
}

.avatar-circle-large {
    position: relative;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
    box-shadow: 0 0 20px rgba(0, 255, 136, 0.2);
    border: 2px solid rgba(0, 255, 0, 0.6);
    background-clip: padding-box;
    animation: avatar-zoom 8s linear infinite;
    cursor: pointer;
    transition: none;
    z-index: 2;
    overflow: hidden;
    image-rendering: crisp-edges;
}

@keyframes avatar-zoom {
    0% { transform: scale(1); }
    50% { transform: scale(1.3); }
    100% { transform: scale(1); }
}

.avatar-circle-large::before {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(255, 20, 147, 0.5), rgba(168, 85, 247, 0.3), rgba(6, 182, 212, 0.2));
    z-index: -1;
    pointer-events: none;
}

.avatar-circle-large:hover {
    box-shadow: 0 0 50px rgba(255, 20, 147, 0.6), 
                0 0 100px rgba(168, 85, 247, 0.3),
                inset 0 0 40px rgba(255, 255, 255, 0.1);
    transform: scale(1.08);
    animation: none;
}

.avatar-circle-large img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.avatar-upload-btn {
    display: none !important;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-12px); }
}

/* Sparks and Flares */
.sparks-container {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
    border-radius: 50%;
    overflow: visible;
}

.spark {
    position: absolute;
    pointer-events: none;
}

.spark-flare {
    width: 8px;
    height: 8px;
    background: radial-gradient(circle, #ff1493, rgba(255, 20, 147, 0));
    border-radius: 50%;
    box-shadow: 0 0 8px #ff1493, 0 0 16px rgba(255, 20, 147, 0.6);
    animation: spark-burst 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.spark-flare-purple {
    width: 6px;
    height: 6px;
    background: radial-gradient(circle, #a855f7, rgba(168, 85, 247, 0));
    border-radius: 50%;
    box-shadow: 0 0 6px #a855f7, 0 0 12px rgba(168, 85, 247, 0.5);
    animation: spark-burst 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.spark-flare-cyan {
    width: 7px;
    height: 7px;
    background: radial-gradient(circle, #06b6d4, rgba(6, 182, 212, 0));
    border-radius: 50%;
    box-shadow: 0 0 7px #06b6d4, 0 0 14px rgba(6, 182, 212, 0.5);
    animation: spark-burst 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

@keyframes spark-burst {
    0% {
        opacity: 1;
        transform: translate(0, 0) scale(1);
    }
    100% {
        opacity: 0;
        transform: translate(var(--tx), var(--ty)) scale(0);
    }
}

.spark-line {
    position: absolute;
    background: linear-gradient(90deg, rgba(255, 20, 147, 0.8), rgba(255, 20, 147, 0));
    animation: spark-line-fade 0.7s ease-out forwards;
}

@keyframes spark-line-fade {
    0% {
        opacity: 1;
        transform: scaleX(1);
    }
    100% {
        opacity: 0;
        transform: scaleX(0);
    }
}

.title {
    font-size: 4rem;
    font-weight: 700;
    background: linear-gradient(135deg, #00ff88, #00ffcc, #00ff88);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -2px;
    margin: 0;
    line-height: 1.1;
    animation: title-neon 6s linear infinite;
    text-shadow: 0 0 20px rgba(0, 255, 136, 0.5);
    filter: drop-shadow(0 0 15px rgba(0, 255, 136, 0.4));
}

@keyframes title-neon {
    0%, 100% { 
        background-position: 0% 50%;
        filter: drop-shadow(0 0 15px rgba(0, 255, 136, 0.4));
    }
    50% { 
        background-position: 100% 50%;
        filter: drop-shadow(0 0 25px rgba(0, 255, 136, 0.6));
    }
}

@keyframes title-breathe {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.95;
        transform: scale(1.01);
    }
}

/* Cat Decorative Blocks */
.cat-blocks-top, .cat-blocks-bottom {
    display: flex;
    gap: 12px;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.cat-block {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border: 1.5px solid rgba(0, 255, 0, 0.5);
    background: linear-gradient(135deg, rgba(0, 255, 0, 0.1), rgba(0, 255, 0, 0.04));
    border-radius: 8px;
    font-size: 24px;
    animation: none;
    cursor: pointer;
    transition: none;
    box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.1);
}

.cat-block:nth-child(1) { animation-delay: 0s; }
.cat-block:nth-child(2) { animation-delay: 0.2s; }
.cat-block:nth-child(3) { animation-delay: 0.4s; }

@keyframes cat-float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-6px); }
    100% { transform: translateY(0px); }
}

.cat-block:hover {
    background: linear-gradient(135deg, rgba(0, 255, 0, 0.25), rgba(0, 255, 0, 0.1));
    border-color: rgba(0, 255, 0, 0.9);
    box-shadow: inset 0 1px 3px rgba(255, 255, 255, 0.15), 0 0 8px rgba(0, 255, 0, 0.3);
}

/* Nanobutton Grid - Tetris-like Organized Layout */
.nanobutton-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    min-height: 150vh;
    z-index: 0;
    pointer-events: none;
    display: grid;
    grid-template-columns: repeat(auto-fill, 55px);
    grid-auto-rows: 55px;
    grid-auto-flow: dense;
    gap: 3px;
    padding: 3px;
    overflow: visible;
    margin: 0;
    border: none;
}

.nanobutton {
    width: 100%;
    height: 100%;
    border-radius: 6px;
    border: 1px solid rgba(0, 255, 0, 0.5);
    background: rgba(0, 255, 0, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    cursor: pointer;
    transition: none;
    pointer-events: auto;
    user-select: none;
    animation: none;
}

/* Varied Sizes - Tetris Style */
.nanobutton:nth-child(3n) {
    grid-column: span 2;
    grid-row: span 1;
}

.nanobutton:nth-child(5n) {
    grid-column: span 1;
    grid-row: span 2;
    font-size: 28px;
}

.nanobutton:nth-child(7n) {
    grid-column: span 2;
    grid-row: span 2;
    font-size: 36px;
}



.nanobutton:hover {
    background: rgba(0, 255, 0, 0.15);
    border-color: rgba(0, 255, 0, 0.8);
}

.nanobutton.active {
    background: rgba(0, 255, 0, 0.3);
    border-color: rgba(0, 255, 0, 0.9);
    box-shadow: 0 0 20px rgba(0, 255, 0, 0.6);
}

.bio {
    font-size: 1.1rem;
    color: #ffffff;
    font-weight: 500;
    letter-spacing: 0.5px;
    margin: 8px 0 4px 0;
    animation: text-fade 6s ease-in-out infinite;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.8);
}

.tagline {
    font-size: 1rem;
    color: #ffffff;
    font-weight: 500;
    font-style: italic;
    margin-bottom: 30px;
    animation: text-fade 7s ease-in-out infinite;
    text-shadow: 0 0 15px rgba(168, 85, 247, 0.6), 0 0 25px rgba(6, 182, 212, 0.4);
}

@keyframes text-fade {
    0%, 100% {
        opacity: 0.8;
    }
    50% {
        opacity: 1;
    }
}



/* Buttons Section */
.buttons-section {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 30px;
}

.btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 24px;
    font-size: 1rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    text-transform: lowercase;
    letter-spacing: 0.3px;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--light);
    box-shadow: 0 8px 20px rgba(255, 20, 147, 0.25);
    padding: 16px 44px;
    font-size: 1rem;
    text-transform: lowercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    cursor: pointer;
    text-decoration: none;
    border: none;
    z-index: 10001;
    position: relative;
    pointer-events: auto !important;
    animation: breathing-pulse 4s ease-in-out infinite;
    text-shadow: 0 0 8px rgba(0, 0, 0, 0.5);
}

@keyframes breathing-pulse {
    0%, 100% {
        box-shadow: 0 8px 20px rgba(255, 20, 147, 0.25);
        transform: scale(1);
    }
    50% {
        box-shadow: 0 12px 35px rgba(255, 20, 147, 0.4), 0 0 20px rgba(168, 85, 247, 0.3);
        transform: scale(1.02);
    }
}

.btn-primary:hover {
    transform: translateY(-4px) scale(1.08);
    box-shadow: 0 16px 40px rgba(255, 20, 147, 0.5), 0 0 30px rgba(168, 85, 247, 0.4);
    animation: none;
}

.btn-primary:active {
    transform: translateY(-2px) scale(1.05);
}

.discord-icon {
    width: 24px;
    height: 24px;
    fill: currentColor;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.btn-primary:hover .discord-icon {
    transform: scale(1.2) rotate(5deg);
}

.hidden {
    display: none;
}

/* Responsive Design */
@media (max-width: 768px) {
    .avatar-badge {
        width: 240px;
        height: 240px;
    }
    
    .avatar-circle-large {
        width: 220px;
        height: 220px;
        font-size: 4rem;
    }
    
    .title {
        font-size: 3rem;
    }
    
    .bio {
        font-size: 1rem;
    }
    
    .tagline {
        font-size: 0.95rem;
    }
    
    .btn-primary {
        padding: 14px 36px;
        font-size: 0.95rem;
    }
    
    .discord-icon {
        width: 20px;
        height: 20px;
    }
    
    .time-display {
        font-size: 1rem;
        bottom: -35px;
    }
    
    .linktree-hero {
        padding: 40px 20px;
    }
}

@media (max-width: 480px) {
    .avatar-badge {
        width: 200px;
        height: 200px;
    }
    
    .avatar-circle-large {
        width: 180px;
        height: 180px;
        font-size: 3rem;
    }
    
    .title {
        font-size: 2.2rem;
        margin-top: 20px;
    }
    
    .bio {
        font-size: 0.9rem;
    }
    
    .tagline {
        font-size: 0.85rem;
        margin-bottom: 20px;
    }
    
    .btn-primary {
        padding: 12px 28px;
        font-size: 0.9rem;
        gap: 8px;
    }
    
    .discord-icon {
        width: 18px;
        height: 18px;
    }
    
    .entry-text h2 {
        font-size: 80px;
        letter-spacing: 6px;
    }
    
    .avatar-wrapper {
        width: 200px;
        height: 200px;
    }
    
    .time-display {
        font-size: 0.9rem;
        bottom: -32px;
        letter-spacing: 1px;
    }
    
    .linktree-hero {
        padding: 30px 15px;
        min-height: auto;
    }
}
    
    .entry-btn {
        width: 120px;
        height: 120px;
    }
    
    .pulse-ring {
        width: 120px;
        height: 120px;
    }
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
