/* CSS RESET & VARIABLES */
:root {
    --bg-color: #050505;
    --bg-alt: #111111;
    --text-color: #f5f5f5;
    --text-muted: #aaaaaa;
    --primary-color: #e60000;
    --primary-hover: #ff1a1a;
    --primary-glow: rgba(230, 0, 0, 0.5);
    --secondary-color: #ffd700;
    --secondary-hover: #ffea00;
    --secondary-glow: rgba(255, 215, 0, 0.5);
    --font-heading: 'Oswald', sans-serif;
    --font-body: 'Noto Sans JP', sans-serif;
    --transition-speed: 0.3s;
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-speed) ease;
}

ul {
    list-style: none;
}

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

/* TYPOGRAPHY */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    text-transform: uppercase;
    line-height: 1.2;
}

.section-title {
    font-size: 3.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    color: #fff;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
}

.section-title span {
    display: block;
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--primary-color);
    margin-top: 0.5rem;
    letter-spacing: 0.2em;
}

/* BUTTONS */
.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border: none;
    cursor: pointer;
    transition: all var(--transition-speed) ease;
    clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
    z-index: -1;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background-color: var(--primary-color);
    color: #fff;
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    box-shadow: 0 0 20px var(--primary-glow);
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: #000;
}

.btn-secondary:hover {
    background-color: var(--secondary-hover);
    box-shadow: 0 0 20px var(--secondary-glow);
}

.glow-red {
    box-shadow: 0 0 15px var(--primary-glow);
}

.glow-gold {
    box-shadow: 0 0 15px var(--secondary-glow);
}

.btn-line {
    background-color: #06C755;
    color: #fff;
    border: none;
}

.btn-line:hover {
    background-color: #05b04b;
    box-shadow: 0 0 20px rgba(6, 199, 85, 0.5);
}

.glow-line {
    box-shadow: 0 0 15px rgba(6, 199, 85, 0.5);
}


/* HEADER */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(5, 5, 5, 0.9);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 2px solid var(--primary-color);
    padding: 1rem 0;
}

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

.logo {
    display: flex;
    align-items: center;
}

.header-logo-img {
    height: 50px;
    width: auto;
    display: block;
    filter: drop-shadow(0 0 5px rgba(255, 215, 0, 0.4));
}

.nav ul {
    display: flex;
    gap: 2rem;
}

.nav a {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    position: relative;
}

.nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width var(--transition-speed) ease;
}

.nav a:hover {
    color: var(--primary-color);
    text-shadow: 0 0 8px var(--primary-glow);
}

.nav a:hover::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.menu-toggle .bar {
    width: 25px;
    height: 3px;
    background-color: #fff;
    transition: all 0.3s ease;
}

/* HERO */
.hero {
    height: 100vh;
    min-height: 600px;
    padding-top: 80px; /* Offset for header */
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: url('HERO_BG.jpg') center/cover no-repeat;
    text-align: center;
    overflow: hidden;
    box-sizing: border-box;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0,0,0,0.8) 0%, rgba(20,0,0,0.9) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 0 1rem;
}

.hero-logo-container {
    margin: 0 auto 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-logo-img {
    max-width: 350px;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 0 15px rgba(255, 215, 0, 0.5));
    animation: float 4s ease-in-out infinite, pulse-glow 2s infinite alternate;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

@keyframes pulse-glow {
    0% { filter: drop-shadow(0 0 15px rgba(255, 215, 0, 0.5)); }
    100% { filter: drop-shadow(0 0 30px rgba(255, 215, 0, 0.8)); }
}

.hero-title {
    font-size: 5rem;
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
    text-shadow: 4px 4px 0px var(--primary-color), 0 0 20px rgba(255,0,0,0.5);
    color: #fff;
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    margin-bottom: 3rem;
    color: var(--secondary-color);
    text-shadow: 0 0 10px var(--secondary-glow);
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

/* SECTIONS COMMON */
.section {
    padding: 6rem 0;
    position: relative;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.section:nth-child(even) {
    background-color: var(--bg-alt);
}

.section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--primary-color);
    box-shadow: 0 0 15px var(--primary-glow);
}

/* ABOUT */
.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    font-size: 1.2rem;
    line-height: 2;
    background: rgba(20,20,20,0.8);
    padding: 3rem;
    border: 1px solid #333;
    border-left: 5px solid var(--primary-color);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    position: relative;
}

.about-content::after {
    content: '';
    position: absolute;
    bottom: -5px;
    right: -5px;
    width: 30px;
    height: 30px;
    border-bottom: 3px solid var(--secondary-color);
    border-right: 3px solid var(--secondary-color);
}

