/* ============================================
   STEPC Homepage Styles — Full Redesign
   Color: Black + Orange (#FF8C00)
   Fonts: Abril Fatface / Noto Sans TC / Noto Serif TC
   ============================================ */

:root {
    --stepc-black:        #080808;
    --stepc-dark:         #111111;
    --stepc-darker:       #181818;
    --stepc-orange:       #FF8C00;
    --stepc-orange-light: #FFA033;
    --stepc-orange-dark:  #E07800;
    --stepc-yellow:       #FFD000;
    --stepc-white:        #f5f5f5;
    --stepc-gray:         #888888;
    --stepc-gray-dark:    #333333;
    --stepc-transition:   cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --stepc-spring:       cubic-bezier(0.16, 1, 0.3, 1);
}

/* =============================================
   RESET & BASE
   ============================================= */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--stepc-black);
    color: var(--stepc-white);
    font-family: 'Noto Sans TC', system-ui, -apple-system, sans-serif;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--stepc-orange);
}

section {
    position: relative;
}

/* =============================================
   NAVBAR
   ============================================= */
.stepc-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(8, 8, 8, 0.8);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 140, 0, 0.12);
    transition: all 0.4s var(--stepc-transition);
}

.stepc-nav.scrolled {
    background: rgba(8, 8, 8, 0.97);
    border-bottom-color: rgba(255, 140, 0, 0.2);
}

.stepc-nav .nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 2rem;
    height: 68px;
}

.stepc-nav .nav-logo {
    font-family: 'Abril Fatface', serif;
    font-size: 1.55rem;
    color: #fff;
    letter-spacing: 4px;
    cursor: pointer;
    flex-shrink: 0;
    transition: opacity 0.3s ease;
}

.stepc-nav .nav-logo:hover {
    opacity: 0.85;
    color: #fff;
}

.stepc-nav .nav-logo span {
    color: var(--stepc-orange);
}

.stepc-nav .nav-links {
    display: flex;
    gap: 1.8rem;
    list-style: none;
    margin: 0;
    padding: 0;
    align-items: center;
}

.stepc-nav .nav-links li a {
    font-size: 0.82rem;
    letter-spacing: 1.5px;
    padding: 0.4rem 0;
    position: relative;
    color: rgba(255, 255, 255, 0.65);
    transition: color 0.3s ease;
    white-space: nowrap;
    text-transform: uppercase;
}

.stepc-nav .nav-links li a:hover,
.stepc-nav .nav-links li a.active {
    color: var(--stepc-orange);
}

.stepc-nav .nav-links li a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1.5px;
    background: var(--stepc-orange);
    transition: width 0.35s var(--stepc-spring);
}

.stepc-nav .nav-links li a:hover::after,
.stepc-nav .nav-links li a.active::after {
    width: 100%;
}

.stepc-nav .nav-register {
    background: var(--stepc-orange) !important;
    color: #000 !important;
    padding: 0.45rem 1.3rem !important;
    border-radius: 3px;
    font-weight: 700 !important;
    font-size: 0.78rem !important;
    letter-spacing: 1.5px;
    transition: all 0.3s ease !important;
    border: 2px solid var(--stepc-orange);
}

.stepc-nav .nav-register:hover {
    background: transparent !important;
    color: var(--stepc-orange) !important;
}

.stepc-nav .nav-register::after {
    display: none !important;
}

/* hamburger */
.nav-hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 5px;
}

.nav-hamburger span {
    width: 26px;
    height: 2px;
    background: #fff;
    transition: all 0.3s ease;
    transform-origin: center;
}

.nav-hamburger.is-open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.nav-hamburger.is-open span:nth-child(2) {
    opacity: 0;
}
.nav-hamburger.is-open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* mobile nav */
.nav-mobile-menu {
    display: none;
    position: fixed;
    top: 68px;
    left: 0;
    width: 100%;
    height: calc(100vh - 68px);
    background: rgba(8, 8, 8, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2.2rem;
    z-index: 999;
}

.nav-mobile-menu.show {
    display: flex;
}

.nav-mobile-menu a {
    font-family: 'Abril Fatface', serif;
    font-size: 1.4rem;
    color: rgba(255, 255, 255, 0.65);
    letter-spacing: 3px;
    transition: all 0.3s ease;
}

.nav-mobile-menu a:hover {
    color: var(--stepc-orange);
    letter-spacing: 5px;
}

/* === SIDE BUTTONS === */
.side-buttons {
    position: fixed;
    left: 1.5rem;
    bottom: 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    z-index: 900;
}

.side-buttons a {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255, 140, 0, 0.1);
    border: 1px solid rgba(255, 140, 0, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--stepc-orange);
    font-size: 1.1rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(8px);
}

.side-buttons a:hover {
    background: var(--stepc-orange);
    color: #000;
    transform: scale(1.1);
}

/* =============================================
   HERO SECTION
   ============================================= */
.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 640px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* 漸層背景 */
.hero-bg-gradient {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 50% 30%, rgba(255, 140, 0, 0.12) 0%, transparent 70%),
        radial-gradient(ellipse 60% 80% at 20% 80%, rgba(255, 100, 0, 0.08) 0%, transparent 60%),
        linear-gradient(160deg, #120800 0%, #080808 45%, #0d0200 100%);
}

/* 雜訊紋理 */
.hero-noise {
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
    pointer-events: none;
}

/* 脈衝光暈圓環 */
.hero-glow-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 320px;
    height: 320px;
    border-radius: 50%;
    border: 1px solid rgba(255, 140, 0, 0.15);
    animation: ringPulse 4s ease-in-out infinite;
    pointer-events: none;
}

.hero-glow-ring.ring-2 {
    width: 520px;
    height: 520px;
    border-color: rgba(255, 140, 0, 0.08);
    animation-delay: 0.8s;
    animation-duration: 4.5s;
}

.hero-glow-ring.ring-3 {
    width: 750px;
    height: 750px;
    border-color: rgba(255, 140, 0, 0.04);
    animation-delay: 1.6s;
    animation-duration: 5s;
}

