/* ============================================================
   LyricsBuzz — Premium Black & Green Theme
   ============================================================ */

/* --- CSS Variables (Design Tokens) --- */
:root {
    --clr-primary: #00E676;
    --clr-primary-light: #69F0AE;
    --clr-primary-dark: #00C853;
    --clr-secondary: #00BFA5;
    --clr-accent: #76FF03;
    --clr-accent-2: #B2FF59;
    --clr-bg: #050505;
    --clr-bg-card: #0D0D0D;
    --clr-bg-card-hover: #161616;
    --clr-surface: #111111;
    --clr-border: rgba(0, 230, 118, 0.15);
    --clr-border-hover: rgba(0, 230, 118, 0.4);
    --clr-text: #E0E0E0;
    --clr-text-muted: #9E9E9E;
    --clr-text-dim: #616161;
    --clr-white: #FFFFFF;
    --clr-success: #00E676;
    --clr-danger: #FF5252;
    --gradient-primary: linear-gradient(135deg, #00E676, #00BFA5, #69F0AE);
    --gradient-card: linear-gradient(145deg, rgba(0, 230, 118, 0.06), rgba(0, 191, 165, 0.03));
    --gradient-hero: linear-gradient(135deg, #050505 0%, #0A0A0A 50%, #0D1A0D 100%);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.5);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.6);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.7);
    --shadow-glow: 0 0 30px rgba(0, 230, 118, 0.2);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --radius-full: 9999px;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-heading: 'Space Grotesk', 'Inter', sans-serif;
    --space-xs: 4px;
    --space-sm: 8px;
    --space-md: 16px;
    --space-lg: 24px;
    --space-xl: 40px;
    --space-2xl: 64px;
    --space-3xl: 96px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: 0.15s ease;
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    --header-height: 72px;
    --container-max: 1240px;
}

/* --- Reset & Base --- */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    font-size: 16px;
    overflow-x: hidden;
}

body {
    font-family: var(--font-body);
    background: var(--clr-bg);
    color: var(--clr-text);
    line-height: 1.7;
    overflow-x: hidden;
    max-width: 100vw;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    color: var(--clr-primary-light);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--clr-primary);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--clr-white);
}

h1 {
    font-size: clamp(1.8rem, 4vw, 3rem);
}

h2 {
    font-size: clamp(1.5rem, 3vw, 2.2rem);
}

h3 {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
}

p {
    margin-bottom: var(--space-md);
}

.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
}

.skip-link:focus {
    clip: auto;
    position: fixed;
    top: var(--space-sm);
    left: var(--space-sm);
    z-index: 10000;
    background: var(--clr-primary);
    color: #000;
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-sm);
}

/* --- Container --- */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: 12px 28px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    border: none;
    border-radius: var(--radius-full);
    cursor: pointer;
    text-decoration: none;
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), transparent);
    opacity: 0;
    transition: opacity var(--transition);
}

.btn:hover::before {
    opacity: 1;
}

.btn--primary {
    background: var(--gradient-primary);
    color: #000;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(0, 230, 118, 0.3);
}

.btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(0, 230, 118, 0.5);
    color: #000;
}

.btn--outline {
    background: transparent;
    color: var(--clr-primary-light);
    border: 2px solid var(--clr-border-hover);
}

.btn--outline:hover {
    background: rgba(0, 230, 118, 0.1);
    border-color: var(--clr-primary);
    color: var(--clr-white);
}

.btn--sm {
    padding: 8px 20px;
    font-size: 0.85rem;
}

.btn--lg {
    padding: 16px 36px;
    font-size: 1.05rem;
}

.btn--block {
    width: 100%;
    justify-content: center;
}

/* --- Badge --- */
.badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: var(--radius-full);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.badge--new {
    background: var(--gradient-primary);
    color: #000;
}

/* ============================================================
   PRELOADER
   ============================================================ */
