:root {
    --black: #000000;
    --white: #ffffff;
    --gold: #d4af37;
    --ruby: #9b111e;
    --gray: #1a1a1a;
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--black);
    color: var(--white);
    font-family: 'Noto Serif JP', serif;
    line-height: 1.8;
}

h1, h2, h3, .name-en {
    font-family: 'Playfair Display', serif;
    letter-spacing: 2px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Nav */
#main-nav {
    position: fixed;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: 0.5s;
}

#main-nav.scrolled {
    background: rgba(0, 0, 0, 0.9);
    padding: 10px 0;
    border-bottom: 1px solid var(--gold);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 50px;
}

.logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.logo a:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 0 5px rgba(212, 175, 55, 0.5));
}

.logo-text {
    display: flex;
    flex-direction: column;
    margin-left: 2px;
    color: var(--white);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    line-height: 1.2; /* Removes the extra vertical space from the global 1.8 line-height */
}

.name-en { font-size: 1.2rem; text-transform: uppercase; color: var(--gold); }
.name-jp { font-size: 0.7rem; letter-spacing: 5px; margin-top: 0px; /* Pulls the Japanese text slightly closer */ }

.nav-links {
    display: flex;
    list-style: none;
    
}

.nav-links li a {
    color: var(--white);
    text-decoration: none;
    margin-left: 30px;
    font-size: 0.9rem;
    text-transform: uppercase;
    transition: 0.3s;
}

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

/* Hero */
.hero-section {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.placeholder-bg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('https://images.unsplash.com/photo-1520529611108-61f6bac2d0c2?q=80&w=2070');
    background-size: cover;
    background-position: center;
    z-index: -1;
}

.overlay {
    position: absolute;
    top: 0; left: 0; 
    width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Darkens the background video */
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1; /* Ensures text stays above the overlay */
}
.hero-content h1 { font-size: 4.5rem; margin-bottom: 10px; text-shadow: 3px 3px 10px rgba(0,0,0,0.8); }
.hero-content p { font-size: 1.5rem; letter-spacing: 10px; text-transform: uppercase; text-shadow: 2px 2px 8px rgba(0,0,0,0.8); color: var(--gold); }

/* Custom Audio Player */
.custom-audio-ui {
    display: flex;
    align-items: center;
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid var(--gold);
    border-radius: 30px;
    padding: 8px 20px;
    width: 90%;
    max-width: 320px;
    margin: 0 auto;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

.audio-btn {
    background: transparent;
    border: none;
    color: var(--gold);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    flex-shrink: 0;
    transition: transform 0.2s ease, color 0.2s ease;
}

.audio-btn:hover {
    transform: scale(1.1);
    color: var(--white);
}

.audio-btn svg {
    width: 28px;
    height: 28px;
}

.audio-progress-container {
    flex-grow: 1;
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    margin: 0 15px;
    border-radius: 2px;
    cursor: pointer;
}

.audio-progress-bar {
    height: 100%;
    width: 0%;
    background: var(--gold);
    border-radius: 2px;
    position: relative;
    transition: width 0.1s linear;
}

.audio-time {
    font-size: 0.85rem;
    color: var(--white);
    font-family: 'Playfair Display', serif;
    min-width: 75px;
    flex-shrink: 0;
    text-align: right;
}

/* Sections */
.content-section { padding: 120px 0; }
.bg-dark { background-color: var(--gray); }

.section-title {
    font-size: 2.8rem;
    text-align: center;
    margin-bottom: 60px;
    color: var(--white);
}

.section-title.gold { color: var(--gold); }
.section-title.left { text-align: left; }

/* Greeting */
.greeting-wrapper {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    align-items: center;
}

.greeting-img img {
    width: 100%;
    height: auto;
}

.greeting-text .en-text {
    margin-top: 25px;
}

/* Concerts */
.concert-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 40px;
}

.concert-item {
    display: flex;
    align-items: center;
    padding: 30px 0;
    border-bottom: 1px solid #333;
    gap: 30px;
}

.c-poster {
    flex-shrink: 0;
    width: 150px;
}

.poster-thumb {
    width: 100%;
    height: auto;
    border: 1px solid var(--gold);
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.poster-thumb:hover {
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.5);
}

.c-info {
    flex-grow: 1;
}

.c-date-time {
    display: flex;
    gap: 20px;
    align-items: baseline;
    margin-bottom: 5px;
}

.c-date { font-size: 1.2rem; color: var(--gold); }
.c-time { color: #ccc; font-size: 1rem; }
.c-place { font-size: 1.1rem; color: #ddd; margin-top: 5px; }

/* Poster Lightbox Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0; top: 0;
    width: 100%; height: 100%;
    background-color: rgba(0,0,0,0.9);
}

.modal-content {
    max-width: 90%;
    max-height: 90vh;
    border: 2px solid var(--gold);
}

.close {
    position: absolute;
    top: 30px; right: 40px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.close:hover {
    color: var(--gold);
}

/* Profile */
.profile-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.img-frame {
    height: 600px;
    background: #222;
    border: 1px solid var(--gold);
    position: relative;
}

/* Contain the text and make it scrollable */
.profile-text {
    max-height: 600px;
    overflow-y: auto;
    padding-right: 20px;
}

/* Custom scrollbar to match the elegant theme */
.profile-text::-webkit-scrollbar {
    width: 6px;
}
.profile-text::-webkit-scrollbar-track {
    background: var(--gray);
}
.profile-text::-webkit-scrollbar-thumb {
    background: var(--gold);
}

.gold-line { border: 0; border-top: 1px solid var(--gold); margin: 30px 0; width: 50px; }

/* Albums */
.album-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 40px; }
.album-cover {
    aspect-ratio: 1/1;
    background: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #444;
    margin-bottom: 15px;
    transition: 0.4s;
    overflow: hidden;
}

.album-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
    cursor: pointer;
}

.album-card:hover .album-cover { border-color: var(--gold); transform: translateY(-10px); }
.album-card:hover .album-cover img { transform: scale(1.05); }

.album-subtitle {
    font-size: 0.9rem;
    color: #aaaaaa;
    margin-top: -5px;
}

/* Media */
.media-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}
.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    border: 1px solid var(--gold);
}
.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: 1s all ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

footer {
    text-align: center;
    padding: 30px 0;
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    .hero-content h1 { font-size: 2.5rem; }
    .greeting-wrapper { grid-template-columns: 1fr; gap: 30px; }
    .profile-grid { grid-template-columns: 1fr; }
    .concert-list { grid-template-columns: 1fr; }
    .concert-item { flex-direction: column; text-align: center; }
    .c-date-time { justify-content: center; }
    .album-grid { grid-template-columns: 1fr; }
    .name-en { font-size: 1rem; }
    .name-jp { font-size: 0.6rem; letter-spacing: 3px; }
    .logo-text { white-space: nowrap; }
    .custom-audio-ui { padding: 8px 15px; }
}