/* =====================================================================
   site.css
   ArnabMusic Public Website - Phase 1
   Premium dark theme: animated gradient hero, glass cards, smooth
   hover motion, sticky nav, floating player, bottom mobile nav.
   ===================================================================== */

:root {
    --site-bg: #0b0e1a;
    --site-bg-alt: #12172a;
    --site-accent: #4361ee;
    --site-accent-2: #7209b7;
    --site-accent-3: #2ec4b6;
    --site-text: #f2f3f8;
    --site-text-muted: #9aa1b8;
    --site-border: rgba(255, 255, 255, 0.08);
    --site-glass: rgba(255, 255, 255, 0.05);
}

* { box-sizing: border-box; }

body.site-body {
    background: var(--site-bg);
    color: var(--site-text);
    font-family: 'Inter', system-ui, sans-serif;
    padding-bottom: 64px; /* room for bottom mobile nav */
}

h1, h2, h3, h4, .site-brand, .btn-site-cta {
    font-family: 'Poppins', 'Inter', sans-serif;
}

a { color: inherit; text-decoration: none; }
a:hover { color: var(--site-accent-3); }

/* ---------------------------------------------------------------
   Navbar
   --------------------------------------------------------------- */
.site-navbar {
    background: rgba(11, 14, 26, 0.75);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--site-border);
    padding: 0.85rem 0;
}

.site-brand {
    font-weight: 800;
    font-size: 1.3rem;
    color: var(--site-text) !important;
    letter-spacing: 0.3px;
}

.site-brand i { color: var(--site-accent-3); }

.site-nav-links .nav-link {
    color: var(--site-text-muted);
    font-weight: 500;
    font-size: 0.92rem;
    padding: 0.5rem 0.85rem;
    transition: color 0.2s ease;
}

.site-nav-links .nav-link:hover { color: #fff; }

.site-auth-guest { color: var(--site-text-muted); font-size: 0.9rem; }

.btn-site-cta {
    background: linear-gradient(90deg, var(--site-accent), var(--site-accent-2));
    color: #fff;
    border: none;
    font-weight: 600;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-site-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(67, 97, 238, 0.4);
    color: #fff;
}

.site-offcanvas {
    background: var(--site-bg-alt);
    color: var(--site-text);
    width: 280px;
}

.site-nav-links-mobile .nav-link {
    color: var(--site-text-muted);
    font-size: 1.05rem;
    padding: 0.65rem 0;
    border-bottom: 1px solid var(--site-border);
}

/* ---------------------------------------------------------------
   Hero
   --------------------------------------------------------------- */
.hero-section {
    position: relative;
    min-height: 88vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: radial-gradient(ellipse at top right, rgba(114, 9, 183, 0.35), transparent 60%),
                radial-gradient(ellipse at bottom left, rgba(67, 97, 238, 0.35), transparent 60%),
                var(--site-bg);
}

.hero-bg-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.22;
    z-index: 0;
}

.hero-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
    animation: heroFloat 12s ease-in-out infinite;
    z-index: 0;
}

.hero-blob.one { width: 340px; height: 340px; background: var(--site-accent); top: -80px; left: -60px; }
.hero-blob.two { width: 280px; height: 280px; background: var(--site-accent-2); bottom: -60px; right: 10%; animation-delay: -6s; }

@keyframes heroFloat {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(30px) scale(1.08); }
}

.hero-content { position: relative; z-index: 1; }

.hero-photo-wrap {
    width: 260px;
    height: 260px;
    border-radius: 50%;
    padding: 6px;
    background: linear-gradient(135deg, var(--site-accent), var(--site-accent-2), var(--site-accent-3));
    margin: 0 auto;
    animation: heroPulse 4s ease-in-out infinite;
}

@keyframes heroPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(67, 97, 238, 0.4); }
    50% { box-shadow: 0 0 0 18px rgba(67, 97, 238, 0); }
}

.hero-photo {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--site-bg);
}

.hero-eyebrow {
    color: var(--site-accent-3);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.8rem;
    font-weight: 700;
}

.hero-title {
    font-weight: 800;
    font-size: clamp(2.2rem, 5vw, 3.6rem);
    line-height: 1.1;
    margin-bottom: 0.5rem;
}

.hero-roles {
    color: var(--site-text-muted);
    font-size: 1.05rem;
    margin-bottom: 1.2rem;
}

.hero-roles span:not(:last-child)::after {
    content: "•";
    margin: 0 0.5rem;
    color: var(--site-accent-3);
}

.hero-bio-summary {
    color: var(--site-text-muted);
    max-width: 520px;
    margin-bottom: 1.75rem;
}

/* ---------------------------------------------------------------
   Section shell
   --------------------------------------------------------------- */