.preloader {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: var(--clr-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.preloader.loaded {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.preloader__spinner {
    width: 48px;
    height: 48px;
    border: 3px solid rgba(0, 230, 118, 0.15);
    border-top-color: var(--clr-primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* ============================================================
   SCROLL PROGRESS BAR
   ============================================================ */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    z-index: 10001;
    background: var(--gradient-primary);
    width: 0%;
    transition: width 0.1s linear;
}

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(5, 5, 5, 0.88);
    backdrop-filter: blur(20px) saturate(1.5);
    -webkit-backdrop-filter: blur(20px) saturate(1.5);
    border-bottom: 1px solid var(--clr-border);
    height: var(--header-height);
    overflow: visible;
    transition: all var(--transition);
}

.site-header.scrolled {
    background: rgba(5, 5, 5, 0.96);
    box-shadow: var(--shadow-md);
}

.header__glow {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 300px;
    height: 2px;
    background: var(--gradient-primary);
    filter: blur(1px);
}

.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-height);
}

.header__brand a {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    text-decoration: none;
}

.header__logo-text {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    text-decoration: none;
}

.logo-icon {
    font-size: 1.5rem;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.header__nav {
    display: none;
}

@media (min-width: 1024px) {
    .header__nav {
        display: block;
    }
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: var(--space-xs);
}

.nav-menu li {
    position: relative;
}

.nav-menu a {
    display: block;
    padding: 8px 16px;
    color: var(--clr-text-muted);
    font-weight: 500;
    font-size: 0.9rem;
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
}

.nav-menu a:hover,
.nav-menu .current-menu-item>a {
    color: var(--clr-white);
    background: rgba(0, 230, 118, 0.08);
}

.nav-menu .sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 200px;
    background: var(--clr-surface);
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-md);
    padding: var(--space-sm);
    box-shadow: var(--shadow-lg);
}

.nav-menu li:hover>.sub-menu {
    display: block;
}

.nav-menu .sub-menu a {
    padding: 8px 12px;
    font-size: 0.85rem;
}

.header__actions {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.header__search-btn {
    background: none;
    border: none;
    color: var(--clr-text-muted);
    cursor: pointer;
    padding: 8px;
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
}

.header__search-btn:hover {
    color: var(--clr-white);
    background: rgba(0, 230, 118, 0.1);
}

.header__cta {
    display: none;
}

@media (min-width: 768px) {
    .header__cta {
        display: inline-flex;
    }
}

/* Hamburger */
.header__hamburger {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

@media (min-width: 1024px) {
    .header__hamburger {
        display: none;
    }
}

.hamburger-line {
    width: 24px;
    height: 2px;
    background: var(--clr-text);
    border-radius: 2px;
    transition: all var(--transition);
}

.header__hamburger.active .hamburger-line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.header__hamburger.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.header__hamburger.active .hamburger-line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Header Search Bar */
.header__search-bar {
    background: var(--clr-surface);
    border-bottom: 1px solid var(--clr-border);
    padding: var(--space-md) 0;
}

.search-form--header {
    display: flex;
    gap: var(--space-sm);
}

.search-form--header .search-form__input {
    flex: 1;
    background: var(--clr-bg);
    border: 1px solid var(--clr-border);
    color: var(--clr-text);
    padding: 10px 16px;
    border-radius: var(--radius-full);
    font-size: 0.9rem;
    outline: none;
}

.search-form--header .search-form__input:focus {
    border-color: var(--clr-primary);
}

.search-form--header .search-form__btn {
    background: var(--clr-primary);
    border: none;
    color: #000;
    padding: 10px 16px;
    border-radius: var(--radius-full);
    cursor: pointer;
    font-weight: 600;
}

/* Mobile Nav */
.mobile-nav {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    bottom: 0;
    background: #050505;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 9999;
    overflow-y: auto;
    padding: var(--space-xl) var(--space-lg);
}

.mobile-nav__menu {
    list-style: none;
}

.mobile-nav__menu a {
    display: block;
    padding: 14px 0;
    color: var(--clr-text);
    font-size: 1.1rem;
    font-weight: 500;
    border-bottom: 1px solid var(--clr-border);
}

.mobile-nav__menu a:hover {
    color: var(--clr-primary);
}

.mobile-nav__cta {
    margin-top: var(--space-xl);
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-hero);
    overflow: hidden;
    text-align: center;
    padding: calc(var(--header-height) + var(--space-3xl)) var(--space-lg) var(--space-3xl);
}

.hero__overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, rgba(0, 230, 118, 0.08) 0%, transparent 70%);
}

