/* ============================================
   KSKO Download Gate — Style System
   Dark Industrial Hard Techno Aesthetic
   ============================================ */

/* === Reset & Base === */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Core palette */
    --bg-primary: #0a0a0a;
    --bg-secondary: #111111;
    --bg-card: rgba(18, 18, 18, 0.85);
    --bg-glass: rgba(255, 255, 255, 0.03);
    --bg-glass-hover: rgba(255, 255, 255, 0.06);

    /* Accent colors inspired by the Spanish flag */
    --accent-red: #e63946;
    --accent-red-glow: rgba(230, 57, 70, 0.4);
    --accent-gold: #f4a523;
    --accent-gold-glow: rgba(244, 165, 35, 0.4);

    /* Text */
    --text-primary: #f0f0f0;
    --text-secondary: rgba(240, 240, 240, 0.6);
    --text-muted: rgba(240, 240, 240, 0.35);

    /* Borders */
    --border-subtle: rgba(255, 255, 255, 0.06);
    --border-hover: rgba(255, 255, 255, 0.12);

    /* Platform colors */
    --youtube: #ff0000;
    --soundcloud: #ff5500;
    --instagram: #e1306c;
    --spotify: #1db954;

    /* Sizing */
    --max-width: 520px;
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-xl: 28px;

    /* Transitions */
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

html {
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

/* === Particle Canvas === */
#particle-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

/* === Noise Overlay === */
.noise-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    opacity: 0.035;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='1'/%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 128px 128px;
}

/* === Scanline === */
.scanline {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 2px,
        rgba(0, 0, 0, 0.03) 2px,
        rgba(0, 0, 0, 0.03) 4px
    );
}

/* === Top Bar === */
.top-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 20px;
    background: rgba(10, 10, 10, 0.7);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-subtle);
}

.topbar-btn {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 8px 14px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 100px;
    color: var(--text-secondary);
    font-family: 'Outfit', sans-serif;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s var(--ease-out);
}

.topbar-btn svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.topbar-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-1px);
}

.topbar-linktree:hover {
    color: #43e660;
    border-color: rgba(67, 230, 96, 0.3);
}

.topbar-lang:hover {
    color: var(--accent-gold);
    border-color: rgba(244, 165, 35, 0.3);
}

/* === Pages === */
.page {
    display: none;
    position: relative;
    z-index: 2;
    min-height: 100vh;
    padding-top: 60px; /* space for fixed top-bar */
}

.page.active {
    display: block;
    animation: pageIn 0.5s var(--ease-out) both;
}

@keyframes pageIn {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* === Container === */
.container {
    position: relative;
    z-index: 2;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 40px 20px 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
}

/* === Artist Header === */
.artist-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    animation: fadeInDown 0.8s var(--ease-out) both;
}

.artist-avatar-wrapper {
    position: relative;
    width: 90px;
    height: 90px;
}

.artist-avatar {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 2;
}

/* Tricolor spinning ring: 3 short arcs — red, gold, red — with gaps */
.avatar-ring {
    position: absolute;
    top: -5px;
    left: -5px;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: conic-gradient(
        var(--accent-red) 0deg 40deg,
        var(--accent-gold) 40deg 80deg,
        var(--accent-red) 80deg 120deg,
        transparent 120deg 360deg
    );
    -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 2.5px), #fff calc(100% - 2.5px));
    mask: radial-gradient(farthest-side, transparent calc(100% - 2.5px), #fff calc(100% - 2.5px));
    animation: spin 4s linear infinite;
    z-index: 1;
}

.avatar-pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 90px;
    height: 90px;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: radial-gradient(circle, var(--accent-red-glow) 0%, transparent 70%);
    animation: pulse 3s ease-in-out infinite;
    z-index: 0;
}

.artist-info {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.artist-tag {
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 3px;
    color: var(--accent-red);
    text-transform: uppercase;
}

.artist-name {
    font-size: 2.8rem;
    font-weight: 900;
    letter-spacing: 8px;
    line-height: 1;
    text-transform: uppercase;
    background: linear-gradient(135deg, #fff 0%, rgba(255, 255, 255, 0.7) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ============================================
   HOME PAGE — Releases
   ============================================ */

.section-heading {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--text-secondary);
    width: 100%;
}

.section-heading-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-subtle), transparent);
}

.section-subtitle {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-align: center;
    line-height: 1.4;
    margin-top: -8px;
}

.releases-section {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 16px;
    animation: fadeInUp 0.8s var(--ease-out) 0.2s both;
}

.releases-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    width: 100%;
}

