﻿
  :root {
    --maple-gold: #FFD700;
    --maple-orange: #FF8C00;
    --maple-red: #CC2200;
    --maple-blue: #1A3A6E;
    --maple-deep: #FDF6E3;
    --maple-purple: #3D1A6E;
    --maple-light: #2A1800;
    --maple-glow: #FFE566;
  }

  * { margin: 0; padding: 0; box-sizing: border-box; }
  html { scroll-behavior: smooth; }

  body {
    background: var(--maple-deep);
    color: var(--maple-light);
    font-family: 'Noto Sans TC', sans-serif;
    overflow-x: hidden;
    cursor: default;
  }

  /* ── STAR PARTICLES ── */
  .stars {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    pointer-events: none;
    z-index: 9998;
    overflow: hidden;
  }
  .star {
    position: absolute;
    width: 2px; height: 2px;
    background: white;
    border-radius: 50%;
    animation: twinkle var(--d) ease-in-out infinite;
    opacity: 0;
  }
  @keyframes twinkle {
    0%, 100% { opacity: 0; transform: scale(0.5); }
    50% { opacity: 1; transform: scale(1.5); }
  }

  /* ── NAVIGATION ── */
  nav {
    position: fixed;
    top: 0; width: 100%;
    z-index: 100;
    padding: 18px 60px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0;
    background: rgba(10,14,26,0.92);
    border-bottom: 1px solid rgba(255,215,0,0.15);
  }

  nav .nav-btn {
    margin-left: auto;
  }

  .nav-btn-register {
    background: linear-gradient(135deg, #00c853 0%, #007a2e 100%);
    color: #ffffff;
    border: 2px solid #69f0ae;
    padding: 10px 28px;
    font-family: 'Noto Sans TC', sans-serif;
    font-size: 0.95rem;
    letter-spacing: 2px;
    cursor: pointer;
    border-radius: 50px;
    transition: all 0.3s;
    font-weight: 900;
    box-shadow: 0 0 15px rgba(0,200,83,0.5), 0 4px 12px rgba(0,0,0,0.5);
    margin-left: 10px;
  }
  .nav-btn-register:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 25px rgba(0,200,83,0.9), 0 6px 16px rgba(0,0,0,0.5);
    filter: brightness(1.1);
  }

  .nav-links {
    display: flex;
    gap: 36px;
    list-style: none;
    margin-left: 50px;
  }
  .nav-links a {
    color: #FFD700;
    text-decoration: none;
    font-size: 1.05rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: color 0.3s;
    position: relative;
  }
  .nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px; left: 0;
    width: 0; height: 1px;
    background: var(--maple-gold);
    transition: width 0.3s;
  }
  .nav-links a:hover { color: var(--maple-gold); }
  .nav-links a:hover::after { width: 100%; }

  .nav-btn {
    background: linear-gradient(135deg, #FFD700 0%, #FF6B00 100%);
    color: #1a0500;
    border: 2px solid rgba(255,255,255,0.5);
    padding: 10px 28px;
    font-family: 'Noto Sans TC', sans-serif;
    font-size: 0.95rem;
    letter-spacing: 2px;
    cursor: pointer;
    border-radius: 50px;
    transition: all 0.3s;
    font-weight: 900;
    box-shadow: 0 0 18px rgba(255,160,0,0.7), 0 4px 12px rgba(0,0,0,0.5);
    text-shadow: 0 1px 2px rgba(255,255,255,0.3);
    position: relative;
    overflow: hidden;
  }
  .nav-btn::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.4s;
  }
  .nav-btn:hover::before { left: 100%; }
  .nav-btn:hover { transform: translateY(-2px); box-shadow: 0 0 30px rgba(255,160,0,1), 0 6px 16px rgba(0,0,0,0.5); filter: brightness(1.1); }

  /* ── HERO ── */
  .hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding: 120px 20px 80px;
  }

  .hero-bg {
    position: absolute;
    inset: 0;
    background: url('images/首頁背景2.png') center/cover no-repeat;
    z-index: 1;  
  }

  /* Floating orbs */
  .orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    animation: floatOrb var(--d) ease-in-out infinite alternate;
    z-index: 1;
  }
  @keyframes floatOrb {
    from { transform: translate(0, 0) scale(1); }
    to { transform: translate(var(--tx), var(--ty)) scale(1.1); }
  }

  .hero-content {
    position: relative;
    z-index: 10;
    animation: heroEnter 1.2s cubic-bezier(0.16,1,0.3,1) both;
  }
  @keyframes heroEnter {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
  }

  .hero-subtitle {
    font-size: 0.8rem;
    letter-spacing: 6px;
    text-transform: uppercase;
    color: #FFD700;
    font-weight: 900;
    margin-top: -10px;
    margin-bottom: 60px;
    text-shadow: 0 0 15px rgba(255,180,0,0.9), 2px 2px 6px rgba(0,0,0,1);
    animation: heroEnter 1.2s 0.1s cubic-bezier(0.16,1,0.3,1) both;
  }

  .hero-title {
    font-family: 'Cinzel Decorative', serif;
    font-size: clamp(3rem, 10vw, 7rem);
    font-weight: 900;
    line-height: 1;
    background: linear-gradient(135deg, #FFF5CC 0%, var(--maple-gold) 40%, var(--maple-orange) 70%, #FF4400 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 40px rgba(255,180,0,0.4));
    margin-bottom: 10px;
    animation: heroEnter 1.2s 0.2s cubic-bezier(0.16,1,0.3,1) both;
  }

  .hero-title-jp {
    font-family: 'Noto Sans TC', sans-serif;
    font-size: clamp(1rem, 3vw, 1.8rem);
    font-weight: 900;
    letter-spacing: 10px;
    color: #FFD700;
    text-shadow: 0 0 20px rgba(255,180,0,0.9), 2px 2px 8px rgba(0,0,0,0.9), -1px -1px 4px rgba(0,0,0,0.8);
    margin-top: 240px;
    margin-bottom: 32px;
    animation: heroEnter 1.2s 0.3s cubic-bezier(0.16,1,0.3,1) both;
  }

  .hero-desc {
    max-width: 560px;
    margin: 0 auto 28px;
    margin-top: 360px;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.8;
    background: linear-gradient(135deg, #FFD700 0%, #FF8C00 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(2px 2px 4px rgba(0,0,0,1)) drop-shadow(-1px -1px 3px rgba(0,0,0,0.9));
    padding: 0;
    animation: heroEnter 1.2s 0.4s cubic-bezier(0.16,1,0.3,1) both;
  }

  .hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 30px;
    animation: heroEnter 1.2s 0.5s cubic-bezier(0.16,1,0.3,1) both;
  }

  .btn-primary {
    background: linear-gradient(135deg, #FF6B00 0%, #FF3300 100%);
    color: #ffffff;
    border: 3px solid #FFD700;
    padding: 16px 44px;
    font-size: 1rem;
    font-weight: 900;
    letter-spacing: 3px;
    cursor: pointer;
    border-radius: 50px;
    box-shadow: 0 0 25px rgba(255,100,0,0.9), 0 6px 20px rgba(0,0,0,0.6), inset 0 1px 0 rgba(255,255,255,0.3);
    transition: all 0.3s;
    font-family: 'Noto Sans TC', sans-serif;
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
    text-shadow: 0 1px 3px rgba(0,0,0,0.5);
  }
  .btn-primary::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.35), transparent);
    transition: left 0.5s;
  }
  .btn-primary:hover::before { left: 100%; }
  .btn-primary:hover { transform: translateY(-4px); box-shadow: 0 0 40px rgba(255,100,0,1), 0 10px 30px rgba(0,0,0,0.5); filter: brightness(1.15); }

  .btn-secondary {
    background: linear-gradient(135deg, #7B2FBE 0%, #3A0CA3 100%);
    color: #FFD700;
    border: 3px solid #FFD700;
    box-shadow: 0 0 20px rgba(255,215,0,0.5), 0 6px 20px rgba(0,0,0,0.6), inset 0 1px 0 rgba(255,255,255,0.1);
    text-shadow: 0 0 12px rgba(255,215,0,0.8);
    padding: 16px 44px;
    font-size: 1rem;
    font-weight: 900;
    letter-spacing: 3px;
    cursor: pointer;
    border-radius: 50px;
    transition: all 0.3s;
    font-family: 'Noto Sans TC', sans-serif;
    text-transform: uppercase;
  }
  .btn-secondary:hover {
    background: rgba(255,215,0,0.2);
    border-color: #fff;
    color: #fff;
    text-shadow: 0 0 15px rgba(255,255,255,0.9);
    box-shadow: 0 0 30px rgba(255,215,0,0.8), 0 8px 25px rgba(0,0,0,0.5);
    transform: translateY(-4px);
  }

  .btn-register {
    background: linear-gradient(135deg, #00c853 0%, #007a2e 100%);
    color: #ffffff;
    border: 3px solid #69f0ae;
    padding: 16px 44px;
    font-size: 1rem;
    font-weight: 900;
    letter-spacing: 3px;
    cursor: pointer;
    border-radius: 50px;
    box-shadow: 0 0 25px rgba(0,200,83,0.7), 0 6px 20px rgba(0,0,0,0.6), inset 0 1px 0 rgba(255,255,255,0.2);
    transition: all 0.3s;
    font-family: 'Noto Sans TC', sans-serif;
    text-transform: uppercase;
    text-shadow: 0 1px 3px rgba(0,0,0,0.5);
  }
  .btn-register:hover {
    transform: translateY(-4px);
    box-shadow: 0 0 40px rgba(0,200,83,1), 0 10px 30px rgba(0,0,0,0.5);
    filter: brightness(1.15);
  }

  /* ── SCROLL INDICATOR ── */
  .scroll-hint {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255,215,0,0.5);
    font-size: 0.7rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    animation: bounce 2s ease-in-out infinite;
  }
  .scroll-arrow {
    width: 20px; height: 20px;
    border-right: 1px solid rgba(255,215,0,0.5);
    border-bottom: 1px solid rgba(255,215,0,0.5);
    transform: rotate(45deg);
  }
  @keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(8px); }
  }

  /* ── DIVIDER ── */
  .divider {
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--maple-gold), var(--maple-orange), var(--maple-gold), transparent);
    position: relative;
  }
  .divider::before {
    content: '✦';
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    color: var(--maple-gold);
    background: var(--maple-deep);
    padding: 0 16px;
    font-size: 1rem;
  }

  /* ── SECTION ── */
  section {
    position: relative;
    z-index: 5;
    padding: 100px 60px;
  }

  .section-label {
    font-size: 0.7rem;
    letter-spacing: 6px;
    text-transform: uppercase;
    color: var(--maple-orange);
    margin-bottom: 8px;
  }

  .section-title {
    font-family: 'Cinzel Decorative', serif;
    font-size: clamp(1.8rem, 4vw, 3rem);
    background: linear-gradient(135deg, var(--maple-light), var(--maple-gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 10px;
  }

  .section-desc {
    max-width: 600px;
    color: rgba(255,245,204,0.65);
    line-height: 1.9;
    font-size: 0.95rem;
  }

  /* ── NEWS ── */
  .news-section {
    background: url('./images/背景3.png') no-repeat center center;
    background-size: cover;
	min-height: 104vh;
  }

  .news-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr;
    gap: 24px;
    margin-top: 36px;
  }

  .news-card {
  background: rgba(0, 0, 0, 0.85);
  border: 1px solid rgba(255,215,0,0.1);
  overflow: hidden;
  transition: all 0.4s;
  cursor: pointer;
  position: relative;
  }
  .news-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,140,0,0.05), transparent);
    opacity: 0;
    transition: opacity 0.4s;
  }
  .news-card:hover { transform: translateY(-6px); border-color: rgba(255,215,0,0.3); }
  .news-card:hover::before { opacity: 1; }

  .news-img {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
    display: block;
  }

  .news-img-placeholder {
    width: 100%;
    aspect-ratio: 16/9;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
  }

  .news-body {
    padding: 24px 24px 52px;
  }

  .news-tag {
    display: inline-block;
    background: linear-gradient(135deg, var(--maple-orange), var(--maple-red));
    color: white;
    font-size: 0.65rem;
    letter-spacing: 2px;
    padding: 4px 10px;
    text-transform: uppercase;
    margin-bottom: 12px;
    clip-path: polygon(4px 0%, 100% 0%, calc(100% - 4px) 100%, 0% 100%);
  }

  .news-tag.update { background: linear-gradient(135deg, #1A6E3A, #0E4A28); }
  .news-tag.event { background: linear-gradient(135deg, var(--maple-purple), #5D1A8E); }

  .news-title-text {
    font-size: 1rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.5;
    margin-bottom: 10px;
  }

  .news-card.featured .news-title-text { font-size: 1.3rem; }

  .news-date {
    font-size: 0.75rem;
    color: rgba(255,245,204,0.4);
    letter-spacing: 1px;
  }

  .news-more-btn {
    display: inline-block;
    position: absolute;
    bottom: 18px;
    right: 24px;
    padding: 10px 24px;
    font-size: 0.92rem;
    font-family: 'Noto Sans TC', sans-serif;
    color: #FF6600;
    font-weight: 700;
    background: #ffffff;
    border: none;
    border-radius: 20px;
    text-decoration: none;
    letter-spacing: 1px;
    transition: background 0.2s, color 0.2s;
  }
  .news-more-btn:hover {
    background: #FF6600;
    color: #ffffff;
    opacity: 1;
  }

  /* ── CLASSES ── */

  /* ── CLASS SHOWCASE ── */
  .class-showcase {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 0;
    min-height: 480px;
    border: 1px solid rgba(255,215,0,0.12);
    overflow: hidden;
  }

  .class-sidebar {
    background: #FFD700;
    border-right: 1px solid rgba(255,215,0,0.1);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 20px 0;
  }

  .class-tab {
    padding: 18px 32px;
    cursor: pointer;
    font-size: 1rem;
    color: rgba(255,245,204,0.45);
    font-weight: 400;
    letter-spacing: 2px;
    transition: all 0.3s;
    position: relative;
    border-left: 3px solid transparent;
  }
  .class-tab:hover { color: rgba(255,245,204,0.8); }
  .class-tab.active {
    color: var(--maple-gold);
    font-weight: 700;
    border-left-color: var(--maple-gold);
    background: rgba(255,215,0,0.05);
  }
  .class-tab .tab-dot {
    display: inline-block;
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--maple-gold);
    margin-left: 8px;
    opacity: 0;
    transition: opacity 0.3s;
    vertical-align: middle;
  }
  .class-tab.active .tab-dot { opacity: 1; }

  .class-panel {
    display: none;
    position: relative;
    overflow: hidden;
  }
  .class-panel.active { display: flex; }

  .class-panel-bg {
    position: absolute;
    inset: 0;
    opacity: 0.15;
    background-size: cover;
    background-position: center;
    filter: blur(8px);
  }

  .class-panel-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    width: 100%;
    padding: 48px;
    gap: 40px;
  }

  .class-panel-info { flex: 1; }

  .class-panel-en {
    font-family: "Cinzel Decorative", serif;
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 900;
    color: var(--panel-color, var(--maple-gold));
    opacity: 0.15;
    line-height: 1;
    margin-bottom: -20px;
    letter-spacing: 2px;
  }

  .class-panel-name {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--maple-light);
    margin-bottom: 12px;
  }

  .class-panel-tags {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
    flex-wrap: wrap;
  }

  .class-panel-tag {
    font-size: 0.7rem;
    letter-spacing: 2px;
    padding: 5px 14px;
    border: 1px solid var(--panel-color, var(--maple-gold));
    color: var(--panel-color, var(--maple-gold));
    clip-path: polygon(6px 0%, 100% 0%, calc(100% - 6px) 100%, 0% 100%);
  }

  .class-panel-desc {
    font-size: 0.9rem;
    color: rgba(255,245,204,0.65);
    line-height: 1.9;
    max-width: 380px;
    margin-bottom: 28px;
  }

  .class-panel-subs {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
  }

  .class-sub {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,215,0,0.1);
    font-size: 0.75rem;
    color: rgba(255,245,204,0.6);
    cursor: pointer;
    transition: all 0.3s;
  }
  .class-sub:hover {
    background: rgba(255,215,0,0.08);
    border-color: rgba(255,215,0,0.3);
    color: var(--maple-light);
  }

  .class-panel-img {
    width: 220px;
    height: 280px;
    object-fit: contain;
    filter: drop-shadow(0 0 30px var(--panel-color, rgba(255,215,0,0.4)));
    animation: charFloat 3s ease-in-out infinite;
    flex-shrink: 0;
  }

  .class-panel-emoji {
    width: 220px;
    height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 8rem;
    filter: drop-shadow(0 0 20px var(--panel-color, rgba(255,215,0,0.4)));
    animation: charFloat 3s ease-in-out infinite;
    flex-shrink: 0;
  }

  @keyframes charFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-12px); }
  }

  @media (max-width: 900px) {
    .class-showcase { grid-template-columns: 1fr; }
    .class-sidebar { flex-direction: row; overflow-x: auto; border-right: none; border-bottom: 1px solid rgba(255,215,0,0.1); padding: 0; }
    .class-tab { padding: 14px 20px; border-left: none; border-bottom: 3px solid transparent; white-space: nowrap; }
    .class-tab.active { border-left: none; border-bottom-color: var(--maple-gold); }
    .class-panel-content { flex-direction: column; padding: 32px 24px; }
    .class-panel-img, .class-panel-emoji { width: 160px; height: 200px; font-size: 6rem; }
  }

  .class-type {
    font-size: 0.65rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--class-color, var(--maple-gold));
    opacity: 0.8;
  }

  /* ── WORLD MAP ── */
  .world-section {
    padding: 40px 60px;
    position: relative;
    background: url('./images/地圖背景.png') no-repeat center center;
    background-size: cover;
    min-height: auto;
  }
  /* 第一個地圖（楓之谷世界）：上方30px，下方140px */
  .world-section-2 {
    padding: 30px 60px 140px;
  }
  .world-section-2 .section-label {
    color: rgba(255,255,255,0.85) !important;
  }
  .world-section-2 .section-title {
    background: linear-gradient(180deg, #FFEE55 0%, #FFD700 50%, #FFA500 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    font-family: 'Noto Sans TC', sans-serif !important;
    font-weight: 900 !important;
    font-size: clamp(2.8rem, 7vw, 5rem) !important;
    filter: none !important;
  }
  .world-section-2 .section-desc {
    color: rgba(255,255,255,0.85) !important;
  }
  /* 地圖1（維多利亞島）改成跟地圖2一樣黃色 */
  .world-section:not(.world-section-2) .section-label {
    color: rgba(255,255,255,0.85) !important;
  }
  .world-section:not(.world-section-2) .section-title {
    background: linear-gradient(180deg, #FFEE55 0%, #FFD700 50%, #FFA500 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-family: 'Noto Sans TC', sans-serif;
    font-weight: 900;
    font-size: clamp(2.8rem, 7vw, 5rem);
    filter: none;
  }
  .world-section:not(.world-section-2) .section-desc {
    color: rgba(255,255,255,0.85) !important;
  }
  /* 第二個地圖（維多利亞島）：上方不變，下方增加 */
  .world-section:not(.world-section-2) {
    padding: 100px 60px 100px;
    min-height: auto;
  }
  
  }
  .world-section > * {
    position: relative;
    z-index: 1;
  }
  /* world section blue/white overrides */
  .world-section .section-label {
    color: #8B5230;
  }
  .world-section .section-title {
    font-family: 'Noto Sans TC', sans-serif;
    font-size: clamp(2.8rem, 7vw, 5rem);
    font-weight: 900;
    background: linear-gradient(180deg, #D4956A 0%, #8B4513 50%, #5C2A00 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: none;
    letter-spacing: 4px;
  }
  .world-section .section-desc {
    color: #5C3317;
  }
  .world-section .world-grid {
    background: transparent;
  }
  .world-section .world-visual {
    border: 1px solid rgba(100,200,255,0.35);
    background: rgba(10,30,60,0.4);
    box-shadow: 0 0 40px rgba(80,180,255,0.15), inset 0 0 60px rgba(0,0,0,0.3);
  }
  .world-section .world-dot {
    background: #5BB8F5;
    box-shadow: 0 0 12px #5BB8F5;
  }
  .world-section .world-dot::before {
    border: 1px solid #5BB8F5;
    text-shadow: 0 0 6px #5BB8F5;
  }
  .world-section .location-item {
    background: rgba(255,255,255,0.88);
    border: 1px solid rgba(200,200,200,0.4);
    backdrop-filter: none;
    box-shadow: 0 2px 12px rgba(0,0,0,0.1);
  }
  .world-section .location-item {
    cursor: pointer;
    transition: all 0.3s ease;
  }
  .world-section .location-item:hover {
    background: rgba(40,40,40,0.55);
    border-color: rgba(100,100,100,0.4);
    box-shadow: 0 6px 24px rgba(0,0,0,0.3);
    transform: translateY(-2px);
  }
  .world-section .location-item:hover .location-name {
    color: #ddd;
  }
  .world-section .location-item:hover .location-desc {
    color: rgba(180,180,180,0.7);
  }
  .world-section .location-name {
    color: #2A1800;
  }
  .world-section .location-desc {
    color: rgba(60,30,0,0.6);
  }

  /* ── world section 上下 divider 改為白/藍色 ── */
  .divider--world-top,
  .divider--world-bottom {
    background: linear-gradient(90deg, transparent, rgba(160,210,255,0.6), rgba(200,230,255,0.8), rgba(160,210,255,0.6), transparent);
  }
  .divider--world-top::before,
  .divider--world-bottom::before {
    background: transparent;
    color: rgba(160,210,255,0.9);
    text-shadow: 0 0 8px rgba(160,210,255,0.5);
  }

  /* ── news-section 底部漸淡為透明（讓 world 背景透出）── */

  /* ── download-section 頂部漸淡為透明（讓 world 背景透出）── */
  .download-section {
    background: url('./images/背景2.png') no-repeat center center !important;
    background-size: cover !important;
	min-height: 71vh;
  }

  .world-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-top: 60px;
  }

  .world-visual {
    position: relative;
    height: auto;
    border: 1px solid rgba(255,215,0,0.3);
    overflow: hidden;
    background: #0A0E1A;
    box-shadow: 0 0 40px rgba(255,215,0,0.1), inset 0 0 60px rgba(0,0,0,0.5);
  }

  .world-map-art {
    position: relative;
    width: 100%;
  }

  .world-map-art img {
    width: 100%;
    height: auto;
    display: block;
    opacity: 0.95;
    filter: saturate(1.1) contrast(1.05);
  }

  .world-dots {
    position: absolute;
    inset: 0;
    pointer-events: none;
  }

  .world-dot {
    position: absolute;
    width: 12px; height: 12px;
    border-radius: 50%;
    background: var(--maple-gold);
    box-shadow: 0 0 12px var(--maple-gold);
    animation: pulse 2s ease-in-out infinite;
  }
  .world-dot::before {
    content: attr(data-name);
    position: absolute;
    bottom: 18px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.75rem;
    font-weight: 700;
    color: #fff;
    white-space: nowrap;
    letter-spacing: 1px;
    background: rgba(0,0,0,0.72);
    border: 1px solid var(--maple-gold);
    padding: 2px 8px;
    border-radius: 3px;
    text-shadow: 0 0 6px var(--maple-gold);
  }
  @keyframes pulse {
    0%, 100% { box-shadow: 0 0 6px var(--maple-gold); transform: scale(1); }
    50% { box-shadow: 0 0 18px var(--maple-gold), 0 0 30px rgba(255,215,0,0.3); transform: scale(1.3); }
  }

  .world-info { padding: 0; }

  .world-locations {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 36px;
  }

  .location-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: rgba(255,255,255,0.92);
    border: 1px solid rgba(200,200,200,0.4);
    cursor: pointer;
    transition: all 0.3s;
  }
  .location-item:hover {
    background: rgba(255,255,255,1);
    border-color: rgba(255,180,0,0.4);
  }
  .location-icon { font-size: 1.5rem; }
  .location-name {
    font-size: 0.85rem;
    font-weight: 700;
    color: #2A1800;
    margin-bottom: 3px;
  }
  .location-desc {
    font-size: 0.7rem;
    color: rgba(60,30,0,0.6);
    letter-spacing: 1px;
  }

  /* ── DOWNLOAD ── */
  .download-section {
    padding: 240px 60px;
    text-align: center;
    background:
      radial-gradient(ellipse 80% 60% at 50% 50%, rgba(61,26,110,0.4) 0%, transparent 70%),
      linear-gradient(180deg, #0A0E1A 0%, rgba(13,21,40,0.95) 100%);
    position: relative;
    overflow: hidden;
  }

  .download-section::before {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 600px; height: 600px;
    border-radius: 50%;
    border: 1px solid rgba(255,215,0,0.05);
    animation: rotate 30s linear infinite;
  }
  .download-section::after {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 400px; height: 400px;
    border-radius: 50%;
    border: 1px dashed rgba(255,140,0,0.07);
    animation: rotate 20s linear infinite reverse;
  }
  @keyframes rotate {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
  }

  .download-content { position: relative; z-index: 5; }

  .download-platforms {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 20px;
    flex-wrap: wrap;
  }

  .platform-btn {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 20px 44px;
    background: linear-gradient(135deg, rgba(30,10,0,0.85) 0%, rgba(80,30,0,0.85) 100%);
    border: 2px solid #FFD700;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s;
    text-align: left;
    box-shadow: 0 0 20px rgba(255,160,0,0.4), 0 6px 20px rgba(0,0,0,0.6);
    position: relative;
    overflow: hidden;
  }
  .platform-btn::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
    transition: left 0.5s;
  }
  .platform-btn:hover::before { left: 100%; }
  .platform-btn:hover {
    background: linear-gradient(135deg, rgba(60,20,0,0.95) 0%, rgba(120,50,0,0.95) 100%);
    border-color: #fff;
    transform: translateY(-5px);
    box-shadow: 0 0 35px rgba(255,160,0,0.8), 0 10px 30px rgba(0,0,0,0.6);
  }
  .platform-icon { font-size: 2.4rem; }
  .platform-label { font-size: 0.7rem; color: #FFD700; letter-spacing: 3px; text-transform: uppercase; }
  .platform-name { font-size: 1.1rem; font-weight: 900; color: #ffffff; text-shadow: 0 1px 4px rgba(0,0,0,0.8); }

  /* ── FOOTER ── */
  footer {
    padding: 16px 60px 12px;
    border-top: 1px solid rgba(255,215,0,0.08);
    background: rgba(5,7,13,0.95);
  }

  .footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 32px;
    margin-bottom: 12px;
  }

  .footer-brand .nav-logo { font-size: 1.2rem; display: block; margin-bottom: 16px; }
  .footer-brand p {
    font-size: 0.8rem;
    color: rgba(255,245,204,0.4);
    line-height: 1.8;
    max-width: 260px;
  }

  .footer-col h4 {
    font-size: 0.7rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--maple-gold);
    margin-bottom: 10px;
  }
  .footer-col ul { list-style: none; }
  .footer-col ul li { margin-bottom: 5px; }
  .footer-col ul li a {
    color: rgba(255,245,204,0.45);
    text-decoration: none;
    font-size: 0.82rem;
    transition: color 0.3s;
  }
  .footer-col ul li a:hover { color: var(--maple-light); }

  .footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 8px;
    border-top: 1px solid rgba(255,215,0,0.06);
  }
  .footer-bottom p {
    font-size: 0.75rem;
    color: rgba(255,245,204,0.25);
    letter-spacing: 1px;
  }

  .rating-badge {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.7rem;
    color: rgba(255,245,204,0.3);
  }
  .age-box {
    width: 36px; height: 36px;
    border: 1px solid rgba(255,245,204,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 700;
    color: rgba(255,245,204,0.5);
  }

  /* ── BOSS SECTION ── */
  .boss-section {
    padding: 50px 60px 60px;
    position: relative;
    overflow: hidden;
    background: url('./images/boss背景.png') no-repeat center center;
    background-size: cover;
  }

  .boss-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 0L60 30L30 60L0 30Z' fill='none' stroke='rgba(255,215,0,0.03)' stroke-width='0.5'/%3E%3C/svg%3E");
    pointer-events: none;
  }

  .boss-section .section-label { color: var(--maple-red); }
  .boss-section .section-title {
    background: linear-gradient(135deg, #FF6B6B, #CC2200, #FF4444);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
  }
  .boss-section .section-desc { color: rgba(255,200,200,0.65); }

  .boss-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0px;
    row-gap: -20px;
    margin-top: 0px;
  }

  .boss-card {
    position: relative;
    background: #000000;
    border: 1px solid rgba(255,68,68,0.12);
    overflow: hidden;
    cursor: pointer;
    transition: all 0.5s cubic-bezier(0.16,1,0.3,1);
	transform: scale(0.7);
	margin: -50px -25px;
  }

  .boss-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,0.85) 100%);
    z-index: 1;
    pointer-events: none;
  }

  .boss-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(204,34,0,0.1), transparent);
    opacity: 0;
    transition: opacity 0.4s;
    z-index: 1;
    pointer-events: none;
  }

  .boss-card:hover {
    transform: translateY(-1px) scale(0.75);
    border-color: rgba(255,68,68,0.4);
    box-shadow: 0 20px 60px rgba(204,34,0,0.2), 0 0 40px rgba(204,34,0,0.08);
  }

  .boss-card:hover::after { opacity: 1; }

  .boss-card:hover .boss-emoji {
    transform: scale(1.15);
    filter: drop-shadow(0 0 30px rgba(255,68,68,0.6));
  }

  .boss-card:hover .boss-hp-fill { animation: hpPulse 1.5s ease-in-out infinite; }

  @keyframes hpPulse {
    0%, 100% { filter: brightness(1); }
    50% { filter: brightness(1.4); }
  }

  .boss-visual {
    width: 100%;
    aspect-ratio: 4/3;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
  }

  .boss-visual-bg {
    position: absolute;
    inset: 0;
    opacity: 0.4;
  }

  .boss-emoji {
    font-size: 6rem;
    position: relative;
    z-index: 2;
    transition: all 0.5s cubic-bezier(0.16,1,0.3,1);
    animation: bossFloat 4s ease-in-out infinite;
  }

  @keyframes bossFloat {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-8px) scale(1.03); }
  }

  .boss-rank {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 3;
    font-size: 0.6rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    padding: 5px 14px;
    clip-path: polygon(6px 0%, 100% 0%, calc(100% - 6px) 100%, 0% 100%);
    font-weight: 700;
  }

  .boss-rank.normal { background: linear-gradient(135deg, #555, #333); color: #ccc; }
  .boss-rank.hard { background: linear-gradient(135deg, #CC2200, #991100); color: #FFD700; }
  .boss-rank.chaos { background: linear-gradient(135deg, #6B0099, #3D0066); color: #E0AAFF; }
  .boss-rank.extreme {
    background: linear-gradient(135deg, #FF0000, #CC0000);
    color: #FFD700;
    box-shadow: 0 0 12px rgba(255,0,0,0.4);
    animation: extremePulse 2s ease-in-out infinite;
  }

  @keyframes extremePulse {
    0%, 100% { box-shadow: 0 0 8px rgba(255,0,0,0.3); }
    50% { box-shadow: 0 0 20px rgba(255,0,0,0.6); }
  }

  .boss-info {
    position: relative;
    z-index: 2;
    padding: 20px 24px 24px;
    margin-top: -40px;
    background: #000000;
  }

  .boss-name {
    font-size: 1.2rem;
    font-weight: 900;
    color: #ffffff;
    letter-spacing: 2px;
    margin-bottom: 4px;
  }

  .boss-name-en {
    font-family: 'Cinzel Decorative', serif;
    font-size: 0.65rem;
    letter-spacing: 3px;
    color: rgba(255,245,204,0.35);
    margin-bottom: 14px;
  }

  .boss-hp-bar {
    width: 100%;
    height: 6px;
    background: rgba(255,255,255,0.08);
    overflow: hidden;
    margin-bottom: 14px;
    position: relative;
  }

  .boss-hp-fill {
    height: 100%;
    transition: width 1s ease;
    position: relative;
  }

  .boss-hp-fill::after {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    width: 20px;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.6));
  }

  .boss-stats {
    display: flex;
    gap: 16px;
    margin-bottom: 14px;
  }

  .boss-stat {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.7rem;
    color: rgba(255,245,204,0.5);
    letter-spacing: 1px;
  }

  .boss-stat-icon { font-size: 0.85rem; }

  .boss-stat-value {
    font-weight: 700;
    color: rgba(255,245,204,0.8);
  }

  .boss-desc {
    font-size: 1rem;
    color: rgba(255,245,204,0.45);
    line-height: 1.6;
    letter-spacing: 0.5px;
  }

  .boss-drops {
    display: flex;
    gap: 6px;
    margin-top: 14px;
    flex-wrap: wrap;
  }

  .boss-drop {
    font-size: 0.82rem;
    letter-spacing: 1px;
    padding: 5px 14px;
    background: rgba(255,215,0,0.06);
    border: 1px solid rgba(255,215,0,0.12);
    color: rgba(255,215,0,0.7);
    clip-path: polygon(4px 0%, 100% 0%, calc(100% - 4px) 100%, 0% 100%);
    transition: all 0.3s;
  }

  .boss-drop:hover {
    background: rgba(255,215,0,0.12);
    border-color: rgba(255,215,0,0.3);
    color: var(--maple-gold);
  }

  /* Boss divider */
  .divider--boss-top,
  .divider--boss-bottom {
    background: linear-gradient(90deg, transparent, rgba(204,34,0,0.5), rgba(255,68,68,0.7), rgba(204,34,0,0.5), transparent);
  }
  .divider--boss-top::before,
  .divider--boss-bottom::before {
    color: rgba(255,68,68,0.8);
    text-shadow: 0 0 8px rgba(255,68,68,0.5);
    background: var(--maple-deep);
  }

  /* ── RESPONSIVE ── */
  @media (max-width: 900px) {
    nav { padding: 16px 24px; }
    .nav-links { display: none; }
    section, .world-section, .download-section, footer { padding: 60px 24px; }
    .news-grid { grid-template-columns: 1fr; }
    .boss-grid { grid-template-columns: 1fr 1fr; }
    .boss-section { padding: 60px 24px; }
    .classes-scroll { grid-template-columns: repeat(3, 1fr); }
    .world-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .classes-header { flex-direction: column; align-items: flex-start; gap: 16px; }
  }

  @media (max-width: 480px) {
    .classes-scroll { grid-template-columns: repeat(2, 1fr); }
    .boss-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .hero-title { font-size: 3rem; }
  }


/* ══ 飄散楓葉 ══ */
.maple-leaves {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 9999;
  overflow: hidden;
}
.maple-leaves .mleaf {
  position: absolute;
  top: -120px;
  animation: mleafFall linear infinite;
}
.maple-leaves .mleaf:nth-child(1) { left: 8%;  animation-duration: 11s; animation-delay: 0s; }
.maple-leaves .mleaf:nth-child(2) { left: 30%; animation-duration: 13s; animation-delay: 2s; }
.maple-leaves .mleaf:nth-child(3) { left: 55%; animation-duration: 10s; animation-delay: 4s; }
.maple-leaves .mleaf:nth-child(4) { left: 78%; animation-duration: 14s; animation-delay: 1s; }
.maple-leaves .mleaf:nth-child(5) { left: 45%; animation-duration: 12s; animation-delay: 6s; }

@keyframes mleafFall {
  0%   { top: -120px; transform: rotate(0deg) translateX(0); opacity: 0.95; }
  15%  { transform: rotate(45deg) translateX(40px); }
  30%  { transform: rotate(90deg) translateX(-30px); opacity: 0.9; }
  45%  { transform: rotate(150deg) translateX(50px); }
  60%  { transform: rotate(200deg) translateX(-40px); opacity: 0.85; }
  75%  { transform: rotate(270deg) translateX(30px); }
  90%  { transform: rotate(330deg) translateX(-20px); opacity: 0.6; }
  100% { top: 100vh; transform: rotate(380deg) translateX(10px); opacity: 0; }
}

/* ══ 等級排行榜 ══ */
.ranking-section {
  padding: 60px 60px 40px;
  background: linear-gradient(180deg, rgba(10,14,26,1) 0%, rgba(20,10,5,1) 100%);
  text-align: center;
  position: relative;
  z-index: 1;
}
.ranking-label {
  font-size: 0.7rem;
  letter-spacing: 6px;
  text-transform: uppercase;
  color: var(--maple-orange);
  margin-bottom: 8px;
}
.ranking-title {
  font-family: 'Cinzel Decorative', serif;
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 900;
  background: linear-gradient(135deg, #FFF5CC, #FFD700, #FF8C00);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 32px;
}
.ranking-table { max-width: 700px; margin: 0 auto; }
.ranking-header {
  display: grid;
  grid-template-columns: 60px 1fr 1fr 100px;
  padding: 10px 20px;
  font-size: 0.7rem;
  letter-spacing: 2px;
  color: rgba(255,215,0,0.5);
  border-bottom: 1px solid rgba(255,215,0,0.15);
  margin-bottom: 8px;
}
.ranking-row {
  display: grid;
  grid-template-columns: 60px 1fr 1fr 100px;
  padding: 14px 20px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,215,0,0.06);
  margin-bottom: 6px;
  transition: background 0.2s;
  align-items: center;
}
.ranking-row:hover { background: rgba(255,215,0,0.06); border-color: rgba(255,215,0,0.2); }
.ranking-row.gold { background: rgba(255,215,0,0.08); border-color: rgba(255,215,0,0.3); }
.ranking-row.silver { background: rgba(200,200,210,0.06); border-color: rgba(200,200,210,0.2); }
.ranking-row.bronze { background: rgba(180,100,40,0.08); border-color: rgba(180,100,40,0.2); }
.rank-col { font-size: 1.1rem; }
.name-col { color: rgba(255,245,204,0.9); font-weight: 700; text-align: left; }
.class-col { color: rgba(255,215,0,0.6); font-size: 0.82rem; text-align: left; }
.level-col { color: var(--maple-orange); font-weight: 700; font-size: 0.9rem; text-align: right; }

/* Victoria 頁面底部留白 */
.victoria-section {
  padding-bottom: 160px !important;
}

/* ══ Nav 下拉選單 ══ */
.nav-dropdown {
  position: relative;
}
.nav-dropdown-toggle {
  color: rgba(255,245,204,0.75);
  text-decoration: none;
  font-size: 0.85rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  cursor: pointer;
  transition: color 0.3s;
}
.nav-dropdown-toggle:hover { color: var(--maple-gold); }
.nav-dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 0;
  width: auto;
  background: rgba(10,14,26,0.85);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,215,0,0.15);
  border-top: 2px solid rgba(255,215,0,0.4);
  list-style: none;
  padding: 4px 0 20px;
  z-index: 9999;
  margin-top: 0;
}
.nav-dropdown-menu li:first-child a {
  padding-top: 20px;
}
.nav-dropdown-menu li a {
  display: block;
  padding: 14px 12px;
  white-space: nowrap;
  color: rgba(255,245,204,0.75);
  text-decoration: none;
  font-size: 0.85rem;
  letter-spacing: 2px;
  text-align: center;
  text-transform: uppercase;
  transition: color 0.2s;
  position: relative;
}
.nav-dropdown-menu li a::after {
  content: '';
  position: absolute;
  bottom: 6px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--maple-gold);
  transition: width 0.3s;
}
.nav-dropdown-menu li a:hover {
  color: var(--maple-gold);
}
.nav-dropdown-menu li a:hover::after {
  width: 100%;
}
.nav-dropdown:hover .nav-dropdown-menu {
  display: block;
}
.nav-dropdown-menu {
  transition: opacity 0.3s ease;
}
.nav-dropdown:hover > .nav-dropdown-menu,
.nav-dropdown-menu:hover {
  display: block;
  opacity: 1;
}


/* ── 手機版漢堡選單 ── */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
    position: fixed;
    top: 12px;
    right: 16px;
    width: 42px;
    height: 42px;
    background: rgba(10,14,26,0.85);
    border-radius: 8px;
    border: none;
  }
  .stars {
    display: none !important;
  }
  .hamburger span {
    display: block;
    width: 20px;
    height: 2px;
    background: #FFD306;
    border-radius: 1px;
    transition: all 0.35s cubic-bezier(0.4,0,0.2,1);
  }
  .hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .hamburger.open span:nth-child(2) { opacity: 0; }
  .hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  nav {
    position: fixed;
    top: 0;
    right: 0;
    width: auto;
    background: transparent !important;
    padding: 0;
    z-index: 1001;
  }
   .nav-links {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(10,14,26,0.97);
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 24px;
    z-index: 1000;
    padding: 120px 20px 20px;
  }
  .nav-links.open { display: flex; }
  .nav-links li { list-style: none; }
  .nav-links a { font-size: 1.2rem; color: var(--maple-gold); letter-spacing: 3px; }
  .nav-dropdown-menu {
    position: static;
    background: transparent;
    display: none;
    padding-left: 20px;
  }
  .nav-dropdown.open .nav-dropdown-menu { display: block; }
.nav-btn { display: none; }
.nav-btn-register { display: none; }

.mobile-player {
  display: none !important;
}
@media (max-width: 768px) {
	 body {
    background: #0a0e1a;
  }
  .mobile-player {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #FFD306;
    border: none;
    color: #fff;
    font-size: 18px;
    cursor: pointer;
    position: fixed;
    top: 12px;
    left: 12px;
    z-index: 9999;
  }
  section:not(.hero) {
  margin-top: -80px !important;
  padding-top: 100px !important;
}

  /* Footer 手機版 */
  footer { padding: 16px 12px 8px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-brand img { height: 36px !important; }
  .footer-brand p { font-size: 0.6rem; line-height: 1.5; margin-bottom: 0; }
  .footer-col h4 { font-size: 0.65rem; letter-spacing: 1px; margin-bottom: 6px; }
  .footer-col ul li { margin-bottom: 2px; }
  .footer-col ul li a { font-size: 0.65rem; }
  .footer-bottom p { font-size: 0.62rem; }
  .footer-col { display: none; }

  /* 首頁手機版背景 */
  .hero-bg {
    background-image: url('images/webp/手機首頁.webp') !important;
    background-size: cover !important;
    background-position: center !important;
  }
  .scroll-hint {
    display: none;
  }
  .hero {
    height: 95vh;
    min-height: unset !important;
    padding: 60px 20px 40px;
    overflow: hidden;
   }
  .hero-content {
    margin-top: 0;
  }
  .hero-subtitle {
    position: relative;
    top: -40px;
  }
  .hero-title-jp {
    position: relative;
    top: -60px;
  }
  .hero-desc {
    position: relative;
    top: 130px;
  }
  .hero-buttons {
    position: relative;
    top: 130px;
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }
  .btn-primary, .btn-secondary, .btn-register {
    width: 80%;
    text-align: center;
    padding: 14px 20px;
    font-size: 0.9rem;
  }
  .hero-title {
    font-size: clamp(2rem, 8vw, 4rem);
  }
  .hero-desc {
    font-size: 0.9rem;
    margin-top: 0;
  }
}
@media (min-width: 769px) {
  .hamburger { display: none; }