/* Reset & base */
:root{
    --accent:#7b1fa2; /* 紫色主色 */
    --muted:#6b6b6b;
    --bg:#faf8fb;
    --card:#ffffff;
    --glass: rgba(255,255,255,0.6);
    --max-w:1200px;
    --radius:12px;
    --shadow: 0 6px 22px rgba(15,15,15,0.08);
    --gap:20px;
}
*{box-sizing:border-box}

html,body{height:100%;}

.windsong-regular {
  font-family: "WindSong", cursive;
  font-weight: 400;
  font-style: normal;
}

.windsong-medium {
  font-family: "WindSong", cursive;
  font-weight: 500;
  font-style: normal;
}

body{
    font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Noto Sans",Helvetica,Arial;
    background:linear-gradient(180deg,var(--bg) 0%, #fff 100%);
    color:#222;
    -webkit-font-smoothing:antialiased;
    -moz-osx-font-smoothing:grayscale;
    line-height:1.45;
    width: 100%;
    margin: 0;
    padding: 0;
    display:flex;justify-content:center;
}

.wrap{
    width:100%;
    max-width: none;
} 

/* top */
/* logo */
.top-logo-bar {
    width: 100%;
    background: linear-gradient(to bottom, #160b50 86%, #012fa7 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px 0;
    transition: background 0.5s ease;
}

.top-logo {
    width: 8%;
    text-align: center;
}

/* navbar */
.navbar {
    background-color: #012fa7;
    padding: 0 40px;
    background: linear-gradient(to bottom, #012fa7 10%, #170b50 100%);
}

.nav-container {
  display: flex;
  justify-content: space-between; /* 左右两边分布 */
  align-items: center;
}

.nav-left{
    display: flex;
    align-items: center;
    gap: 15px;
}

.brand{
    text-align: left; 
}

.brand-head{
    font-size: 18px;
    font-weight: 450;
    color:#f1f1f1;
}

.brand-sub{
    font-size: 12px;
    color:#9b9a9a;
}

/* search */
.search input {
    padding: 6px 10px;
    border-radius: 6px;
    border: none;
    outline: none;
    font-size: 0.9rem;
}

.nav-right{
    list-style: none;
    display: flex;
    align-items: center;
    margin: 0;
    padding: 0;
}

.nav-right li {
    position: relative;
}

.nav-right li a {
    display: block;
    color: #fff;
    text-decoration: none;
    padding: 15px 15px;
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: background-color 0.2s ease;
}

.nav-right li:hover > a {
    background-color: #160b50;
    transform: scale(1.05);
}

/* dropdown transition */
.dropdown {
    position: relative;
}

.dropdown-menu {
    display: none;
    position: absolute;
    margin: 0;
    padding: 0;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background-color: #160b50;
    min-width: 160px;
    overflow: hidden;
    z-index: 100;
    text-align: center;
}

.dropdown-menu li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.dropdown-menu li:last-child {
    border-bottom: none;
}

.dropdown-menu a {
    display: block;
    padding: 8px 12px;
    color: #fff;
    text-decoration: none;
    font-size: 0.9rem;
}

.dropdown:hover,
.dropdown:hover > a {
    background-color: #160b50;
}

.dropdown:hover .dropdown-menu {
    display: block;
}

.account {
    margin-left: auto;
}


/* HERO */
.poster-hero{
    position: relative;
    width: 100%;
    height: 100vh;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: 2rem;

    animation: posterChange 30s infinite;
}

.overlay{
    color: #f1f1f1;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
    transform: translateY(-20px);
}

.overlay h1, 
.overlay p {
  line-height: 0.8;
}

.lyric{
    position: absolute;
    bottom: 5%;
    right: 5%;
    color: white;
    font-style: italic;
    font-size: 88px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.7);
}

@keyframes posterChange {
    0%   { background-image: url('https://64.media.tumblr.com/f9ca85b856ec7f87446da629ebd168d0/tumblr_o80626ot6N1t0l54ro7_1280.jpg'); }
    33%  { background-image: url('https://64.media.tumblr.com/f9ca85b856ec7f87446da629ebd168d0/tumblr_o80626ot6N1t0l54ro7_1280.jpg'); }
    34%  { background-image: url('https://vampireintheopera.weebly.com/uploads/1/1/8/2/118298614/p231_orig.png'); }
    66%  { background-image: url('https://vampireintheopera.weebly.com/uploads/1/1/8/2/118298614/p231_orig.png'); }
    67%  { background-image: url('https://www.vbw-international.at/media/vbwi_show_parallax_layer/10_intro-1-bigger.png'); }
    100% { background-image: url('https://www.vbw-international.at/media/vbwi_show_parallax_layer/10_intro-1-bigger.png'); }
}

/* TIMELINE */
.timeline-film {
    background: linear-gradient(to bottom, #170b50 10%, #012fa7 100%);
    padding: 1.5rem 0;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.film-strip {
    display: flex;
    gap: 15px;
    padding: 1rem 2rem;
    border-top: 15px solid #333;
    border-bottom: 15px solid #333;
    position: relative;
    scroll-snap-type: x mandatory;
    width: max-content;
}

.film-strip::before,
.film-strip::after {
    content: "";
    position: absolute;
    left: 0;
    width: 100%;
    height: 8px;
    background-image: radial-gradient(circle, #111 40%, transparent 41%);
    background-size: 24px 8px;
    background-repeat: repeat-x;
}

.film-strip::before {
    top: -12px;
}

.film-strip::after {
    bottom: -12px;
}

.film-frame {
    background: #6b74c996;
    border: 0.8px solid #63549f73;
    border-radius: 6px;
    padding: 1rem;
    min-width: 200px;
    color: #f1f1f1;
    text-align: center;
    scroll-snap-align: start;
    box-shadow: 0 4px 10px rgba(0,0,0,0.5);
    transition: transform 0.3s ease, background 0.3s ease;
}

.film-frame:hover {
    transform: scale(1.08);
    background: #160b50;
}

.film-frame .year {
    display: block;
    font-size: 1.5rem;
    font-weight: bold;
    color: #9eb6dc;
    margin-bottom: 0.1rem;
}

/* Scroll bar */
.timeline-film::-webkit-scrollbar {
    display: none;
}

.timeline-film::-webkit-scrollbar-thumb {
    background: #555;
    border-radius: 10px;
}

.timeline-film::-webkit-scrollbar-track {
    background: #111;
}

/* Contribution & Forum */
.contrib-forum {
    width: 100%;
    padding-top: 0;
    padding: 2rem;
    background: #012fa7;
}

.contrib-forum .container {
    display: flex;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    align-items: flex-start;
}

.contribution, .forum {
    color: #fff;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: var(--shadow);
    background-color: #9eb6dc60;
}

.contribution {
    flex: 1;
    max-width: 35%;
    display: flex;
    flex-direction: column;
}

.forum {
    flex: 2;
    max-width: 65%;
}

.contrib-forum .forum h3{
    margin-bottom: 1.6rem;
}

.forum .discussion-list {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.forum .discussion-item p {
    margin: 0;
}

.forum .discussion-item {
    display: block;
    padding: 1rem;
    border-radius: 12px;
    background: #170b50;
    text-decoration: none;
    color: inherit;
    transition: background 0.3s;
    width: 40rem;
    margin: 0 auto;
}

.forum .discussion-item:hover {
    background: #130944;
}

.forum .discussion-title {
    font-weight: 600;
    color: #f1f1f1;
    padding-bottom: 0.4rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.forum .discussion-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: #aaa;
}

.contrib-forum h3 {
    margin-top: 0;
    margin-bottom: 0.1rem;
    padding: 0.6em 1em;
    text-align: center;
    font-size: 1.5rem;
    color: #9eb6dc;
    background-color: #130944;
    border-radius: 12px;
}

.contrib-forum ul {
    list-style:disc;
    padding-left: 0.8em;
    margin-bottom: 1.5rem;
}

.contrib-forum li {
    margin-bottom: 0.8rem;
}

/* synopis */
.content {
    width: 100%;
    margin: 0 auto;
    padding: 2rem;
    background: linear-gradient(to bottom, #012fa7 10%, #4522a0 100%);
    color: #f1f1f1;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

.showcase {
    width: 80%;
    margin: 120px auto 30px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.5);
}


.showsectionheading {
    text-align: left;
    font-size: 2rem;
    padding-top: 1rem;
    margin-bottom: 30px;
    color: #f1f1f1;
    width: fit-content;
    margin-left: calc(50% - 600px);
}

.textblock_before_synopsys {
    text-align: center;
    color: #f1f1f1;
    font-style: italic;
    font-size: 54px;
    margin-bottom: 40px;
}

.show-person-list {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    list-style: none;
    padding: 0;
    margin: 0;
}

.show-person-list li {
    flex: 1;
    max-width: 600px;
    min-width: 300px;
    padding: 1.5rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
}

.show-act-title {
    font-size: 1.5rem;
    color: #f1f1f1;
    text-align: left;
    margin: 0;

}

.show-person-list h4 {
    font-size: 1.2rem;
    color: #c0c0ff;
    margin-top: 0;
    text-align: left;
}

.show-person-list p {
    line-height: 1.5;
    margin: 0;
}

/* ====== 响应式: 窄屏竖直堆叠 ====== */
@media (max-width: 720px) {
    .show-person-list {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    .show-person-list li {
        max-width: 100%;
    }
    .forum, .contribution {
    max-width: 100%;
    width: 100%;
  }
}

/* FOOTER */
.footer {
    background:linear-gradient(to bottom, #4522a0 60%, #170b50 100%);
    padding: 3rem 1rem;       /* 上下内边距 */
    color: #aaa;              /* 默认文字颜色 */
    text-align: center;
    font-family: Arial, sans-serif;
}

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

.footer-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 1.5rem;
  font-size: 1.1rem;
}

.footer-link {
  color: #aaa;
  text-decoration: none;
  display: flex;
  align-items: center;
  transition: color 0.3s ease;
}

.footer-link:hover {
  color: #9eb6dc;
}

/* Responsive */

/* Desktop and laptop (769px and above) - Hide hamburger menu */
@media (min-width: 769px) {
    .hamburger {
        display: none !important;
    }
    
    .mobile-nav {
        display: none !important;
    }
}

/* iPad size (768px - 1024px) */
@media (max-width: 1024px) and (min-width: 769px) {
    .wrap {
        padding: 0 20px;
    }
    
    .navbar {
        padding: 0 20px;
    }
    
    /* Font adjustments for large tablet */
    .brand-head {
        font-size: 16px;
    }
    
    .brand-sub {
        font-size: 11px;
    }
    
    .nav-right li a {
        font-size: 0.95rem;
        padding: 12px 12px;
    }
    
    .search input {
        font-size: 0.85rem;
        padding: 5px 8px;
    }
    
    .overlay h1 {
        font-size: 2.2rem;
        line-height: 1.1;
    }
    
    .overlay p {
        font-size: 1.1rem;
    }
    
    .lyric {
        font-size: 64px;
    }
    
    .film-frame .year {
        font-size: 1.3rem;
    }
    
    .film-frame p {
        font-size: 0.9rem;
    }
    
    .contrib-forum h3 {
        font-size: 1.3rem;
        padding: 0.5em 0.8em;
    }
    
    .contrib-forum li {
        font-size: 0.9rem;
    }
    
    .discussion-title {
        font-size: 0.95rem;
    }
    
    .discussion-meta {
        font-size: 0.75rem;
    }
    
    .textblock_before_synopsys {
        font-size: 42px;
        margin-bottom: 35px;
    }
    
    .showsectionheading {
        margin-left: calc(50% - 500px);
        font-size: 1.8rem;
    }
    
    .show-act-title {
        font-size: 1.4rem;
    }
    
    .show-person-list h4 {
        font-size: 1.1rem;
    }
    
    .show-person-list p {
        font-size: 0.9rem;
        line-height: 1.4;
    }
    
    .footer p {
        font-size: 0.9rem;
    }
    
    .footer-link {
        font-size: 1rem;
    }
    
    .contrib-forum .container {
        padding: 0 10px;
    }
    
    .content {
        padding: 1.5rem;
    }
    
    .showcase {
        width: 90%;
        margin: 80px auto 20px;
    }
    
    .show-person-list {
        gap: 1.5rem;
    }
    
    .show-person-list li {
        padding: 1.2rem;
    }
    
    .forum .discussion-item {
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
    }
}

/* iPad size (481px - 768px) */
@media (max-width: 768px) and (min-width: 481px) {
    .wrap {
        padding: 0 20px;
    }
    
    .navbar {
        padding: 0 20px;
    }
    
    /* Font adjustments for iPad */
    .brand-head {
        font-size: 16px;
    }
    
    .brand-sub {
        font-size: 11px;
    }
    
    .nav-right li a {
        font-size: 0.95rem;
        padding: 12px 12px;
    }
    
    .search input {
        font-size: 0.85rem;
        padding: 5px 8px;
    }
    
    .overlay h1 {
        font-size: 2.2rem;
        line-height: 1.1;
    }
    
    .overlay p {
        font-size: 1.1rem;
    }
    
    .lyric {
        font-size: 64px;
    }
    
    .film-frame .year {
        font-size: 1.3rem;
    }
    
    .film-frame p {
        font-size: 0.9rem;
    }
    
    .contrib-forum h3 {
        font-size: 1.3rem;
        padding: 0.5em 0.8em;
    }
    
    .contrib-forum li {
        font-size: 0.9rem;
    }
    
    .discussion-title {
        font-size: 0.95rem;
    }
    
    .discussion-meta {
        font-size: 0.75rem;
    }
    
    .textblock_before_synopsys {
        font-size: 42px;
        margin-bottom: 35px;
    }
    
    .showsectionheading {
        margin-left: calc(50% - 500px);
        font-size: 1.8rem;
    }
    
    .show-act-title {
        font-size: 1.4rem;
    }
    
    .show-person-list h4 {
        font-size: 1.1rem;
    }
    
    .show-person-list p {
        font-size: 0.9rem;
        line-height: 1.4;
    }
    
    .footer p {
        font-size: 0.9rem;
    }
    
    .footer-link {
        font-size: 1rem;
    }
    
    .contrib-forum .container {
        padding: 0 10px;
    }
    
    .content {
        padding: 1.5rem;
    }
    
    .showcase {
        width: 90%;
        margin: 80px auto 20px;
    }
    
    .show-person-list {
        gap: 1.5rem;
    }
    
    .show-person-list li {
        padding: 1.2rem;
    }
}

/* Tablet size (768px and below) */
@media (max-width: 768px) {
    .wrap {
        padding: 0 15px;
    }
    
    .navbar {
        padding: 0 15px;
    }
    
    /* Font adjustments for tablet */
    .brand-head {
        font-size: 15px;
    }
    
    .brand-sub {
        font-size: 10px;
    }
    
    .search input {
        font-size: 0.8rem;
        padding: 4px 6px;
    }
    
    .nav-right {
        display: none; /* Hide desktop nav */
    }
    
    .hamburger {
        display: block; /* Show hamburger on mobile */
        background: none;
        border: none;
        color: #fff;
        font-size: 1.4rem;
        cursor: pointer;
        padding: 8px;
    }
    
    .mobile-nav {
        display: none;
        position: fixed;
        top: 90px;
        right: 30px;
        height: 60vh;
        background: rgba(22, 11, 80, 0.96);
        z-index: 9999;
        padding: 2rem 1rem;
        backdrop-filter: blur(6px);
    }
    
    .mobile-nav.active {
        display: block;
    }
    
    .mobile-nav ul {
        list-style: none;
        padding: 0;
        margin: 0;
    }
    
    .mobile-nav li {
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    }
    
    .mobile-nav li:last-child {
        border-bottom: none;
    }
    
    .mobile-nav a {
        display: block;
        color: #fff;
        text-decoration: none;
        padding: 12px 15px;
        font-size: 0.95rem;
    }
    
    .mobile-nav a:hover {
        background-color: #130944;
    }
    
    .overlay h1 {
        font-size: 1.9rem;
        line-height: 1.1;
    }
    
    .overlay p {
        font-size: 1rem;
    }
    
    .lyric {
        font-size: 48px;
        bottom: 3%;
        right: 3%;
    }
    
    .film-frame .year {
        font-size: 1.2rem;
    }
    
    .film-frame p {
        font-size: 0.85rem;
    }
    
    .contrib-forum h3 {
        font-size: 1.2rem;
        padding: 0.4em 0.7em;
    }
    
    .contrib-forum li {
        font-size: 0.85rem;
    }
    
    .discussion-title {
        font-size: 0.9rem;
    }
    
    .discussion-meta {
        font-size: 0.7rem;
    }
    
    .textblock_before_synopsys {
        font-size: 36px;
        margin-bottom: 30px;
    }
    
    .showsectionheading {
        margin-left: 0;
        text-align: center;
        font-size: 1.6rem;
    }
    
    .show-act-title {
        font-size: 1.3rem;
    }
    
    .show-person-list h4 {
        font-size: 1.1rem;
    }
    
    .show-person-list p {
        font-size: 0.85rem;
        line-height: 1.3;
    }
    
    .footer p {
        font-size: 0.85rem;
    }
    
    .footer-link {
        font-size: 0.9rem;
    }
    
    .contrib-forum .container {
        flex-direction: column;
        gap: 15px;
    }
    
    .contribution {
        max-width: 100%;
        flex: 1;
    }
    
    .forum {
        max-width: 100%;
        flex: 1;
    }
    
    .forum .discussion-item {
        width: 100%;
        margin: 0;
        max-width: 100%;
    }
    
    .content {
        padding: 1rem;
    }
    
    .showcase {
        width: 95%;
        margin: 60px auto 15px;
    }
    
    .show-person-list {
        flex-direction: column;
        gap: 1rem;
    }
    
    .show-person-list li {
        max-width: 100%;
        padding: 1rem;
    }
    
    .film-frame {
        min-width: 150px;
        padding: 0.8rem;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 1rem;
    }
}

/* Mobile size (480px and below) */
@media (max-width: 480px) {
    .wrap {
        padding: 0 10px;
    }
    
    .top-logo {
        width: 12%;
    }
    
    /* Font adjustments for small mobile */
    .brand-head {
        font-size: 16px;
    }
    
    .brand-sub {
        font-size: 9px;
    }
    
    .search input {
        padding: 3px 6px;
        font-size: 0.75rem;
    }
    
    .hamburger {
        font-size: 1.2rem;
        padding: 6px;
    }
    
    .mobile-nav a {
        font-size: 0.85rem;
        padding: 10px 12px;
    }
    
    .poster-hero {
        height: 80vh;
        padding: 1rem;
    }
    
    .overlay h1 {
        font-size: 1.6rem;
        line-height: 1.2;
    }
    
    .overlay p {
        font-size: 0.9rem;
    }
    
    .lyric {
        font-size: 32px;
        bottom: 2%;
        right: 2%;
    }
    
    .film-frame .year {
        font-size: 1rem;
    }
    
    .film-frame p {
        font-size: 0.8rem;
    }
    
    .contrib-forum h3 {
        font-size: 1.1rem;
        padding: 0.3em 0.6em;
    }
    
    .contrib-forum li {
        font-size: 0.8rem;
    }
    
    .discussion-title {
        font-size: 0.85rem;
    }
    
    .discussion-meta {
        font-size: 0.65rem;
    }
    
    .textblock_before_synopsys {
        font-size: 28px;
        margin-bottom: 20px;
    }
    
    .showsectionheading {
        font-size: 1.4rem;
        margin-bottom: 20px;
    }
    
    .show-act-title {
        font-size: 1.1rem;
    }
    
    .show-person-list h4 {
        font-size: 0.95rem;
    }
    
    .show-person-list p {
        font-size: 0.8rem;
        line-height: 1.25;
    }
    
    .show-person-list li {
        padding: 0.8rem;
    }
    
    .forum .discussion-item {
        width: 100%;
        max-width: 100%;
        margin: 0;
    }
    
    .film-frame {
        min-width: 120px;
        padding: 0.6rem;
    }
    
    .contrib-forum {
        padding: 1rem;
    }
    
    .contribution {
        flex: 1;
    }
    
    .forum {
        flex: 1;
    }
    
    .footer {
        padding: 2rem 0.5rem;
    }
    
    .footer p {
        font-size: 0.8rem;
    }
    
    .footer-link {
        font-size: 0.85rem;
    }
}

/* Legacy responsive rules for compatibility */
@media (max-width:980px){
    .hero{grid-template-columns:1fr 320px}
    .gallery{grid-template-columns:repeat(3,1fr)}
}
@media (max-width:720px){
    body{padding:14px}
    .hero{grid-template-columns:1fr;}
    .poster{height:360px}
    .hero-card{order:2}
    .columns{grid-template-columns:1fr}
    .gallery{grid-template-columns:repeat(2,1fr)}
}