@keyframes ringPulse {
    0%, 100% { opacity: 0.4; transform: translate(-50%, -50%) scale(0.95); }
    50%       { opacity: 1;   transform: translate(-50%, -50%) scale(1.05); }
}

/* 浮動粒子 */
.hero-particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.particle {
    position: absolute;
    border-radius: 50%;
    background: var(--stepc-orange);
    opacity: 0;
    animation: particleFloat linear infinite;
}

.p1 { width:3px; height:3px; left:15%; top:25%; animation-duration:8s;  animation-delay:0s;   opacity:0.4; }
.p2 { width:2px; height:2px; left:75%; top:15%; animation-duration:10s; animation-delay:1s;   opacity:0.3; }
.p3 { width:4px; height:4px; left:85%; top:60%; animation-duration:7s;  animation-delay:2s;   opacity:0.5; }
.p4 { width:2px; height:2px; left:30%; top:70%; animation-duration:9s;  animation-delay:0.5s; opacity:0.3; }
.p5 { width:3px; height:3px; left:60%; top:40%; animation-duration:11s; animation-delay:3s;   opacity:0.4; }
.p6 { width:5px; height:5px; left:10%; top:55%; animation-duration:12s; animation-delay:1.5s; opacity:0.25; }
.p7 { width:2px; height:2px; left:90%; top:80%; animation-duration:8s;  animation-delay:4s;   opacity:0.35; }
.p8 { width:3px; height:3px; left:45%; top:85%; animation-duration:9s;  animation-delay:2.5s; opacity:0.3; }

@keyframes particleFloat {
    0%   { transform: translateY(0) scale(1);   opacity: 0;   }
    10%  { opacity: 1; }
    90%  { opacity: 0.8; }
    100% { transform: translateY(-120px) scale(0.5); opacity: 0; }
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(8,8,8,0.2) 0%,
        transparent 30%,
        rgba(8,8,8,0.5) 75%,
        rgba(8,8,8,1) 100%
    );
}

/* Hero 主要內容 */
.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 0 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Logo + 光暈 */
.hero-logo-wrap {
    position: relative;
    margin-bottom: 1rem;
}

.hero-logo-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200%;
    height: 200%;
    background: radial-gradient(ellipse at center, rgba(255,140,0,0.2) 0%, transparent 65%);
    animation: logoGlowPulse 3s ease-in-out infinite;
    pointer-events: none;
}

@keyframes logoGlowPulse {
    0%, 100% { opacity: 0.5; transform: translate(-50%, -50%) scale(0.9); }
    50%       { opacity: 1;   transform: translate(-50%, -50%) scale(1.1); }
}

.hero-logo {
    font-family: 'Abril Fatface', serif;
    font-size: clamp(4rem, 10vw, 9rem);
    letter-spacing: 16px;
    line-height: 1;
    color: #fff;
    position: relative;
    text-shadow: 0 0 60px rgba(255,140,0,0.3);
}

.hero-logo span {
    color: var(--stepc-orange);
    text-shadow: 0 0 40px rgba(255,140,0,0.7), 0 0 80px rgba(255,140,0,0.3);
}

/* S.T.E.P.C. 橫排標語 */
.hero-tagline {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0;
    font-family: 'Abril Fatface', serif;
    font-size: clamp(0.8rem, 1.8vw, 1.4rem);
    letter-spacing: 2px;
    margin: 1.2rem 0 1rem;
    color: rgba(255,255,255,0.5);
}

.tagline-item {
    display: flex;
    align-items: center;
}

.tagline-item + .tagline-item::before {
    content: '·';
    margin: 0 0.6em;
    color: var(--stepc-orange);
    font-size: 1.2em;
}

.hero-tagline .letter {
    color: var(--stepc-orange);
}

.hero-tagline .word {
    color: rgba(255,255,255,0.55);
}

.hero-subtitle {
    font-size: clamp(0.8rem, 1.4vw, 1rem);
    color: rgba(255, 255, 255, 0.45);
    letter-spacing: 4px;
    margin-bottom: 1.8rem;
    text-transform: uppercase;
}

/* 倒數標籤 */
.hero-countdown-label {
    font-size: 0.7rem;
    letter-spacing: 4px;
    color: var(--stepc-orange);
    text-transform: uppercase;
    margin-bottom: 0.8rem;
    opacity: 0.8;
}

/* 倒數計時 */
.hero-countdown {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 2.5rem;
}

.countdown-item {
    text-align: center;
}

.countdown-num-wrap {
    background: rgba(255,140,0,0.08);
    border: 1px solid rgba(255,140,0,0.2);
    border-radius: 6px;
    padding: 0.6rem 1rem;
    backdrop-filter: blur(8px);
    min-width: 72px;
    position: relative;
    overflow: hidden;
}

.countdown-num-wrap::before {
    content: '';
    position: absolute;
    inset: 0 0 50% 0;
    background: rgba(255,255,255,0.03);
    border-radius: 6px 6px 0 0;
}

.countdown-item .num {
    font-family: 'Abril Fatface', serif;
    font-size: clamp(1.8rem, 3.5vw, 3rem);
    color: var(--stepc-orange);
    line-height: 1;
    transition: transform 0.15s ease;
}

.countdown-item .num.num-flash {
    transform: scale(1.15);
    color: var(--stepc-orange-light);
}

.countdown-item .label {
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.4);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-top: 0.5rem;
}

.countdown-sep {
    font-family: 'Abril Fatface', serif;
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    color: rgba(255,140,0,0.4);
    margin-bottom: 1.5rem;
    animation: sepBlink 1s step-end infinite;
}

@keyframes sepBlink {
    0%, 100% { opacity: 1; }
    50%       { opacity: 0.2; }
}