/* Release Card */
.release-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    overflow: hidden;
    cursor: pointer;
    transition: all 0.4s var(--ease-out);
    outline: none;
}

.release-card:not(.release-coming-soon):hover,
.release-card:not(.release-coming-soon):focus-visible {
    border-color: var(--accent-red);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(230, 57, 70, 0.15);
}

.release-card:not(.release-coming-soon):active {
    transform: translateY(-2px) scale(0.98);
}

.release-artwork-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 1;
    overflow: hidden;
}

.release-artwork {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s var(--ease-out);
}

.release-card:hover .release-artwork {
    transform: scale(1.05);
}

/* Hover overlay on release card */
.release-artwork-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.65);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    opacity: 0;
    transition: opacity 0.3s var(--ease-out);
}

.release-card:hover .release-artwork-overlay,
.release-card:focus-visible .release-artwork-overlay {
    opacity: 1;
}

.release-play-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--accent-red);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px var(--accent-red-glow);
    transition: transform 0.3s var(--ease-spring);
}

.release-card:hover .release-play-icon {
    transform: scale(1.1);
}

.release-play-icon svg {
    width: 22px;
    height: 22px;
    color: #fff;
}

.release-overlay-text {
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.9);
    text-transform: uppercase;
}

/* Release info */
.release-info {
    padding: 14px 16px 18px;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.release-tag {
    font-size: 0.5rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--accent-gold);
    text-transform: uppercase;
}

.release-tag-muted {
    color: var(--text-muted);
}

.release-title {
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    line-height: 1.2;
}

.release-title-muted {
    color: var(--text-muted);
}

.release-artist {
    font-size: 0.75rem;
    font-weight: 400;
    color: var(--text-secondary);
}

.release-artist-muted {
    color: var(--text-muted);
}

.release-year {
    font-size: 0.65rem;
    font-weight: 400;
    color: var(--text-muted);
}

/* Coming soon placeholder */
.release-coming-soon {
    cursor: default;
    opacity: 0.5;
}

.release-placeholder {
    background: var(--bg-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.placeholder-icon {
    width: 40px;
    height: 40px;
    color: var(--text-muted);
    opacity: 0.4;
}

/* ============================================
   GATE PAGE
   ============================================ */

/* Back button */
.back-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 100px;
    color: var(--text-secondary);
    font-family: 'Outfit', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s var(--ease-out);
    align-self: flex-start;
    animation: fadeInDown 0.5s var(--ease-out) both;
}

.back-btn svg {
    width: 16px;
    height: 16px;
}

.back-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
    transform: translateX(-3px);
}

/* === Track Card === */
.track-card {
    width: 100%;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    overflow: hidden;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    animation: fadeInUp 0.8s var(--ease-out) 0.1s both;
    transition: border-color 0.4s var(--ease-out), transform 0.4s var(--ease-out);
}

.track-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-2px);
}

.track-artwork-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 1;
    overflow: hidden;
}

.track-artwork {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 8s var(--ease-out);
}

.track-card:hover .track-artwork {
    transform: scale(1.03);
}

.artwork-glow {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(to top, var(--bg-primary), transparent);
    pointer-events: none;
}

.artwork-shine {
    position: absolute;
    top: -100%;
    left: -100%;
    width: 300%;
    height: 300%;
    background: linear-gradient(
        135deg,
        transparent 40%,
        rgba(255, 255, 255, 0.03) 45%,
        rgba(255, 255, 255, 0.06) 50%,
        rgba(255, 255, 255, 0.03) 55%,
        transparent 60%
    );
    animation: shine 6s ease-in-out infinite;
    pointer-events: none;
}

