@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Cinzel:wght@500;600;700;800&display=swap');

:root {
    --bg-dark: #090a0f;
    --bg-surface: #12141d;
    --bg-card: #161824;
    --bg-card-hover: #1e2132;
    --text-main: #f1f3f9;
    --text-muted: #8e95ab;
    --text-dim: #5c6275;
    
    --gold: #d4af37;
    --gold-light: #f3e5ab;
    --gold-dark: #997a15;
    --gold-glow: rgba(212, 175, 55, 0.25);
    
    --suno-pink: #e040fb;
    --suno-pink-bg: rgba(224, 64, 251, 0.15);
    --accent-amber: #ff9a3d;
    
    --border: rgba(255, 255, 255, 0.08);
    --border-gold: rgba(212, 175, 55, 0.3);
    --border-hover: rgba(255, 255, 255, 0.18);
    
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 22px;
    --radius-xl: 30px;
    
    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.4);
    --shadow-gold: 0 10px 30px rgba(212, 175, 55, 0.15);
    --shadow-player: 0 -10px 40px rgba(0, 0, 0, 0.85);
    
    --player-height: 85px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    -webkit-tap-highlight-color: transparent;
}

html {
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

body {
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    min-height: 100vh;
    padding-bottom: calc(var(--player-height) + 35px);
    word-break: break-word;
    overflow-wrap: break-word;
}

a {
    color: inherit;
    text-decoration: none;
    transition: all 0.2s ease;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
::-webkit-scrollbar-track {
    background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--gold);
}

/* CONTAINER (ELEGANT CENTERED DESKTOP LAYOUT WITH DISTINCT MARGINS) */
.container {
    width: 90%;
    max-width: 1240px !important;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    margin: 0 auto !important;
    box-sizing: border-box;
}

@media (min-width: 1024px) {
    .container {
        width: 85%;
        max-width: 1180px !important;
        padding-left: 2rem;
        padding-right: 2rem;
    }
}

@media (min-width: 1440px) {
    .container {
        width: 80%;
        max-width: 1140px !important;
        padding-left: 2.5rem;
        padding-right: 2.5rem;
    }
}

/* SHARE PAGE PROPORTIONAL LAYOUT & COVER ARTWORK RULES */
.share-grid {
    display: grid;
    grid-template-columns: 360px 1fr;
    gap: 1.75rem;
    align-items: start;
    width: 100%;
    box-sizing: border-box;
}

@media (max-width: 900px) {
    .share-grid {
        grid-template-columns: 1fr;
    }
}

.share-cover-wrapper {
    width: 100%;
    max-width: 320px;
    aspect-ratio: 1 / 1 !important;
    max-height: 320px !important;
    overflow: hidden;
    position: relative;
    border-radius: var(--radius-lg);
}

.share-cover-img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
}