/* Hero CTA */
.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: var(--stepc-orange);
    color: #000;
    padding: 1rem 2.8rem;
    font-size: 0.9rem;
    font-weight: 900;
    letter-spacing: 3px;
    text-transform: uppercase;
    border: 2px solid var(--stepc-orange);
    transition: all 0.4s var(--stepc-spring);
    clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
    position: relative;
    overflow: hidden;
}

.hero-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.2) 50%, transparent 100%);
    transform: translateX(-100%);
    transition: transform 0.5s ease;
}

.hero-cta:hover::before {
    transform: translateX(100%);
}

.hero-cta:hover {
    background: transparent;
    color: var(--stepc-orange);
    box-shadow: 0 0 30px rgba(255,140,0,0.4), inset 0 0 30px rgba(255,140,0,0.05);
    letter-spacing: 4px;
}

.cta-arrow {
    transition: transform 0.3s ease;
}

.hero-cta:hover .cta-arrow {
    transform: translate(3px, -3px);
}

/* Hero 底部 Ticker */
.hero-ticker {
    position: absolute;
    bottom: 80px;
    left: 0;
    width: 100%;
    overflow: hidden;
    z-index: 2;
    mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
}

.ticker-track {
    display: flex;
    gap: 3rem;
    white-space: nowrap;
    animation: tickerScroll 20s linear infinite;
    font-family: 'Abril Fatface', serif;
    font-size: 0.75rem;
    letter-spacing: 4px;
    color: rgba(255,255,255,0.2);
}

.ticker-track .sep {
    color: var(--stepc-orange);
    opacity: 0.5;
}

@keyframes tickerScroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

/* scroll indicator */
.hero-scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.3);
    font-size: 0.65rem;
    letter-spacing: 4px;
    text-transform: uppercase;
}

.hero-scroll .scroll-line {
    width: 1px;
    height: 44px;
    background: linear-gradient(to bottom, rgba(255,140,0,0.6), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 0.3; transform: scaleY(0.5); transform-origin: top; }
    50%       { opacity: 1;   transform: scaleY(1);   transform-origin: top; }
}

/* =============================================
   MARQUEE DIVIDER
   ============================================= */
.marquee-divider {
    background: var(--stepc-orange);
    overflow: hidden;
    padding: 0.9rem 0;
    position: relative;
    z-index: 10;
}

.marquee-track {
    display: flex;
    gap: 3rem;
    white-space: nowrap;
    animation: marqueeScroll 18s linear infinite;
    font-family: 'Abril Fatface', serif;
    font-size: 0.85rem;
    letter-spacing: 3px;
    color: #000;
}

.marquee-track .mx {
    opacity: 0.4;
}

@keyframes marqueeScroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

/* =============================================
   SECTION COMMON
   ============================================= */
.section-padding {
    padding: 110px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4.5rem;
    padding: 0 2rem;
}

.section-header .section-label {
    font-size: 0.72rem;
    letter-spacing: 5px;
    text-transform: uppercase;
    color: var(--stepc-orange);
    margin-bottom: 1rem;
    display: inline-block;
    position: relative;
    padding: 0 1.5rem;
}

.section-header .section-label::before,
.section-header .section-label::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 30px;
    height: 1px;
    background: var(--stepc-orange);
    opacity: 0.5;
}

.section-header .section-label::before { right: 100%; margin-right: -1.2rem; }
.section-header .section-label::after  { left: 100%;  margin-left: -1.2rem; }

.section-header h2 {
    font-family: 'Abril Fatface', serif;
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    letter-spacing: 2px;
    margin-bottom: 1.2rem;
    color: #fff;
    line-height: 1.1;
}

.section-header p {
    color: var(--stepc-gray);
    max-width: 560px;
    margin: 0 auto;
    line-height: 2;
    font-size: 0.95rem;
}

/* 通用按鈕 */
.btn-outline-orange {
    display: inline-block;
    border: 1.5px solid rgba(255,140,0,0.4);
    color: var(--stepc-orange);
    padding: 0.8rem 2.5rem;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: all 0.35s ease;
    border-radius: 3px;
}

.btn-outline-orange:hover {
    background: rgba(255,140,0,0.1);
    border-color: var(--stepc-orange);
    color: var(--stepc-orange);
    box-shadow: 0 0 20px rgba(255,140,0,0.15);
}

/* =============================================
   EVENT CARDS (FLIP)
   ============================================= */
.events-section {
    background: var(--stepc-dark);
    overflow: hidden;
}

/* 背景裝飾圓 */
.events-bg-deco {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.deco-circle {
    position: absolute;
    border-radius: 50%;
    opacity: 0.03;
    background: var(--stepc-orange);
}

.dc1 { width: 600px; height: 600px; top: -200px; right: -200px; }
.dc2 { width: 400px; height: 400px; bottom: -150px; left: -100px; }

.events-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.2rem;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 2rem;
}

.events-cta-row {
    text-align: center;
    margin-top: 3.5rem;
    padding: 0 2rem;
}

/* Flip card */
.event-card {
    perspective: 1200px;
    height: 420px;
    cursor: pointer;
}

.event-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.85s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transform-style: preserve-3d;
    will-change: transform;
}

.event-card:hover .event-card-inner {
    transform: rotateY(180deg);
}

.event-card-front,
.event-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    border-radius: 16px;
    overflow: hidden;
}

/* 前面 */
.event-card-front {
    background: var(--stepc-darker);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: border-color 0.4s ease, box-shadow 0.4s ease;
}

.event-card:hover .event-card-front {
    border-color: rgba(255,140,0,0.2);
    box-shadow: 0 0 40px rgba(255,140,0,0.08);
}

/* 背景 pattern */
.card-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.04;
    border-radius: 16px;
    transition: opacity 0.4s ease;
}

.event-card:hover .card-pattern {
    opacity: 0.07;
}

.p-wave {
    background: repeating-linear-gradient(
        -45deg,
        transparent,
        transparent 10px,
        rgba(255,140,0,1) 10px,
        rgba(255,140,0,1) 11px
    );
}

.p-grid {
    background:
        linear-gradient(rgba(255,140,0,1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,140,0,1) 1px, transparent 1px);
    background-size: 24px 24px;
}