.track-info {
    padding: 24px 28px 28px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.track-label {
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 3px;
    color: var(--accent-gold);
    text-transform: uppercase;
}

.track-title {
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: 3px;
    text-transform: uppercase;
    line-height: 1.1;
}

.track-artist {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.track-year {
    font-size: 0.8rem;
    font-weight: 400;
    color: var(--text-muted);
    margin-top: 2px;
}

/* === Gates Section === */
.gates-section {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 12px;
    animation: fadeInUp 0.8s var(--ease-out) 0.25s both;
}

.gates-title {
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 2px;
}

.gates-icon {
    font-size: 1rem;
}

.gates-subtitle {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 6px;
    line-height: 1.4;
}

/* === Gate Item === */
.gate-item {
    position: relative;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 18px;
    background: var(--bg-glass);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    transition: all 0.4s var(--ease-out);
    overflow: hidden;
}

.gate-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: var(--text-muted);
    transition: all 0.4s var(--ease-out);
    border-radius: 0 2px 2px 0;
}

.gate-item:hover {
    background: var(--bg-glass-hover);
    border-color: var(--border-hover);
}

.gate-item.completed {
    background: rgba(29, 185, 84, 0.05);
    border-color: rgba(29, 185, 84, 0.2);
}

.gate-item.completed::before {
    background: #1db954;
    box-shadow: 0 0 12px rgba(29, 185, 84, 0.4);
}

/* Gate icon wrappers */
.gate-icon-wrapper {
    width: 42px;
    height: 42px;
    min-width: 42px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s var(--ease-out);
}

.gate-icon {
    width: 22px;
    height: 22px;
    color: #fff;
}

.gate-youtube { background: linear-gradient(135deg, #ff0000, #cc0000); }
.gate-soundcloud { background: linear-gradient(135deg, #ff5500, #cc4400); }
.gate-instagram { background: linear-gradient(135deg, #e1306c, #c13584, #833ab4); }
.gate-spotify { background: linear-gradient(135deg, #1db954, #169c46); }

/* Gate content */
.gate-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.gate-platform {
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.gate-action {
    font-size: 0.72rem;
    color: var(--text-secondary);
    font-weight: 400;
}

/* Gate buttons */
.gate-actions {
    display: flex;
    gap: 8px;
    align-items: center;
}

.gate-btn {
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s var(--ease-spring);
    font-family: 'Outfit', sans-serif;
}

.gate-go-btn {
    gap: 5px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-primary);
    border-radius: 100px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 2px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.gate-go-btn svg {
    width: 14px;
    height: 14px;
}

.gate-go-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-1px);
    border-color: rgba(255, 255, 255, 0.2);
}

.gate-go-btn:active {
    transform: scale(0.95);
}

.gate-confirm-btn {
    width: 36px;
    height: 36px;
    min-width: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.gate-confirm-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.gate-confirm-btn:not(:disabled):hover {
    background: rgba(29, 185, 84, 0.15);
    color: #1db954;
    border-color: rgba(29, 185, 84, 0.3);
    transform: scale(1.1);
}

.gate-confirm-btn:not(:disabled):active {
    transform: scale(0.9);
}

.gate-confirm-btn.confirmed {
    background: #1db954 !important;
    color: #fff !important;
    border-color: #1db954 !important;
    cursor: default;
    animation: confirmPop 0.5s var(--ease-spring);
}

.check-icon {
    width: 16px;
    height: 16px;
}

/* Badges */
.gate-required-badge,
.gate-optional-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    font-size: 0.5rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    padding: 2px 6px;
    border-radius: 4px;
}

.gate-required-badge {
    background: rgba(230, 57, 70, 0.15);
    color: var(--accent-red);
    border: 1px solid rgba(230, 57, 70, 0.2);
}

.gate-optional-badge {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

/* Optional gate styling */
.gate-optional {
    opacity: 0.75;
}

.gate-optional:hover {
    opacity: 1;
}

/* === Progress Section === */
.progress-section {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 10px;
    animation: fadeInUp 0.8s var(--ease-out) 0.4s both;
}

.progress-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.progress-label {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--text-muted);
}

.progress-count {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-secondary);
    letter-spacing: 1px;
}

.progress-bar-track {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 100px;
    overflow: hidden;
    position: relative;
}

.progress-bar-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--accent-red), var(--accent-gold));
    border-radius: 100px;
    transition: width 0.6s var(--ease-out);
    position: relative;
}

.progress-bar-glow {
    position: absolute;
    top: -4px;
    left: 0;
    height: 12px;
    width: 0%;
    background: linear-gradient(90deg, var(--accent-red-glow), var(--accent-gold-glow));
    border-radius: 100px;
    filter: blur(8px);
    transition: width 0.6s var(--ease-out);
    pointer-events: none;
}

/* === Download Section === */
.download-section {
    width: 100%;
    animation: fadeInUp 0.8s var(--ease-out) 0.55s both;
}

.download-btn {
    width: 100%;
    padding: 20px 32px;
    border: none;
    border-radius: var(--radius-xl);
    cursor: pointer;
    font-family: 'Outfit', sans-serif;
    position: relative;
    overflow: hidden;
    transition: all 0.5s var(--ease-out);
}

.download-btn.locked {
    cursor: not-allowed;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.download-btn.unlocked {
    background: transparent;
    border: none;
}

.download-btn-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--accent-red), var(--accent-gold));
    opacity: 0;
    transition: opacity 0.5s var(--ease-out);
    border-radius: inherit;
}

.download-btn.unlocked .download-btn-bg {
    opacity: 1;
    animation: gradientPulse 3s ease-in-out infinite;
}

.download-btn-content {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.download-lock-icon,
.download-unlock-icon {
    width: 22px;
    height: 22px;
    transition: all 0.3s var(--ease-out);
}

.download-btn.locked .download-lock-icon {
    color: var(--text-muted);
}

.download-btn.unlocked .download-unlock-icon {
    color: #fff;
}

.hidden {
    display: none !important;
}

.download-btn-text {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    transition: all 0.3s var(--ease-out);
}

.download-btn.locked .download-btn-text {
    color: var(--text-muted);
}

.download-btn.unlocked .download-btn-text {
    color: #fff;
    font-size: 0.9rem;
}

.download-btn.unlocked:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(230, 57, 70, 0.25), 0 4px 16px rgba(244, 165, 35, 0.2);
}

.download-btn.unlocked:active {
    transform: translateY(-1px) scale(0.98);
}

/* Shimmer on unlocked button */
.download-btn.unlocked::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        135deg,
        transparent 40%,
        rgba(255, 255, 255, 0.1) 45%,
        rgba(255, 255, 255, 0.2) 50%,
        rgba(255, 255, 255, 0.1) 55%,
        transparent 60%
    );
    animation: shimmer 3s ease-in-out infinite;
    z-index: 1;
    pointer-events: none;
}

