/* 
COLOR PALETTE

hot peach           #ffdd91
creamsicle          #f19433
strawberry juice    #b92146
subtle blue green   #55c1a9
deep sea            #173b4e
*/

/* GLOBAL STYLES */
:root {
    --hot-peach: #ffdd91;
    --creamsicle: #f19433;
    --strawberry-juice: #b92146;
    --subtle-blue-green: #55c1a9;
    --deep-sea: #173b4e;
    --text: #ffffff;

    --font-primary: 'Gajraj One', cursive;
    --font-secondary: 'Kumbh Sans', sans-serif;
}

html {
    box-sizing: border-box;
}

*,
*:before,
*:after {
    box-sizing: inherit;
}

html,
body {
    height: 100%;
}

body {
    background: url(../images/DIVISIONREMIXBACKGROUND.png) no-repeat;
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    width: 100%;
}

.main-container {
    width: min(1350px, 92%);
    top: 48px;
    bottom: 64px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
}

/* ARTIST GALLERY - 3D DRUM / RHYTHM GAME PICKER */
.artist-drum-wrapper {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 40px 0;
    gap: 32px;
}

.drum-stage {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    width: 100%;
    max-width: 1100px;
}

/* The 3D rotating drum */
.drum-container {
    position: relative;
    width: 360px;
    height: 420px;
    perspective: 900px;
    flex-shrink: 0;
}

.drum-cylinder {
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.drum-item {
    position: absolute;
    width: 340px;
    left: 10px;
    top: 180px;
    backface-visibility: hidden;
    /* Visual styles (bg, border, text) live in artists.css */
}

.drum-item.active {
    /* active styles in artists.css */
}

/* Selection highlight lines like rhythm games */
.drum-selector {
    position: absolute;
    left: 0;
    right: 0;
    pointer-events: none;
    z-index: 10;
}

.drum-selector-top {
    top: 170px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--subtle-blue-green), transparent);
    box-shadow: 0 0 12px var(--subtle-blue-green);
}

.drum-selector-bottom {
    top: 250px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--subtle-blue-green), transparent);
    box-shadow: 0 0 12px var(--subtle-blue-green);
}

/* Gradient masks removed — drum items fade via opacity in JS */
.drum-mask-top,
.drum-mask-bottom {
    display: none;
}

/* Artist Detail Panel — base layout only; visuals in artists.css */
.artist-detail {
    flex: 1;
}

/* Drum nav arrows */
.drum-nav {
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex-shrink: 0;
}

.drum-nav button {
    background: rgba(23, 59, 78, 0.85);
    border: 2px solid var(--subtle-blue-green);
    color: var(--subtle-blue-green);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    font-size: 1.4rem;
    cursor: pointer;
    transition: background 0.2s, box-shadow 0.2s, transform 0.1s;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 12px rgba(85, 193, 169, 0.2);
}

.drum-nav button:hover {
    background: var(--subtle-blue-green);
    color: var(--deep-sea);
    box-shadow: 0 0 20px rgba(85, 193, 169, 0.6);
    transform: scale(1.08);
}

.drum-nav button:active {
    transform: scale(0.95);
}

/* Artist count indicator */
.drum-counter {
    font-family: var(--font-secondary);
    color: rgba(255,255,255,0.5);
    font-size: 0.85rem;
    letter-spacing: 2px;
}

/* ABOUT SECTION */
.about-section {
    margin: 20px;
    padding: 20px;
    max-width: 700px;
    width: 100%;
    background: rgba(0, 0, 0, 0.4);
    border: 6px solid var(--hot-peach);
    border-radius: 4px;
}

.about-section ul {
    padding-left: 20px;
}

.about-section li {
    margin-bottom: 8px;
}

/* TYPOGRAPHY */
.primary-text,
h1,
h2,
h3,
h4,
h5,
h6,
a.primary-text {
    font-family: var(--font-primary);
    font-weight: 600;
    font-style: italic;
    color: var(--hot-peach);
    letter-spacing: 2px;
    word-spacing: 5px;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.9), 0 0 20px var(--deep-sea);
}

.secondary-text {
    font-family: var(--font-secondary);
    font-weight: bold;
    font-style: normal;
    color: var(--text);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.9), 0 0 20px var(--deep-sea);
}

a {
    font-family: var(--font-primary);
    font-weight: 400;
    font-style: italic;
    text-decoration: none;
    color: var(--subtle-blue-green);
    letter-spacing: 3px;
    word-spacing: 5px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.9), 0 0 20px var(--deep-sea);
}
a:hover {
    color: var(--creamsicle);
    border-color: rgba(255, 221, 145, 0.5);
}

/* HEADER */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0;
    background: rgba(23, 59, 78, 0.5);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    position: relative;
    z-index: 1000;
    width: 100%;
}

.header .logo {
    position: relative;
    top: 8px;
    left: 20px;
}

.header .logo a {
    display: block;
}

.header .logo img {
    height: 150px;
    width: 200px;
}

.nav-links {
    display: flex;
    list-style: none;
    padding-right: 40px;
    margin: 0;
}

.nav-links li {
    margin-left: 20px;
}

.nav-links a {
    text-decoration: none;
    font-size: 24px;
    color: var(--hot-peach);
    transition: color 0.2s ease;
}

.nav-links a:hover {
    color: var(--creamsicle);
}

.nav-links a.active {
    color: var(--strawberry-juice);
    border-radius: 4px;
}

/* FOOTER */
.footer {
    margin-top: auto;
    padding: 30px 40px;
    background: rgba(23, 59, 78, 0.5);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    width: 100%;
}

.footer-logos {
    display: flex;
    align-items: center;
    gap: 20px;
}

.footer-logos img {
    height: 48px;
    width: auto;
}

.footer-socials {
    display: flex;
    align-items: center;
    gap: 16px;
}

.footer-social {
    display: flex;
    align-items: center;
    transition: opacity 0.2s ease;
}

.footer-social:hover {
    opacity: 0.75;
}

.footer-icon {
    height: 48px;
    width: auto;
}

/* TABLET */
@media (max-width: 900px) {
    .drum-stage {
        flex-direction: column;
        gap: 24px;
    }

    .drum-nav {
        flex-direction: row;
    }

    .artist-detail {
        max-width: 90%;
    }
}

@media (max-width: 768px) {
    .header {
        flex-direction: column;
        justify-content: center;
        padding: 10px 0;
    }

    .header .logo {
        position: static;
        top: auto;
        left: auto;
    }

    .header .logo img {
        height: 90px;
        width: auto;
    }

    .nav-links {
        padding-right: 0;
        margin: 10px 0 0;
        justify-content: center;
        flex-wrap: wrap;
        gap: 12px;
    }

    .nav-links li {
        margin-left: 0;
    }

    .nav-links a {
        font-size: 18px;
    }

    .footer {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 20px;
    }

    .footer-logos img,
    .footer-icon {
        height: 36px;
    }
}

/* PHONE */
@media (max-width: 480px) {
    .nav-links a {
        font-size: 16px;
    }

    .main-container {
        width: 94%;
    }

    .drum-container {
        width: 260px;
    }

    .drum-item {
        width: 240px;
        left: 10px;
        top: 180px;
    }

    .drum-selector-top { top: 170px; }
    .drum-selector-bottom { top: 250px; }
}