:root {
    /* Sunset, Amber & Fiery Horizon Color Palette */
    --bg-dark: #090403;
    --bg-surface: #140806;
    --accent-sunset: #ff5722;     /* Fiery Sunset Orange */
    --accent-amber: #ffb703;      /* Radiant Golden Amber */
    --accent-glow: rgba(255, 120, 30, 0.45);
    --accent-warm-core: #ffd166;  /* Bright Sunset Yellow */
    --text-main: #fff8f5;
    --text-muted: #d8a89b;
    
    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-techno: 'Orbitron', 'Chakra Petch', sans-serif;
    --font-body: 'Outfit', 'Inter', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-body);
    overflow-x: hidden;
    line-height: 1.6;
    position: relative;
    min-height: 100vh;
    min-height: 100dvh;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    min-height: 100dvh;
    position: relative;
    background-image: url('assets/hero_bg.webp');
    background-size: cover;
    background-position: center top;
    box-sizing: border-box;
    overflow: hidden;
}

/* Subtle atmosphere overlay */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(10, 4, 3, 0.1) 0%,
        rgba(10, 4, 3, 0.05) 50%,
        rgba(10, 4, 3, 0.75) 100%
    );
    z-index: 1;
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 140px;
    background: linear-gradient(to bottom, transparent, var(--bg-dark));
    z-index: 3;
    pointer-events: none;
}

/* Content Container precisely positioned between first 'O' and before 'R' */
.hero-content {
    position: absolute;
    left: 44.5vw;
    width: 38.2vw;
    top: clamp(285px, 34.5vh, 410px);
    z-index: 20;
    display: flex;
    flex-direction: column;
    align-items: stretch;
}

/* "PRODUCER • DJ • SONGWRITER" in Orbitron techno font matching COOLSAR! logo */
.artist-roles {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    width: 100%;
    padding: 0 clamp(20px, 2.8vw, 44px);
    box-sizing: border-box;
    margin-bottom: 22px;
}

.role-side {
    display: flex;
    align-items: center;
}

.role-left {
    justify-content: space-between;
}

.role-center {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 clamp(10px, 1.2vw, 18px);
}

.role-right {
    justify-content: space-between;
}

.role-item {
    font-family: var(--font-techno);
    font-size: clamp(0.85rem, 1.08vw, 1.18rem);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    /* Butonların üstüne gelinmediği andaki siyah / obsidian tonu */
    background: linear-gradient(180deg, #26110c 0%, #160906 60%, #0d0402 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 1px 1px rgba(255, 160, 80, 0.4)) drop-shadow(0 2px 6px rgba(0, 0, 0, 0.6));
    white-space: nowrap;
}

.role-sep {
    color: #160906;
    font-size: clamp(0.85rem, 1.05vw, 1.15rem);
    filter: drop-shadow(0 1px 1px rgba(255, 160, 80, 0.4));
    line-height: 1;
}

.hero-cta {
    position: relative;
    width: 100%;
}

.hero-cta.bio-active .cta-grid {
    opacity: 0;
    pointer-events: none;
    transform: scale(0.97);
}

/* Buttons flush with start and end of the header text */
.cta-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    width: 100%;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Buttons with Fiery Sunset & Golden Animations */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    height: 56px;
    padding: 0 16px;
    font-size: clamp(0.74rem, 0.88vw, 0.84rem);
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    border-radius: 28px;
    cursor: pointer;
    letter-spacing: 1px;
    font-family: var(--font-heading);
    white-space: nowrap;
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

button.btn {
    border: none;
    outline: none;
    font-family: var(--font-heading);
    -webkit-appearance: none;
    appearance: none;
}

.btn-icon {
    font-size: 1.15rem;
    flex-shrink: 0;
}

.btn-icon-svg {
    width: 1.15rem;
    height: 1.15rem;
    fill: currentColor;
    flex-shrink: 0;
    vertical-align: middle;
}

/* Shimmer ray sweep effect */
.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 235, 190, 0.35), transparent);
    transform: skewX(-25deg);
    transition: left 0.65s ease;
    pointer-events: none;
}

.btn:hover::before {
    left: 160%;
}

/* Primary Button */
.btn-primary {
    background: rgba(22, 9, 6, 0.7);
    color: #fff6f2;
    border: 1.5px solid rgba(255, 87, 34, 0.75);
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 150, 80, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #ff5722 0%, #ff9800 100%);
    color: #120402;
    border-color: #ffb703;
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 10px 28px rgba(255, 87, 34, 0.6), 0 0 35px rgba(255, 183, 3, 0.45);
}

