/* ===================================
        LINK-IN-BIO STYLESHEET
   =================================== */

/* Import Google Fonts */
@import url('css2');

/* CSS Variables for Easy Theming */
:root {
    /* Rengoku Theme - Flame Colors */
    --primary-color: #ff4500;
    --secondary-color: #ff6b35;
    --accent-color: #ffa500;
    --bg-color: #0a0505;
    --card-bg: rgba(40, 10, 5, 0.95);
    --text-color: #ffffff;
    --text-secondary: #ff8c42;
    --border-color: rgba(255, 69, 0, 0.3);
    --shadow-color: rgba(255, 69, 0, 0.3);
    --blur-amount: 20px;
    
    /* Fonts */
    --font-main: 'Poppins', sans-serif;
    --font-heading: 'Space Grotesk', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
}

/* Theme Variations */
.theme-vaporwave {
    --primary-color: #ff71ce;
    --secondary-color: #01cdfe;
    --accent-color: #b967ff;
    --bg-color: #05010d;
    --card-bg: rgba(25, 10, 35, 0.8);
    --border-color: rgba(255, 113, 206, 0.3);
    --shadow-color: rgba(255, 113, 206, 0.2);
}

.theme-matrix {
    --primary-color: #00ff00;
    --secondary-color: #00cc00;
    --accent-color: #00ff88;
    --bg-color: #000000;
    --card-bg: rgba(0, 20, 0, 0.8);
    --border-color: rgba(0, 255, 0, 0.3);
    --shadow-color: rgba(0, 255, 0, 0.2);
}

.theme-sunset {
    --primary-color: #ff6b6b;
    --secondary-color: #ffd93d;
    --accent-color: #ff8c42;
    --bg-color: #1a0a2e;
    --card-bg: rgba(40, 20, 60, 0.8);
    --border-color: rgba(255, 107, 107, 0.3);
    --shadow-color: rgba(255, 107, 107, 0.2);
}

.theme-ocean {
    --primary-color: #00d4ff;
    --secondary-color: #0099ff;
    --accent-color: #00ffcc;
    --bg-color: #001a33;
    --card-bg: rgba(0, 40, 80, 0.8);
    --border-color: rgba(0, 212, 255, 0.3);
    --shadow-color: rgba(0, 212, 255, 0.2);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background-color: #0a0505;
    color: var(--text-color);
    overflow-x: hidden;
    min-height: 100vh;
    position: relative;
    cursor: default;
}

/* Custom Cursor - Disabled (using normal cursor) */
body.custom-cursor {
    cursor: default;
}

.cursor,
.cursor-follower {
    display: none;
}

/* Background Video/Image */
.background-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.background-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    opacity: 0.3;
    filter: blur(3px);
}

.background-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        rgba(255, 81, 0, 0.13) 0%, 
        rgba(255, 94, 0, 0.089) 100%);
    pointer-events: none;
}

/* Amazing Unique Background - Grid Waves */
#particles-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

/* Optimized Background - Rengoku Flame */
.liquid-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    overflow: hidden;
    background: #0a0505;
}

/* Optimized Floating Orbs - Flame Colors */
.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.2;
    animation: floatOrb 25s ease-in-out infinite;
    will-change: transform;
}

.blob:nth-child(1) {
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, var(--primary-color), transparent);
    top: 15%;
    left: 15%;
    animation-delay: 0s;
}

.blob:nth-child(2) {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--secondary-color), transparent);
    top: 55%;
    right: 15%;
    animation-delay: -8s;
}

.blob:nth-child(3) {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--accent-color), transparent);
    bottom: 15%;
    left: 45%;
    animation-delay: -16s;
}

@keyframes floatOrb {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    50% {
        transform: translate(40px, -60px) scale(1.05);
    }
}

/* Main Container - Perfectly Centered */
.container {
    max-width: 600px;
    margin: 0 auto;
    padding: 60px 20px;
    position: relative;
    z-index: 1;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/* Profile Section */
.profile-section {
    text-align: center;
    margin-bottom: 60px;
    animation: fadeInDown 0.8s ease;
    width: 100%;
    padding-top: 40px;
}

.profile-image-container {
    position: relative;
    width: 150px;
    height: 150px;
    margin: 0 auto 20px;
}

.profile-image {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 3px solid var(--primary-color);
    object-fit: cover;
    box-shadow: 0 8px 32px rgba(255, 69, 0, 0.4),
                0 0 60px rgba(255, 69, 0, 0.2);
    animation: float 3s ease-in-out infinite;
    transition: all 0.3s ease;
}

.profile-image:hover {
    transform: scale(1.05);
    border-color: var(--secondary-color);
    box-shadow: 0 8px 32px rgba(255, 107, 53, 0.5),
                0 0 80px rgba(255, 69, 0, 0.3);
}

.profile-badge {
    position: absolute;
    bottom: 5px;
    right: 5px;
    width: 35px;
    height: 35px;
    background: rgba(20, 20, 20, 0.95);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    animation: pulse 2s ease-in-out infinite;
}

.profile-name {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text-color);
    display: inline-flex;
    align-items: center;
    gap: 15px;
    position: relative;
    cursor: pointer;
    text-shadow: 0 0 20px var(--primary-color),
                 0 0 40px var(--secondary-color),
                 0 0 60px var(--primary-color);
    animation: textPulse 2s ease-in-out infinite;
}

