* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg: #09090b;
    --card: rgba(255, 255, 255, 0.03);
    --card-border: rgba(255, 255, 255, 0.06);
    --text: #fafafa;
    --text-dim: #71717a;
    --pink: #ff66c4;
    --cyan: #39c5bb;
    --purple: #a855f7;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Space Grotesk', sans-serif;
    background: var(--bg);
    color: var(--text);
    min-height: 100vh;
    line-height: 1.5;
    overflow-x: hidden;
}

/* loading */
.loading {
    text-align: center;
    padding: 40px;
    color: var(--text-dim);
    font-size: 0.9rem;
}

/* achievement popup */
.achievement {
    position: fixed;
    top: 30px;
    right: -400px;
    background: linear-gradient(135deg, #1a1a1d, #2d2d32);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-left: 4px solid var(--cyan);
    border-radius: 8px;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    z-index: 10000;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5), 0 0 20px rgba(57, 197, 187, 0.2);
    transition: right 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.achievement.show {
    right: 30px;
}

.achievement-icon {
    font-size: 2.5rem;
    animation: none;
}

.achievement.show .achievement-icon {
    animation: bounce 0.5s ease;
}

@keyframes bounce {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.3); }
}

.achievement-content {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.achievement-title {
    font-size: 0.75rem;
    color: var(--cyan);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.achievement-desc {
    font-family: 'Syne', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
}

/* click hint */
.click-hint {
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--card);
    border: 1px solid var(--card-border);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.7rem;
    color: var(--pink);
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.click-hint.show {
    opacity: 1;
}

/* bg blobs */
.blob {
    position: fixed;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.12;
    pointer-events: none;
    z-index: 0;
}

.blob-1 {
    width: 400px;
    height: 400px;
    background: var(--pink);
    top: -100px;
    right: -100px;
}

.blob-2 {
    width: 350px;
    height: 350px;
    background: var(--cyan);
    bottom: 20%;
    left: -150px;
}

.blob-3 {
    width: 300px;
    height: 300px;
    background: var(--purple);
    bottom: -100px;
    right: 10%;
}

/* floating anime girls */
.floater {
    position: fixed;
    z-index: 100;
    pointer-events: auto;
    cursor: grab;
    user-select: none;
}

.floater:active {
    cursor: grabbing;
}

.floater img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.4));
    transition: filter 0.3s ease, transform 0.3s ease;
}

.floater:hover img {
    filter: drop-shadow(0 15px 40px rgba(255, 102, 196, 0.3));
    transform: scale(1.05);
}

.floater-1 {
    width: 180px;
    top: 15%;
    right: 5%;
    animation: float1 6s ease-in-out infinite;
}

.floater-2 {
    width: 160px;
    bottom: 20%;
    left: 3%;
    animation: float2 7s ease-in-out infinite;
}

.floater-3 {
    width: 150px;
    top: 50%;
    right: 8%;
    animation: float3 5s ease-in-out infinite;
}

@keyframes float1 {
    0%, 100% { transform: translateY(0) rotate(-2deg); }
    50% { transform: translateY(-20px) rotate(2deg); }
}

@keyframes float2 {
    0%, 100% { transform: translateY(0) rotate(2deg); }
    50% { transform: translateY(-15px) rotate(-2deg); }
}

@keyframes float3 {
    0%, 100% { transform: translateY(0) rotate(1deg); }
    50% { transform: translateY(-25px) rotate(-1deg); }
}

/* main */
main {
    max-width: 500px;
    margin: 0 auto;
    padding: 80px 20px 60px;
    position: relative;
    z-index: 10;
}

/* hero */
.hero {
    text-align: center;
    margin-bottom: 50px;
}

.hero-img-wrap {
    position: relative;
    display: inline-block;
    margin-bottom: 20px;
}

.hero-img {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--pink);
    transition: all 0.3s ease;
    cursor: pointer;
}

.hero-img:hover {
    border-color: var(--cyan);
    box-shadow: 0 0 30px rgba(255, 102, 196, 0.3);
}

.hero-img.wiggle {
    animation: wiggle 0.4s ease;
}

.hero-img.spin {
    animation: spin 1s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    border-color: var(--cyan);
    box-shadow: 0 0 50px rgba(57, 197, 187, 0.6);
}

@keyframes wiggle {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(-10deg); }
    75% { transform: rotate(10deg); }
}

@keyframes spin {
    0% { transform: rotate(0deg) scale(1); }
    50% { transform: rotate(540deg) scale(1.2); }
    100% { transform: rotate(720deg) scale(1); }
}

.status {
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--bg);
    border: 1px solid var(--card-border);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.7rem;
    color: var(--text-dim);
    display: flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
}

