body {
    font-family: 'Inter', sans-serif;
}

html {
    scroll-behavior: smooth;
}

.gradient-text {
    background: linear-gradient(to right, #ff0000, #ffd700);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.site-logo-lockup {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    text-decoration: none;
}

.site-logo-mark {
    width: 2.4rem;
    height: 2.4rem;
    flex: none;
    filter: drop-shadow(0 14px 24px rgba(220, 38, 38, 0.18));
}

.site-logo-wordmark {
    padding-right: 0.1rem;
    font-size: 1.55rem;
    font-weight: 900;
    letter-spacing: -0.05em;
    line-height: 1;
}

nav .site-logo-wordmark {
    position: relative;
    display: inline-block;
    z-index: 0;
    text-shadow: none;
    font-size: 1.82rem;
}

nav .site-logo-wordmark::before,
nav .site-logo-wordmark::after {
    content: "YachtTuber";
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
    pointer-events: none;
    white-space: nowrap;
}

nav .site-logo-wordmark::before {
    color: rgba(9, 9, 11, 0.44);
    -webkit-text-fill-color: rgba(9, 9, 11, 0.44);
    transform-origin: top left;
    transform: translateY(0.28em) scale(1.06, 1.22);
    filter: blur(0.8px);
    -webkit-mask-image: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0) 0%,
        rgba(0, 0, 0, 0) 46%,
        rgba(0, 0, 0, 0.95) 70%,
        rgba(0, 0, 0, 0.35) 90%,
        rgba(0, 0, 0, 0) 100%
    );
    mask-image: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0) 0%,
        rgba(0, 0, 0, 0) 46%,
        rgba(0, 0, 0, 0.95) 70%,
        rgba(0, 0, 0, 0.35) 90%,
        rgba(0, 0, 0, 0) 100%
    );
}

nav .site-logo-wordmark::after {
    color: rgba(9, 9, 11, 0.3);
    -webkit-text-fill-color: rgba(9, 9, 11, 0.3);
    transform-origin: top left;
    transform: translateY(0.42em) scale(1.12, 1.34);
    filter: blur(3px);
    -webkit-mask-image: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0) 0%,
        rgba(0, 0, 0, 0) 38%,
        rgba(0, 0, 0, 0.82) 74%,
        rgba(0, 0, 0, 0) 100%
    );
    mask-image: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0) 0%,
        rgba(0, 0, 0, 0) 38%,
        rgba(0, 0, 0, 0.82) 74%,
        rgba(0, 0, 0, 0) 100%
    );
}

.site-logo-lockup-footer {
    gap: 0.95rem;
}

.site-logo-mark-footer {
    width: 2.8rem;
    height: 2.8rem;
}

.no-scrollbar::-webkit-scrollbar {
    display: none;
}

.no-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

[x-cloak] {
    display: none !important;
}