.hero__particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.particle {
    position: absolute;
    font-size: 1.5rem;
    opacity: 0.12;
    animation: particleFloat 15s infinite ease-in-out;
}

.particle:nth-child(1) {
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.particle:nth-child(2) {
    top: 20%;
    right: 15%;
    animation-delay: 2s;
    font-size: 2rem;
}

.particle:nth-child(3) {
    bottom: 30%;
    left: 20%;
    animation-delay: 4s;
}

.particle:nth-child(4) {
    top: 40%;
    right: 25%;
    animation-delay: 6s;
    font-size: 1.8rem;
}

.particle:nth-child(5) {
    bottom: 20%;
    right: 10%;
    animation-delay: 8s;
}

.particle:nth-child(6) {
    top: 60%;
    left: 5%;
    animation-delay: 10s;
    font-size: 2.2rem;
}

.particle:nth-child(7) {
    bottom: 10%;
    left: 40%;
    animation-delay: 3s;
}

.particle:nth-child(8) {
    top: 15%;
    left: 60%;
    animation-delay: 7s;
    font-size: 1.3rem;
}

@keyframes particleFloat {

    0%,
    100% {
        transform: translate(0, 0) rotate(0deg);
        opacity: 0.08;
    }

    25% {
        transform: translate(30px, -40px) rotate(90deg);
        opacity: 0.2;
    }

    50% {
        transform: translate(-20px, -80px) rotate(180deg);
        opacity: 0.12;
    }

    75% {
        transform: translate(40px, -30px) rotate(270deg);
        opacity: 0.16;
    }
}

.hero__content {
    position: relative;
    z-index: 2;
    max-width: 700px;
}

.hero__title {
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    font-weight: 700;
    margin-bottom: var(--space-lg);
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeInUp 0.8s ease-out;
}

.hero__subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--clr-text-muted);
    margin-bottom: var(--space-xl);
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero__cta {
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================================
   SECTIONS (Common)
   ============================================================ */
.section {
    padding: var(--space-3xl) 0;
    position: relative;
}

.section__title {
    font-size: clamp(1.5rem, 3vw, 2rem);
    margin-bottom: var(--space-xl);
}

.section__title--center {
    text-align: center;
}

.section__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--space-xl);
    flex-wrap: wrap;
    gap: var(--space-md);
}

.section__view-all {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    color: var(--clr-primary-light);
    font-weight: 600;
    font-size: 0.9rem;
}

.section__view-all:hover {
    color: var(--clr-primary);
}

.section__view-all svg {
    transition: transform var(--transition-fast);
}

.section__view-all:hover svg {
    transform: translateX(4px);
}

.section--trending {
    background: var(--clr-bg);
}

.section--artists {
    background: var(--clr-surface);
}

.section--categories {
    background: var(--clr-bg);
}

.section--latest {
    background: var(--clr-surface);
}

/* ============================================================
   SEARCH SECTION
   ============================================================ */
.section--search {
    padding: var(--space-2xl) 0;
}

.search-box {
    max-width: 680px;
    margin: 0 auto;
}

.search-box__form {
    position: relative;
}

.search-box__input-wrapper {
    display: flex;
    align-items: center;
    background: var(--clr-bg-card);
    border: 2px solid var(--clr-border);
    border-radius: var(--radius-full);
    padding: 6px 6px 6px 20px;
    transition: all var(--transition);
    box-shadow: var(--shadow-sm);
}

.search-box__input-wrapper:focus-within {
    border-color: var(--clr-primary);
    box-shadow: var(--shadow-glow);
}

.search-box__icon {
    color: var(--clr-text-dim);
    flex-shrink: 0;
    margin-right: var(--space-sm);
}

.search-box__input {
    flex: 1;
    background: none;
    border: none;
    color: var(--clr-text);
    font-size: 1rem;
    padding: 10px 0;
    outline: none;
    font-family: var(--font-body);
    min-width: 0;
}

.search-box__input::placeholder {
    color: var(--clr-text-dim);
}

.search-box__btn {
    flex-shrink: 0;
}

.search-box__results {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background: var(--clr-bg-card);
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    z-index: 50;
    max-height: 400px;
    overflow-y: auto;
}

