:root {
    --primary-bg: #121212;
    --secondary-bg: #1a1a1a;
    --accent-color: #00D2FF;
    --secondary-accent: #E63946;
    --text-main: #F1FAEE;
    --text-muted: #A0A0A0;
    --font-main: 'Montserrat', sans-serif;
    --font-headings: 'Poppins', sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--primary-bg);
    color: var(--text-main);
    font-family: var(--font-main);
    font-size: 16px;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-headings);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

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

button {
    cursor: pointer;
    border: none;
    outline: none;
    background: none;
    transition: all 0.3s ease-in-out;
}

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

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

@media (max-width: 1024px) {
    body {
        font-size: 15px;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: clamp(2rem, 10vw, 3rem);
        word-wrap: break-word;
    }

    h2 {
        font-size: clamp(1.75rem, 8vw, 2.5rem);
    }

    h3 {
        font-size: clamp(1.5rem, 6vw, 2rem);
    }

    .mobile-text-small {
        font-size: 0.875rem;
        word-break: break-all;
    }
}

@media (max-width: 640px) {
    body {
        font-size: 14px;
    }
}

/* ===== header ===== */
.nav-link:hover {
    color: var(--accent-color) !important;
}

.js-mobile-menu.open {
    max-height: 350px !important;
}

/* ===== hero_section ===== */
.hero-section {
    width: 100%;
}

.hero-bg-wrapper {
    width: 100%;
    transition: transform 20s ease-out;
}

.hero-section:hover .hero-bg-wrapper {
    transform: scale(1.1);
}

.js-stat-container {
    transition: all 0.5s ease;
}

.js-stat-container:hover {
    border-color: var(--secondary-accent) !important;
    transform: translateY(-5px);
}

/* ===== bio_section ===== */
#biography {
    position: relative;
    z-index: 1;
}

.progress {
    overflow: visible;
}

.progress-bar {
    transition: width 1.5s cubic-bezier(0.65, 0, 0.35, 1);
}

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

/* ===== style_section ===== */
#style {
    overflow-x: hidden;
}

.js-style-card {
    transition: all 0.3s ease-in-out;
}

.js-style-card:hover {
    border-color: var(--accent-color) !important;
    box-shadow: 0 10px 30px rgba(0, 210, 255, 0.1);
}

/* ===== discography_section ===== */
#albums .card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 15px;
    overflow: hidden;
}

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

#albums .card-img-top {
    width: 100%;
    height: 250px;
    object-fit: contain !important;
}

#albums .btn {
    border-radius: 50px;
    padding: 10px 25px;
    transition: all 0.3s ease;
}

#albums .btn:hover {
    opacity: 0.9;
    transform: scale(1.05);
}

#albums .modal-content {
    border-radius: 20px;
}

#albums .modal-body p {
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

/* ===== songs_section ===== */
.js-song-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 210, 255, 0.15);
    border: 1px solid var(--accent-color) !important;
}

#songs {
    border-top: 1px solid rgba(241, 250, 238, 0.05);
    border-bottom: 1px solid rgba(241, 250, 238, 0.05);
}

/* ===== awards_section ===== */
#awards {
    width: 100%;
}

#awards .js-award-card {
    transition: transform 0.3s ease;
}

#awards .js-award-card:hover {
    transform: translateY(-10px);
}

/* ===== influence_section ===== */
#influence {
    position: relative;
    overflow: hidden;
}

.influence-image-container {
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform 0.5s ease;
}

.influence-image-container:hover {
    transform: scale(1.02);
}

.js-influence-section {
    opacity: 0;
    transform: translateY(30px);
    transition: all 1s ease-out;
}

/* ===== facts_section ===== */
.facts-section {
    width: 100%;
    position: relative;
    overflow: hidden;
}

.facts-section .rounded {
    transition: all 0.3s ease-in-out;
}

.facts-section .rounded:hover {
    transform: translateY(-10px);
    border-color: var(--accent-color) !important;
    box-shadow: 0 10px 20px rgba(0, 210, 255, 0.1) !important;
}

.js-modal-trigger {
    transition: filter 0.3s ease;
}

.js-modal-trigger:hover {
    filter: brightness(1.2);
}

.modal-content {
    border-radius: 15px;
    overflow: hidden;
}

.modal-body::-webkit-scrollbar {
    width: 8px;
}

.modal-body::-webkit-scrollbar-track {
    background: var(--primary-bg);
}

.modal-body::-webkit-scrollbar-thumb {
    background: var(--accent-color);
    border-radius: 10px;
}

/* ===== gallery_section ===== */
#gallery .gallery-card {
    transition: transform 0.4s ease-in-out;
    border: 1px solid var(--secondary-bg);
    background-color: var(--secondary-bg);
    position: relative;
}

#gallery .gallery-card:hover {
    transform: scale(1.05);
    z-index: 2;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
}

#gallery .object-fit-cover {
    object-fit: cover;
    min-height: 450px;
}

/* ===== footer ===== */
#footer {
    width: 100%;
}

#footer .js-footer-link {
    transition: color 0.3s ease-in-out;
}

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

#footer h5 {
    font-size: 1.1rem;
    letter-spacing: 1px;
}

#footer p,
#footer li {
    font-size: 0.95rem;
}