.spotlight-panel {
    background:
        radial-gradient(circle at top left, rgba(239, 68, 68, 0.18), transparent 34%),
        radial-gradient(circle at bottom right, rgba(250, 204, 21, 0.18), transparent 32%),
        linear-gradient(135deg, #111827 0%, #18181b 60%, #09090b 100%);
}

.signal-grid {
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 30px 30px;
}

.soft-card {
    box-shadow: 0 24px 80px rgba(15, 23, 42, 0.08);
}

.choice-pill {
    transition: transform 180ms ease, border-color 180ms ease, background-color 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.choice-pill:hover {
    transform: translateY(-1px);
}

.page-glow {
    background:
        radial-gradient(circle at top right, rgba(239, 68, 68, 0.1), transparent 28%),
        radial-gradient(circle at bottom left, rgba(250, 204, 21, 0.12), transparent 26%),
        #f9fafb;
}

.hero-overlay {
    background:
        linear-gradient(to top, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.08)),
        linear-gradient(to right, rgba(220, 38, 38, 0.12), transparent, rgba(250, 204, 21, 0.08));
}

.hero-search-shell {
    width: 100%;
    max-width: 58rem;
}

.hero-search-form {
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 2rem;
    background:
        linear-gradient(135deg, rgba(9, 9, 11, 0.78), rgba(24, 24, 27, 0.64)),
        rgba(9, 9, 11, 0.72);
    backdrop-filter: blur(20px);
    box-shadow:
        0 30px 80px rgba(0, 0, 0, 0.32),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.hero-search-form:focus-within {
    transform: translateY(-2px);
    border-color: rgba(248, 113, 113, 0.55);
    box-shadow:
        0 36px 90px rgba(0, 0, 0, 0.36),
        0 0 0 5px rgba(220, 38, 38, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.hero-search-input-row {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    padding: 0.85rem;
}

.hero-search-input-wrap {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex: 1;
    min-width: 0;
    padding: 0.7rem 1rem 0.7rem 1.2rem;
}

.hero-search-icon {
    width: 1.45rem;
    height: 1.45rem;
    color: rgba(255, 255, 255, 0.72);
    flex: none;
}

.hero-search-input {
    width: 100%;
    border: 0;
    outline: none;
    background: transparent;
    color: #fff;
    font-size: clamp(1.05rem, 2vw, 1.35rem);
    font-weight: 800;
    letter-spacing: -0.02em;
}

.hero-search-input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.hero-search-button {
    border: 0;
    border-radius: 999px;
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: #fff;
    padding: 1rem 1.5rem;
    min-width: 9.5rem;
    font-size: 0.82rem;
    font-weight: 900;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    cursor: pointer;
    box-shadow: 0 18px 40px rgba(220, 38, 38, 0.32);
    transition: transform 160ms ease, box-shadow 160ms ease, filter 160ms ease;
}

.hero-search-button:hover {
    transform: translateY(-1px);
    filter: brightness(1.04);
    box-shadow: 0 22px 44px rgba(220, 38, 38, 0.38);
}

.hero-search-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem 1.5rem;
    justify-content: space-between;
    padding: 0.9rem 0.2rem 0 0.2rem;
    color: rgba(255, 255, 255, 0.78);
    text-align: left;
}

.hero-search-kicker,
.hero-search-results {
    margin: 0;
    font-size: 0.88rem;
    font-weight: 700;
    line-height: 1.5;
}

.hero-search-results {
    color: rgba(250, 204, 21, 0.96);
}

.line-clamp-2 {
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.scroll-theme-section {
    position: relative;
    isolation: isolate;
    transition: color 1500ms ease;
}

.scroll-theme-section::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    opacity: 0;
    transition: opacity 1500ms ease;
    background:
        radial-gradient(circle at top left, rgba(239, 68, 68, 0.18), transparent 32%),
        radial-gradient(circle at bottom right, rgba(250, 204, 21, 0.14), transparent 28%),
        linear-gradient(145deg, #18181b 0%, #09090b 72%);
}

.scroll-theme-section.is-dark::before {
    opacity: 1;
}

.promo-shell,
.promo-badge,
.promo-title,
.promo-description,
.promo-pill,
.promo-primary-action,
.promo-secondary-action,
.nominee-heading,
.nominee-nav-button,
.nominee-card-media,
.nominee-card-avatar,
.nominee-card-title,
.nominee-card-meta {
    transition:
        background-color 1500ms ease,
        border-color 1500ms ease,
        box-shadow 1500ms ease,
        color 1500ms ease;
}

.promo-section.is-dark {
    color: #f4f4f5;
}

.promo-section.is-dark .promo-shell {
    background: rgba(9, 9, 11, 0.72);
    border-color: rgba(255, 255, 255, 0.12);
    box-shadow: 0 32px 90px rgba(0, 0, 0, 0.32);
}

.promo-section.is-dark .promo-badge {
    background: rgba(127, 29, 29, 0.4);
    border-color: rgba(248, 113, 113, 0.22);
    color: #fecaca;
}

.promo-section.is-dark .promo-title {
    color: #fff;
}

.promo-section.is-dark .promo-description {
    color: rgba(244, 244, 245, 0.76);
}

.promo-section.is-dark .promo-pill {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.1);
    color: rgba(244, 244, 245, 0.88);
}

.promo-section.is-dark .promo-secondary-action {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.12);
    color: #fff;
}

.promo-section.is-dark .promo-secondary-action:hover {
    background: rgba(255, 255, 255, 0.12);
}

.promo-section.is-dark .promo-primary-action {
    box-shadow: 0 24px 56px rgba(220, 38, 38, 0.32);
}

.nominee-section.is-dark {
    color: #f4f4f5;
}

.nominee-section.is-dark .nominee-heading,
.nominee-section.is-dark .nominee-card-title {
    color: #fff;
}

.nominee-section.is-dark .nominee-nav-button {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.12);
}

.nominee-section.is-dark .nominee-nav-button:hover {
    background: rgba(255, 255, 255, 0.12);
}

.nominee-section.is-dark .nominee-nav-button i {
    color: rgba(244, 244, 245, 0.88);
}

.nominee-section.is-dark .nominee-card-media {
    background: rgba(24, 24, 27, 0.92);
    border-color: rgba(255, 255, 255, 0.12);
    box-shadow: 0 24px 52px rgba(0, 0, 0, 0.28);
}

.nominee-section.is-dark .nominee-card-avatar {
    background: rgba(39, 39, 42, 0.95);
    border-color: rgba(255, 255, 255, 0.14);
}

.nominee-section.is-dark .nominee-card-meta {
    color: rgba(228, 228, 231, 0.72);
}

.nominee-section.is-dark .nominee-card-meta span:hover {
    color: #fff;
}

.nominee-card {
    display: block;
    color: inherit;
    text-decoration: none;
}

.category-hero {
    position: relative;
    isolation: isolate;
    background:
        linear-gradient(125deg, rgba(15, 23, 42, 0.72), rgba(9, 9, 11, 0.3)),
        #18181b;
}

.category-hero-art {
    position: absolute;
    inset: 0;
    background-position: center;
    background-size: cover;
}

.category-hero-art::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at top left, rgba(239, 68, 68, 0.22), transparent 28%),
        radial-gradient(circle at bottom right, rgba(250, 204, 21, 0.16), transparent 26%),
        linear-gradient(135deg, rgba(9, 9, 11, 0.15), rgba(9, 9, 11, 0.48));
}

