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

:root {
    --bg-primary: #08080a;
    --bg-secondary: #0e0e12;
    --bg-card: #121216;
    --border-color: #1a1a22;
    --accent: #a83232;
    --accent-dim: #8a2020;
    --accent-glow: rgba(168, 50, 50, 0.15);
    --text-primary: #d8d8e0;
    --text-secondary: #8888a0;
    --text-muted: #4a4a5a;
    --danger: #cc3344;
    --security-accent: #993333;
    --security-glow: rgba(153, 51, 51, 0.12);
    --orange-accent: #a83232;
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: stretch;
}

.scanline {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    pointer-events: none;
    z-index: 999;
    background: repeating-linear-gradient(
        0deg, transparent, transparent 2px,
        rgba(0, 0, 0, 0.02) 2px, rgba(0, 0, 0, 0.02) 4px
    );
}

.noise {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    pointer-events: none;
    z-index: 998;
    opacity: 0.025;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
}

.vignette-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    pointer-events: none;
    z-index: 1;
    background: radial-gradient(ellipse at center, transparent 40%, rgba(0, 0, 0, 0.5) 100%);
}

/* ==================== ANIMATED BACKGROUND ==================== */
body::before {
    content: '';
    position: fixed;
    top: -50%; left: -50%;
    width: 200%; height: 200%;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(168, 50, 50, 0.03) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(168, 50, 50, 0.02) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 80%, rgba(168, 50, 50, 0.02) 0%, transparent 50%);
    animation: bg-drift 25s ease-in-out infinite alternate;
    pointer-events: none;
    z-index: 0;
}

@keyframes bg-drift {
    0% { transform: translate(0, 0) rotate(0deg); }
    100% { transform: translate(30px, -20px) rotate(3deg); }
}

.main-bg-grid {
    position: fixed;
    top: -50px; left: -50px;
    width: calc(100% + 100px);
    height: calc(100% + 100px);
    background-image:
        linear-gradient(rgba(200, 200, 212, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(200, 200, 212, 0.04) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse at center, black 20%, transparent 65%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 20%, transparent 65%);
    pointer-events: none;
    z-index: 0;
}


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

.container {
    display: block;
    position: relative;
    z-index: 2;
    width: 100%;
}

/* ==================== COOL PANEL ==================== */
.profile-card {
    background: rgba(14, 14, 18, 0.8);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: none;
    border-radius: 20px;
    padding: 32px 40px;
    width: 100%;
    position: relative;
    overflow: hidden;
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.4),
        0 32px 80px rgba(0, 0, 0, 0.3);
    transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1), box-shadow 0.5s ease;
    opacity: 0;
    visibility: hidden;
    transform: translateY(50px) scale(0.85);
    transform-style: preserve-3d;
}

.profile-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    border-radius: 20px;
    padding: 2px;
    background: conic-gradient(
        from var(--border-angle, 0deg),
        transparent 10%,
        rgba(168, 50, 50, 0.6) 20%,
        rgba(168, 50, 50, 0.5) 35%,
        rgba(168, 50, 50, 0.4) 50%,
        rgba(168, 50, 50, 0.4) 65%,
        rgba(168, 50, 50, 0.5) 80%,
        rgba(168, 50, 50, 0.3) 90%,
        transparent 95%
    );
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    animation: border-rotate 4s linear infinite;
    z-index: 1;
    pointer-events: none;
}

.profile-card::after {
    content: '';
    position: absolute;
    top: -2px; left: -2px; right: -2px; bottom: -2px;
    border-radius: 22px;
    background: conic-gradient(
        from var(--border-angle, 0deg),
        transparent 10%,
        rgba(168, 50, 50, 0.25) 20%,
        rgba(168, 50, 50, 0.2) 35%,
        rgba(168, 50, 50, 0.15) 50%,
        rgba(168, 50, 50, 0.15) 65%,
        rgba(168, 50, 50, 0.2) 80%,
        rgba(168, 50, 50, 0.1) 90%,
        transparent 95%
    );
    filter: blur(20px);
    animation: border-rotate 4s linear infinite;
    z-index: -1;
    pointer-events: none;
    opacity: 0.7;
}

.profile-card:hover {
    transform: translateY(-4px) scale(1.01);
    box-shadow:
        0 12px 40px rgba(0, 0, 0, 0.5),
        0 40px 100px rgba(0, 0, 0, 0.3),
        0 0 60px rgba(168, 50, 50, 0.08),
        0 0 120px rgba(168, 50, 50, 0.05);
}

.entered .profile-card {
    animation: card-appear 1s cubic-bezier(0.23, 1, 0.32, 1) 0.3s forwards;
    transition: box-shadow 0.5s ease, border-color 0.5s ease;
    visibility: visible;
}

@keyframes card-appear {
    0% { opacity: 0; transform: translateY(50px) scale(0.85) rotateX(10deg); filter: blur(12px); }
    30% { opacity: 0.5; transform: translateY(-10px) scale(1.03) rotateX(-2deg); filter: blur(4px); }
    60% { opacity: 0.9; transform: translateY(5px) scale(0.99) rotateX(1deg); filter: blur(0); }
    100% { opacity: 1; transform: translateY(0) scale(1) rotateX(0); filter: blur(0); }
}

.profile-card .card-glow {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 120%; height: 120%;
    background: radial-gradient(ellipse at center, rgba(200, 200, 212, 0.03) 0%, transparent 60%);
    pointer-events: none;
    z-index: 0;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.profile-card:hover .card-glow {
    opacity: 1;
}

.profile-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 5%, rgba(200, 200, 212, 0.15) 50%, transparent 95%);
    z-index: 5;
}

.profile-card::after {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background:
        linear-gradient(90deg, rgba(200, 200, 212, 0.015) 1px, transparent 1px),
        linear-gradient(rgba(200, 200, 212, 0.015) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
    z-index: 0;
    border-radius: 20px;
    mask-image: radial-gradient(ellipse at center, black 10%, transparent 65%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 10%, transparent 65%);
}

.profile-card:hover {
    border-color: rgba(200, 200, 212, 0.12);
    box-shadow:
        0 0 0 1px rgba(200, 200, 212, 0.08),
        0 0 40px rgba(200, 200, 212, 0.03),
        0 12px 40px rgba(0, 0, 0, 0.5),
        0 40px 100px rgba(0, 0, 0, 0.4);
}

.profile-card.card-tilt-active {
    transform: perspective(1000px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg));
    transition: transform 0.1s ease-out;
}



.card-vertical {
    display: flex;
    flex-direction: column;
    gap: 28px;
    position: relative;
    z-index: 1;
}

.left-column {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 24px;
    position: relative;
    overflow: hidden;
    opacity: 0;
}

.entered .left-column {
    animation: left-col-in 0.8s cubic-bezier(0.23, 1, 0.32, 1) 0.5s forwards;
}

@keyframes left-col-in {
    0% { opacity: 0; transform: translateY(-40px) scale(0.95); filter: blur(6px); }
    60% { opacity: 0.9; transform: translateY(5px) scale(1.01); filter: blur(0); }
    100% { opacity: 1; transform: translateY(0) scale(1); filter: blur(0); }
}

.left-column:hover { }

.left-column-bg {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    opacity: 0.25;
    pointer-events: none;
    z-index: 0;
}

.left-column-gif {
    width: 100%; height: 100%;
    object-fit: cover;
    filter: grayscale(100%) brightness(0.6) contrast(1.3);
    mix-blend-mode: luminosity;
}

.left-column-scanline {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: repeating-linear-gradient(
        0deg, transparent, transparent 2px,
        rgba(200, 200, 212, 0.015) 2px, rgba(200, 200, 212, 0.015) 4px
    );
    pointer-events: none;
    z-index: 1;
    animation: left-scanline-scroll 6s linear infinite;
}

@keyframes left-scanline-scroll {
    0% { transform: translateY(0); }
    100% { transform: translateY(8px); }
}

.left-column > *:not(.left-column-bg):not(.left-column-scanline):not(.left-column-grid):not(.left-column-vignette):not(.left-column-noise):not(.hex-stream):not(.left-dot-canvas) {
    position: relative;
    z-index: 3;
}

.left-column-grid {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-image:
        linear-gradient(rgba(200, 200, 212, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(200, 200, 212, 0.03) 1px, transparent 1px);
    background-size: 25px 25px;
    pointer-events: none;
    z-index: 0;
    animation: grid-drift 20s linear infinite;
}

@keyframes grid-drift {
    0% { transform: translate(0, 0); }
    100% { transform: translate(25px, 25px); }
}

.left-column-vignette {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: radial-gradient(ellipse at center, transparent 40%, rgba(10, 10, 12, 0.6) 100%);
    pointer-events: none;
    z-index: 1;
}

.left-column-noise {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    opacity: 0.03;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 1;
}

.left-dot-canvas {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    pointer-events: none;
    z-index: 2;
}

.right-column {
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 1;
    opacity: 0;
}

.entered .right-column {
    animation: right-col-in 0.8s cubic-bezier(0.23, 1, 0.32, 1) 0.7s forwards;
}

@keyframes right-col-in {
    0% { opacity: 0; transform: translateY(40px); filter: blur(6px); }
    60% { opacity: 0.9; transform: translateY(-5px); filter: blur(0); }
    100% { opacity: 1; transform: translateY(0); filter: blur(0); }
}

.profile-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(200, 200, 212, 0.08);
    position: relative;
}

.profile-header::after {
    content: '';
    position: absolute;
    bottom: -1px; left: 0;
    width: 60px; height: 1px;
    background: var(--accent);
    animation: header-line 3s ease-in-out infinite;
    box-shadow: 0 0 8px rgba(184, 184, 192, 0.3);
}

@keyframes header-line {
    0%, 100% { width: 60px; left: 0; opacity: 0.6; }
    50% { width: 120px; left: 20px; opacity: 1; }
}

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

.avatar-wrapper {
    position: relative;
    display: inline-block;
    flex-shrink: 0;
    margin-bottom: 20px;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
}

.entered .avatar-wrapper {
    animation: avatar-fly-in 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) 0.9s forwards;
}

@keyframes avatar-fly-in {
    0% { opacity: 0; transform: translateY(-60px) scale(0.3) rotate(-20deg); filter: blur(8px); }
    50% { opacity: 1; transform: translateY(8px) scale(1.1) rotate(3deg); filter: blur(0); }
    70% { transform: translateY(-3px) scale(0.97) rotate(-1deg); }
    100% { opacity: 1; transform: translateY(0) scale(1) rotate(0); filter: blur(0); }
}

.avatar-wrapper:hover { transform: scale(1.08); }

