:root {
    --bg-color: #050505;
    --card-bg: rgba(255, 255, 255, 0.05);
    --card-border: rgba(255, 255, 255, 0.1);
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.6);
    --accent: #ffffff;
    --accent-azzurro: #00dffe;
    --accent-glow: rgba(0, 223, 254, 0.3);
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Base Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
    cursor: none;
    text-decoration: none;
}

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    overflow: hidden;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lowercase {
    text-transform: lowercase;
}

/* Custom Cursor */
.cursor-dot {
    position: fixed;
    top: 0;
    left: 0;
    width: 8px;
    height: 8px;
    background: #d946ef;
    border-radius: 50%;
    pointer-events: none;
    z-index: 10001;
    transition: transform 0.1s ease-out;
    box-shadow: 0 0 10px #d946ef;
}

.cursor-glow {
    position: fixed;
    top: 0;
    left: 0;
    width: 40px;
    height: 40px;
    background: rgba(217, 70, 239, 0.15);
    border: 1px solid rgba(217, 70, 239, 0.3);
    border-radius: 50%;
    pointer-events: none;
    z-index: 10000;
    transition: transform 0.2s ease-out;
}

/* Video Background */
.video-bg-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    overflow: hidden;
}

#video-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: translate(-50%, -50%) scale(1.3);
}

.video-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: -1;
}

/* Main Card */
.spa-container {
    perspective: 1000px;
    width: 100%;
    max-width: 480px;
    padding: 20px;
    z-index: 10;
}

.main-card {
    background: rgba(0, 0, 0, 0.6);
    -webkit-backdrop-filter: blur(30px);
    backdrop-filter: blur(30px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 32px;
    padding: 40px 30px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.8),
        inset 0 0 0 1px rgba(255, 255, 255, 0.05);
    animation: cardReveal 1.2s cubic-bezier(0.16, 1, 0.3, 1);
    transform-style: preserve-3d;
}

@keyframes cardReveal {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Profile Section */
.profile-header {
    text-align: center;
    margin-bottom: 30px;
}

.profile-header h1 {
    font-size: 2.2rem;
    font-weight: 900;
    margin-bottom: 5px;
    letter-spacing: -1.5px;
    color: white;
}

.subtitle {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 500;
}

.profile-img-container {
    width: 100px;
    height: 100px;
    margin: 0 auto 20px;
    border-radius: 50%;
    padding: 4px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), transparent);
}

#profile-pic {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.849);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
    transition: var(--transition);
}

#profile-pic:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 0 15px rgba(255, 255, 255, 0.4));
}

/* Unified Content */
.unified-content {
    display: flex;
    flex-direction: column;
    gap: 25px;
    text-align: center;
}

.content-section {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.intro-text {
    font-size: 1.1rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.9);
}

/* Link Items (Axto style) */
.link-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 14px 20px;
    border-radius: 16px;
    color: white;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: var(--transition);
}

.link-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: scale(1.02);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.social-grid-horizontal {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 10px;
}

.social-icon-btn {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    transition: var(--transition);
}

.social-icon-btn:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
}

/* Social Colors - Constant or Hover? User asked for colored. Let's make them always colored but glow on hover */
.link-youtube {
    color: #FF0000;
    border-color: rgba(255, 0, 0, 0.2);
}

.link-twitch {
    color: #9146FF;
    border-color: rgba(145, 70, 255, 0.2);
}

.link-kick {
    color: #53FC18;
    border-color: rgba(83, 252, 24, 0.2);
}

.link-discord {
    color: #5865F2;
    border-color: rgba(88, 101, 242, 0.2);
}

.link-youtube:hover {
    background: rgba(255, 0, 0, 0.1);
    box-shadow: 0 0 20px rgba(255, 0, 0, 0.3);
}

.link-twitch:hover {
    background: rgba(145, 70, 255, 0.1);
    box-shadow: 0 0 20px rgba(145, 70, 255, 0.3);
}

.link-kick:hover {
    background: rgba(83, 252, 24, 0.1);
    box-shadow: 0 0 20px rgba(83, 252, 24, 0.3);
}

.link-discord:hover {
    background: rgba(88, 101, 242, 0.1);
    box-shadow: 0 0 20px rgba(88, 101, 242, 0.3);
}

/* Premium Button Overwrite */
.btn-premium {
    background: white;
    color: black;
    padding: 16px;
    border-radius: 16px;
    font-weight: 800;
    font-size: 1rem;
    transition: var(--transition);
    border: none;
}

.btn-premium:hover {
    transform: scale(1.03);
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.3);
    filter: brightness(0.9);
}