.shell {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
    padding: 1.25rem 0 4rem;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

/* Header & Top Navigation */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.75rem;
    background: rgba(18, 20, 29, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    margin-bottom: 0.5rem;
    position: sticky;
    top: 0.75rem;
    z-index: 900;
    box-shadow: var(--shadow-soft);
    width: 100%;
    box-sizing: border-box;
}

.brand-lockup {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.brand-mark {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-md);
    object-fit: cover;
    border: 1px solid var(--border-gold);
    box-shadow: var(--shadow-gold);
    flex-shrink: 0;
}

.brand-mark-fallback {
    display: grid;
    place-items: center;
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--bg-dark);
    background: linear-gradient(135deg, var(--gold), #b8860b);
    flex-shrink: 0;
}

.brand-text {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.brand-name {
    font-family: 'Cinzel', serif;
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    background: linear-gradient(135deg, #ffffff 30%, var(--gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.brand-subtitle {
    font-size: 0.68rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.nav-link {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-muted);
    padding: 0.45rem 0.75rem;
    border-radius: var(--radius-sm);
    white-space: nowrap;
}

.nav-link:hover, .nav-link.active {
    color: var(--gold);
    background: rgba(212, 175, 55, 0.08);
}

.user-profile-badge {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.35rem 0.65rem 0.35rem 0.35rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border);
    border-radius: 999px;
    max-width: 180px;
}

.user-avatar-sm {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.user-name-sm {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-main);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Cards & Layout */
.card {
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 1.85rem 2.25rem;
    box-shadow: var(--shadow-soft);
    position: relative;
    overflow: hidden;
    width: 100%;
    box-sizing: border-box;
}

.card-gold-accent {
    border-color: var(--border-gold);
    background: linear-gradient(160deg, rgba(18, 20, 29, 0.95), rgba(35, 30, 20, 0.4));
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.25rem;
    width: 100%;
    box-sizing: border-box;
}

.eyebrow {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--gold);
    font-weight: 700;
    margin-bottom: 0.35rem;
}

.title {
    font-family: 'Cinzel', serif;
    font-size: clamp(1.5rem, 4.5vw, 2.5rem);
    font-weight: 700;
    color: var(--text-main);
    line-height: 1.25;
    word-break: break-word;
    overflow-wrap: break-word;
}

.section-title {
    font-size: clamp(1.2rem, 3.5vw, 1.5rem);
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 0.4rem;
    word-break: break-word;
    overflow-wrap: break-word;
}

.muted {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.5;
    word-break: break-word;
    overflow-wrap: break-word;
}

/* Buttons & Controls */
.btn, button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    appearance: none;
    border: 0;
    cursor: pointer;
    border-radius: 999px;
    padding: 0.75rem 1.35rem;
    font-family: inherit;
    font-size: 0.88rem;
    font-weight: 700;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    background: linear-gradient(135deg, var(--gold) 0%, #b8860b 100%);
    color: var(--bg-dark);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.25);
    white-space: nowrap;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4);
    filter: brightness(1.1);
}

.btn.secondary {
    background: rgba(255, 255, 255, 0.06);
    color: var(--text-main);
    border: 1px solid var(--border);
    box-shadow: none;
}

.btn.secondary:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: var(--border-hover);
}

.btn.btn-gold-outline {
    background: transparent;
    color: var(--gold);
    border: 1px solid var(--gold);
    box-shadow: none;
}

.btn.btn-gold-outline:hover {
    background: rgba(212, 175, 55, 0.15);
}

/* Form inputs */
.form-grid {
    display: grid;
    gap: 1rem;
    width: 100%;
}

label {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-main);
    width: 100%;
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="url"],
input[type="number"],
input[type="date"],
select,
textarea {
    width: 100%;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 0.8rem 1rem;
    background: rgba(9, 10, 15, 0.8);
    color: var(--text-main);
    font-family: inherit;
    font-size: 0.9rem;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.15);
}

/* Pills & Badges */
.pill {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    background: rgba(212, 175, 55, 0.12);
    border: 1px solid var(--border-gold);
    color: var(--gold);
    font-size: 0.78rem;
    font-weight: 600;
    white-space: nowrap;
}

.feature-pills {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.alert {
    padding: 0.85rem 1.1rem;
    border-radius: var(--radius-md);
    font-size: 0.88rem;
    font-weight: 600;
    margin-bottom: 1rem;
    word-break: break-word;
}

.alert-success {
    background: rgba(43, 182, 115, 0.15);
    border: 1px solid rgba(43, 182, 115, 0.3);
    color: #4ade80;
}

.alert-error {
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #f87171;
}

/* ==========================================================================
   SUNO.COM TOP SEARCH & FILTER BAR
   ========================================================================== */
.suno-search-filter-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    width: 100%;
}

.suno-search-input-wrapper {
    position: relative;
    flex: 1;
    min-width: 260px;
    width: 100%;
}

.suno-search-icon {
    position: absolute;
    left: 1.1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 0.95rem;
    pointer-events: none;
}

