/* ==================== RESET & BASE STYLES ==================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "cofo-sans-pixel", sans-serif;
    background: linear-gradient(135deg, #ff6b1a 0%, #ff8c42 50%, #ffa726 100%);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

/* ==================== LAYOUT CONTAINER ==================== */
.container {
    width: 100%;
    max-width: 1300px;
    display: flex;
    flex-direction: column;
    gap: 0;
    background: linear-gradient(135deg, #ff6b1a 0%, #ff8c42 50%, #ffa726 100%);
}

/* ==================== HEADER ==================== */
header {
    background: transparent;
    padding: 30px 40px 20px 40px;
    border-bottom: 2px solid white;
}

h1 {
    font-size: 60px;
    color: white;
    font-weight: 400;
    font-style: normal;
    letter-spacing: -2px;
    text-transform: lowercase;
    font-family: "shuriken-std", sans-serif;
}

h1 .the {
    font-size: 36px;
    font-weight: 400;
    font-style: normal;
    font-family: "shuriken-std", sans-serif;
}

h2 {
    font-family: "shuriken-std", sans-serif;
    color: white;
    font-size: 20px;
    margin-bottom: 15px;
    font-weight: 400;
    font-style: normal;
}

h3 {
    font-family: "shuriken-std", sans-serif;
    color: white;
    font-size: 16px;
    margin-top: 20px;
    margin-bottom: 10px;
    font-weight: 400;
    font-style: normal;
}

/* ==================== NAVIGATION ==================== */
nav {
    background: transparent;
    display: flex;
    border-top: 2px solid white;
}

nav button {
    flex: 1;
    background: transparent;
    border: none;
    color: white;
    padding: 12px 20px;
    font-family: "cofo-sans-pixel", sans-serif;
    font-size: 14px;
    cursor: pointer;
    border-right: 2px solid white;
    border-bottom: 2px solid white;
    transition: background 0.3s;
    text-transform: capitalize;
    position: relative;
}

nav button:first-child {
    border-left: 2px solid white;
}

nav button:last-child {
    border-right: 2px solid white;
}

nav button:hover {
    background: rgba(255, 255, 255, 0.1);
}

nav button.active {
    background: transparent;
    border-top: none;
    border-left: 2px solid white;
    border-right: 2px solid white;
    border-bottom: none;
    margin-top: -2px;
    padding-top: 14px;
}

nav button::before {
    content: '⏸';
    margin-right: 6px;
    font-size: 16px;
    font-weight: 100;
    -webkit-text-stroke: 1px white;
    -webkit-text-fill-color: transparent;
    text-stroke: 1px white;
    color: transparent;
}

nav button.active::before {
    content: '▶';
    margin-right: 6px;
    font-size: 16px;
    font-weight: 100;
    -webkit-text-stroke: 1px white;
    -webkit-text-fill-color: transparent;
    text-stroke: 1px white;
    color: transparent;
}

/* ==================== CONTENT WRAPPER ==================== */
.content-wrapper {
    background: transparent;
    border-left: 2px solid white;
    border-right: 2px solid white;
    border-bottom: 2px solid white;
    border-top: none;
    height: 450px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.content {
    flex: 1;
    overflow-y: auto;
    padding: 30px;
}

.content::-webkit-scrollbar {
    width: 8px;
}

.content::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.2);
}

.content::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.5);
    border-radius: 4px;
}

/* ==================== TAB CONTENT ==================== */
.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

/* ==================== HOME PAGE ==================== */
.home-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    align-items: start;
}

.home-text {
    font-size: 13px;
    line-height: 1.6;
    color: white;
    font-family: "cofo-sans-pixel", sans-serif;
}

.home-text p {
    margin-bottom: 0;
}

.home-image {
    width: 100%;
    border: 20px solid #2d5016;
    background: #2d5016;
    overflow: hidden;
}

.home-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
}

.home-caption {
    text-align: center;
    padding: 12px 8px;
    background: #2d5016;
    font-size: 14px;
    color: white;
    font-family: "cofo-sans-pixel", sans-serif;
}

/* ==================== HISTORY PAGE ==================== */
.history-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.history-text {
    font-size: 13px;
    line-height: 1.5;
    color: white;
    font-family: "cofo-sans-pixel", sans-serif;
}

.history-text p {
    margin-bottom: 12px;
}

