:root {
    --primary: #ff00ff;
    --secondary: #00ffff;
    --accent: #ffff00;
    --bg: #000000;
    --card-bg: rgba(10, 10, 10, 0.4);
    --text: #ffffff;
    --text-dim: rgba(255, 255, 255, 0.6);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', sans-serif;
}

body {
    background: var(--bg);
    color: var(--text);
    overflow: hidden;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Background Effects */
.bg-gradient {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 20% 30%, hsla(300, 100%, 20%, 0.5) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, hsla(190, 100%, 20%, 0.5) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, hsla(45, 100%, 10%, 0.3) 0%, transparent 70%);
    z-index: -2;
    filter: blur(80px);
    animation: pulseBg 10s ease-in-out infinite alternate;
}

@keyframes pulseBg {
    from {
        opacity: 0.7;
    }

    to {
        opacity: 1;
    }
}

.bg-grid {
    position: fixed;
    top: 0;
    left: 0;
    width: 200%;
    height: 200%;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 50px 50px;
    transform: perspective(500px) rotateX(60deg);
    transform-origin: top;
    z-index: -1;
    animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
    from {
        transform: perspective(500px) rotateX(60deg) translateY(0);
    }

    to {
        transform: perspective(500px) rotateX(60deg) translateY(50px);
    }
}

/* Overlay */
.overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.8s ease, visibility 0.8s;
}

.overlay.hidden {
    opacity: 0;
    visibility: hidden;
}

/* Particles */
.particles {
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
}

.particle {
    position: absolute;
    background: white;
    border-radius: 50%;
    opacity: 0.8;
    animation: fall linear infinite;
    filter: drop-shadow(0 0 5px currentColor);
}

@keyframes fall {
    0% {
        transform: translateY(-20vh) rotate(0deg) scale(0);
        opacity: 0;
    }

    20% {
        opacity: 1;
        transform: translateY(0vh) rotate(72deg) scale(1);
    }

    100% {
        transform: translateY(110vh) rotate(360deg) scale(0.5);
        opacity: 0;
    }
}

.overlay-content {
    text-align: center;
}

.glow-text {
    font-size: 3rem;
    font-weight: 800;
    letter-spacing: 5px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 10px 30px rgba(var(--primary), 0.3);
    margin-bottom: 1rem;
}

.entry-btn {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 2px solid var(--primary);
    background: transparent;
    color: var(--primary);
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    margin-top: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 20px rgba(155, 89, 182, 0.2);
}

.loader-container {
    width: 300px;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    margin: 2rem auto 1rem;
    overflow: hidden;
    position: relative;
}

.loader-bar {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    box-shadow: 0 0 15px var(--primary);
    transition: width 0.3s ease;
}

.loader-text {
    font-size: 0.8rem;
    letter-spacing: 2px;
    color: var(--text-dim);
    text-transform: uppercase;
}

/* 4D Card System */
.container {
    perspective: 1000px;
    width: 100%;
    max-width: 450px;
    padding: 20px;
}

.card-wrapper {
    transform-style: preserve-3d;
    transition: transform 0.15s cubic-bezier(0.23, 1, 0.32, 1);
}

.card {
    background: var(--card-bg);
    backdrop-filter: blur(30px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 40px;
    padding: 30px 40px 40px;
    /* Reduced top padding to move content up */
    text-align: center;
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
    box-shadow: 0 50px 100px rgba(0, 0, 0, 0.5);
}

.card-glow {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at var(--mouse-x) var(--mouse-y), rgba(255, 255, 255, 0.1) 0%, transparent 60%);
    pointer-events: none;
}

.avatar-container {
    position: relative;
    width: 120px;
    height: 120px;
    margin: 0 auto 25px;
    transform: translateZ(50px);
}

.avatar {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid rgba(255, 255, 255, 0.1);
}