.p-dots {
    background-image: radial-gradient(rgba(255,140,0,1) 1.5px, transparent 1.5px);
    background-size: 18px 18px;
}

.p-lightning {
    background: repeating-linear-gradient(
        60deg,
        transparent,
        transparent 8px,
        rgba(255,140,0,1) 8px,
        rgba(255,140,0,1) 9px
    );
}

.p-sun {
    background: repeating-conic-gradient(rgba(255,140,0,1) 0deg, transparent 1deg, transparent 14deg);
}

.card-icon {
    font-size: 2.8rem;
    margin-bottom: 1.2rem;
    color: var(--stepc-orange);
    position: relative;
    transition: transform 0.4s var(--stepc-spring), filter 0.4s ease;
    filter: drop-shadow(0 0 0px transparent);
}

.event-card:hover .card-icon {
    transform: scale(1.15) translateY(-4px);
    filter: drop-shadow(0 0 12px rgba(255,140,0,0.5));
}

.card-title-area {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0 1rem;
    position: relative;
}

.event-card-front h3 {
    font-family: 'Abril Fatface', serif;
    font-size: 1.15rem;
    letter-spacing: 3px;
    color: #fff;
    margin: 0;
    transition: color 0.3s ease;
}

.event-card:hover .event-card-front h3 {
    color: var(--stepc-orange-light);
}

.event-card-front .card-subtitle {
    font-size: 0.75rem;
    color: var(--stepc-gray);
    margin-top: 0.4rem;
    letter-spacing: 1px;
}

/* 月份標籤 */
.card-tag {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-family: 'Abril Fatface', serif;
    font-size: 0.6rem;
    letter-spacing: 2px;
    color: var(--stepc-orange);
    background: rgba(255,140,0,0.1);
    border: 1px solid rgba(255,140,0,0.2);
    padding: 0.2rem 0.5rem;
    border-radius: 2px;
}

/* 後面 */
.event-card-back {
    background: #000;
    color: #fff;
    transform: rotateY(180deg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem 1.5rem;
    text-align: center;
    border: 1px solid rgba(255,140,0,0.3);
    position: relative;
}

.card-back-glow {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 40%;
    background: radial-gradient(ellipse at top, rgba(255,140,0,0.18) 0%, transparent 70%);
    pointer-events: none;
}

.event-card-back h3 {
    font-family: 'Abril Fatface', serif;
    font-size: 1.5rem;
    letter-spacing: 3px;
    color: var(--stepc-orange);
    margin: 0 0 0.3rem;
    position: relative;
}

.card-back-sub {
    font-size: 0.72rem;
    color: rgba(255,255,255,0.4);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 1.2rem;
    position: relative;
}

.event-card-back p {
    font-size: 0.85rem;
    line-height: 1.85;
    color: rgba(255,255,255,0.7);
    margin-bottom: 1.5rem;
    position: relative;
}

.event-card-back .card-link {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    border: 1.5px solid var(--stepc-orange);
    font-weight: 700;
    font-size: 0.78rem;
    letter-spacing: 2px;
    color: var(--stepc-orange);
    border-radius: 2px;
    transition: all 0.3s ease;
    position: relative;
}

.event-card-back .card-link:hover {
    background: var(--stepc-orange);
    color: #000;
}

/* =============================================
   BRAND PHILOSOPHY
   ============================================= */
.brand-section {
    background: var(--stepc-black);
    overflow: hidden;
}

/* 斜切裝飾背景 */
.brand-bg-slash {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(255,140,0,0.03) 0%,
        transparent 40%,
        rgba(255,140,0,0.02) 70%,
        transparent 100%
    );
    pointer-events: none;
}

.brand-content {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* 大標語 */
.brand-headline-wrap {
    margin-bottom: 0;
}

.brand-headline-wrap .section-label {
    font-size: 0.72rem;
    letter-spacing: 5px;
    text-transform: uppercase;
    color: var(--stepc-orange);
    margin-bottom: 1.5rem;
    display: block;
    position: relative;
    padding-left: 0;
}

.brand-hero-text {
    font-family: 'Abril Fatface', serif;
    font-size: clamp(3.5rem, 9vw, 8.5rem);
    line-height: 0.95;
    color: #fff;
    margin-bottom: 0;
    letter-spacing: -1px;
}

.bht-line {
    display: block;
    overflow: hidden;
}

.bht-line-indent {
    padding-left: clamp(2rem, 5vw, 6rem);
}

.bht-letter {
    color: var(--stepc-orange);
    display: inline-block;
}

.bht-dot {
    color: rgba(255,140,0,0.3);
    margin: 0 0.3em;
    font-size: 0.7em;
}

/* 品牌理念跑馬燈 */
.brand-marquee {
    overflow: hidden;
    margin: 3rem -2rem;
    border-top: 1px solid rgba(255,255,255,0.06);
    border-bottom: 1px solid rgba(255,255,255,0.06);
    padding: 1rem 0;
    mask-image: linear-gradient(90deg, transparent 0%, #000 5%, #000 95%, transparent 100%);
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 5%, #000 95%, transparent 100%);
}

.brand-marquee-track {
    display: flex;
    gap: 3rem;
    white-space: nowrap;
    animation: marqueeScroll 22s linear infinite;
    font-family: 'Noto Serif TC', serif;
    font-size: 1.1rem;
    letter-spacing: 3px;
    color: rgba(255,255,255,0.25);
}

.bm-sep {
    color: var(--stepc-orange);
    opacity: 0.4;
}

/* 主體行 — 非對稱佈局 */
.brand-body-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: start;
    margin-top: 4rem;
}

.brand-text-col {
    padding-top: 1rem;
}

.brand-desc {
    font-size: 1rem;
    line-height: 2.1;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 1.5rem;
}

/* 數字統計 */
.brand-stats {
    display: flex;
    gap: 2.5rem;
    margin-top: 3rem;
    flex-wrap: wrap;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.07);
}