/* EVENT CARDS */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.card {
    background: linear-gradient(145deg, #161616, #0d0d0d);
    border: 1px solid #222;
    padding: 2.5rem 2rem;
    text-align: center;
    transition: all 0.4s ease;
    clip-path: polygon(15px 0, 100% 0, 100% calc(100% - 15px), calc(100% - 15px) 100%, 0 100%, 0 15px);
    position: relative;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--secondary-color);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.card:hover {
    transform: translateY(-10px);
    border-color: #444;
    box-shadow: 0 15px 30px rgba(0,0,0,0.6), 0 0 20px rgba(255, 215, 0, 0.1);
}

.card:hover::before {
    transform: scaleX(1);
}

.card-image-container {
    width: 100%;
    margin-bottom: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.card-image {
    width: 80%;
    height: auto;
    object-fit: contain;
    transition: all 0.5s ease;
    filter: drop-shadow(0 0 10px rgba(0,0,0,0.5));
}

.card:hover .card-image {
    transform: scale(1.08);
    filter: drop-shadow(0 0 15px var(--secondary-glow));
}

.card-title {
    font-size: 1.5rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
    letter-spacing: 0.05em;
}

.card-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* SCHEDULE */
.schedule-list {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.schedule-list::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50px;
    width: 2px;
    height: 100%;
    background: #333;
}

.schedule-item {
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
    position: relative;
    background: rgba(255,255,255,0.02);
    padding: 1.5rem;
    border-radius: 5px;
    border: 1px solid transparent;
    transition: all 0.3s ease;
}

.schedule-item:hover {
    background: rgba(255,255,255,0.05);
    border-color: #333;
    transform: translateX(10px);
}

.schedule-item::before {
    content: '';
    position: absolute;
    left: -24px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    background: var(--primary-color);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--primary-glow);
    z-index: 2;
}

.schedule-item .time {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--secondary-color);
    width: 120px;
    flex-shrink: 0;
    letter-spacing: 1px;
}

.schedule-item .desc {
    font-size: 1.1rem;
    font-weight: 700;
}

/* ACCESS */
.access-content {
    display: flex;
    gap: 3rem;
    background: #111;
    border: 1px solid #222;
    padding: 2rem;
}

.access-info {
    flex: 1;
}

.access-info h3 {
    font-family: var(--font-body);
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.access-info p {
    margin-bottom: 1.5rem;
    color: var(--text-muted);
}

.access-info ul li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
}

.access-info ul li::before {
    content: '▶';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-size: 0.8rem;
    top: 4px;
}

.access-map-placeholder {
    flex: 1;
    min-height: 250px;
    background: #222;
    border: none;
}

.map-embed {
    width: 100%;
    height: 100%;
    min-height: 250px;
}

.map-embed iframe {
    width: 100%;
    height: 100%;
    min-height: 250px;
    border: 0;
    display: block;
}

/* FAQ */
.accordion {
    max-width: 800px;
    margin: 0 auto;
}

.accordion-item {
    margin-bottom: 1rem;
    border: 1px solid #333;
    background: #111;
}

.accordion-header {
    padding: 1.5rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s ease;
}

.accordion-header:hover {
    background: #1a1a1a;
    color: var(--secondary-color);
}

.accordion-header .icon {
    font-size: 1.5rem;
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.accordion-header.active {
    border-bottom: 1px solid #333;
}

.accordion-header.active .icon {
    transform: rotate(45deg);
}

.accordion-content {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    color: var(--text-muted);
}

/* FOOTER */
.footer {
    background: #000;
    padding: 4rem 0 2rem;
    text-align: center;
    border-top: 2px solid var(--primary-color);
}

.footer-logo-container {
    margin-bottom: 2rem;
    display: flex;
    justify-content: center;
}

.footer-logo-img {
    height: 80px;
    width: auto;
    filter: drop-shadow(0 0 10px rgba(230, 0, 0, 0.5));
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-links a:hover {
    color: var(--secondary-color);
}

.copyright {
    color: #555;
    font-size: 0.9rem;
}

/* ANIMATIONS */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* RESPONSIVE */
@media (max-width: 992px) {
    .hero-title { font-size: 4rem; }
    .access-content { flex-direction: column; }
    .schedule-list::before { left: 30px; }
    .schedule-item { flex-direction: column; align-items: flex-start; padding-left: 3rem; }
    .schedule-item::before { left: -14px; top: 2rem; }
    .schedule-item .time { margin-bottom: 0.5rem; }
}

@media (max-width: 768px) {
    .nav {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: rgba(5,5,5,0.95);
        display: flex;
        justify-content: center;
        align-items: center;
        transition: left 0.3s ease;
    }
    
    .nav.active { left: 0; }
    
    .nav ul {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }
    
    .menu-toggle { display: flex; }
    
    .hero {
        padding-top: 60px;
        min-height: 500px;
    }
    .hero-logo-img { max-width: 250px; }
    .hero-logo-container { margin: 0 auto 1rem; }
    .hero-title { font-size: 2.8rem; }
    .hero-subtitle { font-size: 1.1rem; margin-bottom: 2rem; }
    .hero-buttons { flex-direction: column; gap: 1rem; }
    
    .section-title { font-size: 2.5rem; }
    .about-content { padding: 2rem 1rem; font-size: 1rem; }
    
    .footer-links { flex-direction: column; gap: 1rem; }
}

@media (max-width: 768px) {
    .access-map-placeholder {
        min-height: auto;
    }

    .map-embed {
        aspect-ratio: 16 / 9;
        min-height: 0;
    }

    .map-embed iframe {
        min-height: 0;
    }
}
