:root {
    /* --- JETT PALETTE --- */
    --jett-cyan: #4ff4ff;       /* Bright Electric Cyan */
    --jett-ice: #d4fbfd;        /* Pale Ice White */
    --jett-navy: #0f1923;       /* Standard Val Dark */
    --jett-slate: #1f2d3d;      /* Lighter Navy for cards */
    
    --primary: var(--jett-cyan);
    --secondary: var(--jett-ice);
    --bg-color: var(--jett-navy);
    --text-color: var(--jett-ice);
    
    /* Glassy/Ice Effect for Cards */
    --card-bg: rgba(79, 244, 255, 0.03); 
    --border-color: rgba(79, 244, 255, 0.2);
    
    /* Light Mode Overrides (Cloud Theme) */
    --light-bg: #e3f2fd;
    --light-text: #0d1b2a;
    --light-card: rgba(255, 255, 255, 0.6);
    --light-border: rgba(79, 244, 255, 0.5);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Oxanium', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow-x: hidden;
    position: relative;
    transition: background-color 0.3s ease;
}

/* --- BACKGROUND ANIMATIONS (THE WIND) --- */

/* 1. Grid (Subtle) */
.grid-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 200%;
    height: 200%;
    background-image: 
        linear-gradient(rgba(79, 244, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(79, 244, 255, 0.05) 1px, transparent 1px);
    background-size: 80px 80px;
    transform: perspective(500px) rotateX(60deg) translateY(-100px) translateZ(-200px);
    opacity: 0.4;
    pointer-events: none;
    z-index: -4;
}

/* 2. Moving Fog/Wind Overlay */
.wind-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 300%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(79, 244, 255, 0.02) 20%, 
        rgba(255, 255, 255, 0.02) 50%, 
        rgba(79, 244, 255, 0.02) 80%, 
        transparent 100%);
    z-index: -3;
    pointer-events: none;
    animation: windBlow 8s linear infinite;
}

@keyframes windBlow {
    0% { transform: translateX(-10%); }
    100% { transform: translateX(-50%); }
}

/* 3. Vignette */
.vignette {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, transparent 30%, var(--bg-color) 100%);
    z-index: -2;
    pointer-events: none;
}

/* 4. Particles Container */
.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

.particle {
    position: absolute;
    color: var(--primary);
    opacity: 0.6;
    font-family: monospace;
    font-weight: bold;
    user-select: none;
    text-shadow: 0 0 5px var(--primary);
}

/* --- CONTAINER & PROFILE --- */

.container {
    width: 100%;
    max-width: 450px;
    padding: 20px;
    z-index: 1;
}

.profile {
    text-align: center;
    margin-bottom: 30px;
    position: relative;
}

/* Jett Profile Border - Sharp & Fast */
.profile-pic-container {
    position: relative;
    width: 140px;
    height: 140px;
    margin: 0 auto 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Inner spinning ring (Cyan) */
.profile-pic-container::before {
    content: '';
    position: absolute;
    width: 105%;
    height: 105%;
    border: 2px solid transparent;
    border-top: 2px solid var(--primary);
    border-bottom: 2px solid var(--primary);
    border-radius: 50%;
    animation: spin 3s linear infinite; /* Faster spin for Jett */
    box-shadow: 0 0 15px rgba(79, 244, 255, 0.2);
}

/* Outer ring (White) */
.profile-pic-container::after {
    content: '';
    position: absolute;
    width: 115%;
    height: 115%;
    border: 1px dashed var(--text-color);
    border-radius: 50%;
    animation: spinReverse 8s linear infinite;
    opacity: 0.5;
}

.profile-pic {
    width: 90%;
    height: 90%;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--bg-color);
    z-index: 2;
    filter: contrast(1.1) brightness(1.1); /* Pop the image a bit more */
}

/* GLITCH TEXT - JETT STYLE */
.username {
    font-family: 'Oswald', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    display: inline-block;
    color: var(--text-color);
    text-shadow: 0 0 10px rgba(79, 244, 255, 0.5);
}

.username::before, .username::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-color);
}

.username::before {
    left: 2px;
    text-shadow: -1px 0 var(--primary);
    clip-path: inset(0 0 0 0);
    animation: glitch-anim-1 3s infinite linear alternate-reverse;
}