.avatar-ring {
    width: 100px; height: 100px;
    border-radius: 50%;
    position: relative;
    background: linear-gradient(135deg, var(--accent), var(--accent-dim));
    padding: 2px;
    box-shadow: 0 0 20px rgba(200, 200, 212, 0.1);
}

.avatar-ring::before {
    content: '';
    position: absolute;
    top: -6px; left: -6px; right: -6px; bottom: -6px;
    border-radius: 50%;
    border: 1px solid rgba(200, 200, 212, 0.15);
    animation: ring-outer-spin 8s linear infinite;
}

.avatar-ring::after {
    content: '';
    position: absolute;
    top: -12px; left: -12px; right: -12px; bottom: -12px;
    border-radius: 50%;
    border: 1px dashed rgba(200, 200, 212, 0.06);
    animation: ring-outer-spin 15s linear infinite reverse;
}

@keyframes ring-outer-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.avatar {
    width: 100%; height: 100%;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    background: var(--bg-secondary);
}

.avatar-placeholder {
    width: 100%; height: 100%;
    border-radius: 50%;
    background: var(--bg-secondary);
    display: none;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 0; left: 0;
}

.avatar-placeholder.visible { display: flex; }

.avatar-text {
    font-family: 'JetBrains Mono', monospace;
    font-size: 24px;
    font-weight: 700;
    color: var(--accent);
}

.status-dot {
    position: absolute;
    bottom: 4px; right: 4px;
    width: 14px; height: 14px;
    border-radius: 50%;
    border: 3px solid var(--bg-card);
}

.status-dot.online {
    background: #4ade80;
    animation: pulse 2s infinite;
    box-shadow: 0 0 8px rgba(74, 222, 128, 0.4);
}

@keyframes pulse {
    0%, 100% { opacity: 0.8; }
    50% { opacity: 1; }
}

.name {
    font-family: 'JetBrains Mono', monospace;
    font-size: 38px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 6px;
    position: relative;
    display: inline-block;
    text-shadow: 0 0 30px rgba(200, 200, 212, 0.15);
    transition: text-shadow 0.3s;
    opacity: 0;
}

.entered .name {
    animation: name-fly-in 0.8s cubic-bezier(0.23, 1, 0.32, 1) 1.0s forwards;
}

@keyframes name-fly-in {
    0% { opacity: 0; transform: translateX(-40px) scaleY(0.4); filter: blur(8px); letter-spacing: 10px; }
    40% { opacity: 0.7; transform: translateX(8px) scaleY(1.1); filter: blur(2px); letter-spacing: 3px; }
    70% { opacity: 0.9; transform: translateX(-2px) scaleY(0.98); filter: blur(0); letter-spacing: 1px; }
    100% { opacity: 1; transform: translateX(0) scaleY(1); filter: blur(0); letter-spacing: normal; }
}

.name:hover {
    text-shadow: 0 0 30px rgba(184, 184, 192, 0.5), 0 0 60px rgba(184, 184, 192, 0.2);
}

.entered .name.name-glitch {
    text-shadow: -3px 0 #a83232, 3px 0 var(--danger) !important;
    transition: none;
}

.name::before, .name::after {
    content: attr(data-text);
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    opacity: 0;
}

.name::before {
    color: var(--accent);
    animation: glitch-1 4s infinite linear;
    clip-path: inset(0 0 65% 0);
}

.name::after {
    color: var(--security-accent);
    animation: glitch-2 4s infinite linear;
    clip-path: inset(60% 0 0 0);
}

@keyframes glitch-1 {
    0%, 87%, 100% { opacity: 0; transform: translate(0); }
    88% { opacity: 0.7; transform: translate(-3px, -1px); }
    90% { opacity: 0.7; transform: translate(3px, 1px); }
    92% { opacity: 0; }
}

@keyframes glitch-2 {
    0%, 93%, 100% { opacity: 0; transform: translate(0); }
    94% { opacity: 0.5; transform: translate(2px, 1px); }
    96% { opacity: 0.5; transform: translate(-2px, -1px); }
    98% { opacity: 0; }
}

.tagline {
    font-family: 'JetBrains Mono', monospace;
    font-size: 14px;
    color: var(--text-muted);
    letter-spacing: 3px;
    text-transform: lowercase;
    opacity: 0;
}

.entered .tagline {
    animation: tagline-fly-in 0.7s cubic-bezier(0.23, 1, 0.32, 1) 1.1s forwards;
}

@keyframes tagline-fly-in {
    0% { opacity: 0; transform: translateX(-30px); filter: blur(4px); }
    100% { opacity: 1; transform: translateX(0); filter: blur(0); }
}

.social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    width: 100%;
}

.social-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: rgba(168, 50, 50, 0.06);
    border: 1px solid rgba(168, 50, 50, 0.15);
    border-radius: 10px;
    color: #c8c8d0;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(20px);
    transition: border-color 0.3s, background 0.3s, box-shadow 0.3s;
}

.entered .social-btn {
    animation: discord-fly-in 0.8s cubic-bezier(0.23, 1, 0.32, 1) 2.1s forwards;
}

@keyframes discord-fly-in {
    0% { opacity: 0; transform: translateY(20px); }
    70% { opacity: 1; transform: translateY(-3px); }
    100% { opacity: 1; transform: translateY(0); }
}

.social-btn::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(168, 50, 50, 0.08), transparent);
    transition: left 0.5s;
}

.social-btn:hover::before { left: 100%; }

.social-btn.wide { width: 100%; justify-content: center; }

.social-btn:hover {
    border-color: rgba(168, 50, 50, 0.4);
    color: #e0e0e8;
    background: rgba(168, 50, 50, 0.12);
    box-shadow: 0 0 24px rgba(168, 50, 50, 0.12), inset 0 0 20px rgba(168, 50, 50, 0.04);
    transform: translateY(-2px) !important;
}

.social-btn.discord::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 0; height: 2px;
    background: #a83232;
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.social-btn.discord:hover::after { width: 100%; }

.social-label {
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
}

.about-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: center;
}

/* ==================== PROMO BANNER ==================== */
.promo-banner {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    position: relative;
    opacity: 0;
}

.entered .promo-banner {
    animation: promo-in 0.8s cubic-bezier(0.23, 1, 0.32, 1) 1.9s forwards;
}

@keyframes promo-in {
    0% { opacity: 0; transform: translateY(15px); filter: blur(4px); }
    100% { opacity: 1; transform: translateY(0); filter: blur(0); }
}

.promo-border {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(184, 184, 192, 0.3), transparent);
}

.promo-text {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    color: var(--accent);
    letter-spacing: 2px;
    text-transform: uppercase;
    white-space: nowrap;
    position: relative;
    padding: 8px 20px;
    border: 1px solid rgba(200, 200, 212, 0.15);
    border-radius: 6px;
    background: rgba(200, 200, 212, 0.03);
    transition: all 0.4s ease;
    overflow: hidden;
}

.promo-text::before {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 0; height: 2px;
    background: linear-gradient(90deg, rgba(168, 50, 50, 0.6), rgba(168, 50, 50, 0.6), rgba(168, 50, 50, 0.6));
    transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.promo-text:hover {
    border-color: rgba(168, 50, 50, 0.3);
    box-shadow: 0 0 30px rgba(168, 50, 50, 0.08), 0 0 60px rgba(168, 50, 50, 0.04);
    background: rgba(168, 50, 50, 0.06);
}

.promo-text:hover::before {
    width: 100%;
}

.promo-text::before, .promo-text::after {
    content: attr(data-text);
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
}

.promo-text::before {
    color: var(--accent);
    animation: glitch-1 5s infinite linear;
    clip-path: inset(0 0 50% 0);
}

.promo-text::after {
    color: var(--security-accent);
    animation: glitch-2 5s infinite linear;
    clip-path: inset(50% 0 0 0);
}

.about-tag {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    color: var(--accent);
    background: rgba(200, 200, 212, 0.04);
    padding: 6px 14px;
    border-radius: 20px;
    border: 1px solid rgba(200, 200, 212, 0.1);
    letter-spacing: 0.5px;
    cursor: default;
    position: relative;
    overflow: hidden;
    opacity: 0;
    transition: border-color 0.3s, background 0.3s, transform 0.3s, box-shadow 0.3s;
}

.entered .about-tag {
    animation: tag-pop-in 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.entered .about-tag:nth-child(1) { animation-delay: 1.5s; }
.entered .about-tag:nth-child(2) { animation-delay: 1.6s; }
.entered .about-tag:nth-child(3) { animation-delay: 1.7s; }
.entered .about-tag:nth-child(4) { animation-delay: 1.8s; }

@keyframes tag-pop-in {
    0% { opacity: 0; transform: translateY(15px) scale(0.5); filter: blur(4px); }
    50% { opacity: 1; transform: translateY(-4px) scale(1.08); filter: blur(0); }
    70% { transform: translateY(2px) scale(0.97); }
    100% { opacity: 1; transform: translateY(0) scale(1); filter: blur(0); }
}

.about-tag::after {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    width: 0; height: 0;
    background: rgba(200, 200, 212, 0.12);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.4s, height 0.4s;
}

.about-tag:hover::after { width: 150%; height: 150%; }

.about-tag:hover {
    background: rgba(200, 200, 212, 0.1);
    border-color: rgba(200, 200, 212, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.about-tag:nth-child(1):hover {
    border-color: rgba(168, 50, 50, 0.5);
    box-shadow: 0 0 20px rgba(168, 50, 50, 0.15), 0 4px 12px rgba(0, 0, 0, 0.2);
    color: rgba(168, 50, 50, 0.9);
}

.about-tag:nth-child(2):hover {
    border-color: rgba(168, 50, 50, 0.5);
    box-shadow: 0 0 20px rgba(168, 50, 50, 0.15), 0 4px 12px rgba(0, 0, 0, 0.2);
    color: rgba(168, 50, 50, 0.9);
}

.about-tag:nth-child(3):hover {
    border-color: rgba(168, 50, 50, 0.5);
    box-shadow: 0 0 20px rgba(168, 50, 50, 0.15), 0 4px 12px rgba(0, 0, 0, 0.2);
    color: rgba(168, 50, 50, 0.9);
}

.about-tag:nth-child(4):hover {
    border-color: rgba(168, 50, 50, 0.4);
    box-shadow: 0 0 20px rgba(168, 50, 50, 0.12), 0 4px 12px rgba(0, 0, 0, 0.2);
    color: rgba(168, 50, 50, 0.8);
}

.about-tag::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(200, 200, 212, 0.08), transparent);
    animation: tag-shine 6s ease-in-out infinite;
}

@keyframes tag-shine {
    0%, 80%, 100% { left: -100%; }
    90% { left: 100%; }
}

.section-title {
    font-family: 'JetBrains Mono', monospace;
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 16px;
    text-align: center;
    opacity: 0;
}

.entered .section-title {
    animation: section-title-fly 0.7s cubic-bezier(0.23, 1, 0.32, 1) 0.9s forwards;
}

@keyframes section-title-fly {
    0% { opacity: 0; transform: translateX(40px); filter: blur(4px); }
    100% { opacity: 1; transform: translateX(0); filter: blur(0); }
}

.bracket {
    color: var(--accent);
    transition: color 0.3s, text-shadow 0.3s;
}

.section-title:hover .bracket { text-shadow: 0 0 10px var(--accent); }

.skills-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.skill-category {
    background: rgba(10, 10, 14, 0.5);
    border: 1px solid rgba(200, 200, 212, 0.04);
    border-radius: 12px;
    padding: 16px;
    transition: border-color 0.3s;
    position: relative;
    overflow: hidden;
    opacity: 0;
}

.entered .skill-category {
    animation: skill-cat-fly 0.8s cubic-bezier(0.23, 1, 0.32, 1) forwards;
}

.entered .skill-category:nth-child(1) { animation-delay: 1.1s; }
.entered .skill-category:nth-child(2) { animation-delay: 1.3s; }

@keyframes skill-cat-fly {
    0% { opacity: 0; transform: translateX(60px) scale(0.92); filter: blur(6px); }
    50% { opacity: 0.8; transform: translateX(-8px) scale(1.02); filter: blur(1px); }
    70% { opacity: 0.95; transform: translateX(3px) scale(0.99); filter: blur(0); }
    100% { opacity: 1; transform: translateX(0) scale(1); filter: blur(0); }
}

.skill-category:hover {
    border-color: rgba(200, 200, 212, 0.12);
    box-shadow: inset 0 0 30px rgba(200, 200, 212, 0.02);
}

.entered .skill-category:hover {
    transform: translateX(4px);
}

.skill-category::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    animation: category-scan 5s linear infinite;
}

@keyframes category-scan {
    0% { left: -100%; }
    100% { left: 100%; }
}

.category-title {
    font-family: 'JetBrains Mono', monospace;
    font-size: 14px;
    color: var(--accent);
    margin-bottom: 16px;
    opacity: 0.8;
}

.skill-item {
    margin-bottom: 10px;
    position: relative;
    opacity: 0;
}

.entered .skill-item {
    animation: skill-item-fly 0.5s cubic-bezier(0.23, 1, 0.32, 1) forwards;
}

.entered .skill-item:nth-child(1) { animation-delay: 1.2s; }
.entered .skill-item:nth-child(2) { animation-delay: 1.3s; }
.entered .skill-item:nth-child(3) { animation-delay: 1.4s; }
.entered .skill-item:nth-child(4) { animation-delay: 1.5s; }
.entered .skill-item:nth-child(5) { animation-delay: 1.6s; }

.entered .skill-category:nth-child(2) .skill-item:nth-child(1) { animation-delay: 1.4s; }
.entered .skill-category:nth-child(2) .skill-item:nth-child(2) { animation-delay: 1.5s; }
.entered .skill-category:nth-child(2) .skill-item:nth-child(3) { animation-delay: 1.6s; }
.entered .skill-category:nth-child(2) .skill-item:nth-child(4) { animation-delay: 1.7s; }
.entered .skill-category:nth-child(2) .skill-item:nth-child(4) { animation-delay: 1.7s; }

@keyframes skill-item-fly {
    0% { opacity: 0; transform: translateX(30px); filter: blur(3px); }
    100% { opacity: 1; transform: translateX(0); filter: blur(0); }
}

.skill-item:last-child {
    margin-bottom: 0;
}

.skill-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4px;
}

