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

body {
    font-family: 'Arial', sans-serif;
    height: 100vh;
    overflow: hidden;
    background: #000000;
}

#particle-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

#audio-toggle {
    position: fixed;
    top: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.8);
    border: none;
    color: #ffffff;
    font-size: 20px;
    padding: 12px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 1000;
    transition: transform 0.4s, background 0.4s, box-shadow 0.4s;
}

#audio-toggle:hover {
    transform: scale(1.3) rotate(360deg);
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 0 25px rgba(255, 255, 255, 0.5);
}

.container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    perspective: 1500px;
}

.profile-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(15px);
    border-radius: 25px;
    padding: 40px;
    text-align: center;
    box-shadow: 0 12px 50px rgba(0, 0, 0, 0.8), 0 0 70px rgba(255, 255, 255, 0.1);
    width: 500px; /* Tăng chiều rộng từ 400px lên 500px */
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transform: translateZ(0);
    animation: cardPulse 6s ease-in-out infinite;
    transition: transform 0.6s, box-shadow 0.6s;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.profile-card:hover {
    transform: translateY(-30px) translateZ(60px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.9), 0 0 100px rgba(255, 255, 255, 0.2);
}

@keyframes cardPulse {
    0%, 100% { box-shadow: 0 12px 50px rgba(0, 0, 0, 0.8), 0 0 70px rgba(255, 255, 255, 0.1); }
    50% { box-shadow: 0 12px 50px rgba(0, 0, 0, 0.8), 0 0 90px rgba(255, 255, 255, 0.15); }
}

.avatar img {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    border: 10px solid #000000;
    margin-bottom: 20px;
    transition: transform 0.5s, box-shadow 0.5s;
    animation: avatarGlow 2.5s ease-in-out infinite;
}

.avatar img:hover {
    transform: scale(1.3) rotate(10deg);
    box-shadow: 0 0 50px rgba(255, 255, 255, 0.3);
}

@keyframes avatarGlow {
    0%, 100% { transform: scale(1); box-shadow: 0 0 20px rgba(255, 255, 255, 0.2); }
    50% { transform: scale(1.1); box-shadow: 0 0 40px rgba(255, 255, 255, 0.3); }
}

h1 {
    font-family: 'Orbitron', sans-serif;
    font-size: 48px;
    margin: 10px 0 15px;
    letter-spacing: 6px;
    color: #ffffff;
    animation: textGlow 2s ease-in-out infinite;
    text-shadow: 0 0 25px rgba(255, 255, 255, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.bolt-icon {
    font-size: 36px;
    color: #ffd700;
    animation: boltGlow 1.5s ease-in-out infinite;
}

@keyframes boltGlow {
    0%, 100% { opacity: 0.8; }
    50% { opacity: 1; }
}

@keyframes textGlow {
    0%, 100% { text-shadow: 0 0 25px rgba(255, 255, 255, 0.5); }
    50% { text-shadow: 0 0 35px rgba(255, 255, 255, 0.7); }
}

.bio {
    font-size: 18px;
    margin-bottom: 30px;
    color: #ffffff;
    line-height: 1.7;
    animation: fadeIn 2.5s ease-out;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.discord-icon {
    font-size: 20px;
    color: #7289da;
}

.bio a {
    color: #7289da;
    text-decoration: none;
    transition: color 0.3s;
}

.bio a:hover {
    color: #a3bffa;
    text-decoration: underline;
}

@keyframes fadeIn {
    0% { opacity: 0; transform: translateY(40px); }
    100% { opacity: 1; transform: translateY(0); }
}

.social-links a {
    color: #ffffff;
    font-size: 36px;
    margin: 0 20px;
    transition: all 0.5s ease;
    position: relative;
    display: inline-block;
}

.social-links a:hover {
    transform: translateY(-12px) rotate(20deg);
    filter: drop-shadow(0 0 25px rgba(255, 255, 255, 0.5));
}

.fa-github:hover { color: #cccccc; }
.fa-discord:hover { color: #7289da; }
.fa-facebook:hover { color: #4267b2; }

.social-links a::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    width: 0;
    height: 5px;
    background: #ffffff;
    transition: width 0.4s, left 0.4s;
}

.social-links a:hover::after {
    width: 100%;
    left: 0;
}