.search-result-item {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-md);
    border-bottom: 1px solid var(--clr-border);
    transition: background var(--transition-fast);
    text-decoration: none;
    color: var(--clr-text);
}

.search-result-item:hover {
    background: rgba(0, 230, 118, 0.06);
    color: var(--clr-white);
}

.search-result-item__thumb {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-sm);
    object-fit: cover;
    flex-shrink: 0;
}

.search-result-item__info {
    flex: 1;
    min-width: 0;
}

.search-result-item__title {
    font-weight: 600;
    font-size: 0.9rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.search-result-item__artist {
    font-size: 0.8rem;
    color: var(--clr-text-muted);
}

.search-box--results {
    max-width: 100%;
    margin-bottom: var(--space-xl);
}

/* ============================================================
   CARDS
   ============================================================ */
.cards-grid {
    display: grid;
    gap: var(--space-lg);
}

.cards-grid--2 {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}

.cards-grid--3 {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}

.cards-grid--4 {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
}

.lyric-card {
    background: var(--clr-bg-card);
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-md);
    overflow: hidden;
    position: relative;
    transition: all var(--transition);
    animation: fadeInUp 0.6s ease-out both;
    animation-delay: var(--delay, 0s);
}

.lyric-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: var(--gradient-card);
    opacity: 0;
    transition: opacity var(--transition);
    pointer-events: none;
    z-index: 1;
}

.lyric-card:hover {
    transform: translateY(-6px);
    border-color: var(--clr-border-hover);
    box-shadow: var(--shadow-glow);
}

.lyric-card:hover::before {
    opacity: 1;
}

.card__rank {
    position: absolute;
    top: var(--space-sm);
    left: var(--space-sm);
    z-index: 5;
    background: var(--gradient-primary);
    color: #000;
    font-weight: 800;
    width: 32px;
    height: 32px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
}

.card__image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/10;
}

.card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.lyric-card:hover .card__image img {
    transform: scale(1.08);
}

.card__image-overlay {
    position: absolute;
    inset: 0;
    background: rgba(5, 5, 5, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--transition);
}

.lyric-card:hover .card__image-overlay {
    opacity: 1;
}

.card__play-icon {
    font-size: 2rem;
    color: var(--clr-white);
}

.card__badge {
    position: absolute;
    top: var(--space-sm);
    right: var(--space-sm);
    z-index: 2;
}

.card__content {
    padding: var(--space-md);
    position: relative;
    z-index: 2;
}

.card__title {
    font-size: 1rem;
    margin-bottom: var(--space-xs);
}

.card__title a {
    color: var(--clr-white);
}

.card__title a:hover {
    color: var(--clr-primary);
}

.card__artist {
    display: block;
    font-size: 0.85rem;
    color: var(--clr-text-muted);
    margin-bottom: var(--space-sm);
}

.card__type {
    display: inline-block;
    font-size: 0.7rem;
    color: var(--clr-primary-light);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: var(--space-xs);
}

.card__meta {
    display: flex;
    gap: var(--space-md);
    font-size: 0.8rem;
    color: var(--clr-text-dim);
}

.card__excerpt {
    font-size: 0.85rem;
    color: var(--clr-text-muted);
    margin: var(--space-sm) 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ============================================================
   ARTISTS SECTION
   ============================================================ */
.artists-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: var(--space-lg);
    text-align: center;
}

.artist-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-lg);
    background: var(--clr-bg-card);
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-lg);
    transition: all var(--transition);
    text-decoration: none;
    animation: fadeInUp 0.6s ease-out both;
    animation-delay: var(--delay, 0s);
}

.artist-card:hover {
    transform: translateY(-8px);
    border-color: var(--clr-primary);
    box-shadow: var(--shadow-glow);
}

.artist-card__avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--clr-border);
    transition: border-color var(--transition);
}

.artist-card:hover .artist-card__avatar {
    border-color: var(--clr-primary);
}

.artist-card__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.artist-card__placeholder {
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
}

.artist-card__name {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--clr-white);
}

.artist-card__count {
    font-size: 0.75rem;
    color: var(--clr-text-dim);
}

/* ============================================================
   GENRE CARDS
   ============================================================ */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: var(--space-md);
}