.suno-search-input {
    width: 100%;
    padding: 0.8rem 1.1rem 0.8rem 2.8rem !important;
    background: #141622 !important;
    border: 1px solid var(--border) !important;
    border-radius: 999px !important;
    color: var(--text-main) !important;
    font-size: 0.9rem !important;
}

.suno-filter-group {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    overflow-x: auto;
    padding-bottom: 0.3rem;
    width: 100%;
    -webkit-overflow-scrolling: touch;
}

.suno-filter-pill {
    appearance: none;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
    padding: 0.55rem 0.95rem;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    box-shadow: none;
}

.suno-filter-pill.active {
    background: rgba(212, 175, 55, 0.15);
    border-color: var(--gold);
    color: var(--gold);
}

/* ==========================================================================
   SUNO.COM FULL WIDTH TRACK CARD ROW
   ========================================================================== */
.suno-track-catalog-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
}

.suno-full-track-card {
    display: grid;
    grid-template-columns: 100px 1fr 40px;
    gap: 1.1rem;
    align-items: start;
    padding: 1rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    width: 100%;
    box-sizing: border-box;
}

.suno-full-track-card:hover {
    background: var(--bg-card-hover);
    border-color: rgba(255, 255, 255, 0.15);
}

.suno-thumb-box {
    position: relative;
    width: 100px;
    height: 100px;
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--bg-surface);
    flex-shrink: 0;
}

.suno-thumb-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.suno-duration-badge {
    position: absolute;
    bottom: 0.35rem;
    left: 0.35rem;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(4px);
    color: #ffffff;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.12rem 0.4rem;
    border-radius: 4px;
}

.suno-thumb-play-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(2px);
    display: grid;
    place-items: center;
    color: var(--gold);
    font-size: 1.5rem;
    opacity: 0;
    transition: opacity 0.2s ease;
    cursor: pointer;
    border: 0;
    box-shadow: none;
}

.suno-thumb-box:hover .suno-thumb-play-overlay {
    opacity: 1;
}

.suno-track-details {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    min-width: 0;
    width: 100%;
}

.suno-track-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.suno-track-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-main);
    word-break: break-word;
}

.suno-tag-pink {
    background: var(--suno-pink-bg);
    color: var(--suno-pink);
    font-size: 0.7rem;
    font-weight: 800;
    padding: 0.15rem 0.45rem;
    border-radius: 6px;
}

.suno-tag-muted {
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-muted);
    font-size: 0.7rem;
    font-weight: 600;
    padding: 0.15rem 0.45rem;
    border-radius: 6px;
}

.suno-track-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.45;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    word-break: break-word;
}

.suno-track-action-bar {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: 0.25rem;
    flex-wrap: wrap;
}

.suno-action-btn {
    appearance: none;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    color: var(--text-muted);
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    box-shadow: none;
}

.suno-action-pill-btn {
    appearance: none;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--border-hover);
    color: var(--text-main);
    padding: 0.35rem 0.95rem;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: none;
}

.suno-track-more {
    display: flex;
    justify-content: flex-end;
}

.suno-more-btn {
    background: transparent;
    border: 0;
    color: var(--text-muted);
    font-size: 1.1rem;
    cursor: pointer;
    padding: 0.3rem;
    box-shadow: none;
}

/* Playlists Grid Cards */
.suno-playlist-card {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all 0.25s ease;
    display: flex;
    flex-direction: column;
    width: 100%;
}

.playlist-cover-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: var(--bg-surface);
}

.playlist-cover-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.playlist-play-overlay {
    position: absolute;
    inset: 0;
    background: rgba(10, 11, 14, 0.5);
    backdrop-filter: blur(4px);
    display: grid;
    place-items: center;
    opacity: 0;
    transition: opacity 0.25s ease;
}

.suno-playlist-card:hover .playlist-play-overlay {
    opacity: 1;
}