.brand-stat {
    display: flex;
    flex-direction: column;
}

.brand-stat .stat-num {
    font-family: 'Abril Fatface', serif;
    font-size: clamp(2rem, 3.5vw, 3rem);
    color: var(--stepc-orange);
    line-height: 1;
    margin-bottom: 0.5rem;
    transition: text-shadow 0.3s ease;
}

.brand-stat:hover .stat-num {
    text-shadow: 0 0 20px rgba(255,140,0,0.5);
}

.brand-stat .stat-label {
    font-size: 0.75rem;
    color: var(--stepc-gray);
    letter-spacing: 1.5px;
}

/* 非對稱圖片牆 */
.brand-img-col {
    position: relative;
}

.brand-img-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 1rem;
}

.brand-img-card {
    border-radius: 12px;
    overflow: hidden;
    position: relative;
}

/* 高牌 — 佔右欄全高 */
.bic-tall {
    grid-column: 2;
    grid-row: 1 / 3;
    aspect-ratio: 3/5;
}

/* 短牌 — 左欄上方 */
.bic-short {
    grid-column: 1;
    grid-row: 1;
    aspect-ratio: 3/2.5;
}

/* 寬牌 — 左欄下方 */
.bic-wide {
    grid-column: 1;
    grid-row: 2;
    aspect-ratio: 3/2.5;
}

.bic-inner {
    width: 100%;
    height: 100%;
    position: relative;
    transition: transform 0.6s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.brand-img-card:hover .bic-inner {
    transform: scale(1.04);
}

.bic-overlay {
    font-family: 'Abril Fatface', serif;
    font-size: 1.5rem;
    letter-spacing: 4px;
    color: rgba(255,255,255,0.15);
}

.brand-img-card .img-label {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 1.2rem 1rem 0.8rem;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.75));
    font-size: 0.7rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.6);
}

/* =============================================
   ANNUAL CALENDAR — 年度活動總覽
   Layout model: magazine editorial overlap
   Each .cal-row = outer row container (overflow visible)
   .cal-card    = white text card (takes 72% width)
   .cal-card-img = image that overlaps the card edge
   ===================================================== */

.calendar-section {
    background-color: #ede4d8;
    /* subtle paper grain texture via SVG noise */
    background-image:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.72' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='0.06'/%3E%3C/svg%3E");
    color: #333;
}

.calendar-section .section-header h2 {
    color: #2a2a2a;
}
.calendar-section .section-header p {
    color: #6b5f54;
}
.calendar-section .section-label {
    color: var(--stepc-orange-dark);
}

/* vertical list of rows, generous gap so images have breathing room */
.calendar-list {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    flex-direction: column;
    /* gap = card vertical margin + image bleed top/bottom = ~5rem */
    gap: 4.5rem;
}

/* -------------------------------------------------------
   ROW: flexbox container, overflow visible so image can bleed
   Image and card sit side by side, image overlaps card edge
   ------------------------------------------------------- */
.cal-row {
    position: relative;
    display: flex;
    align-items: center;
    /* top padding accommodates the image translateY(-30px) upward shift */
    padding-top: 30px;
    padding-bottom: 0;
}

/* -------------------------------------------------------
   WHITE CARD — takes the full row width;
   the image is absolutely positioned ON TOP of it
   ------------------------------------------------------- */
.cal-card {
    position: relative;
    flex: 1 1 auto;
    background: #ffffff;
    border-radius: 20px;
    box-shadow:
        0 2px 8px rgba(0,0,0,0.05),
        0 8px 32px rgba(0,0,0,0.07);
    /* top/bottom padding standard; left/right must leave room for image overlap */
    padding: 2.8rem 2.4rem;
    transition: box-shadow 0.3s ease;
    z-index: 1;
}

.cal-row:hover .cal-card {
    box-shadow:
        0 4px 16px rgba(0,0,0,0.07),
        0 16px 48px rgba(0,0,0,0.1);
}

/* -------------------------------------------------------
   TEXT CONTENT inside card
   When image is on right: text uses left portion, right side has gap for image overlap
   When image is on left: text uses right portion, left side has gap
   ------------------------------------------------------- */
.cal-card-text {
    /* nothing special needed — padding on .cal-card handles spacing */
}

/* image-right rows: pad the right side of the card to avoid text under image */
/* image is 45% of row width, overlaps deeply → reserve right padding */
.cal-row:nth-child(odd) .cal-card {
    padding-right: calc(28% + 0rem);
}

/* image-left rows: reserve left padding */
.cal-row:nth-child(even) .cal-card {
    padding-left: calc(28% + 0rem);
}

/* Month label */
.cal-card-month {
    font-family: 'Noto Sans TC', sans-serif;
    font-size: 0.78rem;
    font-weight: 800;
    color: var(--stepc-orange-dark);
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

/* Event title */
.cal-card-title {
    font-family: 'Noto Sans TC', sans-serif;
    font-size: 1.35rem;
    font-weight: 900;
    color: #1a1a1a;
    line-height: 1.3;
    margin-bottom: 1rem;
    letter-spacing: 0.5px;
}

/* Description */
.cal-card-desc {
    font-family: 'Noto Sans TC', sans-serif;
    font-size: 0.875rem;
    color: #5a5148;
    line-height: 2;
    margin-bottom: 1.4rem;
}

/* CTA link */
.cal-card-link {
    display: inline-block;
    font-family: 'Noto Sans TC', sans-serif;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--stepc-orange-dark);
    letter-spacing: 1.5px;
    text-decoration: none;
    border-bottom: 1.5px solid var(--stepc-orange-dark);
    padding-bottom: 2px;
    transition: color 0.2s ease, border-color 0.2s ease;
}
.cal-card-link:hover {
    color: var(--stepc-orange);
    border-color: var(--stepc-orange);
}