.skill-name {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-primary);
    letter-spacing: 0.3px;
}

.skill-percent {
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    color: var(--text-muted);
    transition: color 0.3s;
}

.skill-item:hover .skill-percent { color: var(--accent); }

.skill-bar {
    height: 4px;
    background: rgba(200, 200, 212, 0.06);
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}

.skill-bar::after {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent 50%, rgba(255, 255, 255, 0.02) 50%);
    background-size: 6px 100%;
    z-index: 1;
}

.skill-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--accent-dim), var(--accent));
    border-radius: 4px;
    width: 0;
    transition: width 1.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 12px rgba(200, 200, 212, 0.2);
}

.skill-fill::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 50%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(200, 200, 212, 0.1), transparent);
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 200%; }
}

.skill-fill::after {
    content: '';
    position: absolute;
    right: 0; top: -2px;
    width: 4px; height: 9px;
    background: var(--accent);
    border-radius: 2px;
    animation: skill-glow 1.5s ease-in-out infinite;
}

@keyframes skill-glow {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

.skill-fill.security {
    background: linear-gradient(90deg, #4a4a5a, var(--security-accent));
    box-shadow: 0 0 12px rgba(144, 144, 152, 0.15);
}

.skill-fill.security::after { background: var(--security-accent); }

.footer {
    text-align: center;
    padding-top: 16px;
    border-top: 1px solid rgba(200, 200, 212, 0.06);
    position: relative;
    z-index: 1;
    opacity: 0;
}

.entered .footer {
    animation: footer-fly-in 0.7s cubic-bezier(0.23, 1, 0.32, 1) 2.0s forwards;
}

.views-counter {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 8px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    color: var(--text-muted);
    opacity: 0.7;
    transition: opacity 0.3s;
}

.views-counter:hover {
    opacity: 1;
}

.views-icon {
    width: 14px;
    height: 14px;
    background: currentColor;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 12s4-8 11-8 11 8 11 8-4 8-11 8-11-8-11-8z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E") center/contain no-repeat;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 12s4-8 11-8 11 8 11 8-4 8-11 8-11-8-11-8z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E") center/contain no-repeat;
}

.views-count {
    font-variant-numeric: tabular-nums;
}

.views-label {
    opacity: 0.6;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

@keyframes footer-fly-in {
    0% { opacity: 0; transform: translateY(20px); filter: blur(3px); }
    100% { opacity: 1; transform: translateY(0); filter: blur(0); }
}

.footer-text {
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 8px;
    position: relative;
}

.footer-text .footer-type { display: inline; }

.footer-text .footer-cursor {
    display: inline-block;
    width: 7px; height: 13px;
    background: var(--accent);
    margin-left: 2px;
    vertical-align: middle;
    animation: cursor-blink 0.7s step-end infinite;
}

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

.cursor {
    color: var(--accent);
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

.copyright {
    font-size: 11px;
    color: var(--text-muted);
    opacity: 0.5;
    transition: color 0.3s, opacity 0.3s;
}

.footer:hover .copyright { color: var(--accent); opacity: 0.8; text-shadow: 0 0 8px rgba(184, 184, 192, 0.15); }

.audio-controls {
    position: fixed;
    top: auto; bottom: 20px; right: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(15, 15, 18, 0.92);
    border: 1px solid rgba(184, 184, 192, 0.1);
    border-radius: 12px;
    padding: 8px 14px;
    z-index: 1000;
    backdrop-filter: blur(12px);
    transition: transform 0.3s, border-color 0.3s;
}

.audio-controls:hover {
    transform: translateY(-2px);
    border-color: rgba(184, 184, 192, 0.2);
}

.audio-btn {
    background: none;
    border: none;
    color: var(--accent);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4px;
    transition: transform 0.2s, color 0.2s;
}

.audio-btn:hover { transform: scale(1.15); color: #fff; }

.volume-slider {
    -webkit-appearance: none;
    appearance: none;
    width: 90px; height: 3px;
    border-radius: 2px;
    background: rgba(184, 184, 192, 0.12);
    outline: none;
    cursor: pointer;
    position: relative;
}

.volume-slider::-webkit-slider-runnable-track {
    height: 3px;
    border-radius: 2px;
    background: rgba(184, 184, 192, 0.12);
}

.volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 10px; height: 10px;
    border-radius: 50%;
    background: var(--accent);
    cursor: pointer;
    margin-top: -3.5px;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 0 6px rgba(184, 184, 192, 0.2);
}

.volume-slider::-webkit-slider-thumb:hover {
    transform: scale(1.3);
    box-shadow: 0 0 10px rgba(184, 184, 192, 0.4);
}

.volume-slider::-moz-range-track {
    height: 3px;
    border-radius: 2px;
    background: rgba(184, 184, 192, 0.12);
}

.volume-slider::-moz-range-thumb {
    width: 10px; height: 10px;
    border-radius: 50%;
    background: var(--accent);
    cursor: pointer;
    border: none;
    box-shadow: 0 0 6px rgba(184, 184, 192, 0.2);
}

.volume-slider::-moz-range-progress {
    height: 3px;
    border-radius: 2px;
    background: var(--accent);
}

.volume-label {
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    color: var(--text-muted);
    min-width: 28px;
    text-align: right;
}

/* ==================== SPLASH SCREEN ==================== */
.splash-screen {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100vh;
    background: var(--bg-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    cursor: pointer;
    overflow: hidden;
}

.splash-screen.hidden {
    animation: splash-exit 2s cubic-bezier(0.55, 0, 0.1, 1) forwards;
}

@keyframes splash-exit {
    0% { opacity: 1; transform: scale(1); filter: blur(0); }
    30% { opacity: 0.8; transform: scale(1.03); filter: blur(2px); }
    100% { opacity: 0; transform: scale(1.15); filter: blur(20px); visibility: hidden; }
}

.splash-grid-bg {
    position: absolute;
    top: -50px; left: -50px;
    width: calc(100% + 100px);
    height: calc(100% + 100px);
    background-image:
        linear-gradient(rgba(200, 200, 212, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(200, 200, 212, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    mask-image: radial-gradient(ellipse at center, black 15%, transparent 60%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 15%, transparent 60%);
    animation: grid-pulse 4s ease-in-out infinite alternate;
}

@keyframes grid-pulse {
    0% { opacity: 0.6; }
    100% { opacity: 1; }
}

.splash-canvas {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    pointer-events: none;
    z-index: 1;
}

.boot-scanline {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 3px;
    background: linear-gradient(90deg, transparent, rgba(200, 200, 212, 0.4), transparent);
    z-index: 5;
    animation: boot-scan 2.8s ease-in-out forwards;
    box-shadow: 0 0 20px rgba(200, 200, 212, 0.3), 0 0 60px rgba(200, 200, 212, 0.1);
}

@keyframes boot-scan {
    0% { top: 0; opacity: 1; }
    90% { top: 100%; opacity: 0.6; }
    100% { top: 100%; opacity: 0; }
}

.boot-sequence {
    position: absolute;
    top: 20%; left: 50%;
    transform: translateX(-50%);
    z-index: 6;
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    width: 420px;
    max-width: 90vw;
}

.boot-line {
    opacity: 0;
    transform: translateX(-20px);
    transition: opacity 0.4s ease, transform 0.4s ease;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
}

.boot-line.visible {
    opacity: 1;
    transform: translateX(0);
}

.boot-prefix { color: var(--text-muted); }

.boot-tag {
    color: var(--accent);
    background: rgba(200, 200, 212, 0.1);
    padding: 0 4px;
    border-radius: 2px;
    font-weight: 700;
    font-size: 9px;
    margin-right: 4px;
}

.boot-tag.ok { color: #4a9; background: rgba(68, 170, 153, 0.1); }
.boot-tag.warn { color: #e9a; background: rgba(238, 153, 170, 0.1); }

.boot-text { color: var(--text-muted); }

.splash-center {
    position: relative;
    z-index: 4;
    text-align: center;
}

.glow-orb {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(200, 200, 212, 0.06) 0%, transparent 70%);
    filter: blur(40px);
    pointer-events: none;
    opacity: 0;
    animation: orb-in 3s ease-out 2.5s both;
}

@keyframes orb-in {
    0% { opacity: 0; transform: translate(-50%, -50%) scale(0.3); }
    100% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}

.hex-ring {
    width: 160px; height: 160px;
    margin: 0 auto 30px;
    position: relative;
    opacity: 0;
    animation: hex-ring-in 2.4s cubic-bezier(0.23, 1, 0.32, 1) 2.6s both;
}

@keyframes hex-ring-in {
    0% { opacity: 0; transform: scale(0.3) rotate(-180deg); }
    50% { opacity: 0.8; transform: scale(1.1) rotate(10deg); }
    100% { opacity: 1; transform: scale(1) rotate(0deg); }
}

.hex-ring-segment {
    position: absolute;
    top: 50%; left: 50%;
    width: 100%; height: 100%;
    border: 1px solid rgba(200, 200, 212, 0.2);
    border-radius: 4px;
    animation: hex-rotate 12s linear infinite;
}

.hex-ring-segment:nth-child(1) { transform: translate(-50%, -50%) rotate(0deg); }
.hex-ring-segment:nth-child(2) { transform: translate(-50%, -50%) rotate(30deg); animation-duration: 18s; animation-direction: reverse; }
.hex-ring-segment:nth-child(3) { transform: translate(-50%, -50%) rotate(60deg); animation-duration: 15s; }
.hex-ring-segment:nth-child(4) {
    transform: translate(-50%, -50%) rotate(90deg);
    border-color: rgba(200, 200, 212, 0.1);
    width: 70%; height: 70%;
    animation-duration: 20s; animation-direction: reverse;
}
.hex-ring-segment:nth-child(5) {
    transform: translate(-50%, -50%) rotate(45deg);
    border-color: rgba(200, 200, 212, 0.08);
    width: 130%; height: 130%;
    animation-duration: 25s;
}

@keyframes hex-rotate {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

/* ==================== FLOATING CODE ==================== */
.floating-code {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    pointer-events: none;
    z-index: 2;
    overflow: hidden;
}

.floating-code-snippet {
    position: absolute;
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    color: rgba(200, 200, 212, 0.08);
    white-space: nowrap;
    animation: float-code linear infinite;
    will-change: transform;
}

.floating-code-snippet.bright {
    color: rgba(200, 200, 212, 0.15);
}

@keyframes float-code {
    0% { transform: translateY(0) translateX(0) rotate(0deg); opacity: 0; }
    5% { opacity: 1; }
    95% { opacity: 1; }
    100% { transform: translateY(-100vh) translateX(30px) rotate(3deg); opacity: 0; }
}

.splash-title-wrapper {
    position: relative;
    display: inline-block;
    margin-bottom: 20px;
}

.splash-title {
    font-family: 'JetBrains Mono', monospace;
    font-size: 64px;
    font-weight: 700;
    color: var(--text-primary);
    position: relative;
    text-shadow: 0 0 30px rgba(200, 200, 212, 0.2);
    opacity: 0;
    animation: splash-title-reveal 2.2s cubic-bezier(0.23, 1, 0.32, 1) 2.8s both;
}

@keyframes splash-title-reveal {
    0% { opacity: 0; transform: translateY(30px) scaleY(0.3); filter: blur(12px); letter-spacing: 20px; }
    40% { opacity: 0.5; transform: translateY(-5px) scaleY(1.1); filter: blur(4px); letter-spacing: 5px; }
    70% { opacity: 0.9; transform: translateY(3px) scaleY(0.98); filter: blur(0); letter-spacing: 2px; }
    100% { opacity: 1; transform: translateY(0) scaleY(1); filter: blur(0); letter-spacing: normal; }
}

.splash-title::before, .splash-title::after {
    content: attr(data-text);
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    opacity: 0;
}

.splash-title::before {
    color: var(--accent);
    animation: glitch-1 3s infinite linear;
    clip-path: inset(0 0 60% 0);
}

.splash-title::after {
    color: var(--security-accent);
    animation: glitch-2 3s infinite linear;
    clip-path: inset(55% 0 0 0);
}

.title-line-left, .title-line-right {
    position: absolute;
    top: 50%; height: 1px;
    background: var(--accent);
    opacity: 0;
    animation: title-line-expand 2s cubic-bezier(0.23, 1, 0.32, 1) 3s both;
}

.title-line-left {
    right: 100%;
    margin-right: 16px;
    transform-origin: right center;
    animation-name: title-line-expand-left;
}

.title-line-right {
    left: 100%;
    margin-left: 16px;
    transform-origin: left center;
    animation-name: title-line-expand-right;
}

@keyframes title-line-expand-left {
    0% { opacity: 0; width: 0; }
    100% { opacity: 0.4; width: 80px; }
}

@keyframes title-line-expand-right {
    0% { opacity: 0; width: 0; }
    100% { opacity: 0.4; width: 80px; }
}

.splash-subtitle {
    font-family: 'JetBrains Mono', monospace;
    font-size: 14px;
    color: var(--text-secondary);
    letter-spacing: 5px;
    margin-bottom: 40px;
    position: relative;
    opacity: 0;
    animation: splash-subtitle-in 2s ease-out 3.2s both;
}

@keyframes splash-subtitle-in {
    0% { opacity: 0; transform: translateY(10px); letter-spacing: 12px; }
    50% { opacity: 0.7; letter-spacing: 6px; }
    100% { opacity: 0.5; transform: translateY(0); letter-spacing: 5px; }
}

.splash-subtitle::before, .splash-subtitle::after {
    content: attr(data-text);
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    opacity: 0;
}

.splash-subtitle::before {
    color: var(--accent);
    animation: glitch-1 6s infinite linear;
    clip-path: inset(0 0 50% 0);
}

.splash-subtitle::after {
    color: var(--security-accent);
    animation: glitch-2 6s infinite linear;
    clip-path: inset(50% 0 0 0);
}

.splash-status {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    color: var(--accent);
    letter-spacing: 3px;
    opacity: 0;
    animation: status-in 2s ease-out 3.6s both;
}

@keyframes status-in {
    0% { opacity: 0; transform: translateY(10px); }
    100% { opacity: 0.7; transform: translateY(0); }
}

.status-blink {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--accent);
    animation: status-blink-anim 1.5s ease-in-out infinite;
}

@keyframes status-blink-anim {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}

.corner-bracket {
    position: absolute;
    width: 30px; height: 30px;
    z-index: 6;
    opacity: 0;
    animation: bracket-in 1s ease-out 2.8s both;
}

@keyframes bracket-in {
    0% { opacity: 0; }
    100% { opacity: 0.25; }
}

.corner-bracket::before, .corner-bracket::after {
    content: '';
    position: absolute;
    background: var(--accent);
}

.corner-bracket.top-left { top: 30px; left: 30px; }
.corner-bracket.top-left::before { top: 0; left: 0; width: 100%; height: 1px; }
.corner-bracket.top-left::after { top: 0; left: 0; width: 1px; height: 100%; }

.corner-bracket.top-right { top: 30px; right: 30px; }
.corner-bracket.top-right::before { top: 0; right: 0; width: 100%; height: 1px; }
.corner-bracket.top-right::after { top: 0; right: 0; width: 1px; height: 100%; }

.corner-bracket.bottom-left { bottom: 30px; left: 30px; }
.corner-bracket.bottom-left::before { bottom: 0; left: 0; width: 100%; height: 1px; }
.corner-bracket.bottom-left::after { bottom: 0; left: 0; width: 1px; height: 100%; }

.corner-bracket.bottom-right { bottom: 30px; right: 30px; }
.corner-bracket.bottom-right::before { bottom: 0; right: 0; width: 100%; height: 1px; }
.corner-bracket.bottom-right::after { bottom: 0; right: 0; width: 1px; height: 100%; }

/* ==================== EFFECTS ==================== */
.crt-flicker {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    pointer-events: none;
    z-index: 9998;
    opacity: 0;
    background: rgba(200, 200, 212, 0.02);
    animation: crt-flicker 0.1s linear;
}

@keyframes crt-flicker {
    0% { opacity: 0; }
    20% { opacity: 1; }
    40% { opacity: 0; }
    60% { opacity: 0.7; }
    80% { opacity: 0; }
    100% { opacity: 0.3; }
}

.crt-flicker-2 {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    pointer-events: none;
    z-index: 9998;
    opacity: 0;
    background: rgba(144, 144, 152, 0.015);
    animation: crt-flicker-2 0.15s linear;
}

@keyframes crt-flicker-2 {
    0% { opacity: 0; }
    30% { opacity: 1; }
    50% { opacity: 0; }
    70% { opacity: 0.5; }
    100% { opacity: 0; }
}

.glitch-line {
    position: fixed;
    left: 0;
    width: 100%;
    height: 2px;
    pointer-events: none;
    z-index: 9999;
    opacity: 0;
    mix-blend-mode: screen;
}

.glitch-line.active {
    animation: glitch-line-flash 0.15s linear forwards;
}

@keyframes glitch-line-flash {
    0% { opacity: 0; }
    20% { opacity: 1; }
    40% { opacity: 0.3; }
    60% { opacity: 0.8; }
    80% { opacity: 0.1; }
    100% { opacity: 0; }
}

.screen-tear {
    position: fixed;
    left: 0;
    width: 100%;
    pointer-events: none;
    z-index: 9997;
    opacity: 0;
    background: linear-gradient(90deg, transparent 20%, rgba(200, 200, 212, 0.06) 20%, rgba(200, 200, 212, 0.06) 80%, transparent 80%);
    mix-blend-mode: screen;
}

.screen-tear.active {
    animation: screen-tear-flash 0.2s linear forwards;
}

@keyframes screen-tear-flash {
    0% { opacity: 0; transform: translateX(0); }
    25% { opacity: 1; transform: translateX(-5px); }
    50% { opacity: 0.5; transform: translateX(3px); }
    75% { opacity: 0.8; transform: translateX(-2px); }
    100% { opacity: 0; transform: translateX(0); }
}

.profile-card.glitch-active {
    animation: card-mega-glitch 0.4s step-end;
}

@keyframes card-mega-glitch {
    0% { filter: none; transform: none; }
    10% { filter: hue-rotate(90deg) brightness(2); transform: skewX(3deg) translateX(-5px); }
    20% { filter: saturate(5) brightness(1.5); transform: skewX(-2deg) translateX(8px); }
    30% { filter: invert(0.1) brightness(2.5); transform: skewX(4deg) translateY(-3px); }
    40% { filter: hue-rotate(-60deg) saturate(3); transform: skewX(-3deg) translateX(-10px); }
    50% { filter: brightness(3) contrast(2); transform: skewX(2deg) translateY(5px); }
    60% { filter: hue-rotate(180deg); transform: skewX(-4deg) translateX(6px); }
    70% { filter: saturate(8) brightness(1.8); transform: skewX(1deg) translateY(-8px); }
    80% { filter: invert(0.15) hue-rotate(90deg); transform: skewX(-1deg) translateX(-3px); }
    90% { filter: brightness(2); transform: skewX(2deg) translateY(2px); }
    100% { filter: none; transform: none; }
}

@keyframes random-skew {
    0%, 100% { transform: skewX(0deg); }
    20% { transform: skewX(2deg); }
    40% { transform: skewX(-3deg); }
    60% { transform: skewX(1deg); }
    80% { transform: skewX(-1deg); }
}

.random-skew {
    animation: random-skew 0.3s step-end;
}

@keyframes card-scan-sweep {
    0% { top: 0; opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { top: 100%; opacity: 0; }
}

/* ==================== HEX STREAM ==================== */
.hex-stream {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    pointer-events: none;
    z-index: 1;
    opacity: 0.5;
    overflow: hidden;
    mask-image: radial-gradient(ellipse at center, black 20%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 20%, transparent 80%);
}

.hex-col {
    position: absolute;
    top: -50%;
    display: flex;
    flex-direction: column;
    gap: 2px;
    animation: hex-scroll linear infinite;
    will-change: transform;
}

.hex-line {
    font-family: 'JetBrains Mono', monospace;
    font-size: 8px;
    color: rgba(200, 200, 212, 0.15);
    white-space: nowrap;
    transition: color 0.2s, text-shadow 0.2s;
    line-height: 1.3;
}

.hex-line.bin { letter-spacing: -0.5px; }
.hex-line.sym { letter-spacing: 2px; }

@keyframes hex-scroll {
    0% { transform: translateY(0); }
    100% { transform: translateY(50%); }
}

/* ==================== SKILL HOVER HIGHLIGHT ==================== */
.skill-item::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 0; height: 100%;
    background: linear-gradient(90deg, rgba(200, 200, 212, 0.03), transparent);
    transition: width 0.4s ease;
    pointer-events: none;
}

.skill-item:hover::before { width: 100%; }

.skill-item:hover .skill-name {
    text-shadow: 0 0 8px rgba(184, 184, 192, 0.3);
}

.skill-item:hover .skill-percent {
    text-shadow: 0 0 6px rgba(184, 184, 192, 0.2);
}

/* ==================== FOOTER UNDERLINE ==================== */
.footer-text::before {
    content: '';
    position: absolute;
    bottom: -2px; left: 0;
    width: 0; height: 1px;
    background: var(--accent);
    transition: width 0.4s ease;
    box-shadow: 0 0 6px rgba(184, 184, 192, 0.2);
}

.footer:hover .footer-text::before { width: 100%; }

/* ==================== SKILLS CARD ==================== */
.skills-card {
    position: relative;
    background: rgba(14, 14, 18, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(200, 200, 212, 0.06);
    border-radius: 20px;
    padding: 24px 28px;
    max-width: 360px;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    z-index: 2;
    box-shadow:
        0 0 0 1px rgba(200, 200, 212, 0.04),
        0 8px 32px rgba(0, 0, 0, 0.4),
        0 32px 80px rgba(0, 0, 0, 0.3);
    transition: border-color 0.5s ease;
}

.entered .skills-card {
    animation: card-appear 1s cubic-bezier(0.23, 1, 0.32, 1) 0.6s forwards;
    visibility: visible;
}

.skills-card .section-title {
    margin-bottom: 16px;
}

.skills-card .skill-category {
    padding: 12px;
}

.skills-card .skill-item {
    margin-bottom: 8px;
}

.skills-card .footer {
    border-top: 1px solid rgba(200, 200, 212, 0.06);
    margin-top: 16px;
    padding-top: 12px;
}

/* ==================== TOOLS CARD ==================== */
.tools-card {
    position: fixed;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(14, 14, 18, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(200, 200, 212, 0.06);
    border-radius: 20px;
    padding: 24px 16px;
    width: 200px;
    opacity: 0;
    visibility: hidden;
    z-index: 100;
    box-shadow:
        0 0 0 1px rgba(200, 200, 212, 0.04),
        0 8px 32px rgba(0, 0, 0, 0.4),
        0 32px 80px rgba(0, 0, 0, 0.3);
    transition: border-color 0.5s ease;
}

.entered .tools-card {
    animation: card-appear 1s cubic-bezier(0.23, 1, 0.32, 1) 0.8s forwards;
    visibility: visible;
}

.tools-card .section-title {
    margin-bottom: 16px;
}

.tools-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    width: 100%;
}

.tool-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 10px;
    background: rgba(10, 10, 14, 0.5);
    border: 1px solid rgba(200, 200, 212, 0.04);
    transition: border-color 0.3s, background 0.3s, transform 0.2s;
    opacity: 0;
    cursor: default;
}

.entered .tool-item {
    animation: skill-item-fly 0.5s cubic-bezier(0.23, 1, 0.32, 1) forwards;
}

.entered .tool-item:nth-child(1) { animation-delay: 1.0s; }
.entered .tool-item:nth-child(2) { animation-delay: 1.1s; }
.entered .tool-item:nth-child(3) { animation-delay: 1.2s; }
.entered .tool-item:nth-child(4) { animation-delay: 1.3s; }
.entered .tool-item:nth-child(5) { animation-delay: 1.4s; }
.entered .tool-item:nth-child(6) { animation-delay: 1.5s; }
.entered .tool-item:nth-child(7) { animation-delay: 1.6s; }
.entered .tool-item:nth-child(8) { animation-delay: 1.7s; }

.tool-item:hover {
    border-color: rgba(200, 200, 212, 0.12);
    background: rgba(15, 15, 20, 0.6);
    transform: translateY(-1px);
}

.tool-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(200, 200, 212, 0.04);
    border-radius: 8px;
    color: var(--accent);
    flex-shrink: 0;
}

.tool-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.tool-name {
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    font-weight: 500;
    color: var(--text-primary);
    letter-spacing: 0.3px;
}

.tool-desc {
    font-size: 11px;
    color: var(--text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

@media (max-width: 900px) {
    .skills-card {
        position: relative;
        bottom: auto;
        right: auto;
        max-width: 420px;
        margin: 0 auto;
    }
    .tools-card {
        max-width: 100%;
    }
    .container {
        display: block;
    }
}

@media (max-width: 600px) {
    .profile-card { padding: 20px; max-width: 100%; }
    .container { padding: 10px 16px; }
    .name { font-size: 28px; }
    .splash-title { font-size: 36px; }
    .social-links { gap: 6px; }
    .social-btn { padding: 6px 10px; }
    .social-label { display: none; }
    .boot-sequence { font-size: 9px; width: 320px; }
    .hex-ring { width: 120px; height: 120px; }
}

/* ==================== PARTICLE CANVAS ==================== */
.particle-canvas {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    pointer-events: none;
    z-index: 0;
}

/* ==================== ANIMATED GRADIENT BORDER ==================== */
.profile-card {
    border: none !important;
}

.profile-card .card-border-glow {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    border-radius: 20px;
    padding: 1px;
    background: conic-gradient(
        from var(--border-angle, 0deg),
        transparent 40%,
        rgba(168, 50, 50, 0.3) 45%,
        rgba(168, 50, 50, 0.4) 50%,
        rgba(168, 50, 50, 0.3) 55%,
        transparent 60%
    );
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    z-index: 1;
    opacity: 0;
    transition: opacity 0.5s ease;
    animation: border-rotate 4s linear infinite;
}

@property --border-angle {
    syntax: "<angle>";
    initial-value: 0deg;
    inherits: false;
}

@keyframes border-rotate {
    to { --border-angle: 360deg; }
}

.profile-card:hover .card-border-glow {
    opacity: 1;
}

.profile-card:hover {
    box-shadow:
        0 0 0 1px rgba(168, 50, 50, 0.08),
        0 0 40px rgba(168, 50, 50, 0.06),
        0 0 80px rgba(168, 50, 50, 0.03),
        0 12px 40px rgba(0, 0, 0, 0.5),
        0 40px 100px rgba(0, 0, 0, 0.4);
}

/* Skills card border glow */
.skills-card {
    border: none !important;
}

.skills-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    border-radius: 20px;
    padding: 1px;
    background: conic-gradient(
        from var(--border-angle2, 0deg),
        transparent 40%,
        rgba(168, 50, 50, 0.25) 48%,
        rgba(168, 50, 50, 0.3) 52%,
        transparent 60%
    );
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    z-index: 1;
    animation: border-rotate2 6s linear infinite;
}

@property --border-angle2 {
    syntax: "<angle>";
    initial-value: 0deg;
    inherits: false;
}

@keyframes border-rotate2 {
    to { --border-angle2: 360deg; }
}

.skills-card:hover::before {
    background: conic-gradient(
        from var(--border-angle2, 0deg),
        transparent 35%,
        rgba(168, 50, 50, 0.4) 45%,
        rgba(168, 50, 50, 0.5) 50%,
        rgba(200, 120, 255, 0.4) 55%,
        transparent 65%
    );
}

.skills-card:hover {
    box-shadow:
        0 0 0 1px rgba(168, 50, 50, 0.08),
        0 0 40px rgba(168, 50, 50, 0.06),
        0 12px 40px rgba(0, 0, 0, 0.5);
}

/* ==================== HOLOGRAPHIC AVATAR ==================== */
.avatar-ring {
    background: linear-gradient(135deg,
        #a83232 0%,
        #993333 25%,
        #a83232 50%,
        #8a2020 75%,
        #a83232 100%
    );
    background-size: 300% 300%;
    animation: holo-shift 3s ease infinite;
    padding: 3px;
    box-shadow:
        0 0 20px rgba(168, 50, 50, 0.35),
        0 0 40px rgba(168, 50, 50, 0.2),
        0 0 80px rgba(168, 50, 50, 0.1);
}

@keyframes holo-shift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.avatar-ring::before {
    border-color: rgba(168, 50, 50, 0.2);
    animation: ring-outer-spin 8s linear infinite, holo-ring-pulse 3s ease-in-out infinite;
}

.avatar-ring::after {
    border-color: rgba(168, 50, 50, 0.1);
    animation: ring-outer-spin 15s linear infinite reverse;
}

@keyframes holo-ring-pulse {
    0%, 100% { border-color: rgba(168, 50, 50, 0.15); }
    33% { border-color: rgba(168, 50, 50, 0.2); }
    66% { border-color: rgba(168, 50, 50, 0.15); }
}

.avatar-wrapper:hover .avatar-ring {
    box-shadow:
        0 0 20px rgba(168, 50, 50, 0.3),
        0 0 40px rgba(168, 50, 50, 0.15),
        0 0 60px rgba(168, 50, 50, 0.1);
}

/* ==================== COLORED NAME GLOW ==================== */
.name {
    background: linear-gradient(90deg, #e0e0e0, #f8f8f8, #e0e0e0);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: name-shimmer 8s ease-in-out infinite;
}

@keyframes name-shimmer {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.name:hover {
    filter: brightness(1.2);
}

.entered .name.name-glitch {
    -webkit-text-fill-color: initial;
    color: var(--text-primary);
    text-shadow: -3px 0 #a83232, 3px 0 var(--danger) !important;
    transition: none;
}

.name::before {
    -webkit-text-fill-color: rgba(168, 50, 50, 0.6);
}

.name::after {
    -webkit-text-fill-color: rgba(168, 50, 50, 0.5);
}

/* ==================== ENHANCED SKILL BARS ==================== */
.skill-fill {
    background: linear-gradient(90deg, #8a2020, #a83232, #993333);
    background-size: 200% 100%;
    animation: skill-gradient 4s ease-in-out infinite;
    box-shadow: 0 0 12px rgba(168, 50, 50, 0.25), 0 0 24px rgba(168, 50, 50, 0.1);
}

@keyframes skill-gradient {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.skill-fill.security {
    background: linear-gradient(90deg, #a83232, #8a2020, #a83232);
    background-size: 200% 100%;
    animation: skill-gradient 4s ease-in-out infinite;
    box-shadow: 0 0 12px rgba(168, 50, 50, 0.25), 0 0 24px rgba(168, 50, 50, 0.1);
}

.skill-bar {
    background: rgba(200, 200, 212, 0.04);
    border-radius: 4px;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.3);
}

/* ==================== ENHANCED DISCORD BUTTON ==================== */
.social-btn.discord {
    background: linear-gradient(135deg, rgba(168, 50, 50, 0.1), rgba(168, 50, 50, 0.06));
    border: none;
    position: relative;
    overflow: visible;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.social-btn.discord::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(135deg, rgba(168, 50, 50, 0.5), rgba(168, 50, 50, 0.4), rgba(168, 50, 50, 0.3));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    transition: opacity 0.4s ease;
}

.social-btn.discord::after {
    content: '';
    position: absolute;
    top: -1px; left: -1px; right: -1px; bottom: -1px;
    border-radius: inherit;
    background: linear-gradient(135deg, rgba(168, 50, 50, 0.2), rgba(168, 50, 50, 0.15));
    filter: blur(12px);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}

.social-btn.discord:hover {
    background: linear-gradient(135deg, rgba(168, 50, 50, 0.18), rgba(168, 50, 50, 0.1));
    transform: translateY(-3px) !important;
    box-shadow: 0 8px 30px rgba(168, 50, 50, 0.2), 0 0 60px rgba(168, 50, 50, 0.08);
}

.social-btn.discord:hover::after {
    opacity: 1;
}

/* ==================== FLOATING AMBIENT DOTS ==================== */
.ambient-dot {
    position: fixed;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
    filter: blur(1px);
}

/* ==================== TAGS HOVER GLOW ==================== */
.about-tag {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.about-tag:nth-child(1):hover { border-color: rgba(168, 50, 50, 0.4); box-shadow: 0 0 15px rgba(168, 50, 50, 0.1); }
.about-tag:nth-child(2):hover { border-color: rgba(168, 50, 50, 0.4); box-shadow: 0 0 15px rgba(168, 50, 50, 0.1); }
.about-tag:nth-child(3):hover { border-color: rgba(168, 50, 50, 0.4); box-shadow: 0 0 15px rgba(168, 50, 50, 0.1); }
.about-tag:nth-child(4):hover { border-color: rgba(168, 50, 50, 0.3); box-shadow: 0 0 15px rgba(168, 50, 50, 0.08); }

/* ==================== PROMO BANNER GLOW ==================== */
.promo-text {
    background: linear-gradient(135deg, rgba(200, 200, 212, 0.03), rgba(168, 50, 50, 0.03));
    transition: all 0.4s ease;
}

.promo-text:hover {
    border-color: rgba(168, 50, 50, 0.3);
    box-shadow: 0 0 20px rgba(168, 50, 50, 0.08), 0 0 40px rgba(168, 50, 50, 0.04);
    background: linear-gradient(135deg, rgba(200, 200, 212, 0.06), rgba(168, 50, 50, 0.06));
}

/* ==================== CARD GLOW ON HOVER ==================== */
.profile-card .card-glow {
    background: radial-gradient(ellipse at center, rgba(168, 50, 50, 0.04) 0%, rgba(168, 50, 50, 0.02) 30%, transparent 60%);
}

/* ==================== SECTION TITLE COLOR ==================== */
.skills-card .section-title {
    background: linear-gradient(90deg, var(--accent), rgba(168, 50, 50, 0.8));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ==================== CATEGORY TITLE COLOR ==================== */
.category-title {
    color: rgba(168, 50, 50, 0.7);
}

/* ==================== FOOTER GLOW ==================== */
.footer-text {
    transition: color 0.3s;
}

.footer:hover .footer-text {
    color: var(--accent);
}

/* ==================== VIEWS COUNTER GLOW ==================== */
.views-counter {
    transition: all 0.3s ease;
}

.views-counter:hover {
    color: rgba(168, 50, 50, 0.8);
    text-shadow: 0 0 8px rgba(168, 50, 50, 0.3);
}

/* ==================== STATUS DOT ENHANCED ==================== */
.status-dot.online {
    background: #4ade80;
    box-shadow: 0 0 8px rgba(74, 222, 128, 0.5), 0 0 16px rgba(74, 222, 128, 0.2);
    animation: pulse 2s infinite, status-glow 3s ease-in-out infinite;
}

@keyframes status-glow {
    0%, 100% { box-shadow: 0 0 8px rgba(74, 222, 128, 0.5), 0 0 16px rgba(74, 222, 128, 0.2); }
    50% { box-shadow: 0 0 12px rgba(74, 222, 128, 0.7), 0 0 24px rgba(74, 222, 128, 0.3); }
}

/* ==================== AMBIENT FLOAT ==================== */
@keyframes ambient-float {
    0% { transform: translate(0, 0) scale(1); opacity: 0.3; }
    25% { transform: translate(20px, -30px) scale(1.2); opacity: 0.6; }
    50% { transform: translate(-15px, 10px) scale(0.8); opacity: 0.4; }
    75% { transform: translate(25px, 20px) scale(1.1); opacity: 0.7; }
    100% { transform: translate(-10px, -15px) scale(1); opacity: 0.3; }
}

/* ==================== MOUSE GLOW EFFECT ==================== */
.profile-card .card-mouse-glow,
.skills-card .card-mouse-glow {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    pointer-events: none;
    z-index: 0;
    opacity: 0;
    transition: opacity 0.4s ease;
    border-radius: inherit;
}

.profile-card:hover .card-mouse-glow,
.skills-card:hover .card-mouse-glow {
    opacity: 1;
}

/* ==================== ENHANCED CARD HOVER SCALE ==================== */
.profile-card {
    transition: box-shadow 0.5s ease, border-color 0.5s ease, transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.profile-card:hover {
    transform: translateY(-4px) scale(1.01) !important;
}

.skills-card {
    transition: box-shadow 0.5s ease, border-color 0.5s ease, transform 0.4s ease;
}

.skills-card:hover {
    transform: translateY(-4px);
}

/* ==================== TAGLINE ENHANCED ==================== */
.tagline {
    text-shadow: 0 0 15px rgba(200, 200, 212, 0.1);
}

/* ==================== ENHANCED PROMO GLOW ==================== */
.promo-banner {
    position: relative;
}

.promo-banner::before {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 0; height: 0;
    background: radial-gradient(circle, rgba(168, 50, 50, 0.1), transparent 70%);
    border-radius: 50%;
    transition: width 0.6s ease, height 0.6s ease;
    pointer-events: none;
    z-index: 0;
}

.promo-banner:hover::before {
    width: 300px;
    height: 300px;
}

/* ==================== SKILL ITEM HOVER ENHANCED ==================== */
.skill-item {
    padding: 6px 10px;
    border-radius: 8px;
    transition: background 0.3s ease;
    margin-left: -10px;
    margin-right: -10px;
}

.skill-item:hover {
    background: rgba(168, 50, 50, 0.04);
}

.skill-item:hover .skill-fill {
    filter: brightness(1.2);
    box-shadow: 0 0 16px rgba(168, 50, 50, 0.3), 0 0 32px rgba(168, 50, 50, 0.15);
}

/* ==================== AVATAR HOLOGRAPHIC SHIMMER ==================== */
.avatar-wrapper {
    position: relative;
}

.avatar-wrapper::after {
    content: '';
    position: absolute;
    top: -15px; left: -15px;
    width: 130px; height: 130px;
    border-radius: 50%;
    background: conic-gradient(
        from 0deg,
        transparent 0%,
        rgba(168, 50, 50, 0.1) 10%,
        transparent 20%,
        rgba(168, 50, 50, 0.1) 30%,
        transparent 40%,
        rgba(168, 50, 50, 0.08) 50%,
        transparent 60%,
        rgba(168, 50, 50, 0.06) 70%,
        transparent 80%,
        rgba(255, 200, 50, 0.08) 90%,
        transparent 100%
    );
    animation: avatar-holo-spin 8s linear infinite;
    pointer-events: none;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.avatar-wrapper:hover::after {
    opacity: 1;
}

@keyframes avatar-holo-spin {
    to { transform: rotate(360deg); }
}

/* ==================== CARD SCANLINE SWEEP ==================== */
.profile-card .card-scanline-sweep {
    position: absolute;
    top: -100%; left: 0;
    width: 100%; height: 50%;
    background: linear-gradient(180deg, transparent, rgba(168, 50, 50, 0.03), transparent);
    pointer-events: none;
    z-index: 2;
    animation: scanline-sweep 8s ease-in-out infinite;
}

@keyframes scanline-sweep {
    0%, 100% { top: -50%; }
    50% { top: 100%; }
}

/* ==================== DISCORD BUTTON GLOW ON HOVER ==================== */
.social-btn.discord::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 0; height: 2px;
    background: linear-gradient(90deg, #a83232, #a83232);
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 0 8px rgba(168, 50, 50, 0.4);
}

.social-btn.discord:hover::after { width: 100%; }

/* ==================== FOOTER ENHANCED ==================== */
.footer {
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0; left: 50%;
    transform: translateX(-50%);
    width: 60%; height: 1px;
    background: linear-gradient(90deg, transparent, rgba(168, 50, 50, 0.2), rgba(168, 50, 50, 0.2), transparent);
}

/* ==================== SECTION TITLE GLOW ==================== */
.skills-card .section-title:hover .bracket {
    text-shadow: 0 0 15px rgba(168, 50, 50, 0.5), 0 0 30px rgba(168, 50, 50, 0.2);
}

/* ==================== RESPONSIVE ENHANCEMENTS ==================== */
@media (max-width: 1100px) {
    .layout-3col {
        grid-template-columns: 1fr !important;
        padding: 20px 3vw !important;
    }
    .col-profile {
        display: flex;
        justify-content: center;
    }
}

/* ==================== LAYOUT 3-COL ==================== */

.layout-3col {
    display: grid;
    grid-template-columns: 480px 1fr 320px;
    gap: 16px;
    max-width: 1600px;
    margin: 0 auto 0 auto;
    margin-left: auto;
    padding: 20px 3vw 20px 3vw;
    align-items: start;
    align-content: start;
    place-content: start;
    height: fit-content;
}

.col-profile {
    position: sticky;
    top: 20px;
    align-self: start;
    order: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.col-mid {
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-height: 0;
    order: 0;
}

.col-right {
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-height: 0;
    order: 0;
}

/* ==================== INFO CARD BASE ==================== */
.info-card {
    background: rgba(14, 14, 18, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(200, 200, 212, 0.06);
    border-radius: 16px;
    padding: 16px 18px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    opacity: 0;
    transform: translateY(30px);
}

.entered .info-card {
    animation: card-appear 0.8s cubic-bezier(0.23, 1, 0.32, 1) forwards;
}

.entered .info-card:nth-child(1) { animation-delay: 1.4s; }
.entered .info-card:nth-child(2) { animation-delay: 1.6s; }
.entered .info-card:nth-child(3) { animation-delay: 1.8s; }
.entered .info-card:nth-child(4) { animation-delay: 2.0s; }

.info-card:hover {
    border-color: rgba(200, 200, 212, 0.12);
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.5);
}

/* ==================== PROJECTS CARD ==================== */
.projects-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.project-item {
    background: rgba(10, 10, 14, 0.5);
    border: 1px solid rgba(200, 200, 212, 0.04);
    border-radius: 10px;
    padding: 12px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: default;
    position: relative;
    overflow: hidden;
}

.project-item:hover {
    border-color: rgba(168, 50, 50, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.project-item[data-color="blue"]:hover { border-color: rgba(168, 50, 50, 0.3); }
.project-item[data-color="purple"]:hover { border-color: rgba(168, 50, 50, 0.3); }
.project-item[data-color="cyan"]:hover { border-color: rgba(168, 50, 50, 0.3); }
.project-item[data-color="green"]:hover { border-color: rgba(168, 50, 50, 0.2); }

.project-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.project-icon {
    font-size: 20px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(168, 50, 50, 0.08);
    border-radius: 8px;
    flex-shrink: 0;
}

.project-name {
    font-family: 'JetBrains Mono', monospace;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
    white-space: nowrap;
}

.status-badge {
    font-family: 'JetBrains Mono', monospace;
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 2px 6px;
    border-radius: 4px;
    white-space: nowrap;
    flex-shrink: 0;
}

.status-badge.active {
    color: #4ade80;
    background: rgba(74, 222, 128, 0.1);
    border: 1px solid rgba(74, 222, 128, 0.2);
}

.status-badge.beta {
    color: #fbbf24;
    background: rgba(251, 191, 36, 0.1);
    border: 1px solid rgba(251, 191, 36, 0.2);
}

.status-badge.archived {
    color: var(--text-muted);
    background: rgba(100, 100, 120, 0.1);
    border: 1px solid rgba(100, 100, 120, 0.2);
}

.project-desc {
    font-size: 11px;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 10px;
}

.tech-tags {
    display: flex;
    gap: 4px;
    flex-wrap: wrap;
    margin-bottom: 10px;
}

.tech-tag {
    font-family: 'JetBrains Mono', monospace;
    font-size: 9px;
    color: rgba(168, 50, 50, 0.7);
    background: rgba(168, 50, 50, 0.06);
    padding: 2px 8px;
    border-radius: 10px;
    border: 1px solid rgba(168, 50, 50, 0.1);
}

.progress-bar {
    height: 3px;
    background: rgba(200, 200, 212, 0.06);
    border-radius: 3px;
    overflow: hidden;
    position: relative;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #8a2020, #a83232, #993333);
    border-radius: 3px;
    transition: width 1.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.progress-label {
    font-family: 'JetBrains Mono', monospace;
    font-size: 9px;
    color: var(--text-muted);
    position: absolute;
    right: 0;
    top: -14px;
}

/* ==================== ACTIVITY CARD ==================== */
.activity-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 12px;
}

.activity-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 8px 12px;
    border-radius: 8px;
    transition: background 0.3s ease;
}

.activity-item:hover {
    background: rgba(200, 200, 212, 0.03);
}

.activity-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin-top: 5px;
    flex-shrink: 0;
}

.activity-dot.working {
    background: #4ade80;
    box-shadow: 0 0 8px rgba(74, 222, 128, 0.4);
    animation: pulse 2s infinite;
}

.activity-dot.coding {
    background: #a83232;
    box-shadow: 0 0 8px rgba(168, 50, 50, 0.4);
}

.activity-dot.listening {
    background: #a83232;
    box-shadow: 0 0 8px rgba(168, 50, 50, 0.4);
}

.activity-dot.status {
    background: #a83232;
    box-shadow: 0 0 8px rgba(168, 50, 50, 0.4);
}

.activity-content {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.activity-label {
    font-family: 'JetBrains Mono', monospace;
    font-size: 9px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.activity-text {
    font-size: 12px;
    color: var(--text-secondary);
}

/* ==================== TERMINAL WIDGET ==================== */
.terminal-widget {
    background: rgba(8, 8, 12, 0.8);
    border: 1px solid rgba(200, 200, 212, 0.06);
    border-radius: 10px;
    overflow: hidden;
}

.terminal-header {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    background: rgba(20, 20, 28, 0.8);
    border-bottom: 1px solid rgba(200, 200, 212, 0.04);
}

.terminal-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.terminal-dot.red { background: #ff5f57; }
.terminal-dot.yellow { background: #febc2e; }
.terminal-dot.green { background: #28c840; }

.terminal-title {
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    color: var(--text-muted);
    margin-left: 8px;
}

.terminal-body {
    padding: 12px 14px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
}

.terminal-line {
    display: flex;
    gap: 8px;
}

.terminal-prompt {
    color: #4ade80;
}

.terminal-text {
    color: var(--text-primary);
}

/* ==================== CONTACT CARD ==================== */
.contact-card {
    position: relative;
    border: none !important;
}

.contact-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    border-radius: 16px;
    padding: 1px;
    background: conic-gradient(
        from var(--border-angle, 0deg),
        transparent 30%,
        rgba(168, 50, 50, 0.4) 45%,
        rgba(168, 50, 50, 0.4) 50%,
        rgba(168, 50, 50, 0.3) 55%,
        transparent 70%
    );
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    animation: border-rotate 6s linear infinite;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.contact-card:hover::before {
    opacity: 1;
}

.contact-card::after {
    content: '';
    position: absolute;
    top: -1px; left: -1px; right: -1px; bottom: -1px;
    border-radius: 17px;
    background: conic-gradient(
        from var(--border-angle, 0deg),
        transparent 30%,
        rgba(168, 50, 50, 0.15) 45%,
        rgba(168, 50, 50, 0.15) 50%,
        rgba(168, 50, 50, 0.1) 55%,
        transparent 70%
    );
    filter: blur(12px);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
    animation: border-rotate 6s linear infinite;
}

.contact-card:hover::after {
    opacity: 1;
}

.contact-grid {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.contact-btn {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    background: rgba(10, 10, 14, 0.5);
    border: 1px solid rgba(200, 200, 212, 0.06);
    border-radius: 12px;
    color: var(--text-secondary);
    cursor: pointer;
    font-family: inherit;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: visible;
}

.contact-btn:hover {
    border-color: rgba(168, 50, 50, 0.4);
    background: rgba(168, 50, 50, 0.08);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(168, 50, 50, 0.15), 0 0 40px rgba(168, 50, 50, 0.08);
}

.contact-btn:first-child:hover {
    border-color: rgba(168, 50, 50, 0.4);
    box-shadow: 0 8px 24px rgba(168, 50, 50, 0.15), 0 0 40px rgba(168, 50, 50, 0.08);
}

.contact-btn:last-child:hover {
    border-color: rgba(168, 50, 50, 0.3);
    box-shadow: 0 8px 24px rgba(168, 50, 50, 0.1), 0 0 40px rgba(168, 50, 50, 0.05);
}

.contact-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    flex-shrink: 0;
}

.discord-icon {
    background: rgba(168, 50, 50, 0.1);
    color: #a83232;
}

.github-icon {
    background: rgba(200, 200, 200, 0.06);
    color: var(--accent);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    text-align: left;
}

.contact-label {
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.contact-value {
    font-family: 'JetBrains Mono', monospace;
    font-size: 13px;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: visible;
}

.contact-hint {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    font-family: 'JetBrains Mono', monospace;
    font-size: 9px;
    color: var(--text-muted);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.contact-done {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    font-family: 'JetBrains Mono', monospace;
    font-size: 9px;
    color: #4ade80;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.contact-btn:hover .contact-hint { opacity: 1; }

.contact-btn.copied .contact-hint { opacity: 0; }
.contact-btn.copied .contact-done { opacity: 1; }
.contact-btn.copied {
    border-color: rgba(74, 222, 128, 0.3);
    background: rgba(74, 222, 128, 0.06);
}

/* ==================== SKILLS CARD (in layout) ==================== */
.info-card.skills-card {
    position: relative;
    opacity: 0;
}

/* ==================== SECTION TITLE FOR INFO CARDS ==================== */
.info-card .section-title {
    animation: none;
    opacity: 1;
    margin-bottom: 12px;
    font-size: 14px;
}

/* ==================== SHOUTOUTS CARD ==================== */
.shoutouts-card {
    text-align: left;
    margin-top: 16px;
}

.shoutouts-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.shoutout-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: 10px;
    border: 1px solid rgba(168, 50, 50, 0.15);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.02), rgba(168, 50, 50, 0.03));
    text-decoration: none;
    color: var(--text-primary);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.shoutout-item::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(168, 50, 50, 0.08), transparent 60%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.shoutout-item:hover::before { opacity: 1; }

.shoutout-item:hover {
    border-color: rgba(168, 50, 50, 0.35);
    box-shadow: 0 0 20px rgba(168, 50, 50, 0.08), inset 0 0 20px rgba(168, 50, 50, 0.03);
    transform: translateX(4px);
}

.shoutout-icon {
    font-size: 20px;
    flex-shrink: 0;
}

.shoutout-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1;
    min-width: 0;
}

.shoutout-name {
    font-family: 'JetBrains Mono', monospace;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
}

.shoutout-desc {
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    color: var(--text-muted);
    opacity: 0.7;
}

.shoutout-arrow {
    font-size: 14px;
    color: var(--text-muted);
    opacity: 0.4;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.shoutout-item:hover .shoutout-arrow {
    opacity: 1;
    color: #a83232;
    transform: translateX(3px);
}

/* ==================== HEX GRID CANVAS ==================== */
.hex-grid-canvas {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    pointer-events: none;
    z-index: 0;
    opacity: 0.4;
}

/* ==================== MOUSE TRAIL ==================== */
.mouse-trail-container {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    pointer-events: none;
    z-index: 997;
    overflow: hidden;
}

.mouse-trail-particle {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    will-change: transform, opacity;
}

.click-burst {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    border: 1px solid;
    will-change: transform, opacity;
    animation: burst-expand 0.8s cubic-bezier(0.23, 1, 0.32, 1) forwards;
}

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

/* ==================== FLOATING SHAPES ==================== */
.floating-shapes {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.floating-shape {
    position: absolute;
    pointer-events: none;
    opacity: 0.06;
    animation: shape-float linear infinite;
}

.floating-shape.hex {
    width: 80px; height: 80px;
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    border: 1px solid rgba(168, 50, 50, 0.3);
    background: rgba(168, 50, 50, 0.05);
}

.floating-shape.diamond {
    width: 40px; height: 40px;
    transform: rotate(45deg);
    background: rgba(168, 50, 50, 0.08);
    border: 1px solid rgba(168, 50, 50, 0.2);
}

.floating-shape.triangle {
    width: 0; height: 0;
    border-left: 25px solid transparent;
    border-right: 25px solid transparent;
    border-bottom: 43px solid rgba(168, 50, 50, 0.08);
}

.floating-shape.circle {
    width: 30px; height: 30px;
    border-radius: 50%;
    border: 1px solid rgba(168, 50, 50, 0.15);
    background: rgba(168, 50, 50, 0.03);
}

@keyframes shape-float {
    0% { transform: translateY(100vh) rotate(0deg); opacity: 0; }
    10% { opacity: 0.06; }
    90% { opacity: 0.06; }
    100% { transform: translateY(-100px) rotate(720deg); opacity: 0; }
}

/* ==================== LIGHT BEAMS ==================== */
.light-beams {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.light-beams::before,
.light-beams::after {
    content: '';
    position: absolute;
    width: 2px;
    height: 200%;
    background: linear-gradient(180deg, transparent, rgba(168, 50, 50, 0.06), rgba(168, 50, 50, 0.04), transparent);
    transform-origin: top center;
    animation: beam-sweep 20s ease-in-out infinite;
}

.light-beams::before {
    left: 30%;
    transform: rotate(-15deg);
    animation-delay: 0s;
}

.light-beams::after {
    left: 70%;
    transform: rotate(10deg);
    animation-delay: -10s;
    background: linear-gradient(180deg, transparent, rgba(168, 50, 50, 0.05), rgba(168, 50, 50, 0.03), transparent);
}

@keyframes beam-sweep {
    0%, 100% { transform: rotate(-20deg) translateX(-50px); opacity: 0.3; }
    25% { transform: rotate(-5deg) translateX(30px); opacity: 0.8; }
    50% { transform: rotate(15deg) translateX(-20px); opacity: 0.5; }
    75% { transform: rotate(5deg) translateX(40px); opacity: 0.7; }
}

/* ==================== NEON PULSE BORDER ==================== */
.profile-card.neon-pulse::after {
    content: '';
    position: absolute;
    top: -2px; left: -2px; right: -2px; bottom: -2px;
    border-radius: 22px;
    background: linear-gradient(45deg, 
        rgba(168, 50, 50, 0.3),
        rgba(168, 50, 50, 0.3),
        rgba(168, 50, 50, 0.3),
        rgba(168, 50, 50, 0.2),
        rgba(168, 50, 50, 0.3)
    );
    background-size: 400% 400%;
    animation: neon-flow 6s linear infinite;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.5s ease;
    filter: blur(4px);
}

.profile-card:hover.neon-pulse::after {
    opacity: 1;
}

@keyframes neon-flow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* ==================== NAME RGB SPLIT ENHANCED ==================== */
.name {
    position: relative;
}

.name-glitch-active {
    animation: name-massive-glitch 0.3s step-end;
}

@keyframes name-massive-glitch {
    0% { transform: translate(0); filter: hue-rotate(0deg); }
    10% { transform: translate(-5px, 3px); filter: hue-rotate(90deg); }
    20% { transform: translate(3px, -2px); filter: hue-rotate(180deg); }
    30% { transform: translate(-2px, -4px) skewX(5deg); filter: hue-rotate(270deg); }
    40% { transform: translate(4px, 2px) skewX(-3deg); filter: hue-rotate(360deg); }
    50% { transform: translate(-3px, 1px); filter: hue-rotate(0deg); }
    60% { transform: translate(2px, -3px) skewX(2deg); filter: hue-rotate(120deg); }
    70% { transform: translate(-4px, 4px); filter: hue-rotate(240deg); }
    80% { transform: translate(1px, -1px) skewX(-4deg); filter: hue-rotate(60deg); }
    90% { transform: translate(-1px, 2px); filter: hue-rotate(300deg); }
    100% { transform: translate(0); filter: hue-rotate(0deg); }
}

/* ==================== SCREEN FLASH EFFECT ==================== */
.screen-flash {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    pointer-events: none;
    z-index: 9999;
    background: radial-gradient(circle at center, rgba(168, 50, 50, 0.15), transparent 70%);
    opacity: 0;
    animation: flash-burst 0.6s ease-out forwards;
}

@keyframes flash-burst {
    0% { opacity: 1; transform: scale(0.5); }
    100% { opacity: 0; transform: scale(2); }
}

/* ==================== ORBIT RINGS AROUND AVATAR ==================== */
.avatar-wrapper .orbit-ring {
    position: absolute;
    border-radius: 50%;
    border: 1px solid;
    pointer-events: none;
    animation: orbit-spin linear infinite;
}

.avatar-wrapper .orbit-ring:nth-child(1) {
    width: 130px; height: 130px;
    top: -15px; left: -15px;
    border-color: rgba(168, 50, 50, 0.2);
    animation-duration: 10s;
    border-style: dashed;
}

.avatar-wrapper .orbit-ring:nth-child(2) {
    width: 150px; height: 150px;
    top: -25px; left: -25px;
    border-color: rgba(168, 50, 50, 0.15);
    animation-duration: 15s;
    animation-direction: reverse;
    border-style: dotted;
}

.avatar-wrapper .orbit-dot {
    position: absolute;
    width: 4px; height: 4px;
    border-radius: 50%;
    background: var(--accent);
    pointer-events: none;
    animation: orbit-dot-pulse 2s ease-in-out infinite;
}

@keyframes orbit-spin {
    to { transform: rotate(360deg); }
}

@keyframes orbit-dot-pulse {
    0%, 100% { opacity: 0.3; transform: scale(0.8); }
    50% { opacity: 1; transform: scale(1.4); }
}

/* ==================== CARD ENTRY SCREEN FLASH ==================== */
.entered .profile-card::before {
    animation: card-flash-in 1.5s ease-out 0.3s both;
}

@keyframes card-flash-in {
    0% { box-shadow: 0 0 80px rgba(168, 50, 50, 0.5), 0 0 160px rgba(168, 50, 50, 0.3); }
    100% { box-shadow: none; }
}

/* ==================== DRAMATIC SKILL BAR FILL ==================== */
.skill-fill {
    position: relative;
}

.skill-fill::after {
    content: '';
    position: absolute;
    right: 0; top: -4px;
    width: 8px; height: 12px;
    border-radius: 3px;
    animation: skill-endpoint-pulse 1.5s ease-in-out infinite;
}

@keyframes skill-endpoint-pulse {
    0%, 100% { opacity: 0.4; box-shadow: 0 0 4px currentColor; }
    50% { opacity: 1; box-shadow: 0 0 12px currentColor, 0 0 24px currentColor; }
}

/* ==================== BIGGER NAME ==================== */
.entered .name {
    font-size: 44px;
    letter-spacing: 4px;
}

/* ==================== ENHANCED ABOUT TAGS ==================== */
.about-tag {
    font-size: 12px;
    padding: 8px 18px;
    letter-spacing: 1px;
}

.about-tag:nth-child(1) { animation-delay: 1.5s; border-color: rgba(200, 200, 212, 0.15); }
.about-tag:nth-child(2) { animation-delay: 1.6s; border-color: rgba(200, 200, 212, 0.15); }
.about-tag:nth-child(3) { animation-delay: 1.7s; border-color: rgba(200, 200, 212, 0.15); }
.about-tag:nth-child(4) { animation-delay: 1.8s; border-color: rgba(200, 200, 212, 0.15); }