.genre-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: var(--space-xl) var(--space-md);
    text-decoration: none;
    text-align: center;
    background: var(--clr-bg-card);
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-lg);
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
    animation: fadeInUp 0.6s ease-out both;
    animation-delay: var(--delay, 0s);
}

.genre-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, var(--card-color, var(--clr-primary)), transparent 70%);
    opacity: 0.05;
    transition: opacity var(--transition);
}

.genre-card:hover {
    transform: translateY(-6px) scale(1.02);
    border-color: var(--card-color, var(--clr-primary));
}

.genre-card:hover::before {
    opacity: 0.18;
}

.genre-card__icon {
    font-size: 2.5rem;
    margin-bottom: var(--space-sm);
    transition: transform var(--transition);
}

.genre-card:hover .genre-card__icon {
    transform: scale(1.2);
}

.genre-card__name {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--clr-white);
}

.genre-card__count {
    font-size: 0.75rem;
    color: var(--clr-text-dim);
    margin-top: var(--space-xs);
}

/* ============================================================
   NEWSLETTER
   ============================================================ */
.section--newsletter {
    position: relative;
    padding: var(--space-3xl) 0;
    text-align: center;
    background: var(--gradient-hero);
    overflow: hidden;
}

.newsletter__bg {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at bottom, rgba(0, 230, 118, 0.1), transparent 60%);
}

.newsletter__content {
    position: relative;
    z-index: 2;
    max-width: 600px;
    margin: 0 auto;
}

.newsletter__icon {
    font-size: 3rem;
    margin-bottom: var(--space-md);
    animation: bounce 2s infinite;
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.newsletter__title {
    margin-bottom: var(--space-md);
}

.newsletter__desc {
    color: var(--clr-text-muted);
    margin-bottom: var(--space-xl);
}

.newsletter__input-group {
    display: flex;
    gap: var(--space-sm);
    max-width: 480px;
    margin: 0 auto;
}

.newsletter__input {
    flex: 1;
    background: var(--clr-bg-card);
    border: 2px solid var(--clr-border);
    color: var(--clr-text);
    padding: 14px 20px;
    border-radius: var(--radius-full);
    font-size: 0.95rem;
    outline: none;
    font-family: var(--font-body);
    min-width: 0;
}

.newsletter__input:focus {
    border-color: var(--clr-primary);
}

.newsletter__btn {
    flex-shrink: 0;
}

.newsletter__note {
    font-size: 0.75rem;
    color: var(--clr-text-dim);
    margin-top: var(--space-md);
}

/* ============================================================
   STATS
   ============================================================ */
.section--stats {
    background: var(--clr-surface);
    padding: var(--space-2xl) 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: var(--space-xl);
    text-align: center;
}

.stat-card {
    padding: var(--space-xl);
    animation: fadeInUp 0.6s ease-out both;
    animation-delay: var(--delay, 0s);
}

.stat-card__icon {
    font-size: 2.5rem;
    display: block;
    margin-bottom: var(--space-sm);
}

.stat-card__number {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-card__label {
    font-size: 0.9rem;
    color: var(--clr-text-muted);
    margin-top: var(--space-xs);
}

/* ============================================================
   SINGLE LYRIC PAGE
   ============================================================ */
.single-lyric {
    padding-top: calc(var(--header-height) + var(--space-xl));
}

.lyric-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-xl);
}

@media (min-width: 1024px) {
    .lyric-layout {
        grid-template-columns: 1fr 320px;
    }
}

.lyric-header {
    margin-bottom: var(--space-xl);
}

.lyric-header__title {
    margin-bottom: var(--space-md);
}

.lyric-header__meta {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-md);
    color: var(--clr-text-muted);
    font-size: 0.9rem;
}

.lyric-header__meta a {
    color: var(--clr-primary-light);
}

/* Info Box */
.lyric-info-box {
    background: var(--clr-bg-card);
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-md);
    padding: var(--space-lg);
    margin: var(--space-xl) 0;
}

.lyric-info-box__title {
    font-size: 1rem;
    margin-bottom: var(--space-md);
    color: var(--clr-primary);
}

.lyric-info-box__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: var(--space-md);
}