/* -------------------------------------------------------
   IMAGE PANEL
   Key values:
   - width: 45% of the .cal-row (flex item)
   - height: card height + 120px bleed (60px top + 60px bottom)
   - z-index: 2 so it renders above the white card
   - negative margin pulls it into the card by ~53% of its own width
     creating dramatic overlap effect matching reference
   ------------------------------------------------------- */
.cal-card-img {
    position: relative;
    flex: 0 0 45%;
    /* align-self stretch so it fills the padded row height */
    align-self: stretch;
    /* shift image upward to peek above card top edge */
    transform: translateY(-30px);
    border-radius: 14px;
    overflow: hidden;
    box-shadow:
        0 8px 24px rgba(0,0,0,0.15),
        0 20px 60px rgba(0,0,0,0.12);
    z-index: 2;
    transition: box-shadow 0.3s ease;
}

.cal-row:hover .cal-card-img {
    box-shadow:
        0 12px 36px rgba(0,0,0,0.2),
        0 28px 72px rgba(0,0,0,0.16);
}

/*
   HTML structure already controls left/right placement:
     odd  rows: .cal-card first, then .cal-card-img  → image on RIGHT
     even rows: .cal-card-img first, then .cal-card  → image on LEFT
   CSS only needs to apply the correct directional overlap margin.
*/

/* odd rows: image on RIGHT → pull it left into the card right edge */
.cal-row:nth-child(odd) .cal-card-img {
    margin-left: -24%;  /* 24% of .cal-row width overlaps onto card */
}

/* even rows: image on LEFT → pull it right into the card left edge */
.cal-row:nth-child(even) .cal-card-img {
    margin-right: -24%;
}

/* actual <img> tag fill */
.cal-card-img img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.cal-row:hover .cal-card-img img {
    transform: scale(1.04);
}

/* placeholder (used before real images are added) */
.cal-card-img .img-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.7);
    font-family: 'Noto Sans TC', sans-serif;
    font-size: 0.85rem;
    letter-spacing: 2px;
}

/* -------------------------------------------------------
   CIRCULAR NAVIGATION ARROW on image
   Small frosted circle, centered vertically on image
   ------------------------------------------------------- */
.cal-card-img .img-nav {
    position: absolute;
    z-index: 3;
    top: 50%;
    transform: translateY(-50%);
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #2a2a2a;
    font-size: 0.9rem;
    cursor: pointer;
    transition: background 0.25s ease, transform 0.25s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.18);
}

/* left arrow */
.cal-card-img .img-nav-prev {
    left: 12px;
}

/* right arrow */
.cal-card-img .img-nav-next {
    right: 12px;
}

.cal-card-img .img-nav:hover {
    background: rgba(255,255,255,0.97);
    transform: translateY(-50%) scale(1.1);
}

/* -------------------------------------------------------
   RESPONSIVE — mobile: stack image above text card
   ------------------------------------------------------- */
@media (max-width: 767px) {
    .calendar-list {
        gap: 1.5rem;
        padding: 0 1rem;
    }

    .cal-row {
        flex-direction: column;
        padding-top: 0;
        padding-bottom: 0;
        gap: 0;
    }

    /* on mobile, image always goes on top */
    .cal-card-img {
        order: 1 !important;
        flex: none;
        width: 100%;
        height: 220px;
        margin: 0;
        border-radius: 16px 16px 0 0;
        align-self: auto;
        box-shadow: none;
    }

    .cal-card {
        order: 2 !important;
        flex: none;
        width: 100%;
        padding: 1.8rem 1.4rem 2rem;
        border-radius: 0 0 16px 16px;
        box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    }

    /* remove directional padding overrides */
    .cal-row:nth-child(odd) .cal-card,
    .cal-row:nth-child(even) .cal-card {
        padding-left: 1.4rem;
        padding-right: 1.4rem;
    }

    /* negative margins cancel on mobile */
    .cal-row:nth-child(odd) .cal-card-img,
    .cal-row:nth-child(even) .cal-card-img {
        margin-left: 0;
        margin-right: 0;
    }

    .cal-card-img .img-placeholder {
        position: static;
        width: 100%;
        height: 220px;
    }

    .cal-card-img .img-nav-prev {
        left: 10px;
    }
    .cal-card-img .img-nav-next {
        right: 10px;
    }
}

/* tablet: tighten overlap slightly */
@media (min-width: 768px) and (max-width: 991px) {
    .calendar-list {
        max-width: 720px;
        gap: 3.5rem;
    }

    .cal-card-img {
        flex: 0 0 42%;
    }

    .cal-row:nth-child(odd) .cal-card {
        padding-right: calc(26%);
    }

    .cal-row:nth-child(even) .cal-card {
        padding-left: calc(26%);
    }

    .cal-row:nth-child(odd) .cal-card-img {
        margin-left: -20%;
    }

    .cal-row:nth-child(even) .cal-card-img {
        margin-right: -20%;
    }
}

/* =============================================
   ACTIVITY GUIDE (CIRCLES)
   ============================================= */
.guide-section {
    background: var(--stepc-dark);
    overflow: hidden;
}

/* 大型背景文字裝飾 */
.guide-bg-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: 'Abril Fatface', serif;
    font-size: clamp(5rem, 14vw, 12rem);
    line-height: 1;
    color: rgba(255,255,255,0.02);
    white-space: nowrap;
    pointer-events: none;
    text-align: center;
    letter-spacing: 8px;
}

.guide-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 2rem;
    align-items: center;
}

/* 圓形 */
.guide-circle {
    width: 210px;
    height: 210px;
    border-radius: 50%;
    position: relative;
    cursor: pointer;
    flex-shrink: 0;
}

/* 漸層邊框用 wrapper */
.guide-circle-inner {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    position: relative;
    overflow: hidden;
    /* 漸層邊框效果 */
    box-shadow: 0 0 0 2px rgba(255,140,0,0.15);
    transition: box-shadow 0.4s ease, transform 0.4s var(--stepc-spring);
}