.history-images {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.history-images > .history-image {
    width: 100%;
    border: 20px solid #2d5016;
    background: #2d5016;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.history-images > .history-image img {
    width: 100%;
    height: auto;
    display: block;
}

.history-images > .history-image .history-caption {
    text-align: center;
    padding: 12px 8px;
    background: #2d5016;
    font-size: 14px;
    color: white;
    font-family: "cofo-sans-pixel", sans-serif;
    display: block;
}

.history-image {
    width: 100%;
    border: 20px solid #2d5016;
    background: #2d5016;
    overflow: hidden;
}

.history-image-bottom {
    width: 100%;
    margin-top: 20px;
}

.history-image-left {
    float: left;
    width: 50%;
    margin-right: 15px;
    margin-bottom: 15px;
    margin-top: 0;
}

.history-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
}

.history-caption {
    text-align: center;
    padding: 12px 8px;
    background: #2d5016;
    font-size: 14px;
    color: white;
    font-family: "cofo-sans-pixel", sans-serif;
}

.history-sidebar {
    font-size: 13px;
    line-height: 1.5;
    color: white;
    font-family: "cofo-sans-pixel", sans-serif;
    overflow: auto;
}

.history-sidebar p {
    margin-bottom: 12px;
}

.history-sidebar h3 {
    font-family: "shuriken-std", sans-serif;
    color: white;
    font-size: 16px;
    margin-top: 20px;
    margin-bottom: 10px;
    font-weight: 400;
    font-style: normal;
}

/* ==================== MEMBERS PAGE ==================== */
.members-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px 40px;
    padding: 0;
}

.member-card {
    display: flex;
    align-items: center;
    gap: 15px;
    background: transparent;
    border: none;
}

.member-image {
    width: 100px;
    height: 100px;
    border: 8px solid #2d5016;
    background: #2d5016;
    flex-shrink: 0;
    overflow: hidden;
}

.member-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.member-name {
    font-size: 16px;
    color: white;
    font-family: "cofo-sans-pixel", sans-serif;
    font-weight: 400;
    text-align: left;
}

/* ==================== MUSIC PAGE ==================== */
.albums-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 35px;
}

.album-card {
    background: transparent;
    border: none;
}

.album-cover {
    width: 100%;
    aspect-ratio: 1;
    border: 8px solid #2d5016;
    background: #2d5016;
    margin-bottom: 10px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.album-cover img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.album-info {
    padding: 0;
    background: transparent;
}

.album-title {
    font-size: 14px;
    font-weight: 400;
    margin-bottom: 3px;
    font-family: "cofo-sans-pixel", sans-serif;
    color: white;
    line-height: 1.3;
}

.album-artist {
    font-size: 13px;
    color: white;
    font-family: "cofo-sans-pixel", sans-serif;
    opacity: 0.9;
}

/* ==================== FOOTER ==================== */
footer {
    background: transparent;
    color: white;
    padding: 15px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 2px solid white;
}

.now-playing {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: "cofo-sans-pixel", sans-serif;
    font-size: 12px;
}

.track-info {
    font-family: "cofo-sans-pixel", sans-serif;
    font-size: 14px;
    flex: 1;
    text-align: center;
}

.play-controls {
    display: flex;
    gap: 10px;
}

.play-controls button {
    background: transparent;
    border: 2px solid white;
    color: white;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.play-controls button:hover {
    background: rgba(255, 255, 255, 0.1);
}

.play-controls button .material-symbols-outlined {
    font-variation-settings: 'FILL' 0, 'wght' 200, 'GRAD' 0, 'opsz' 24;
}

.material-symbols-outlined {
    font-size: 20px;
}

/* ==================== RESPONSIVE DESIGN ==================== */
@media (max-width: 768px) {
    .container {
        padding: 10px 20px;
    }

    header {
        padding: 20px;
    }

    h1 {
        font-size: 40px;
    }

    h1 .the {
        font-size: 28px;
    }

    nav {
        flex-direction: row;
        border-top: 2px solid white;
    }

    nav button {
        flex: 1;
        border-right: 2px solid white;
        border-bottom: 2px solid white;
        padding: 10px 5px;
        font-size: 11px;
    }

    nav button:first-child {
        border-left: 2px solid white;
    }

    nav button:last-child {
        border-right: 2px solid white;
    }

    nav button.active {
        background: transparent;
        border-top: none;
        border-left: 2px solid white;
        border-right: 2px solid white;
        border-bottom: none;
        margin-top: -2px;
        padding-top: 12px;
    }

    nav button::before {
        font-size: 12px;
        margin-right: 4px;
    }

    nav button.active::before {
        font-size: 12px;
        margin-right: 4px;
    }

    .content {
        padding: 20px;
    }

    .home-layout,
    .history-layout {
        grid-template-columns: 1fr;
    }

    .members-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .albums-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    footer {
        flex-direction: column;
        gap: 10px;
        padding: 15px;
        text-align: center;
    }

    .content-wrapper {
        height: 400px;
    }
}