.status-dot {
    width: 6px;
    height: 6px;
    background: #22c55e;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

.hero h1 {
    font-family: 'Syne', sans-serif;
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 6px;
    background: linear-gradient(135deg, var(--pink), var(--cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.tagline {
    color: var(--text-dim);
    font-size: 0.95rem;
    margin-bottom: 24px;
}

/* links */
.links {
    display: flex;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

.link-pill {
    padding: 10px 18px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 500;
    text-decoration: none;
    color: var(--text);
    background: var(--card);
    border: 1px solid var(--card-border);
    transition: all 0.2s ease;
    backdrop-filter: blur(10px);
}

.link-pill:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.06);
}

.link-pill.sc:hover {
    border-color: #ff5500;
    box-shadow: 0 4px 20px rgba(255, 85, 0, 0.15);
}

.link-pill.yt:hover {
    border-color: #ff0050;
    box-shadow: 0 4px 20px rgba(255, 0, 80, 0.15);
}

.link-pill.gn:hover {
    border-color: #ffff64;
    box-shadow: 0 4px 20px rgba(255, 255, 100, 0.1);
}

/* sections */
.music-section,
.video-section {
    margin-bottom: 40px;
}

h2 {
    font-family: 'Syne', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text);
}

.player-wrap {
    background: var(--card);
    border: 1px solid var(--card-border);
    border-radius: 14px;
    padding: 12px;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.player-wrap iframe {
    border-radius: 8px;
    display: block;
}

/* video toggle */
.video-toggle {
    width: 100%;
    padding: 16px 20px;
    background: var(--card);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    color: var(--text);
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.2s ease;
    backdrop-filter: blur(10px);
}

.video-toggle:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: var(--pink);
}

.video-toggle.active {
    border-color: var(--pink);
    border-radius: 12px 12px 0 0;
}

.toggle-icon {
    font-size: 0.7rem;
    transition: transform 0.3s ease;
}

.video-toggle.active .toggle-icon {
    transform: rotate(180deg);
}

/* video container */
.video-container {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.video-container.open {
    max-height: 400px;
}

.video-wrap {
    background: var(--card);
    border: 1px solid var(--card-border);
    border-top: none;
    border-radius: 0 0 12px 12px;
    padding: 12px;
    backdrop-filter: blur(10px);
}

.video-wrap iframe {
    width: 100%;
    height: 260px;
    border-radius: 8px;
    display: block;
    border: none;
}

/* video info */
.video-info {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--card-border);
}

.video-title {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text);
    margin-bottom: 4px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.video-date {
    font-size: 0.75rem;
    color: var(--text-dim);
}

/* youtube fallback */
.yt-fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 40px;
    color: var(--text);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s ease;
}

.yt-fallback:hover {
    color: var(--pink);
}

.yt-icon {
    width: 50px;
    height: 50px;
    background: #ff0050;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: transform 0.2s ease;
}

.yt-fallback:hover .yt-icon {
    transform: scale(1.1);
}

/* footer */
footer {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid var(--card-border);
}

footer p {
    color: var(--text-dim);
    font-size: 0.8rem;
}

/* animations */
section, .hero {
    opacity: 0;
    transform: translateY(15px);
    animation: fadeUp 0.5s ease forwards;
}

.hero { animation-delay: 0s; }
.music-section { animation-delay: 0.1s; }
.video-section { animation-delay: 0.15s; }
footer { animation-delay: 0.2s; opacity: 0; animation: fadeUp 0.5s ease forwards; }

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* selection */
::selection {
    background: var(--pink);
    color: var(--bg);
}

/* scrollbar */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: var(--card-border);
    border-radius: 3px;
}

/* mobile */
@media (max-width: 768px) {
    .achievement {
        right: -350px;
        top: 20px;
        padding: 12px 16px;
    }
    
    .achievement.show {
        right: 15px;
    }
    
    .floater-1 {
        width: 120px;
        top: 10%;
        right: -10px;
    }
    
    .floater-2 {
        width: 100px;
        bottom: 15%;
        left: -20px;
    }
    
    .floater-3 {
        width: 90px;
        top: 45%;
        right: -15px;
    }
    
    .blob {
        opacity: 0.08;
    }
}

@media (max-width: 500px) {
    main {
        padding: 60px 16px 40px;
    }
    
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .link-pill {
        padding: 8px 14px;
        font-size: 0.8rem;
    }
    
    .floater {
        opacity: 0.6;
    }
    
    .video-wrap iframe {
        height: 200px;
    }
    
    .video-container.open {
        max-height: 320px;
    }
}