.site-section { padding: 5rem 0; }
.site-section.alt { background: var(--site-bg-alt); }

.section-heading {
    font-weight: 800;
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    margin-bottom: 0.4rem;
}

.section-subheading {
    color: var(--site-text-muted);
    margin-bottom: 2.5rem;
}

.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ---------------------------------------------------------------
   Glass card base
   --------------------------------------------------------------- */
.glass-panel {
    background: var(--site-glass);
    border: 1px solid var(--site-border);
    border-radius: 1rem;
    backdrop-filter: blur(10px);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.glass-panel:hover {
    transform: translateY(-4px);
    border-color: rgba(67, 97, 238, 0.4);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.35);
}

/* ---------------------------------------------------------------
   Song cards
   --------------------------------------------------------------- */
.song-card { padding: 1rem; height: 100%; }

.song-cover-wrap {
    position: relative;
    border-radius: 0.75rem;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    margin-bottom: 0.85rem;
    background: #1a2036;
}

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

.song-play-btn {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(11, 14, 26, 0.35);
    opacity: 0;
    transition: opacity 0.2s ease;
    border: none;
}

.song-cover-wrap:hover .song-play-btn { opacity: 1; }

.song-play-btn i {
    font-size: 2.4rem;
    color: #fff;
    filter: drop-shadow(0 2px 6px rgba(0,0,0,0.5));
}

.song-title { font-weight: 700; font-size: 1rem; margin-bottom: 0.15rem; }
.song-meta { color: var(--site-text-muted); font-size: 0.78rem; }

.song-badges { display: flex; gap: 0.35rem; flex-wrap: wrap; margin: 0.5rem 0; }
.song-badge {
    font-size: 0.68rem;
    padding: 0.2rem 0.55rem;
    border-radius: 999px;
    background: rgba(255,255,255,0.08);
    color: var(--site-text-muted);
}

.song-progress-track {
    height: 4px;
    background: rgba(255,255,255,0.1);
    border-radius: 999px;
    overflow: hidden;
    margin: 0.6rem 0;
}

.song-progress-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--site-accent), var(--site-accent-3));
}

.song-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--site-text-muted);
}

.song-actions button {
    background: none;
    border: none;
    color: var(--site-text-muted);
    font-size: 1rem;
    padding: 0.2rem;
}

.song-actions button:hover, .song-actions button.active { color: var(--site-accent-3); }

.song-stats { font-size: 0.72rem; color: var(--site-text-muted); }

/* ---------------------------------------------------------------
   Upcoming release cards
   --------------------------------------------------------------- */
.release-card { padding: 1rem; height: 100%; position: relative; }

.release-badge-soon {
    position: absolute;
    top: 0.85rem; left: 0.85rem;
    background: var(--site-accent-2);
    color: #fff;
    font-size: 0.68rem;
    font-weight: 700;
    padding: 0.25rem 0.6rem;
    border-radius: 999px;
    z-index: 2;
}

.release-countdown {
    display: flex;
    gap: 0.5rem;
    margin: 0.75rem 0;
}

.release-countdown-box {
    background: rgba(255,255,255,0.06);
    border-radius: 0.5rem;
    padding: 0.4rem 0.3rem;
    text-align: center;
    flex: 1;
}

.release-countdown-box .num { font-weight: 800; font-size: 1.1rem; display: block; }
.release-countdown-box .lbl { font-size: 0.6rem; color: var(--site-text-muted); text-transform: uppercase; }

.release-platforms { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-top: 0.75rem; }
.release-platforms a {
    width: 32px; height: 32px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    display: flex; align-items: center; justify-content: center;
    font-size: 0.9rem;
}
.release-platforms a:hover { background: var(--site-accent); color: #fff; }

/* ---------------------------------------------------------------
   Social + streaming cards
   --------------------------------------------------------------- */
.platform-card {
    padding: 1.25rem;
    text-align: center;
}

.platform-icon-circle {
    width: 56px; height: 56px;
    border-radius: 50%;
    margin: 0 auto 0.75rem;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem;
    background: linear-gradient(135deg, var(--site-accent), var(--site-accent-2));
    color: #fff;
}

/* ---------------------------------------------------------------
   Featured artist cards
   --------------------------------------------------------------- */
.artist-card { padding: 1.25rem; text-align: center; }

.artist-photo {
    width: 110px; height: 110px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 0.85rem;
    border: 3px solid rgba(255,255,255,0.1);
}

.artist-photo-placeholder {
    width: 110px; height: 110px;
    border-radius: 50%;
    margin: 0 auto 0.85rem;
    background: rgba(255,255,255,0.06);
    display: flex; align-items: center; justify-content: center;
    font-size: 2.4rem;
    color: var(--site-text-muted);
}

/* ---------------------------------------------------------------
   Announcements
   --------------------------------------------------------------- */
.announcement-card { padding: 1.1rem; display: flex; gap: 1rem; align-items: flex-start; }
.announcement-pinned { border-color: rgba(114, 9, 183, 0.5); }
.announcement-img { width: 84px; height: 84px; border-radius: 0.6rem; object-fit: cover; flex-shrink: 0; }

/* ---------------------------------------------------------------
   Gallery preview
   --------------------------------------------------------------- */
.gallery-tile {
    position: relative;
    border-radius: 0.75rem;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    cursor: pointer;
}

.gallery-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s ease; }
.gallery-tile:hover img { transform: scale(1.08); }