.username::after {
    left: -2px;
    text-shadow: -1px 0 #ffffff;
    clip-path: inset(0 0 0 0);
    animation: glitch-anim-2 2s infinite linear alternate-reverse;
}

.bio {
    color: #aebbc7;
    font-size: 0.9rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-top: 8px;
    font-weight: 600;
}

.bio-highlight {
    color: var(--primary);
    text-shadow: 0 0 8px var(--primary);
}

/* --- BUTTONS (ICY & SHARP) --- */

.links {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.link-btn {
    position: relative;
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.03); /* More glassy */
    color: var(--text-color);
    text-decoration: none;
    padding: 16px 24px;
    /* Sharper angle for Jett */
    clip-path: polygon(15px 0, 100% 0, 100% calc(100% - 15px), calc(100% - 15px) 100%, 0 100%, 0 15px);
    border-left: 2px solid rgba(79, 244, 255, 0.3);
    border-right: 2px solid rgba(79, 244, 255, 0.1);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    backdrop-filter: blur(5px);
}

/* Hover Fill (Slide effect) */
.link-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, var(--primary), transparent);
    transition: width 0.3s ease;
    z-index: -1;
    opacity: 0.8;
}

.link-btn:hover::before {
    width: 150%;
}

.link-btn:hover {
    padding-left: 35px;
    border-left: 4px solid var(--text-color);
    text-shadow: 0 0 8px rgba(255,255,255,0.8);
    transform: skewX(-2deg); /* Slight speed skew */
}

.link-btn i {
    font-size: 1.4rem;
    margin-right: 15px;
    width: 30px;
    text-align: center;
    transition: transform 0.3s ease;
    color: var(--primary);
}

.link-btn:hover i {
    transform: scale(1.2) rotate(-10deg);
    color: #fff;
}

/* --- FOOTER & TOGGLE --- */

.footer {
    margin-top: 40px;
    text-align: center;
    font-size: 0.8rem;
    color: #aebbc7;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.footer p span {
    color: var(--primary);
}

/* Diamond Toggle */
.theme-toggle {
    position: fixed;
    top: 20px;
    right: 20px;
    width: 45px;
    height: 45px;
    border: 2px solid var(--border-color);
    background: rgba(15, 25, 35, 0.8);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 100;
    transform: rotate(45deg); 
    transition: all 0.3s;
    box-shadow: 0 0 10px rgba(79, 244, 255, 0.1);
}

.theme-toggle i {
    transform: rotate(-45deg);
}

.theme-toggle:hover {
    border-color: var(--primary);
    box-shadow: 0 0 20px var(--primary);
    background: var(--primary);
    color: var(--bg-color);
}

/* LIGHT MODE (Cloud/Sky Mode) */
body.light-theme {
    --bg-color: var(--light-bg);
    --text-color: var(--light-text);
    --card-bg: var(--light-card);
    --border-color: var(--light-border);
    --primary: #00bcd4; /* Darker cyan for light mode readability */
}

body.light-theme .wind-bg {
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(0, 188, 212, 0.1) 20%, 
        rgba(255, 255, 255, 0.4) 50%, 
        rgba(0, 188, 212, 0.1) 80%, 
        transparent 100%);
}

/* KEYFRAMES */
@keyframes spin { 100% { transform: rotate(360deg); } }
@keyframes spinReverse { 100% { transform: rotate(-360deg); } }

@keyframes glitch-anim-1 {
    0% { clip-path: inset(20% 0 80% 0); }
    20% { clip-path: inset(60% 0 10% 0); }
    40% { clip-path: inset(40% 0 50% 0); }
    60% { clip-path: inset(80% 0 5% 0); }
    80% { clip-path: inset(10% 0 70% 0); }
    100% { clip-path: inset(30% 0 50% 0); }
}
@keyframes glitch-anim-2 {
    0% { clip-path: inset(10% 0 60% 0); }
    20% { clip-path: inset(80% 0 5% 0); }
    40% { clip-path: inset(30% 0 20% 0); }
    60% { clip-path: inset(10% 0 80% 0); }
    80% { clip-path: inset(50% 0 10% 0); }
    100% { clip-path: inset(70% 0 30% 0); }
}

@media (max-width: 600px) {
    .username { font-size: 2.2rem; }
}