.playlist-play-btn {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold), #b8860b);
    color: var(--bg-dark);
    border: 0;
    font-size: 1.4rem;
    display: grid;
    place-items: center;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(0,0,0,0.5);
}

.playlist-track-count-badge {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    background: rgba(10, 11, 14, 0.85);
    backdrop-filter: blur(8px);
    border: 1px solid var(--border-gold);
    color: var(--gold);
    font-size: 0.72rem;
    font-weight: 700;
    padding: 0.25rem 0.65rem;
    border-radius: 999px;
}

.playlist-card-body {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    flex: 1;
}

.playlist-card-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-main);
    word-break: break-word;
}

.playlist-card-desc {
    font-size: 0.8rem;
    color: var(--text-muted);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.playlist-card-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 0.4rem;
    padding-top: 0.4rem;
    border-top: 1px solid var(--border);
}

/* STICKY AUDIO PLAYER BAR */
.suno-player-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: var(--player-height);
    background: rgba(10, 11, 17, 0.95);
    backdrop-filter: blur(28px);
    -webkit-backdrop-filter: blur(28px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 10000;
    display: grid;
    grid-template-columns: 260px 1fr 260px;
    align-items: center;
    padding: 0 1.5rem;
    gap: 1.5rem;
    box-shadow: var(--shadow-player);
    width: 100%;
    box-sizing: border-box;
}

@media (min-width: 1024px) {
    .suno-player-bar {
        bottom: 1rem;
        left: 50%;
        right: auto;
        transform: translateX(-50%);
        width: 85%;
        max-width: 1180px;
        border: 1px solid var(--border-gold);
        border-radius: var(--radius-xl);
        box-shadow: 0 20px 50px rgba(0, 0, 0, 0.85);
    }
}

.player-track-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-width: 0;
}

.player-cover {
    width: 48px;
    height: 48px;
    min-width: 48px;
    border-radius: var(--radius-sm);
    object-fit: cover;
    border: 1px solid var(--border);
    background: var(--bg-card);
}

.player-track-meta {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    min-width: 0;
}

