:root {
    --main-background: #f4f7f6;
    --main-text: #1a2a3a;
    --secondary-background: #1e3a5f;
    --secondary-text: #ffffff;
    --accent-color: #ffde59;
    --action-color: #28a745;
    --neutral-gray: #6c757d;
    --primary-font: 'Inter', sans-serif;
    --heading-font: 'Montserrat', sans-serif;
    --radius: 8px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--main-background);
    color: var(--main-text);
    font-family: var(--primary-font);
    line-height: 1.6;
    margin: 0;
    padding: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--heading-font);
    font-weight: 700;
    margin-top: 0;
    margin-bottom: 1rem;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
}

a,
a:hover,
a:focus {
    text-decoration: none;
    transition: color 0.2s ease-in-out;
}

img {
    max-width: 100%;
    display: block;
    height: auto;
}

ul,
ol {
    padding: 0;
    list-style: none;
}

button,
.btn {
    cursor: pointer;
    border: none;
    border-radius: var(--radius);
    transition: background-color 0.2s ease-in-out, transform 0.1s ease;
}

button:active,
.btn:active {
    transform: translateY(1px);
}

@media (max-width: 768px) {
    h1 {
        font-size: clamp(1.8rem, 8vw, 2.5rem);
        word-wrap: break-word;
    }

    h2 {
        font-size: clamp(1.5rem, 6vw, 2rem);
        word-wrap: break-word;
    }

    h3 {
        font-size: clamp(1.25rem, 5vw, 1.75rem);
    }

    body {
        font-size: 0.95rem;
    }

    .mobile-text-break {
        word-break: break-all;
    }
}

@media (min-width: 1024px) {
    .container {
        max-width: 1140px;
    }
}

/* ===== header_section ===== */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: var(--secondary-background);
    z-index: 9999;
    overflow-y: auto;
}

.mobile-menu-overlay.active {
    display: block !important;
}

.js-nav-link:hover,
.d-lg-flex a:hover:not(.btn) {
    color: var(--accent-color) !important;
    transition: color 0.3s ease;
}

.btn:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    transition: all 0.3s ease;
}

/* ===== hero_section ===== */
#hero {
    overflow: hidden;
}

.js-cta-btn,
.js-share-btn {
    transition: all 0.3s ease-in-out;
}

.js-cta-btn:hover,
.js-share-btn:hover {
    opacity: 0.9;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.display-3 {
    line-height: 1.1;
}

/* ===== bio_section ===== */
#biography .js-bio-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#biography .js-bio-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.1) !important;
}

#biography img {
    transition: transform 0.5s ease;
}

#biography img:hover {
    transform: scale(1.02);
}

/* ===== early_career_section ===== */
#early-career {
    width: 100%;
    position: relative;
}

#early-career .shadow-sm {
    transition: transform 0.3s ease;
}

#early-career .shadow-sm:hover {
    transform: translateY(-5px);
}

/* ===== global_fame_section ===== */
#global-fame .timeline-container {
    position: relative;
    padding-top: 10px;
}

#global-fame .timeline-item {
    transition: transform 0.3s ease;
}

#global-fame .timeline-item:hover {
    transform: translateX(10px);
}

#global-fame .timeline-dot {
    box-shadow: 0 0 15px var(--accent-color);
}

/* ===== discography_section ===== */
#discography {
    position: relative;
    width: 100%;
}

.js-album-card {
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease;
}

.js-album-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2) !important;
}

.badge {
    font-weight: 600;
    padding: 0.4em 0.8em;
}

/* ===== tracks_section ===== */
#popular-tracks {
    width: 100%;
    position: relative;
    overflow: hidden;
}

.track-card {
    background-color: var(--secondary-background);
    border-radius: 1.25rem;
    border: none;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.track-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.stat-label {
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0.85;
}

.stat-value {
    font-weight: 800;
    font-family: sans-serif;
}

.track-title {
    font-weight: 700;
    letter-spacing: -0.5px;
}

.js-track-item {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

/* ===== style_section ===== */
#musical-style {
    width: 100%;
    overflow: hidden
}

.js-style-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease
}

.js-style-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2) !important
}

#musical-style .display-4 {
    letter-spacing: -1px
}

#musical-style .lead {
    font-weight: 400
}

/* ===== collabs_section ===== */
#collaborations .js-collab-card {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

#collaborations .animate-visible {
    opacity: 1;
    transform: translateY(0);
}

#collaborations .js-collab-card:hover {
    transform: translateY(-5px);
    transition: transform 0.3s ease-in-out;
}

/* ===== impact_section ===== */
.impact-image-wrapper {
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.impact-image-wrapper:hover {
    transform: rotate(2deg) scale(1.03);
}

.js-impact-fade {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.js-impact-fade.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== awards_section ===== */
.awards-section {
    position: relative;
    overflow: hidden;
}

.js-award-card {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.js-award-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.award-card:hover {
    transform: translateY(-5px);
    transition: transform 0.3s ease;
}

/* ===== evolution_section ===== */
.js-evolution-card {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.js-evolution-card.is-visible {
    opacity: 1;
    transform: translateY(0);
}

#evolution .rounded-4 {
    border-radius: 1.5rem !important;
}

/* ===== conclusion_section ===== */
#conclusion {
    min-height: 600px;
    display: flex;
    align-items: center;
    width: 100%;
}

.conclusion-overlay {
    pointer-events: none;
}

.js-conclusion-content.visible {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

/* ===== footer ===== */
#footer a.js-footer-link {
    transition: color 0.3s ease;
}

#footer a.js-footer-link:hover {
    color: var(--accent-color) !important;
}