@keyframes textPulse {
    0%, 100% {
        text-shadow: 0 0 20px var(--primary-color),
                     0 0 40px var(--secondary-color),
                     0 0 60px var(--primary-color);
        opacity: 1;
    }
    50% {
        text-shadow: 0 0 30px var(--primary-color),
                     0 0 60px var(--secondary-color),
                     0 0 90px var(--primary-color),
                     0 0 120px var(--accent-color);
        opacity: 1;
    }
}

.profile-name::after {
    content: 'UID 1';
    position: absolute;
    top: -35px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(30, 30, 30, 0.98);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 5px 12px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-family: var(--font-mono);
    color: var(--text-secondary);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    backdrop-filter: blur(10px);
    white-space: nowrap;
}

.profile-name:hover::after {
    opacity: 1;
}

/* Badges Container */
.badges-container {
    display: inline-flex;
    gap: 10px;
    align-items: center;
}

.badge {
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 69, 0, 0.1);
    border-radius: 8px;
    font-size: 0.85rem;
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1.5px solid rgba(255, 69, 0, 0.4);
    box-shadow: 0 2px 8px rgba(255, 69, 0, 0.2);
}

.badge svg {
    color: var(--primary-color);
}

.badge:hover {
    transform: translateY(-2px) scale(1.1);
    background: rgba(255, 69, 0, 0.2);
    border-color: var(--secondary-color);
    box-shadow: 0 4px 12px rgba(255, 69, 0, 0.4);
}

.badge::after {
    content: attr(data-tooltip);
    position: absolute;
    top: -38px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(30, 30, 30, 0.98);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-family: var(--font-main);
    color: var(--text-color);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    backdrop-filter: blur(10px);
    white-space: nowrap;
    z-index: 100;
}

.badge:hover::after {
    opacity: 1;
}

.rengoku-badge {
    background: linear-gradient(135deg, rgba(255, 69, 0, 0.2), rgba(255, 107, 53, 0.2));
    border: 2px solid var(--primary-color);
    box-shadow: 0 0 15px rgba(255, 69, 0, 0.5);
    animation: rengokuGlow 2s ease-in-out infinite;
}

.rengoku-badge img {
    width: 18px;
    height: 18px;
    object-fit: contain;
    filter: drop-shadow(0 0 5px rgba(255, 69, 0, 0.8));
}

.rengoku-badge:hover {
    transform: translateY(-2px) scale(1.15);
    box-shadow: 0 0 25px rgba(255, 69, 0, 0.8);
}

@keyframes rengokuGlow {
    0%, 100% {
        box-shadow: 0 0 15px rgba(255, 69, 0, 0.5);
    }
    50% {
        box-shadow: 0 0 25px rgba(255, 69, 0, 0.8);
    }
}

.name-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.profile-title {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 15px;
    font-weight: 400;
}

.profile-bio {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
    max-width: 400px;
    margin: 0 auto 20px;
    min-height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px 25px;
    background: rgba(40, 10, 5, 0.8);
    border: 1px solid rgba(255, 69, 0, 0.3);
    border-radius: 12px;
    backdrop-filter: blur(10px);
}

.typewriter-text {
    display: inline-block;
    border-right: 2px solid var(--primary-color);
    padding-right: 5px;
    animation: blink 0.7s step-end infinite;
    text-shadow: 0 0 15px var(--primary-color),
                 0 0 30px var(--secondary-color);
}

@keyframes blink {
    from, to {
        border-color: transparent;
    }
    50% {
        border-color: var(--text-secondary);
    }
}

/* Stats Section - Hidden */
.stats-container {
    display: none;
}

/* Discord Button - Main CTA */
.social-links {
    display: flex;
    justify-content: center;
    margin: 30px 0;
}

.discord-button {
    padding: 14px 40px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border: 2px solid var(--primary-color);
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1rem;
    font-weight: 600;
    color: #000000;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(255, 69, 0, 0.4);
}

.discord-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.discord-button:hover::before {
    left: 100%;
}

.discord-button:hover {
    transform: translateY(-3px) scale(1.02);
    border-color: var(--secondary-color);
    box-shadow: 0 6px 30px rgba(255, 69, 0, 0.6);
}

.discord-button i {
    font-size: 1.3rem;
    transition: transform 0.3s ease;
}