.guide-circle:hover .guide-circle-inner,
.guide-circle.circle-active .guide-circle-inner {
    box-shadow:
        0 0 0 2px rgba(255,140,0,0.6),
        0 0 40px rgba(255,140,0,0.25),
        0 0 80px rgba(255,140,0,0.1);
    transform: scale(1.1) translateY(-6px);
}

/* 浮動動畫 — 各圓錯開時序 */
.guide-circle:nth-child(1) { animation: circleFloat 5s ease-in-out infinite; animation-delay: 0s; }
.guide-circle:nth-child(2) { animation: circleFloat 5.5s ease-in-out infinite; animation-delay: 0.5s; }
.guide-circle:nth-child(3) { animation: circleFloat 4.8s ease-in-out infinite; animation-delay: 1s; }
.guide-circle:nth-child(4) { animation: circleFloat 5.2s ease-in-out infinite; animation-delay: 1.5s; }
.guide-circle:nth-child(5) { animation: circleFloat 5.8s ease-in-out infinite; animation-delay: 0.8s; }

@keyframes circleFloat {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-10px); }
}

/* hover 時停止浮動 */
.guide-circle:hover,
.guide-circle.circle-active {
    animation-play-state: paused;
}

.guide-circle-bg {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 1.5rem;
    position: absolute;
    inset: 0;
    transition: opacity 0.45s ease, transform 0.45s var(--stepc-spring);
}

.guide-circle:hover .guide-circle-bg,
.guide-circle.circle-active .guide-circle-bg {
    opacity: 0;
    transform: scale(0.8);
}

.circle-icon {
    font-size: 1.8rem;
    color: rgba(0,0,0,0.4);
    margin-bottom: 0.4rem;
    display: block;
}

.guide-circle .circle-text-find {
    font-size: 0.75rem;
    color: rgba(0, 0, 0, 0.45);
    margin-bottom: 0.3rem;
    font-weight: 500;
}

.guide-circle .circle-text-desc {
    font-size: 0.82rem;
    font-weight: 700;
    color: rgba(0, 0, 0, 0.75);
    line-height: 1.5;
}

