/* ===================================
   RESET & BASE STYLES
   =================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Orange Gradient Color Scheme */
    --primary-color: #e15300;
    --secondary-color: #f37c20;
    --gradient: linear-gradient(135deg, #e15300 0%, #f37c20 100%);

    /* Dark Theme Colors */
    --bg-dark: #0a0a0a;
    --card-bg: rgba(20, 20, 20, 0.6);
    --text-primary: #ffffff;
    --text-secondary: #b0b0b0;
    --border-color: rgba(225, 83, 0, 0.2);

    /* Shadows & Effects */
    --glow-shadow: 0 0 20px rgba(225, 83, 0, 0.3);
    --card-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-dark);
    background-image: url('assets/giphy.gif');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: var(--text-primary);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
    cursor: none;
    /* Hide default cursor */
}

/* ===================================
   ENTRANCE OVERLAY
   =================================== */
.entrance-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(20px);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

.entrance-overlay.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.entrance-content p {
    font-size: 24px;
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: 2px;
    text-transform: uppercase;
    animation: pulseText 2s infinite ease-in-out;
}

@keyframes pulseText {

    0%,
    100% {
        opacity: 0.5;
        transform: scale(0.98);
    }

    50% {
        opacity: 1;
        transform: scale(1.05);
    }
}

/* ===================================
   CUSTOM CURSOR
   =================================== */
.custom-cursor {
    width: 20px;
    height: 20px;
    position: fixed;
    pointer-events: none;
    z-index: 10000;
    mix-blend-mode: difference;
    transition: transform 0.15s ease, color 0.3s ease;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
}

.custom-cursor i {
    font-size: 20px;
    filter: drop-shadow(0 0 8px var(--primary-color));
}

.custom-cursor.hover {
    transform: translate(-50%, -50%) scale(1.5);
    color: var(--secondary-color);
}

/* ===================================
   ANIMATED BACKGROUND
   =================================== */
#particles-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    background: transparent;
}

/* ===================================
   MUSIC TOGGLE BUTTON
   =================================== */
.music-toggle {
    position: fixed;
    top: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1000;
    transition: all 0.3s ease;
}

.music-toggle:hover {
    transform: scale(1.1);
    box-shadow: var(--glow-shadow);
    border-color: var(--primary-color);
}

.music-toggle i {
    font-size: 20px;
    color: var(--text-secondary);
    transition: color 0.3s ease;
}

.music-toggle:hover i {
    color: var(--secondary-color);
}

.music-toggle.playing i {
    color: var(--primary-color);
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.15);
    }
}

/* ===================================
   MAIN CONTAINER
   =================================== */
.container {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    animation: fadeIn 1s ease-in-out;
    transition: filter 0.8s ease;
}

.container.blurred {
    filter: blur(20px);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===================================
   PROFILE CARD - GLASSMORPHISM
   =================================== */
.profile-card {
    background: var(--card-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 50px 60px;
    text-align: center;
    box-shadow: var(--card-shadow);
    min-width: 450px;
    animation: float 6s ease-in-out infinite;
    transition: all 0.3s ease;
}

.profile-card:hover {
    border-color: var(--primary-color);
    box-shadow: var(--glow-shadow), var(--card-shadow);
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }
}

/* ===================================
   PROFILE PICTURE
   =================================== */
.profile-picture {
    width: 120px;
    height: 120px;
    margin: 0 auto 30px;
    position: relative;
}

.profile-picture::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    background: var(--gradient);
    z-index: -1;
    animation: rotate 4s linear infinite;
}

@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.profile-picture img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--bg-dark);
    transition: transform 0.3s ease;
}

.profile-picture:hover img {
    transform: scale(1.05);
}

/* ===================================
   USERNAME
   =================================== */
.username {
    font-size: 42px;
    font-weight: 800;
    background: linear-gradient(270deg, #e15300, #f37c20, #e15300);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 15px;
    letter-spacing: -0.5px;
    animation: orangeRGB 3s linear infinite;
}

@keyframes orangeRGB {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* ===================================
   QUOTE & LOCATION
   =================================== */
.quote {
    font-size: 16px;
    font-style: italic;
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.6;
}

.location {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 30px;
}

.location i {
    color: var(--primary-color);
}

/* ===================================
   SOCIAL LINKS
   =================================== */
.social-links {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-bottom: 30px;
}

.social-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: var(--text-secondary);
    font-size: 22px;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.social-icon::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.social-icon i {
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

.social-icon:hover {
    transform: translateY(-5px) scale(1.1);
    border-color: var(--primary-color);
    box-shadow: 0 5px 20px rgba(225, 83, 0, 0.4);
}

.social-icon:hover::before {
    opacity: 1;
}

.social-icon:hover i {
    color: #ffffff;
    transform: scale(1.1);
}

/* Specific Icon Colors */
.social-icon.discord:hover {
    box-shadow: 0 5px 20px rgba(88, 101, 242, 0.5);
}

.social-icon.github:hover {
    box-shadow: 0 5px 20px rgba(255, 255, 255, 0.3);
}

.social-icon img {
    width: 24px;
    height: 24px;
    object-fit: contain;
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

.social-icon:hover img {
    transform: scale(1.1);
    filter: brightness(1.2);
}

/* ===================================
   VIEW COUNTER
   =================================== */
.view-counter {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 14px;
    color: var(--text-secondary);
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.view-counter i {
    color: var(--primary-color);
    font-size: 16px;
}

#viewCount {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 16px;
}

/* ===================================
   FOOTER CREDIT
   =================================== */
.footer-credit {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.3);
    text-align: center;
}

.footer-credit a {
    color: rgba(255, 255, 255, 0.4);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-credit a:hover {
    color: var(--secondary-color);
}

/* ===================================
   RESPONSIVE DESIGN
   =================================== */
@media (max-width: 768px) {
    .profile-card {
        min-width: 350px;
        padding: 40px 30px;
    }

    .username {
        font-size: 32px;
    }

    .quote {
        font-size: 14px;
    }

    .social-links {
        gap: 12px;
    }

    .social-icon {
        width: 45px;
        height: 45px;
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .profile-card {
        min-width: 300px;
        padding: 30px 20px;
    }

    .profile-picture {
        width: 100px;
        height: 100px;
    }

    .username {
        font-size: 28px;
    }

    .music-toggle {
        width: 45px;
        height: 45px;
        top: 15px;
        right: 15px;
    }

    .music-toggle i {
        font-size: 18px;
    }
}