.player-track-title {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-main);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.player-track-artist {
    font-size: 0.78rem;
    color: var(--text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.player-center-controls {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
    max-width: 680px;
    margin: 0 auto;
    width: 100%;
}

.player-buttons {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.player-btn {
    background: transparent;
    border: 0;
    color: #a1a1aa;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: none;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    outline: none;
    padding: 0;
}

.player-btn-toggle {
    width: 32px;
    height: 32px;
    color: #71717a;
}

.player-btn-toggle:hover {
    color: #ffffff;
}

.player-btn-toggle.active {
    color: var(--gold);
}

.player-btn-circle {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.05);
    color: #e4e4e7;
}

.player-btn-circle:hover {
    background: rgba(255, 255, 255, 0.16);
    color: #ffffff;
    transform: scale(1.05);
}

.player-btn-main {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.player-btn-main:hover {
    background: rgba(255, 255, 255, 0.28);
    color: #ffffff;
    transform: scale(1.06);
}

.player-timeline-container {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    width: 100%;
}

.player-time {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--text-muted);
    min-width: 35px;
    font-variant-numeric: tabular-nums;
}

.player-progress-bar {
    flex: 1;
    height: 4px;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 2px;
    position: relative;
    cursor: pointer;
    overflow: visible;
}

.player-progress-fill {
    height: 100%;
    width: 0%;
    background: #e4e4e7;
    border-radius: 2px;
    position: relative;
}

.player-progress-fill::after {
    content: '';
    position: absolute;
    right: -5px;
    top: 50%;
    transform: translateY(-50%);
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ffffff;
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.9);
}

.player-right-controls {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.75rem;
}

.player-icon-btn {
    background: transparent;
    border: 0;
    color: var(--text-muted);
    font-size: 0.95rem;
    cursor: pointer;
    padding: 0.25rem;
    box-shadow: none;
}

.volume-container {
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.volume-slider {
    width: 65px;
    accent-color: #ffffff;
    cursor: pointer;
}

/* Modals */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(12px);
    z-index: 20000;
    display: grid;
    place-items: center;
    padding: 1rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-content {
    background: var(--bg-surface);
    border: 1px solid var(--border-gold);
    border-radius: var(--radius-lg);
    width: min(540px, 100%);
    padding: 1.5rem;
    box-shadow: 0 25px 60px rgba(0,0,0,0.8);
    position: relative;
    box-sizing: border-box;
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: transparent;
    border: 0;
    color: var(--text-muted);
    font-size: 1.4rem;
    cursor: pointer;
    box-shadow: none;
}

/* Auth card shell */
.auth-card-shell {
    display: grid;
    place-items: center;
    min-height: 75vh;
    padding: 1.5rem 1rem;
    width: 100%;
}

.auth-card {
    width: min(450px, 100%);
    background: var(--bg-surface);
    border: 1px solid var(--border-gold);
    border-radius: var(--radius-xl);
    padding: 2rem 1.5rem;
    box-shadow: 0 20px 50px rgba(0,0,0,0.6);
    box-sizing: border-box;
}

/* ==========================================================================
   MOBILE-FIRST RESPONSIVE MEDIA QUERIES (IOS & ANDROID TOUCH OPTIMIZATION)
   ========================================================================== */
@media (max-width: 900px) {
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .navbar {
        flex-direction: column;
        align-items: stretch;
        gap: 0.85rem;
        padding: 0.85rem 1rem;
    }

    .brand-lockup {
        width: 100%;
        justify-content: space-between;
    }

    .nav-actions {
        width: 100%;
        justify-content: space-between;
        gap: 0.5rem;
    }

    .grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    body {
        padding-bottom: calc(var(--player-height) + 20px);
    }

    .card {
        padding: 1.25rem 1rem;
    }

    .suno-full-track-card {
        grid-template-columns: 80px 1fr;
        gap: 0.85rem;
        padding: 0.85rem;
    }

    .suno-thumb-box {
        width: 80px;
        height: 80px;
    }

    .suno-track-more {
        display: none;
    }

    .suno-player-bar {
        grid-template-columns: 1fr auto;
        padding: 0 0.85rem;
        height: 76px;
    }

    .player-timeline-container, .player-right-controls {
        display: none;
    }

    .player-track-title {
        max-width: 130px;
    }

    .player-track-artist {
        max-width: 130px;
    }
}

@media (max-width: 480px) {
    .container {
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }

    .brand-name {
        font-size: 1.1rem;
    }

    .title {
        font-size: 1.4rem;
    }

    .section-title {
        font-size: 1.2rem;
    }

    .suno-full-track-card {
        grid-template-columns: 72px 1fr;
        padding: 0.75rem;
        gap: 0.75rem;
    }

    .suno-thumb-box {
        width: 72px;
        height: 72px;
    }

    .suno-track-title {
        font-size: 0.95rem;
    }

    .suno-action-btn, .suno-action-pill-btn {
        padding: 0.3rem 0.6rem;
        font-size: 0.72rem;
    }
}

/* ==========================================================================
   TABLE RESPONSIVENESS & ANTI-SQUISH RULES (TOUCH SMOOTH SCROLLING)
   ========================================================================== */
.table-wrap, div[style*="overflow-x: auto"] {
    width: 100%;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    margin-bottom: 0.5rem;
}

table {
    width: 100%;
    min-width: 720px !important;
    border-collapse: collapse;
    text-align: left;
}

th, td {
    white-space: nowrap !important;
    word-break: normal !important;
    overflow-wrap: normal !important;
}

@media (max-width: 768px) {
    table {
        min-width: 680px !important;
    }

    th, td {
        padding: 0.65rem 0.75rem !important;
        font-size: 0.82rem !important;
    }
}