.info-item {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.info-label {
    font-size: 0.75rem;
    color: var(--clr-text-dim);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.info-value {
    font-weight: 600;
    color: var(--clr-white);
}

/* Video */
.lyric-video {
    margin: var(--space-xl) 0;
}

.lyric-video__wrapper {
    position: relative;
    padding-bottom: 56.25%;
    border-radius: var(--radius-md);
    overflow: hidden;
}

.lyric-video__wrapper iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

/* Content */
.lyric-content {
    font-size: 1.1rem;
    line-height: 2;
    margin: var(--space-xl) 0;
}

.lyric-content p {
    margin-bottom: var(--space-lg);
}

/* Copy Lyrics Button */
.copy-lyrics-btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: 10px 24px;
    background: rgba(0, 230, 118, 0.1);
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-full);
    color: var(--clr-primary-light);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition);
    font-family: var(--font-body);
    margin-bottom: var(--space-lg);
}

.copy-lyrics-btn:hover {
    background: rgba(0, 230, 118, 0.2);
    border-color: var(--clr-primary);
    color: var(--clr-white);
}

.copy-lyrics-btn.copied {
    background: var(--clr-primary);
    color: #000;
    border-color: var(--clr-primary);
}

/* Share */
.lyric-share {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    flex-wrap: wrap;
    margin: var(--space-xl) 0;
    padding: var(--space-lg) 0;
    border-top: 1px solid var(--clr-border);
    border-bottom: 1px solid var(--clr-border);
}

.lyric-share__label {
    font-weight: 600;
    color: var(--clr-text-muted);
}

.share-btn {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--clr-white);
    text-decoration: none;
    transition: all var(--transition-fast);
    border: none;
    cursor: pointer;
    font-family: var(--font-body);
}

.share-btn--facebook {
    background: #1877F2;
}

.share-btn--twitter {
    background: #1DA1F2;
}

.share-btn--whatsapp {
    background: #25D366;
}

.share-btn--copy {
    background: var(--clr-surface);
    border: 1px solid var(--clr-border);
}

.share-btn:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}

/* Tags */
.lyric-tags {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
    margin: var(--space-lg) 0;
}

.tag {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(0, 230, 118, 0.08);
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    color: var(--clr-primary-light);
    font-weight: 500;
    transition: all var(--transition-fast);
}

.tag:hover {
    background: var(--clr-primary);
    color: #000;
    border-color: var(--clr-primary);
}

/* Related */
.related-lyrics {
    margin-top: var(--space-2xl);
}

.related-lyrics__title {
    margin-bottom: var(--space-lg);
}

.lyric-card--sm .card__image {
    aspect-ratio: 1;
}

/* ============================================================
   SIDEBAR
   ============================================================ */
.sidebar {
    position: sticky;
    top: calc(var(--header-height) + var(--space-lg));
}

.widget {
    background: var(--clr-bg-card);
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-md);
    padding: var(--space-lg);
    margin-bottom: var(--space-lg);
}

.widget-title {
    font-size: 1rem;
    margin-bottom: var(--space-md);
    padding-bottom: var(--space-sm);
    border-bottom: 2px solid var(--clr-primary);
}

.widget ul {
    list-style: none;
}

.widget li {
    padding: var(--space-sm) 0;
    border-bottom: 1px solid var(--clr-border);
}

.widget li:last-child {
    border: none;
}

.widget a {
    color: var(--clr-text-muted);
    font-size: 0.9rem;
}

.widget a:hover {
    color: var(--clr-primary);
}

/* ============================================================
   ARCHIVE & PAGE HEADERS
   ============================================================ */
.archive-page,
.search-page,
.page-template,
.single-post {
    padding-top: calc(var(--header-height) + var(--space-xl));
    min-height: 80vh;
}

.archive-header {
    margin-bottom: var(--space-xl);
}

.archive-header__title {
    margin-bottom: var(--space-sm);
}

.archive-header__desc {
    color: var(--clr-text-muted);
    font-size: 0.95rem;
}

.archive-header__count {
    color: var(--clr-text-dim);
    font-size: 0.9rem;
}

.page-header {
    margin-bottom: var(--space-xl);
}

.page-content {
    max-width: 800px;
}

