/* CSS Variables & Theme Setup - Minimalist Techwear Aesthetic */
:root {
    --bg-main: #f0f0f0;
    --bg-alt: #ffffff;
    --text-main: #111111;
    --text-dim: #666666;
    --accent: #ff3b00;
    /* Vermilion */
    --border-color: #d0d0d0;

    --font-heading: 'Inter', sans-serif;
    --font-tech: 'Space Mono', monospace;
    --font-body: 'Noto Sans JP', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-main);
    color: var(--text-main);
    font-family: var(--font-body);
    overflow-x: hidden;
    line-height: 1.6;
}

/* Utilities */
.tech-mono {
    font-family: var(--font-tech);
    font-size: 0.85rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.text-dim {
    color: var(--text-dim);
}

.mb-4 {
    margin-bottom: 1.5rem;
}

.text-center {
    text-align: center;
}

.text-right {
    text-align: right;
}

.align-center {
    align-items: center;
}

/* Layout Elements */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    position: relative;
}

.section-padding {
    padding: 120px 0;
}

.grid-layout {
    display: grid;
    grid-template-columns: 1fr 3fr;
    gap: 60px;
}

.section-header {
    display: flex;
    flex-direction: column;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 4rem;
    font-weight: 900;
    line-height: 1;
    letter-spacing: -2px;
    margin-bottom: 10px;
}

.title-accent {
    width: 40px;
    height: 4px;
    background-color: var(--accent);
}

.text-block {
    padding-top: 15px;
    border-top: 1px solid var(--border-color);
}

.vertical-accent-line {
    position: fixed;
    top: 0;
    left: 40px;
    width: 1px;
    height: 100vh;
    background-color: var(--border-color);
    z-index: -1;
}

/* Header */
#header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(240, 240, 240, 0.9);
    backdrop-filter: blur(10px);
    z-index: 999;
    border-bottom: 1px solid var(--border-color);
    padding: 20px 0;
}

#header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 30px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 40px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dim);
    font-family: var(--font-tech);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--text-main);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
}

.hamburger span {
    width: 30px;
    height: 2px;
    background-color: var(--text-main);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: var(--bg-alt);
    z-index: 998;
    display: flex;
    justify-content: center;
    align-items: center;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.77, 0, 0.175, 1);
}

.mobile-menu.active {
    transform: translateX(0);
}

.mobile-menu ul {
    list-style: none;
    text-align: right;
}

.mobile-menu li {
    margin: 20px 0;
}

.mobile-menu a {
    text-decoration: none;
    color: var(--text-main);
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 3rem;
    letter-spacing: -1px;
    transition: color 0.3s;
}

.mobile-menu a:hover {
    color: var(--accent);
}

/* Hero Section */
#hero {
    height: 100vh;
    display: flex;
    padding-top: 80px;
    /* offset header */
    border-bottom: 1px solid var(--border-color);
}

.hero-left {
    flex: 1;
    display: flex;
    align-items: flex-end;
    padding: 60px 40px;
    position: relative;
    border-right: 1px solid var(--border-color);
}

.hero-text-content {
    margin-bottom: 40px;
}

.tech-sub {
    font-family: var(--font-tech);
    font-size: 0.8rem;
    color: var(--text-dim);
    margin-bottom: 10px;
}

.hero-text-content h1 {
    font-family: var(--font-heading);
    font-size: 7rem;
    font-weight: 900;
    line-height: 0.9;
    letter-spacing: -4px;
    margin-bottom: 20px;
    color: var(--text-main);
}

.hero-desc {
    font-family: var(--font-tech);
    font-size: 1rem;
    margin-bottom: 60px;
}

.vertical-text {
    position: absolute;
    left: 40px;
    top: 60px;
    transform: rotate(-90deg);
    transform-origin: top left;
    color: var(--accent);
    font-weight: 700;
}

.btn-solid {
    display: inline-flex;
    align-items: center;
    background: var(--text-main);
    color: var(--bg-main);
    padding: 15px 30px;
    font-family: var(--font-tech);
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.3s, transform 0.2s;
}

.btn-solid .arrow {
    margin-left: 10px;
    transition: transform 0.3s;
}

.btn-solid:hover {
    background: var(--accent);
}

.btn-solid:hover .arrow {
    transform: translateX(5px);
}