.discord-button:hover i {
    transform: scale(1.1);
}

.social-link {
    display: none;
}

/* Link Cards - Hidden */
.links-container {
    display: none;
}

/* Music Player */
.music-player {
    display: none;
}

.player-visualizer {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 6px;
    height: 60px;
    margin-bottom: 20px;
}

.visualizer-bar {
    width: 8px;
    background: linear-gradient(to top, var(--primary-color), var(--secondary-color));
    border-radius: 4px;
    animation: visualize 0.8s ease-in-out infinite;
    opacity: 0.6;
}

.visualizer-bar:nth-child(1) { animation-delay: 0s; height: 20%; }
.visualizer-bar:nth-child(2) { animation-delay: 0.1s; height: 40%; }
.visualizer-bar:nth-child(3) { animation-delay: 0.2s; height: 60%; }
.visualizer-bar:nth-child(4) { animation-delay: 0.3s; height: 40%; }
.visualizer-bar:nth-child(5) { animation-delay: 0.4s; height: 20%; }

@keyframes visualize {
    0%, 100% { height: 20%; opacity: 0.4; }
    50% { height: 80%; opacity: 1; }
}

.music-player.playing .visualizer-bar {
    animation-play-state: running;
}

.music-player:not(.playing) .visualizer-bar {
    animation-play-state: paused;
}

.player-info {
    text-align: center;
    margin-bottom: 20px;
}

.track-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 5px;
    text-shadow: 0 0 20px rgba(255, 69, 0, 0.6);
}

.track-artist {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
}

.player-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

.ctrl-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 69, 0, 0.3);
    color: #fff;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.ctrl-btn:hover {
    background: rgba(255, 69, 0, 0.2);
    border-color: var(--primary-color);
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(255, 69, 0, 0.4);
}

.ctrl-btn.play-btn {
    width: 55px;
    height: 55px;
    font-size: 1.3rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border: none;
    box-shadow: 0 4px 20px rgba(255, 69, 0, 0.4);
}

.ctrl-btn.play-btn:hover {
    transform: scale(1.15);
    box-shadow: 0 6px 30px rgba(255, 69, 0, 0.6);
}

.player-progress {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
}

.time-current,
.time-total {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
    font-family: 'Courier New', monospace;
    min-width: 40px;
}

.progress-track {
    flex: 1;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.progress-active {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 10px;
    width: 0%;
    transition: width 0.1s linear;
    box-shadow: 0 0 10px rgba(255, 69, 0, 0.6);
}

.player-volume {
    display: flex;
    align-items: center;
    gap: 12px;
    justify-content: center;
}

.player-volume i {
    color: rgba(255, 255, 255, 0.6);
    font-size: 1rem;
}

.volume-slider {
    width: 120px;
    height: 4px;
    -webkit-appearance: none;
    appearance: none;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    outline: none;
    cursor: pointer;
}

.volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 14px;
    height: 14px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 0 10px rgba(255, 69, 0, 0.6);
}

.volume-slider::-moz-range-thumb {
    width: 14px;
    height: 14px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    cursor: pointer;
    border: none;
    box-shadow: 0 0 10px rgba(255, 69, 0, 0.6);
}

/* Theme Switcher - Hidden */
.theme-switcher {
    display: none;
}

/* Footer */
.footer {
    text-align: center;
    padding: 20px;
    color: var(--text-secondary);
    font-size: 0.85rem;
    width: 100%;
    margin-top: auto;
}

.footer p {
    margin: 0;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.footer-link {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: var(--primary-color);
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

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

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

@keyframes glow {
    0%, 100% {
        filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.3));
    }
    50% {
        filter: drop-shadow(0 0 15px rgba(255, 255, 255, 0.4));
    }
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 30px 15px;
    }
    
    .profile-name {
        font-size: 2rem;
    }
    
    .stats-container {
        gap: 15px;
    }
    
    .stat-item {
        padding: 12px 20px;
    }
    
    .link-card {
        padding: 15px 20px;
    }
    
    .theme-switcher {
        top: 10px;
        right: 10px;
        padding: 8px;
    }
    
    .theme-btn {
        width: 35px;
        height: 35px;
    }
}

@media (max-width: 480px) {
    .profile-name {
        font-size: 1.8rem;
    }
    
    .profile-image-container {
        width: 120px;
        height: 120px;
    }
    
    .stats-container {
        gap: 10px;
    }
    
    .social-links {
        gap: 10px;
    }
    
    .social-link {
        width: 45px;
        height: 45px;
        font-size: 1.3rem;
    }
}

/* Loading Animation */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-color);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    transition: opacity 0.5s ease;
}

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

.loader {
    width: 50px;
    height: 50px;
    border: 3px solid var(--border-color);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

/* Scroll Indicator */
.scroll-indicator {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 2px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.5));
    z-index: 9999;
    transition: width 0.1s linear;
}