/* Secondary Button */
.btn-secondary {
    background: rgba(24, 11, 6, 0.7);
    color: #fff9f4;
    border: 1.5px solid rgba(255, 183, 3, 0.75);
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 200, 100, 0.3);
}

.btn-secondary:hover {
    background: linear-gradient(135deg, #ffb703 0%, #fb8500 100%);
    color: #120402;
    border-color: #ffd166;
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 10px 28px rgba(255, 183, 3, 0.6), 0 0 35px rgba(251, 133, 0, 0.45);
}

/* Biography Button - Centered relative to the 2 buttons above */
.btn-bio {
    grid-column: 1 / -1;
    justify-self: center;
    width: 68%;
    background: rgba(26, 10, 6, 0.75);
    color: #fff9f4;
    border: 1.5px solid rgba(255, 183, 3, 0.85);
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 210, 110, 0.3);
}

.btn-bio:hover {
    background: linear-gradient(135deg, #ffb703 0%, #ff5722 100%);
    color: #120402;
    border-color: #ffd166;
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 10px 28px rgba(255, 120, 30, 0.6), 0 0 35px rgba(255, 183, 3, 0.45);
}

/* B&W logo image inside BIOGRAPHY button */
.btn-bio-logo {
    height: 22px;
    width: auto;
    object-fit: contain;
    filter: brightness(0) invert(1);
    flex-shrink: 0;
    vertical-align: middle;
    opacity: 0.88;
}

.btn-bio:hover .btn-bio-logo {
    filter: brightness(0) sepia(1) saturate(6) hue-rotate(10deg);
    opacity: 1;
}

/* B&W logo in popup header */
.bio-title-logo {
    height: 18px;
    width: auto;
    object-fit: contain;
    filter: brightness(0) invert(1);
    opacity: 0.88;
    flex-shrink: 0;
    vertical-align: middle;
}

/* Contact Button - Half width of BIOGRAPHY button = 34% of full width, centered */
.btn-contact {
    grid-column: 1 / -1;
    justify-self: center;
    width: 34%;
    background: rgba(20, 8, 5, 0.75);
    color: #fff9f4;
    border: 1.5px solid rgba(255, 87, 34, 0.75);
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 150, 80, 0.25);
}

.btn-contact:hover {
    background: linear-gradient(135deg, #ff5722 0%, #ffb703 100%);
    color: #120402;
    border-color: #ffd166;
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 10px 28px rgba(255, 87, 34, 0.6), 0 0 35px rgba(255, 120, 30, 0.45);
}

.btn:active {
    transform: translateY(-1px) scale(0.99);
}

/* Biography & Info Pop-up Modal
   Width: matches from left of Spotify to right of Apple Music (100% of hero-cta)
   Vertical: starts at top of Spotify & Apple Music (top: 0),
   and ends just above the social media buttons without touching them.
*/
.bio-popup {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 420px; /* Calculated dynamically by JS based on live layout */
    background: #140806;
    background: linear-gradient(180deg, #1a0b08 0%, #120604 100%);
    border: 1.5px solid rgba(255, 183, 3, 0.8);
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.95), 
                0 0 35px rgba(255, 87, 34, 0.3), 
                inset 0 1px 0 rgba(255, 210, 110, 0.35);
    z-index: 25;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    transform: translateY(8px) scale(0.98);
    transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-sizing: border-box;
}

.bio-popup.active {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0) scale(1);
}

/* Pop-up Header */
.bio-popup-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 18px;
    background: rgba(22, 9, 6, 0.95);
    border-bottom: 1px solid rgba(255, 183, 3, 0.22);
    gap: 12px;
    flex-shrink: 0;
    box-sizing: border-box;
}

.bio-popup-title {
    font-family: var(--font-heading);
    font-size: 0.88rem;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: var(--accent-amber);
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.bio-popup-title i {
    font-size: 1rem;
    color: var(--accent-sunset);
}

.bio-title-short {
    display: none;
}

.bio-tabs {
    display: flex;
    gap: 4px;
    background: rgba(255, 255, 255, 0.05);
    padding: 3px;
    border-radius: 20px;
    border: 1px solid rgba(255, 183, 3, 0.2);
}

.bio-tab-btn {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-family: var(--font-heading);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.8px;
    padding: 4px 10px;
    border-radius: 14px;
    cursor: pointer;
    transition: all 0.25s ease;
}

.bio-tab-btn:hover {
    color: #fff;
    background: rgba(255, 183, 3, 0.15);
}

.bio-tab-btn.active {
    background: linear-gradient(135deg, #ffb703 0%, #ff5722 100%);
    color: #120402;
    box-shadow: 0 2px 8px rgba(255, 120, 30, 0.45);
}

.bio-close-btn {
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 183, 3, 0.3);
    color: #fff5ee;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    line-height: 1;
    cursor: pointer;
    transition: all 0.25s ease;
    flex-shrink: 0;
    padding: 0;
}

.bio-close-btn:hover {
    background: #ff5722;
    color: #fff;
    border-color: #ffd166;
    transform: rotate(90deg);
}

/* Pop-up Body & Typography */
.bio-popup-body {
    padding: 20px 24px;
    overflow-y: auto;
    flex-grow: 1;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 183, 3, 0.45) transparent;
}