.page-content p,
.page-content li {
    color: var(--clr-text-muted);
}

/* ============================================================
   BREADCRUMBS
   ============================================================ */
.breadcrumbs {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--space-xs);
    font-size: 0.8rem;
    color: var(--clr-text-dim);
    margin-bottom: var(--space-lg);
    padding: var(--space-md) 0;
}

.breadcrumbs a {
    color: var(--clr-text-muted);
}

.breadcrumbs a:hover {
    color: var(--clr-primary);
}

.breadcrumbs .current {
    color: var(--clr-text);
}

.breadcrumbs .sep {
    color: var(--clr-text-dim);
}

/* ============================================================
   PAGINATION
   ============================================================ */
.pagination {
    margin-top: var(--space-2xl);
    text-align: center;
}

.pagination .nav-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
}

.pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    background: var(--clr-bg-card);
    border: 1px solid var(--clr-border);
    color: var(--clr-text-muted);
    font-weight: 600;
    font-size: 0.9rem;
    transition: all var(--transition-fast);
}

.pagination .page-numbers:hover,
.pagination .page-numbers.current {
    background: var(--clr-primary);
    border-color: var(--clr-primary);
    color: #000;
}

/* ============================================================
   404 PAGE
   ============================================================ */
.page-404 {
    padding-top: calc(var(--header-height) + var(--space-3xl));
    min-height: 80vh;
}

.error-404 {
    text-align: center;
    max-width: 500px;
    margin: 0 auto;
}

.error-404__icon {
    font-size: 4rem;
    margin-bottom: var(--space-md);
    animation: bounce 2s infinite;
}

.error-404__title {
    font-size: 8rem;
    font-weight: 900;
    line-height: 1;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.error-404__subtitle {
    font-size: 1.5rem;
    margin: var(--space-md) 0;
}

.error-404__desc {
    color: var(--clr-text-muted);
    margin-bottom: var(--space-xl);
}

.error-404__search {
    margin-bottom: var(--space-xl);
}

/* ============================================================
   NO RESULTS
   ============================================================ */
.no-results {
    text-align: center;
    padding: var(--space-3xl) 0;
}

.no-results__icon {
    font-size: 4rem;
    margin-bottom: var(--space-md);
}

.no-results h2 {
    margin-bottom: var(--space-md);
}

.no-results p {
    color: var(--clr-text-muted);
    margin-bottom: var(--space-xl);
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
    position: relative;
    background: var(--clr-surface);
    border-top: 1px solid var(--clr-border);
    padding: var(--space-3xl) 0 var(--space-lg);
    margin-top: 0;
}

.footer__glow {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 400px;
    height: 2px;
    background: var(--gradient-primary);
    filter: blur(2px);
}

.footer__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-xl);
    margin-bottom: var(--space-2xl);
}

@media (min-width: 768px) {
    .footer__grid {
        grid-template-columns: 2fr 1fr 1fr 1fr;
    }
}

.footer__brand {
    margin-bottom: var(--space-md);
}

.footer__about-text {
    color: var(--clr-text-muted);
    font-size: 0.9rem;
    margin-bottom: var(--space-lg);
}

.footer__socials {
    display: flex;
    gap: var(--space-sm);
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: var(--radius-full);
    background: var(--clr-bg-card);
    border: 1px solid var(--clr-border);
    color: var(--clr-text-muted);
    transition: all var(--transition-fast);
}

.social-link:hover {
    color: var(--clr-primary);
    border-color: var(--clr-primary);
    background: rgba(0, 230, 118, 0.1);
    transform: translateY(-3px);
}

.footer-widget {
    margin-bottom: var(--space-lg);
}

.footer__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: var(--space-md);
    padding-top: var(--space-lg);
    border-top: 1px solid var(--clr-border);
}

.footer__copyright {
    font-size: 0.8rem;
    color: var(--clr-text-dim);
}

.footer__menu {
    display: flex;
    list-style: none;
    gap: var(--space-md);
}

.footer__menu a {
    color: var(--clr-text-muted);
    font-size: 0.8rem;
}

.footer__menu a:hover {
    color: var(--clr-primary);
}