/* === Footer === */
.site-footer {
    text-align: center;
    padding-top: 16px;
    animation: fadeInUp 0.8s var(--ease-out) 0.7s both;
}

.site-footer p {
    font-size: 0.65rem;
    font-weight: 400;
    color: var(--text-muted);
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* ============================================
   ANIMATIONS
   ============================================ */

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

@keyframes pulse {
    0%, 100% {
        opacity: 0.3;
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        opacity: 0.6;
        transform: translate(-50%, -50%) scale(1.15);
    }
}

@keyframes shine {
    0%, 100% { transform: translateX(-30%) translateY(-30%); }
    50% { transform: translateX(10%) translateY(10%); }
}

@keyframes confirmPop {
    0% { transform: scale(0.5); }
    50% { transform: scale(1.3); }
    100% { transform: scale(1); }
}

@keyframes gradientPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.85; }
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

@keyframes unlockBounce {
    0% { transform: scale(0.8); opacity: 0; }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); opacity: 1; }
}

@keyframes confettiDrop {
    0% { transform: translateY(-10px) rotate(0deg); opacity: 1; }
    100% { transform: translateY(100vh) rotate(720deg); opacity: 0; }
}

/* === Confetti === */
.confetti-piece {
    position: fixed;
    width: 8px;
    height: 8px;
    z-index: 999;
    pointer-events: none;
    animation: confettiDrop linear forwards;
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 480px) {
    .container {
        padding: 28px 16px 48px;
        gap: 24px;
    }

    .artist-name {
        font-size: 2.2rem;
        letter-spacing: 6px;
    }

    .releases-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .release-info {
        padding: 10px 12px 14px;
    }

    .release-title {
        font-size: 0.85rem;
    }

    .release-play-icon {
        width: 40px;
        height: 40px;
    }

    .release-play-icon svg {
        width: 18px;
        height: 18px;
    }

    .track-info {
        padding: 20px 22px 24px;
    }

    .track-title {
        font-size: 1.6rem;
    }

    .gate-item {
        padding: 14px 14px;
        gap: 10px;
    }

    .gate-icon-wrapper {
        width: 36px;
        height: 36px;
        min-width: 36px;
    }

    .gate-icon {
        width: 18px;
        height: 18px;
    }

    .gate-go-btn {
        padding: 7px 12px;
        font-size: 0.65rem;
    }

    .gate-confirm-btn {
        width: 32px;
        height: 32px;
        min-width: 32px;
    }

    .gate-required-badge,
    .gate-optional-badge {
        font-size: 0.45rem;
        padding: 1px 4px;
    }

    .download-btn {
        padding: 18px 24px;
    }

    .download-btn-text {
        font-size: 0.7rem;
        letter-spacing: 2px;
    }

    .topbar-btn span {
        display: none;
    }

    .topbar-btn {
        padding: 8px 10px;
    }

    .top-bar {
        padding: 10px 14px;
    }
}

@media (max-width: 360px) {
    .artist-name {
        font-size: 1.8rem;
        letter-spacing: 4px;
    }

    .gate-platform {
        font-size: 0.8rem;
    }

    .gate-action {
        font-size: 0.65rem;
    }

    .releases-grid {
        gap: 10px;
    }
}