.bio-popup-body::-webkit-scrollbar {
    width: 6px;
}

.bio-popup-body::-webkit-scrollbar-track {
    background: transparent;
}

.bio-popup-body::-webkit-scrollbar-thumb {
    background: rgba(255, 183, 3, 0.4);
    border-radius: 4px;
}

.bio-popup-body::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 87, 34, 0.7);
}

.bio-tab-pane {
    display: none;
}

.bio-tab-pane.active {
    display: block;
    animation: bioFadeIn 0.3s ease;
}

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

.bio-lang-tag {
    display: inline-block;
    font-family: var(--font-techno);
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 2px;
    color: var(--accent-sunset);
    text-transform: uppercase;
    margin-bottom: 8px;
}

.bio-heading {
    font-family: var(--font-heading);
    font-size: clamp(1.02rem, 1.25vw, 1.22rem);
    font-weight: 700;
    line-height: 1.45;
    color: #ffd166;
    margin-bottom: 6px;
    letter-spacing: 0.3px;
    text-transform: none; /* Exact Sentence Casing */
}

.bio-subheading {
    font-family: var(--font-heading);
    font-size: clamp(0.88rem, 1.05vw, 1.02rem);
    font-weight: 600;
    line-height: 1.4;
    color: #ffb703;
    margin-bottom: 16px;
    letter-spacing: 0.2px;
    text-transform: none;
    opacity: 0.9;
}

.bio-tab-pane p {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: clamp(0.86rem, 0.95vw, 0.94rem);
    line-height: 1.75;
    color: #ebdcd5;
    margin-bottom: 14px;
    text-transform: none; /* Exact Casing */
}

.bio-punchline {
    font-weight: 600;
    color: #ffb703 !important;
    padding-left: 10px;
    border-left: 2px solid var(--accent-sunset);
    margin: 16px 0 !important;
}

.bio-final {
    color: #ffd166 !important;
    font-weight: 700;
    border-left-color: var(--accent-amber);
}

.bio-divider {
    border: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 183, 3, 0.35), transparent);
    margin: 28px 0 24px 0;
}

.bio-tab-pane:last-child .bio-divider {
    display: none;
}

/* Footer & Social Media - Aligned directly with the 4 buttons (left: 44.5vw, width: 38.2vw) */
footer {
    position: absolute;
    bottom: clamp(18px, 3vh, 32px);
    left: 44.5vw;
    width: 38.2vw;
    background: transparent;
    padding: 0;
    border-top: none;
    z-index: 26;
    box-sizing: border-box;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
}

/* Social Media Buttons - Spanning from left edge to right edge of the buttons */
.social-links {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    flex-wrap: nowrap;
    margin-bottom: 12px;
}

.social-links a {
    color: rgba(255, 240, 230, 0.75);
    font-size: 2.8rem; /* 2x size */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    padding: 2px 4px;
}

/* Flush with left and right edges */
.social-links a:first-child {
    padding-left: 0;
}

.social-links a:last-child {
    padding-right: 0;
}

.social-links a svg {
    width: 2.8rem;
    height: 2.8rem;
    fill: currentColor;
    transition: all 0.3s ease;
}

.social-links a:hover {
    color: var(--accent-amber);
    transform: translateY(-4px) scale(1.15);
    filter: drop-shadow(0 0 16px rgba(255, 183, 3, 0.85));
}

/* Copyright text centered relative to the buttons */
.copyright {
    color: rgba(255, 235, 225, 0.5);
    font-size: 0.82rem;
    letter-spacing: 0.8px;
    margin: 0;
    font-family: var(--font-heading);
    text-align: center;
    width: 100%;
}