.gallery-tile-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,0.75));
    display: flex; align-items: flex-end;
    padding: 0.6rem;
    opacity: 0; transition: opacity 0.25s ease;
}

.gallery-tile:hover .gallery-tile-overlay { opacity: 1; }

/* ---------------------------------------------------------------
   Fan Club / Contact CTA banners
   --------------------------------------------------------------- */
.cta-banner {
    border-radius: 1.25rem;
    padding: 3rem 2rem;
    text-align: center;
    background: linear-gradient(120deg, rgba(67,97,238,0.25), rgba(114,9,183,0.25));
    border: 1px solid var(--site-border);
}

/* ---------------------------------------------------------------
   Footer
   --------------------------------------------------------------- */
.site-footer {
    background: var(--site-bg-alt);
    border-top: 1px solid var(--site-border);
}

.footer-links li { margin-bottom: 0.5rem; }
.footer-links a { color: var(--site-text-muted); font-size: 0.9rem; }
.footer-links a:hover { color: #fff; }

.footer-social-icon {
    width: 38px; height: 38px;
    border-radius: 50%;
    background: rgba(255,255,255,0.06);
    display: flex; align-items: center; justify-content: center;
}
.footer-social-icon:hover { background: var(--site-accent); color: #fff; }

/* ---------------------------------------------------------------
   Floating / sticky music player
   --------------------------------------------------------------- */
.floating-player {
    position: fixed;
    bottom: 76px;
    left: 50%;
    transform: translateX(-50%) translateY(120%);
    width: min(92vw, 420px);
    background: rgba(18, 23, 42, 0.95);
    border: 1px solid var(--site-border);
    backdrop-filter: blur(14px);
    border-radius: 1rem;
    padding: 0.6rem 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    box-shadow: 0 12px 30px rgba(0,0,0,0.5);
    z-index: 1050;
    transition: transform 0.3s ease;
}

.floating-player.is-active { transform: translateX(-50%) translateY(0); }

.floating-player-cover { width: 44px; height: 44px; border-radius: 0.5rem; object-fit: cover; background: #1a2036; }
.floating-player-info { flex: 1; min-width: 0; }
.floating-player-title { font-weight: 700; font-size: 0.85rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.floating-player-artist { font-size: 0.72rem; color: var(--site-text-muted); }
.floating-player-progress { height: 3px; background: rgba(255,255,255,0.1); border-radius: 999px; margin-top: 0.35rem; overflow: hidden; }
.floating-player-progress-fill { height: 100%; width: 0%; background: var(--site-accent-3); }

.floating-player-btn {
    background: rgba(255,255,255,0.08);
    border: none;
    color: #fff;
    width: 34px; height: 34px;
    border-radius: 50%;
    flex-shrink: 0;
}

@media (min-width: 992px) {
    .floating-player { bottom: 24px; }
}

/* ---------------------------------------------------------------
   Bottom mobile nav (PWA feel)
   --------------------------------------------------------------- */
.bottom-nav {
    position: fixed;
    bottom: 0; left: 0; right: 0;
    background: rgba(11, 14, 26, 0.95);
    backdrop-filter: blur(14px);
    border-top: 1px solid var(--site-border);
    display: flex;
    z-index: 1040;
}

.bottom-nav-item {
    flex: 1;
    text-align: center;
    padding: 0.5rem 0 0.6rem;
    color: var(--site-text-muted);
    font-size: 0.68rem;
}

.bottom-nav-item i { display: block; font-size: 1.25rem; margin-bottom: 0.15rem; }
.bottom-nav-item.active { color: var(--site-accent-3); }

/* ---------------------------------------------------------------
   Responsive
   --------------------------------------------------------------- */
@media (max-width: 991.98px) {
    .hero-section { min-height: auto; padding: 4rem 0 3rem; text-align: center; }
    .hero-bio-summary { margin-left: auto; margin-right: auto; }
    .hero-photo-wrap { width: 200px; height: 200px; margin-bottom: 2rem; }
    .site-section { padding: 3.5rem 0; }
}