/* ============================================================
   BACK TO TOP
   ============================================================ */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
    width: 48px;
    height: 48px;
    border-radius: var(--radius-full);
    background: var(--clr-primary);
    color: #000;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition);
    box-shadow: 0 4px 20px rgba(0, 230, 118, 0.3);
    font-size: 1.2rem;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 30px rgba(0, 230, 118, 0.5);
}

/* ============================================================
   AD SLOTS
   ============================================================ */
.ad-slot {
    padding: var(--space-md) 0;
    text-align: center;
}

/* ============================================================
   WORDPRESS CORE STYLES
   ============================================================ */
.entry-content img {
    border-radius: var(--radius-sm);
}

.wp-block-image img {
    border-radius: var(--radius-sm);
}

.alignwide {
    max-width: calc(var(--container-max) + 100px);
    margin-left: auto;
    margin-right: auto;
}

.alignfull {
    width: 100%;
    max-width: none;
}

.post-featured-image {
    margin-bottom: var(--space-xl);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: var(--space-lg);
}

.site-main.archive-page .container,
.site-main.search-page .container {
    padding-bottom: var(--space-2xl);
}

/* Comments */
.lyric-comments {
    margin-top: var(--space-2xl);
}

.comment-list {
    list-style: none;
}

.comment-body {
    background: var(--clr-bg-card);
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-md);
    padding: var(--space-lg);
    margin-bottom: var(--space-md);
}

.comment-author {
    font-weight: 600;
}

.comment-form input,
.comment-form textarea {
    width: 100%;
    background: var(--clr-bg);
    border: 1px solid var(--clr-border);
    color: var(--clr-text);
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    margin-bottom: var(--space-md);
}

.comment-form input:focus,
.comment-form textarea:focus {
    border-color: var(--clr-primary);
    outline: none;
}

.comment-form .submit {
    cursor: pointer;
    background: var(--gradient-primary);
    color: #000;
    border: none;
    padding: 12px 28px;
    border-radius: var(--radius-full);
    font-weight: 700;
}

.comment-form label {
    display: block;
    margin-bottom: var(--space-xs);
    font-size: 0.9rem;
    color: var(--clr-text-muted);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 767px) {
    :root {
        --space-3xl: 56px;
        --space-2xl: 40px;
    }

    .hero {
        min-height: 70vh;
        padding: calc(var(--header-height) + var(--space-2xl)) var(--space-md) var(--space-2xl);
    }

    .hero__title {
        font-size: 2rem;
    }

    .newsletter__input-group {
        flex-direction: column;
    }

    .newsletter__btn {
        width: 100%;
        justify-content: center;
    }

    .cards-grid--3,
    .cards-grid--4 {
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    }

    .artists-grid {
        grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
        gap: var(--space-md);
    }

    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stat-card__number {
        font-size: 2rem;
    }

    .footer__bottom {
        flex-direction: column;
        text-align: center;
    }

    .footer__menu {
        justify-content: center;
    }

    .lyric-share {
        justify-content: center;
    }

    .lyric-info-box__grid {
        grid-template-columns: 1fr;
    }

    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 42px;
        height: 42px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 var(--space-md);
    }

    .cards-grid--3,
    .cards-grid--4 {
        grid-template-columns: 1fr;
    }

    .categories-grid {
        grid-template-columns: 1fr 1fr;
    }

    .error-404__title {
        font-size: 5rem;
    }
}

/* ============================================================
   PRINT STYLES
   ============================================================ */
@media print {
    body {
        background: #fff;
        color: #000;
    }

    .site-header,
    .site-footer,
    .sidebar,
    .lyric-share,
    .related-lyrics,
    .lyric-comments,
    .back-to-top,
    .ad-slot,
    .hero,
    .section--search,
    .section--newsletter,
    .section--stats,
    .preloader,
    .scroll-progress,
    .copy-lyrics-btn {
        display: none !important;
    }

    .lyric-layout {
        grid-template-columns: 1fr !important;
    }

    .lyric-content {
        font-size: 12pt;
        line-height: 1.6;
        color: #000;
    }

    .lyric-header__title {
        color: #000;
        font-size: 18pt;
    }

    .lyric-info-box {
        border: 1px solid #ccc;
    }

    a {
        color: #000;
        text-decoration: underline;
    }
}