* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body{
    background-color: black;
    margin: 0;
    color:aliceblue;
    font-family: 'Inter', sans-serif;
    background-attachment: fixed;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

.section{
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    position: relative;
    overflow: hidden;
}

.container {
    max-width: 1200px;
    width: 100%;
    text-align: center;
}

.content{
    position: relative;
    z-index: 2;
}

:root {
    --gray-text:#64748b;
    --primary-blue: #60a5fa;
    --purple: #a855f7;
    --accent-cyan: #7fffd4;
    --accent-pink: #ec4899;
    --accent-red: #fb7185;
    --accent-orange: #f59e0b;

    --title-gradient: linear-gradient(
        90deg,
        var(--accent-cyan),
        var(--primary-blue),
        var(--purple),
        var(--accent-pink),
        var(--accent-red),
        var(--accent-orange)
    );

}

.realname{
    white-space: nowrap;
}

.description{
    font-size: 1.3rem;
    color: var(--gray-text);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hightlight{
    background: linear-gradient(180deg,#00b3ff, #f17d7d);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip:text;
    font-weight: 700;
}


.title{
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 700;
    margin-bottom: 1rem;
    background: var(--title-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.subtitle{
    font-size: clamp(1.2rem, 2.5vw, 1.8rem);
    color: #cbd5e1;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.decoration{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.floatingelements {
    position: relative;
    width: 100%;
    height: 100%;
}

.floatingcode {
    position: absolute;
    font-size: 2rem;
    color: var(--primary-blue);
    opacity: 0.3;
    animation: floatcode 9s ease-in-out infinite alternate;
}

.floatingcode:nth-child(1) /*{ }*/{
    top: 30%;
    left: 15%;
    animation-delay: 0s;
}
.floatingcode:nth-child(2) /*[ ]*/ {
    top: 70%;
    right: 20%;
    animation-delay: 2s;
}
.floatingcode:nth-child(3) /*</>*/ {
    bottom: 20%;
    left: 20%;
    animation-delay: 5s;
}
.floatingcode:nth-child(4) /*>_*/ {
    top:20%;
    right: 30%;
    animation-delay:3s;
}
@keyframes floatcode {
    0%, 100% {transform: translateY(0px) rotate(-5deg);}
    50% {transform: translateY(-20px) rotate(5deg);}
}

.blinking-text{
    animation: blink 2s ease-in-out infinite alternate;
}
@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.glow-text{
    animation: glow-text 3s ease-in-out infinite alternate;
}
@keyframes glow-text {
    0% { text-shadow: 0 0 20px rgba(59, 130, 246, 0.6); }
    100% { text-shadow: 0 0 30px rgba(59, 130, 246, 0.9), 0 0 40px rgba(139, 92, 246, 0.6); }
}

.float-text{
    display: inline-block;
    animation: float-text 5s ease-in-out infinite alternate;
}
@keyframes float-text{
    0%,100% { transform: translateY(3px) rotate(-10deg); }
    50% { transform: translateY(-1px) rotate(5deg); }
}

#music-player {
    position: fixed;
    bottom: 25px;
    right: 25px;

    display: flex;
    align-items: center;
    gap: 12px;

    padding: 8px 18px;
    border-radius: 999px;

    background: rgba(255,255,255,0.06);
    backdrop-filter: blur(12px);

    transition: 0.3s ease;
    opacity: 0.6;
}
#music-player:hover {
    opacity: 1;
    background: rgba(255,255,255,0.12);
}
#music-toggle {
    width: 40px;
    height: 40px;
    border-radius: 50%;

    border: none;
    outline: none;

    background: linear-gradient(135deg, #60a5fa, #a855f7);
    color: white;

    cursor: pointer;
    font-size: 16px;
    font-weight: bold;

    display: flex;
    align-items: center;
    justify-content: center;

    transition: all 0.25s ease;
    box-shadow: 0 0 10px rgba(96,165,250,0.4);
}

/* Hover (PC) */
#music-toggle:hover {
    transform: scale(1.08);
    box-shadow: 0 0 18px rgba(168,85,247,0.7);
}

/* Khi nhấn */
#music-toggle:active {
    transform: scale(0.92);
    box-shadow: 0 0 8px rgba(96,165,250,0.6);
}

/* Bỏ viền xanh khó chịu mobile */
#music-toggle:focus {
    outline: none;
}

#music-toggle:focus-visible {
    outline: none;
}

/* Bỏ highlight khi tap Android */
#music-toggle {
    -webkit-tap-highlight-color: transparent;
}
#now-playing-music {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    white-space: nowrap;
}
.music-dot {
    width: 8px;
    height: 8px;
    background: #60faaa;
    border-radius: 50%;
    box-shadow: 0 0 8px #60faaa;
    animation: pulse 1.5s infinite ease-in-out alternate;
}
.music-dot.not-playing {
    background: #ff4d4d;
    box-shadow: 0 0 8px #ff4d4d;
    animation: none;
}
.label {
    color: #94a3b8;
    font-size: 12px;
}
.song {
    color: white;
    font-weight: 500;
    animation: glowSong 2.5s ease-in-out infinite alternate;
}
@keyframes glowSong {
    0% { opacity: 0.8; }
    100% { opacity: 1; }
}
#music-player.paused .music-dot {
    animation: none;
    opacity: 0.3;
}
#music-player.paused .song {
    animation: none;
    opacity: 0.5;
}
#music-player {
    z-index: 9999;
}
@keyframes pulse {
    0%, 100% {
        opacity: 0.5;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.25);
    }
}

.views {
    position: absolute;
    top: 25px;
    left: 25px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #60a5fa;
}
.eye-icon svg {
    width: 18px;
    height: 18px;
    transition: 0.3s ease;
}
#view-count {
    font-weight: 600;
    transition: 0.3s ease;
}
#view-count.new-view-glow,
#view-count.new-view-glow + .eye-icon svg {
    animation: viewGlow 1.5s ease-out;
}
.views .eye-icon {
    display: flex;
}
.views .eye-icon svg {
    filter: drop-shadow(0 0 0px transparent);
}
#view-count.new-view-glow ~ .eye-icon svg {
    filter: drop-shadow(0 0 10px #60a5fa) drop-shadow(0 0 20px #a855f7);
}