.category-player-panel,
.playlist-panel {
    border: 1px solid rgba(15, 23, 42, 0.06);
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 30px 80px rgba(15, 23, 42, 0.08);
    backdrop-filter: blur(20px);
}

.category-player-panel {
    overflow: hidden;
    border-radius: 1.75rem;
}

.playlist-panel {
    border-radius: 1.75rem;
    padding: 1.5rem;
}

.category-stat-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.06);
    padding: 0.75rem 1rem;
}

.playlist-item {
    display: block;
    border: 1px solid rgba(15, 23, 42, 0.06);
    border-radius: 1.5rem;
    background: #fff;
    padding: 0.875rem;
    text-decoration: none;
    transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.playlist-item:hover {
    transform: translateY(-1px);
    border-color: rgba(248, 113, 113, 0.26);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
}

.playlist-item.is-active {
    border-color: rgba(239, 68, 68, 0.32);
    background:
        linear-gradient(135deg, rgba(254, 242, 242, 0.92), rgba(255, 255, 255, 0.98));
    box-shadow: 0 20px 50px rgba(239, 68, 68, 0.12);
}

@media (max-width: 767px) {
    .hero-search-input-row {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-search-input-wrap {
        padding-bottom: 0.35rem;
    }

    .hero-search-button {
        width: 100%;
        min-width: 0;
    }

    .hero-search-meta {
        justify-content: center;
        text-align: center;
    }
}