.hero-right {
    flex: 1;
    position: relative;
    background: var(--bg-alt);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-image-container {
    position: relative;
    width: 60%;
    max-width: 450px;
    aspect-ratio: 1;
    z-index: 10;
    perspective: 1000px;
}

.hero-image-backdrop {
    position: absolute;
    top: 20px;
    right: -20px;
    width: 100%;
    height: 100%;
    border: 1px solid var(--border-color);
    background: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 10px,
        rgba(0, 0, 0, 0.03) 10px,
        rgba(0, 0, 0, 0.03) 11px
    );
    z-index: -1;
    transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.hero-image-accent {
    position: absolute;
    bottom: 20px;
    left: -20px;
    width: 60px;
    height: 60px;
    background: var(--accent);
    z-index: 2;
    background-image: radial-gradient(var(--bg-main) 15%, transparent 16%), radial-gradient(var(--bg-main) 15%, transparent 16%);
    background-size: 10px 10px;
    background-position: 0 0, 5px 5px;
    mix-blend-mode: multiply;
}

.tech-deco-line {
    position: absolute;
    top: -20px;
    left: 20px;
    width: 2px;
    height: 100px;
    background: var(--accent);
    z-index: 2;
}

.tech-deco-text {
    position: absolute;
    top: -35px;
    right: 0px;
    font-family: var(--font-tech);
    font-size: 0.7rem;
    color: var(--text-dim);
    letter-spacing: 0.1em;
}

.hero-logo-sq {
    width: 100%;
    height: 100%;
    object-fit: contain;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
    animation: float 6s ease-in-out infinite;
    /* Optional: uncomment filter for matching gray aesthetic -> filter: grayscale(20%); */
    transition: all 0.5s ease;
    background: var(--bg-alt);
    padding: 20px;
    border: 1px solid var(--border-color);
}

.hero-image-container:hover .hero-logo-sq {
    filter: grayscale(0%);
    box-shadow: 20px 30px 60px rgba(0, 0, 0, 0.15);
}

.hero-image-container:hover .hero-image-backdrop {
    transform: translate(15px, -15px);
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

/* About Section */
.about-en {
    font-size: 1.5rem;
    line-height: 1.4;
    letter-spacing: -0.5px;
}

.about-jp {
    font-size: 0.95rem;
    color: var(--text-dim);
}

/* Schedule Section */
.schedule-grid {
    border-top: 1px solid var(--border-color);
    padding-top: 20px;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 40px;
}

@media (max-width: 1024px) {
    .schedule-grid {
        grid-template-columns: 1fr;
    }
}

.tech-subtitle {
    font-family: var(--font-tech);
    color: var(--text-main);
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.timeline {
    list-style: none;
}

.timeline-item {
    display: grid;
    grid-template-columns: 80px 150px 1fr;
    align-items: center;
    gap: 20px;
    padding: 20px 0;
    border-bottom: 1px solid var(--border-color);
    position: relative;
}

.timeline-item::before {
    content: attr(data-date);
    font-family: var(--font-tech);
    color: var(--accent);
    font-weight: 700;
}

.timeline-item h4 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    margin-bottom: 0;
}

.timeline-item p {
    color: var(--text-dim);
    font-size: 0.9rem;
}

/* Location Section */
.location-wrapper {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.location-info {
    padding-bottom: 20px;
}

.location-info p {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.access-note {
    font-size: 0.9rem !important;
    margin-top: 30px;
}

.map-embed {
    width: 100%;
    height: 400px;
    background: #e0e0e0;
    position: relative;
}

.map-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%) contrast(1.2);
    transition: filter 0.4s ease;
}

.map-image:hover {
    filter: grayscale(0%) contrast(1);
}

.map-link {
    display: inline-block;
    color: var(--bg-main);
    background: var(--text-main);
    padding: 10px 20px;
    text-decoration: none;
    font-family: var(--font-tech);
    font-size: 0.8rem;
    transition: background 0.3s;
}

.map-link:hover {
    background: var(--accent);
}

/* Discography & Members Grid */
.disc-grid,
.members-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.disc-item,
.member-card {
    background: var(--bg-alt);
    border: 1px solid var(--border-color);
    padding: 20px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.disc-item:hover,
.member-card:hover {
    transform: translateY(-5px);
    box-shadow: 10px 10px 0 var(--border-color);
}

.disc-cover,
.member-img {
    width: 100%;
    background: var(--bg-alt);
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    margin-bottom: 20px;
}

.disc-cover {
    aspect-ratio: 1;
}

.member-img {
    height: 300px;
}

.disc-cover img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: grayscale(10%);
}

.placeholder-avatar {
    background: #d0d0d0;
    position: relative;
}

.placeholder-avatar::after {
    content: '\f007';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    font-size: 5rem;
    color: #fff;
}

.disc-info h4,
.member-details h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    letter-spacing: -0.5px;
    margin-bottom: 5px;
    word-break: break-word;
    overflow-wrap: anywhere;
    line-height: 1.3;
}

.disc-info p,
.member-details .role {
    font-family: var(--font-tech);
    color: var(--accent);
    font-size: 0.85rem;
}

/* Contact */
.contact-box {
    margin-top: 60px;
    padding: 80px 40px;
    background: var(--text-main);
    color: var(--bg-main);
}

.contact-box p {
    font-size: 1.5rem;
    margin-bottom: 40px;
    letter-spacing: -0.5px;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.social-btn {
    text-decoration: none;
    color: var(--bg-main);
    padding: 15px 30px;
    border: 1px solid var(--text-dim);
    transition: all 0.3s;
    font-family: var(--font-tech);
    font-size: 0.9rem;
}

.social-btn:hover {
    background: var(--bg-main);
    color: var(--text-main);
    border-color: var(--bg-main);
}

/* Footer */
footer {
    text-align: center;
    padding: 40px 0;
    font-family: var(--font-tech);
    font-size: 0.8rem;
    color: var(--text-dim);
    border-top: 1px solid var(--border-color);
}

/* Responsive */
@media (max-width: 1024px) {
    .grid-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .section-title {
        font-size: 3rem;
    }

    .hero-text-content h1 {
        font-size: 5rem;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    #hero {
        flex-direction: column;
        padding-top: 100px;
        height: auto;
    }

    .hero-left {
        border-right: none;
        border-bottom: 1px solid var(--border-color);
        padding: 40px 20px;
    }

    .hero-right {
        min-height: 400px;
    }

    .timeline-item {
        grid-template-columns: 60px 1fr;
        align-items: flex-start;
    }

    .timeline-item p {
        grid-column: 1 / -1;
        margin-top: 10px;
    }

    .vertical-text {
        position: relative;
        transform: none;
        left: 0;
        top: 0;
        margin-bottom: 20px;
    }

    .vertical-accent-line {
        display: none;
    }

    .container {
        padding: 0 20px;
    }
}