/* Enter Overlay */
.enter-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.enter-overlay::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('logo.png') center/cover no-repeat;
    opacity: 0.1;
    filter: blur(50px);
}

.enter-overlay.hidden {
    opacity: 0;
    pointer-events: none;
}

.enter-btn {
    font-size: 3.5rem;
    font-weight: 900;
    color: white;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 30px 80px;
    border-radius: 80px;
    cursor: none;
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    transition: var(--transition);
    text-transform: lowercase;
    animation: pulseAxto 1.8s infinite ease-in-out;
    letter-spacing: -2px;
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.5);
}

@keyframes pulseAxto {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.7;
        box-shadow: 0 0 20px rgba(255, 255, 255, 0);
    }

    50% {
        transform: scale(1.08);
        opacity: 1;
        box-shadow: 0 0 40px rgba(255, 255, 255, 0.1);
    }
}

.enter-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

/* Volume Slider System */
.volume-control-wrapper {
    position: fixed;
    bottom: 30px;
    left: 30px;
    display: flex;
    align-items: center;
    gap: 15px;
    z-index: 2001;
}

.volume-control-btn {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.05);
    -webkit-backdrop-filter: blur(15px);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 1.2rem;
    transition: var(--transition);
}

.volume-slider-container {
    width: 0;
    overflow: hidden;
    transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    background: rgba(255, 255, 255, 0.05);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border-radius: 30px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.volume-control-wrapper:hover .volume-slider-container {
    width: 120px;
    padding: 10px 15px;
}

#volume-slider {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 4px;
    background: linear-gradient(to right, #fff var(--volume-percent, 100%), rgba(255, 255, 255, 0.1) var(--volume-percent, 100%));
    border-radius: 10px;
    outline: none;
    transition: background 0.1s ease;
    cursor: none;
}

#volume-slider::-webkit-slider-runnable-track {
    width: 100%;
    height: 4px;
    cursor: none;
    background: transparent;
    border-radius: 10px;
}

#volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    background: white;
    border-radius: 50%;
    cursor: none;
    margin-top: -7px;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.4);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    border: 2px solid rgba(255, 255, 255, 0.5);
}

#volume-slider::-webkit-slider-thumb:hover {
    transform: scale(1.2);
    background: #fff;
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.6);
}

#volume-slider::-moz-range-track {
    width: 100%;
    height: 4px;
    cursor: none;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}

#volume-slider::-moz-range-thumb {
    width: 16px;
    height: 16px;
    background: white;
    border-radius: 50%;
    cursor: none;
    border: 2px solid rgba(0, 0, 0, 0.2);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.6);
    transition: var(--transition);
}

/* Video Mini Container */
.video-container-mini {
    width: 100%;
    aspect-ratio: 16/9;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.video-container-mini iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Discord Activity Card (Lanyard style) */
.discord-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 20px;
    padding: 15px 20px;
    margin-bottom: 25px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    min-height: 70px;
    gap: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.discord-card:hover {
    background: rgba(255, 255, 255, 0.06);
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.activity-icon {
    width: 45px;
    height: 45px;
    border-radius: 8px;
    object-fit: cover;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.1);
}

.discord-content-left {
    display: flex;
    align-items: center;
    gap: 15px;
    flex: 1;
}

.discord-avatar-wrapper {
    position: relative;
    width: 50px;
    height: 50px;
}

.discord-avatar {
    width: 100%;
    height: 100%;
    border-radius: 50%;
}

.status-dot {
    position: absolute;
    bottom: 2px;
    right: 2px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid #1a1a1a;
}

.status-online {
    background: #3ba55c;
}

.status-idle {
    background: #faa61a;
}

.status-dnd {
    background: #ed4245;
}

.status-offline {
    background: #747f8d;
}

.discord-info {
    flex: 1;
    overflow: hidden;
}

.discord-user {
    font-weight: 700;
    font-size: 0.95rem;
    color: white;
}

.discord-status-text {
    font-size: 0.85rem;
    opacity: 0.7;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 180px;
}

.activity-name {
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
}

/* Particles */
.particles-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

.particle {
    position: absolute;
    background: white;
    border-radius: 50%;
    pointer-events: none;
}

@keyframes fall {
    0% {
        transform: translateY(-10vh) translateX(0);
        opacity: 0;
    }

    10% {
        opacity: var(--p-opacity, 0.5);
    }

    90% {
        opacity: var(--p-opacity, 0.5);
    }

    100% {
        transform: translateY(110vh) translateX(20px);
        opacity: 0;
    }
}

footer {
    position: fixed;
    bottom: 20px;
    width: 100%;
    text-align: center;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.3);
    z-index: 5;
}