.guide-circle-hover {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    opacity: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 1.5rem;
    background: radial-gradient(ellipse at center, #1a0800 0%, #000 70%);
    transition: opacity 0.45s ease, transform 0.45s var(--stepc-spring);
    transform: scale(1.1);
}

.guide-circle:hover .guide-circle-hover,
.guide-circle.circle-active .guide-circle-hover {
    opacity: 1;
    transform: scale(1);
}

.hover-event-tag {
    font-size: 0.6rem;
    letter-spacing: 3px;
    color: var(--stepc-orange);
    opacity: 0.7;
    margin-bottom: 0.4rem;
    text-transform: uppercase;
}

.guide-circle-hover .hover-title {
    font-family: 'Abril Fatface', serif;
    font-size: 0.95rem;
    color: var(--stepc-orange);
    letter-spacing: 2px;
    line-height: 1.2;
    text-shadow: 0 0 20px rgba(255,140,0,0.5);
}

.guide-circle-hover .hover-subtitle {
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 0.3rem;
    letter-spacing: 1px;
}

.hover-link {
    display: inline-block;
    margin-top: 0.8rem;
    font-size: 0.68rem;
    font-weight: 700;
    color: var(--stepc-orange);
    letter-spacing: 2px;
    border-bottom: 1px solid rgba(255,140,0,0.4);
    padding-bottom: 1px;
    transition: border-color 0.3s ease;
}

.hover-link:hover {
    color: var(--stepc-orange);
    border-color: var(--stepc-orange);
}

/* 圓形顏色 */
.guide-circle.c1 .guide-circle-bg { background: radial-gradient(ellipse at 40% 40%, #F5F0D0, #ece8b8); }
.guide-circle.c2 .guide-circle-bg { background: radial-gradient(ellipse at 40% 40%, #F0D6E0, #e8c0d0); }
.guide-circle.c3 .guide-circle-bg { background: radial-gradient(ellipse at 40% 40%, #D8F0D0, #bce8b0); }
.guide-circle.c4 .guide-circle-bg { background: radial-gradient(ellipse at 40% 40%, #F0D890, #e8c870); }
.guide-circle.c5 .guide-circle-bg { background: radial-gradient(ellipse at 40% 40%, #B0E0F0, #90d0e8); }

/* =============================================
   PRE-FOOTER CTA BANNER
   ============================================= */
.prefooter-cta {
    background: var(--stepc-orange);
    position: relative;
    overflow: hidden;
    text-align: center;
    padding: 80px 2rem 100px;
}

.prefooter-noise {
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)' opacity='0.05'/%3E%3C/svg%3E");
    pointer-events: none;
    mix-blend-mode: overlay;
}

.prefooter-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.prefooter-tag {
    display: inline-block;
    background: rgba(0,0,0,0.15);
    color: rgba(0,0,0,0.7);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 4px;
    text-transform: uppercase;
    padding: 0.3rem 1rem;
    border-radius: 2px;
    margin-bottom: 1.5rem;
}

.prefooter-title {
    font-family: 'Abril Fatface', serif;
    font-size: clamp(2.2rem, 5vw, 4.5rem);
    color: #000;
    line-height: 1.15;
    margin-bottom: 1.2rem;
    letter-spacing: -0.5px;
}

.prefooter-title span {
    display: block;
    opacity: 0.65;
}

.prefooter-sub {
    font-size: 0.78rem;
    letter-spacing: 4px;
    color: rgba(0,0,0,0.5);
    text-transform: uppercase;
    margin-bottom: 2.5rem;
}

.prefooter-actions {
    display: flex;
    gap: 1.2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-cta-primary {
    display: inline-block;
    background: #000;
    color: var(--stepc-orange);
    padding: 1rem 2.8rem;
    font-size: 0.9rem;
    font-weight: 900;
    letter-spacing: 3px;
    text-transform: uppercase;
    border: 2px solid #000;
    border-radius: 3px;
    transition: all 0.35s ease;
    clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
}

.btn-cta-primary:hover {
    background: transparent;
    color: #000;
    border-color: #000;
}

.btn-cta-ghost {
    display: inline-block;
    background: transparent;
    color: rgba(0,0,0,0.7);
    padding: 1rem 2.2rem;
    font-size: 0.88rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    border: 2px solid rgba(0,0,0,0.3);
    border-radius: 3px;
    transition: all 0.35s ease;
}

.btn-cta-ghost:hover {
    background: rgba(0,0,0,0.1);
    color: #000;
    border-color: #000;
}

/* Pre-footer 底部跑馬燈 */
.prefooter-ticker {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    background: rgba(0,0,0,0.12);
    padding: 0.5rem 0;
}

.prefooter-ticker-track {
    display: flex;
    gap: 2.5rem;
    white-space: nowrap;
    animation: marqueeScroll 16s linear infinite;
    font-family: 'Abril Fatface', serif;
    font-size: 0.72rem;
    letter-spacing: 3px;
    color: rgba(0,0,0,0.4);
}

.pt-sep {
    opacity: 0.3;
}

/* =============================================
   FOOTER
   ============================================= */
.stepc-footer {
    background: var(--stepc-black);
    border-top: 1px solid rgba(255,140,0,0.08);
    padding: 80px 0 30px;
    position: relative;
}

.stepc-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,140,0,0.3), transparent);
}

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

/* 品牌大標 */
.footer-top-row {
    margin-bottom: 4rem;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    padding-bottom: 3rem;
}

.footer-brand-col {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-big-logo {
    font-family: 'Abril Fatface', serif;
    font-size: clamp(3rem, 7vw, 6rem);
    letter-spacing: 10px;
    color: rgba(255,255,255,0.08);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.footer-big-logo span {
    color: rgba(255,140,0,0.2);
}

.footer-tagline-text {
    font-size: 0.75rem;
    letter-spacing: 4px;
    color: rgba(255,255,255,0.25);
    text-transform: uppercase;
    margin: 0;
}

.footer-tagline-sub {
    font-size: 0.85rem;
    color: var(--stepc-gray);
    margin: 0.3rem 0 0;
}

/* 三欄 */
.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-bottom: 3.5rem;
}

.footer-col h4 {
    font-family: 'Abril Fatface', serif;
    font-size: 0.95rem;
    color: rgba(255,140,0,0.8);
    margin-bottom: 1.5rem;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.footer-col p,
.footer-col a {
    font-size: 0.88rem;
    color: rgba(255,255,255,0.4);
    line-height: 2.2;
    display: block;
    transition: color 0.3s ease;
}

.footer-col a:hover {
    color: var(--stepc-orange);
}

.footer-social {
    display: flex;
    gap: 0.8rem;
    margin-top: 0.3rem;
    flex-wrap: wrap;
}

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: rgba(255,255,255,0.35);
    transition: all 0.3s ease;
    line-height: 1;
}

.footer-social a:hover {
    border-color: var(--stepc-orange);
    color: var(--stepc-orange);
    background: rgba(255, 140, 0, 0.08);
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.2);
}

.footer-bottom .footer-logo {
    font-family: 'Abril Fatface', serif;
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.25);
    letter-spacing: 4px;
}

.footer-bottom .footer-logo span {
    color: rgba(255,140,0,0.4);
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1200px) {
    .events-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .brand-body-row {
        gap: 3rem;
    }
}

@media (max-width: 992px) {
    .stepc-nav .nav-links {
        display: none;
    }

    .nav-hamburger {
        display: flex;
    }

    .events-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .brand-body-row {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .brand-img-col {
        max-width: 500px;
        margin: 0 auto;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }

    .guide-circle {
        width: 175px;
        height: 175px;
    }

    .hero-glow-ring.ring-3 {
        display: none;
    }
}

@media (max-width: 768px) {
    .events-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .event-card {
        height: 340px;
    }

    .brand-hero-text {
        font-size: clamp(2.8rem, 11vw, 5rem);
    }

    .guide-circle {
        width: 155px;
        height: 155px;
    }

    .guide-circle .circle-text-desc {
        font-size: 0.75rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }

    .hero-countdown {
        gap: 0.5rem;
    }

    .countdown-num-wrap {
        padding: 0.5rem 0.7rem;
        min-width: 55px;
    }

    .prefooter-title {
        font-size: clamp(1.8rem, 8vw, 3rem);
    }
}

@media (max-width: 576px) {
    .section-padding {
        padding: 70px 0;
    }

    .events-grid {
        grid-template-columns: 1fr 1fr;
        gap: 0.8rem;
    }

    .event-card {
        height: 300px;
    }

    .events-section .section-header,
    .guide-section .section-header {
        margin-bottom: 2.5rem;
    }

    .hero-tagline {
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.3rem;
    }

    .tagline-item + .tagline-item::before {
        content: none;
    }

    .tagline-item {
        padding: 0 0.3rem;
    }

    .guide-grid {
        gap: 1.2rem;
    }

    .guide-circle {
        width: 145px;
        height: 145px;
    }

    .brand-stats {
        gap: 1.5rem;
    }

    .footer-top-row {
        margin-bottom: 2.5rem;
        padding-bottom: 2rem;
    }

    .footer-big-logo {
        font-size: clamp(2.5rem, 12vw, 4rem);
        letter-spacing: 6px;
    }

    .prefooter-cta {
        padding: 60px 1.5rem 80px;
    }

    .hero-glow-ring,
    .hero-glow-ring.ring-2 {
        display: none;
    }
}

/* =============================================
   ACCESSIBILITY — prefers-reduced-motion
   ============================================= */
@media (prefers-reduced-motion: reduce) {
    .hero-glow-ring,
    .hero-logo-glow,
    .particle,
    .ticker-track,
    .marquee-track,
    .brand-marquee-track,
    .prefooter-ticker-track,
    .hero-scroll .scroll-line,
    .countdown-sep,
    .guide-circle {
        animation: none;
    }

    .guide-circle-inner {
        transition: none;
    }
}