.avatar-ring {
    position: absolute;
    inset: -10px;
    border: 2px dashed var(--primary);
    border-radius: 50%;
    animation: rotate 10s linear infinite;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.name {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.4rem;
    font-weight: 900;
    margin-bottom: 5px;
    transform: translateZ(70px);
    background: linear-gradient(90deg, #ff00ff, #00ffff, #ffff00, #ff00ff);
    background-size: 300% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -2px;
    animation: shine 5s linear infinite;
    text-shadow: 0 15px 30px rgba(255, 0, 255, 0.3);
}

@keyframes shine {
    to {
        background-position: 300% center;
    }
}

.role {
    color: var(--secondary);
    font-weight: 600;
    letter-spacing: 2px;
    font-size: 0.9rem;
    margin-bottom: 30px;
    transform: translateZ(30px);
}

.info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 35px;
    transform: translateZ(20px);
}

.info-item {
    background: rgba(255, 255, 255, 0.03);
    padding: 15px;
    border-radius: 15px;
}

.label {
    display: block;
    font-size: 0.7rem;
    color: var(--text-dim);
    text-transform: uppercase;
    margin-bottom: 5px;
}

.value {
    font-weight: 600;
}

/* Social Buttons */
.social-links {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 30px;
    transform: translateZ(45px);
}

.social-btn {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 1.4rem;
    color: white;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.social-btn::after {
    content: '';
    position: absolute;
    inset: 0;
    background: white;
    opacity: 0;
    transition: opacity 0.3s;
}

.social-btn:hover::after {
    opacity: 0.1;
}

.social-btn:hover {
    transform: translateY(-8px) scale(1.1);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
}

.facebook:hover {
    background: #1877F2;
    border-color: #1877F2;
}

.zalo:hover {
    background: #0068FF;
    border-color: #0068FF;
}

.gmail:hover {
    background: #EA4335;
    border-color: #EA4335;
}

.telegram:hover {
    background: #0088cc;
    border-color: #0088cc;
}

/* Bank Section */
.bank-section {
    margin: 20px 0 30px;
    transform: translateZ(25px);
}

.section-title {
    font-size: 0.7rem;
    letter-spacing: 4px;
    color: var(--accent);
    margin-bottom: 15px;
    font-weight: 800;
}

.bank-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.bank-item {
    background: rgba(255, 255, 255, 0.03);
    padding: 15px;
    border-radius: 25px;
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    gap: 10px;
}

.bank-item:hover {
    transform: scale(1.1) translateY(-10px);
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--primary);
    box-shadow: 0 20px 40px rgba(255, 0, 255, 0.2);
}

.bank-info {
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.qr-code {
    width: 100%;
    aspect-ratio: 1/1;
    border-radius: 15px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s;
    background: white;
    padding: 5px;
    object-fit: contain;
}

.qr-label {
    font-size: 0.6rem;
    font-weight: 800;
    letter-spacing: 2px;
    color: var(--text-dim);
    text-transform: uppercase;
}

.bank-item:hover .qr-code {
    border-color: var(--primary);
}

.bank-name {
    font-size: 0.7rem;
    font-weight: 800;
    color: var(--text-dim);
}

.bank-account {
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 1px;
    color: var(--primary);
}

.track-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
}

#music-time {
    font-size: 0.7rem;
    font-weight: 400;
    color: var(--accent);
    letter-spacing: 1px;
}

/* Music Player */
.now-playing {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.02);
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 0.8rem;
    color: var(--text-dim);
    transform: translateZ(10px);
}

.music-icon {
    display: flex;
    gap: 3px;
    height: 12px;
    align-items: flex-end;
}

.bar {
    width: 2px;
    background: var(--accent);
    animation: bounce 1s ease-in-out infinite;
}

.bar:nth-child(2) {
    animation-delay: 0.2s;
    height: 100%;
}

.bar:nth-child(3) {
    animation-delay: 0.4s;
    height: 60%;
}

@keyframes bounce {

    0%,
    100% {
        height: 30%;
    }

    50% {
        height: 100%;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 10px;
    }

    .card {
        padding: 30px 20px;
    }

    .glow-text {
        font-size: 2rem;
    }
}