/* Responsive / Mobile Optimization */
@media (max-width: 900px) {
    .hero {
        background-image: url('assets/hero_bg_mobile.webp');
        background-position: 42% 8%;
        background-size: 115% auto;
        padding: clamp(131px, calc(14vh + 36px), 166px) 16px 200px 16px;
        display: flex;
        justify-content: center;
        align-items: flex-start;
    }
    
    .hero-content {
        position: relative;
        left: auto;
        top: auto;
        width: 100%;
        max-width: 350px;
        margin: 0 auto;
    }
    
    .artist-roles {
        width: 100%;
        padding: 0 12px;
        box-sizing: border-box;
        margin-bottom: 18px;
    }
    
    .role-center {
        padding: 0 6px;
    }
    
    .role-item {
        font-size: clamp(0.55rem, 2.5vw, 0.66rem);
        letter-spacing: 1px;
    }
    
    .role-sep {
        font-size: 0.62rem;
    }
    
    .cta-grid {
        grid-template-columns: 1fr;
        gap: 12px;
        width: 100%;
    }
    
    .btn {
        width: 100%;
        height: 50px;
        font-size: 0.78rem;
        padding: 0 14px;
    }

    .btn-bio {
        width: 100%;
    }

    .bio-popup {
        border-radius: 16px;
    }

    .bio-popup-header {
        padding: 8px 12px;
        gap: 6px;
    }

    .bio-title-full {
        display: none;
    }

    .bio-title-short {
        display: inline;
        font-size: 0.8rem;
        letter-spacing: 0.8px;
    }

    .bio-popup-title {
        font-size: 0.78rem;
    }

    .bio-tabs {
        gap: 2px;
        padding: 2px;
    }

    .bio-tab-btn {
        padding: 3px 6px;
        font-size: 0.65rem;
    }

    .bio-close-btn {
        width: 28px;
        height: 28px;
        font-size: 1.25rem;
        flex-shrink: 0;
    }

    .bio-popup-body {
        padding: 16px 16px;
    }

    .bio-heading {
        font-size: 1.02rem;
        margin-bottom: 12px;
    }

    .bio-tab-pane p {
        font-size: 0.85rem;
        line-height: 1.68;
        margin-bottom: 12px;
    }
    
    footer {
        position: absolute;
        bottom: 16px;
        left: 0;
        width: 100%;
        padding: 0 12px;
        box-sizing: border-box;
    }
    
    .footer-content {
        align-items: center;
        width: 100%;
        max-width: 330px;
        margin: 0 auto;
    }
    
    .social-links {
        justify-content: space-between;
        margin-bottom: 10px;
        width: 100%;
    }
    
    .social-links a {
        font-size: clamp(1.5rem, 5vw, 1.85rem);
        padding: 1px;
    }
    
    .social-links a svg {
        width: clamp(1.5rem, 5vw, 1.85rem);
        height: clamp(1.5rem, 5vw, 1.85rem);
    }
    
    .copyright {
        text-align: center;
        font-size: 0.72rem;
    }

    .btn-contact {
        width: 50%;
        margin-top: 119px;
    }

    .btn-bio-logo {
        height: 16px;
    }

    .bio-subheading {
        font-size: 0.88rem;
    }
}

/* ===== Contact Popup ===== */
.contact-popup {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -44%) scale(0.96);
    width: 80%;
    max-width: 380px;
    background: linear-gradient(180deg, #1a0b08 0%, #120604 100%);
    border: 1.5px solid rgba(255, 87, 34, 0.8);
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.95), 
                0 0 35px rgba(255, 87, 34, 0.3), 
                inset 0 1px 0 rgba(255, 150, 80, 0.35);
    z-index: 25;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-sizing: border-box;
}

.contact-popup.active {
    opacity: 1;
    pointer-events: auto;
    transform: translate(-50%, -50%) scale(1);
}

.contact-popup-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 18px;
    background: rgba(22, 9, 6, 0.95);
    border-bottom: 1px solid rgba(255, 87, 34, 0.22);
    flex-shrink: 0;
    box-sizing: border-box;
}

.contact-popup-title {
    font-family: var(--font-heading);
    font-size: 0.88rem;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: var(--accent-amber);
    display: flex;
    align-items: center;
    gap: 8px;
}

.contact-popup-title i {
    font-size: 1rem;
    color: var(--accent-sunset);
}

.contact-popup-body {
    padding: 28px 24px 32px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    text-align: center;
}

.contact-label {
    font-family: var(--font-heading);
    font-size: 0.82rem;
    color: #d8a89b;
    letter-spacing: 0.5px;
    text-transform: none;
    margin: 0;
}

.contact-email {
    font-family: var(--font-heading);
    font-size: clamp(0.9rem, 1.1vw, 1.05rem);
    font-weight: 700;
    color: #ffd166;
    text-decoration: none;
    letter-spacing: 0.5px;
    transition: color 0.25s ease, text-shadow 0.25s ease;
    word-break: break-all;
}

.contact-email:hover {
    color: var(--accent-amber);
    text-shadow: 0 0 18px rgba(255, 183, 3, 0.7);
}
