/* ============================================================
   彩虹郵輪 — rainbow.css
   Theme: Purple (#9B59B6) + Teal + Rainbow spectrum
   ============================================================ */

/* ─── VARIABLES ─────────────────────────────────────────────── */
:root {
  --rb-purple:       #9B59B6;
  --rb-purple-dark:  #7d3f9a;
  --rb-purple-glow:  rgba(155, 89, 182, 0.35);
  --rb-teal:         #1abc9c;
  --rb-dark-bg:      #1a0f2a;
  --rb-dark-mid:     #130a20;
  --rb-card-bg:      #1e1030;
  --rb-card-border:  #2d1a45;
}

/* ─── FOOTER (reused from nafas pattern) ────────────────────── */
.footer {
  background-color: #050505;
  border-top: 1px solid #2a2a2a;
  padding: 60px 0 0;
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: space-between;
  padding-bottom: 40px;
  border-bottom: 1px solid #2a2a2a;
  margin-bottom: 30px;
}

.footer-brand .footer-logo {
  font-family: var(--font-deco);
  font-size: 2.2rem;
  color: var(--white);
  line-height: 1;
  margin-bottom: 8px;
}

.footer-brand .footer-tagline {
  font-family: var(--font-en);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  color: #666;
  text-transform: uppercase;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  align-items: flex-start;
  max-width: 400px;
}

.footer-links a {
  font-family: var(--font-tc);
  font-size: 0.88rem;
  color: #888;
  transition: color 0.2s;
}

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

.footer-social {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #161616;
  border: 1px solid #2a2a2a;
  color: #888;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}

.footer-social a:hover {
  background-color: var(--yellow);
  color: #0a0a0a;
  border-color: var(--yellow);
}

.footer-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  padding-bottom: 30px;
  border-bottom: 1px solid #2a2a2a;
  margin-bottom: 20px;
}

.footer-contact-item {
  font-family: var(--font-tc);
  font-size: 0.82rem;
  color: #666;
  display: flex;
  align-items: center;
  gap: 6px;
}

.footer-contact-item i { color: var(--yellow); }

.footer-copyright {
  text-align: center;
  font-family: var(--font-en);
  font-size: 0.75rem;
  color: #444;
  padding: 20px 0;
  letter-spacing: 0.05em;
}

/* ─── RAINBOW HERO ───────────────────────────────────────────── */
.rb-hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 620px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.rb-hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #1a0f2a 0%, #0f1a2a 40%, #0a1520 70%, #080d18 100%);
}

.rb-hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 50% at 80% 30%, rgba(155, 89, 182, 0.2) 0%, transparent 55%),
    radial-gradient(ellipse 40% 60% at 15% 75%, rgba(26, 188, 156, 0.1) 0%, transparent 50%);
}

.rb-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(26, 15, 42, 0.7) 0%,
    rgba(26, 15, 42, 0.3) 60%,
    transparent 100%
  );
  z-index: 1;
}

/* Rainbow spectrum bottom bar */
.rb-rainbow-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(
    to right,
    #e74c3c,
    #e67e22,
    #f1c40f,
    #2ecc71,
    #3498db,
    #9b59b6,
    #e91e8c
  );
  z-index: 3;
}

.rb-hero .container-fluid {
  position: relative;
  z-index: 2;
  height: 100%;
}

.rb-hero-content { padding-top: 80px; }

.rb-event-label {
  font-family: var(--font-en);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.4em;
  color: var(--rb-purple);
  text-transform: uppercase;
  margin-bottom: 16px;
  opacity: 0.85;
}

.rb-hero-title {
  font-family: var(--font-deco);
  font-size: clamp(3.5rem, 9vw, 7rem);
  line-height: 0.95;
  letter-spacing: 0.02em;
  margin-bottom: 16px;
  background: linear-gradient(135deg, #e74c3c 0%, #f39c12 20%, #f1c40f 35%, #2ecc71 50%, #3498db 70%, #9b59b6 85%, #e91e8c 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.rb-hero-subtitle {
  font-family: var(--font-tc);
  font-size: clamp(1.2rem, 2.5vw, 1.8rem);
  font-weight: 300;
  color: var(--rb-purple);
  letter-spacing: 0.2em;
  margin-bottom: 8px;
}

.rb-hero-en {
  font-family: var(--font-en);
  font-size: clamp(0.85rem, 1.5vw, 1.05rem);
  font-weight: 300;
  color: rgba(155, 89, 182, 0.6);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  margin-bottom: 32px;
}

.rb-hero-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 4px;
  margin-bottom: 40px;
}

.rb-meta-item {
  font-family: var(--font-tc);
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  display: flex;
  align-items: center;
  gap: 6px;
}

.rb-meta-item i { color: var(--rb-purple); }

.rb-meta-divider {
  color: var(--rb-card-border);
  margin: 0 8px;
  font-size: 1.2rem;
}

.rb-hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.rb-btn-primary {
  font-family: var(--font-en);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background-color: var(--rb-purple);
  color: var(--white);
  border: 2px solid var(--rb-purple);
  padding: 12px 28px;
  border-radius: 4px;
  transition: background-color 0.25s, color 0.25s, box-shadow 0.25s;
}

.rb-btn-primary:hover {
  background-color: transparent;
  color: var(--rb-purple);
  box-shadow: 0 0 24px var(--rb-purple-glow);
}

.rb-btn-outline {
  font-family: var(--font-en);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background-color: transparent;
  color: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 12px 28px;
  border-radius: 4px;
  transition: color 0.25s, border-color 0.25s;
}

.rb-btn-outline:hover {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.6);
}

/* Spectrum circle visual */
.rb-hero-visual { position: relative; }

.rb-spectrum-circle {
  position: relative;
  width: 300px;
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 80px;
}

.rb-circle-ring {
  position: absolute;
  border-radius: 50%;
}

.rb-ring-1 {
  width: 300px;
  height: 300px;
  background: conic-gradient(
    from 0deg,
    #e74c3c, #e67e22, #f1c40f, #2ecc71,
    #3498db, #9b59b6, #e91e8c, #e74c3c
  );
  animation: rbSpin 10s linear infinite;
  opacity: 0.3;
}

.rb-ring-2 {
  width: 250px;
  height: 250px;
  background: conic-gradient(
    from 180deg,
    #e74c3c, #e67e22, #f1c40f, #2ecc71,
    #3498db, #9b59b6, #e91e8c, #e74c3c
  );
  animation: rbSpin 7s linear infinite reverse;
  opacity: 0.2;
}

@keyframes rbSpin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

.rb-circle-inner {
  position: relative;
  z-index: 2;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background-color: var(--rb-dark-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
  color: var(--rb-teal);
  border: 2px solid rgba(155, 89, 182, 0.3);
  animation: rbPulse 4s ease-in-out infinite;
}

@keyframes rbPulse {
  0%, 100% { box-shadow: 0 0 20px rgba(155, 89, 182, 0.2); }
  50%       { box-shadow: 0 0 50px rgba(155, 89, 182, 0.5); }
}

/* Scroll hint */
.rb-scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: rgba(155, 89, 182, 0.5);
  font-family: var(--font-en);
  font-size: 0.6rem;
  letter-spacing: 0.3em;
  font-weight: 600;
  animation: scrollBounce 2.5s ease-in-out infinite;
}

/* ─── SECTIONS (common) ──────────────────────────────────────── */
.rb-section { padding: 100px 0; }

.rb-overview { background-color: var(--rb-dark-bg); }

/* ─── OVERVIEW ───────────────────────────────────────────────── */
.rb-lead-text {
  font-family: var(--font-tc);
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--rb-purple);
  line-height: 1.8;
  margin-bottom: 20px;
  padding-left: 16px;
  border-left: 3px solid var(--rb-purple);
}

.rb-body-text {
  font-family: var(--font-tc);
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.72);
  line-height: 2;
  margin-bottom: 16px;
}

.rb-highlight-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.rb-tag {
  font-family: var(--font-tc);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 5px 14px;
  border-radius: 30px;
  border: 1px solid var(--rb-purple);
  color: var(--rb-purple);
  background-color: rgba(155, 89, 182, 0.1);
  transition: background-color 0.2s, color 0.2s;
}

.rb-tag:hover {
  background-color: var(--rb-purple);
  color: var(--white);
}

/* ─── PERFORMERS ─────────────────────────────────────────────── */
.rb-performers { background-color: var(--rb-dark-mid); }

.rb-performer-card {
  background-color: var(--rb-card-bg);
  border: 1px solid var(--rb-card-border);
  border-radius: 14px;
  overflow: hidden;
  height: 100%;
  transition: transform 0.35s, border-color 0.35s, box-shadow 0.35s;
}

.rb-performer-card:hover {
  transform: translateY(-8px);
  border-color: var(--rb-purple);
  box-shadow: 0 12px 40px var(--rb-purple-glow);
}

.rb-performer-img {
  border-radius: 0;
  border-bottom: 1px solid var(--rb-card-border);
}

.rb-performer-info {
  padding: 16px;
}

.rb-performer-name {
  font-family: var(--font-en);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 4px;
  letter-spacing: 0.03em;
}

.rb-performer-genre {
  font-family: var(--font-en);
  font-size: 0.75rem;
  color: var(--rb-purple);
  margin-bottom: 6px;
}

.rb-performer-origin {
  font-family: var(--font-tc);
  font-size: 0.75rem;
  color: #666;
  display: flex;
  align-items: center;
  gap: 4px;
}

.rb-performer-origin i { color: var(--rb-teal); font-size: 0.7rem; }

.rb-performer-tba {
  opacity: 0.6;
}

/* ─── VIDEO ──────────────────────────────────────────────────── */
.rb-video-section { background-color: var(--rb-dark-bg); }

.rb-video-wrapper {
  max-width: 900px;
  margin: 0 auto;
}

.rb-video-placeholder {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  background: linear-gradient(135deg, var(--rb-card-bg) 0%, var(--rb-dark-mid) 100%);
  border: 1px solid var(--rb-card-border);
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  transition: border-color 0.3s;
}

.rb-video-placeholder:hover { border-color: var(--rb-purple); }

.rb-video-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 60% at 50% 50%, rgba(155, 89, 182, 0.06) 0%, transparent 70%);
}

.rb-video-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -60%);
  font-size: 5rem;
  color: var(--rb-purple);
  opacity: 0.7;
  transition: opacity 0.3s, transform 0.3s;
  z-index: 1;
}

.rb-video-placeholder:hover .rb-video-play {
  opacity: 1;
  transform: translate(-50%, -60%) scale(1.1);
}

.rb-video-label {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-tc);
  font-size: 0.85rem;
  color: rgba(155, 89, 182, 0.6);
  white-space: nowrap;
  z-index: 1;
}

/* ─── TICKETS ────────────────────────────────────────────────── */
.rb-tickets { background-color: var(--rb-dark-mid); }

.rb-ticket-card {
  background-color: var(--rb-card-bg);
  border: 1px solid var(--rb-card-border);
  border-radius: 16px;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.35s, border-color 0.35s, box-shadow 0.35s;
}

.rb-ticket-card:hover {
  transform: translateY(-8px);
  border-color: var(--rb-purple);
  box-shadow: 0 12px 40px var(--rb-purple-glow);
}

.rb-ticket-featured {
  border-color: var(--rb-purple);
  box-shadow: 0 4px 30px var(--rb-purple-glow);
  transform: scale(1.03);
}

.rb-ticket-featured:hover {
  transform: scale(1.03) translateY(-8px);
}

.rb-ticket-badge {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #9b59b6, #e91e8c);
  color: var(--white);
  font-family: var(--font-en);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  padding: 5px 16px;
  border-radius: 0 0 8px 8px;
  white-space: nowrap;
}

.rb-ticket-header {
  padding: 36px 28px 24px;
  text-align: center;
  background: linear-gradient(135deg, rgba(155, 89, 182, 0.1) 0%, transparent 100%);
  border-bottom: 1px solid var(--rb-card-border);
}

.rb-ticket-tier {
  font-family: var(--font-deco);
  font-size: 1.2rem;
  color: var(--rb-purple);
  letter-spacing: 0.1em;
  margin-bottom: 12px;
}

.rb-ticket-featured .rb-ticket-tier {
  background: linear-gradient(135deg, #9b59b6, #e91e8c);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.rb-ticket-price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 4px;
  margin-bottom: 4px;
}

.rb-price-currency {
  font-family: var(--font-en);
  font-size: 1rem;
  font-weight: 700;
  color: var(--gray-text);
}

.rb-price-num {
  font-family: var(--font-en);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
}

.rb-ticket-per {
  font-family: var(--font-tc);
  font-size: 0.78rem;
  color: #666;
  text-align: center;
}

.rb-ticket-body {
  padding: 24px 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.rb-ticket-perks {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.rb-ticket-perks li {
  font-family: var(--font-tc);
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.75);
  display: flex;
  align-items: center;
  gap: 10px;
}

.rb-ticket-perks li i {
  color: var(--rb-teal);
  font-size: 0.9rem;
  flex-shrink: 0;
}

.rb-perk-na {
  opacity: 0.35;
}

.rb-perk-na i {
  color: #555 !important;
}

.rb-ticket-btn {
  font-family: var(--font-en);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background-color: transparent;
  color: var(--rb-purple);
  border: 1px solid var(--rb-purple);
  padding: 10px 24px;
  border-radius: 4px;
  width: 100%;
  text-align: center;
  transition: background-color 0.2s, color 0.2s, box-shadow 0.2s;
}

.rb-ticket-btn:hover {
  background-color: var(--rb-purple);
  color: var(--white);
  box-shadow: 0 0 20px var(--rb-purple-glow);
}

.rb-ticket-btn-featured {
  background: linear-gradient(135deg, #9b59b6, #e91e8c);
  color: var(--white);
  border-color: transparent;
}

.rb-ticket-btn-featured:hover {
  background: linear-gradient(135deg, #7d3f9a, #c2177a);
  color: var(--white);
  box-shadow: 0 0 30px var(--rb-purple-glow);
}

/* ─── FAQ ────────────────────────────────────────────────────── */
.rb-faq { background-color: var(--rb-dark-bg); }

.rb-accordion .rb-accordion-item {
  background-color: var(--rb-card-bg);
  border: 1px solid var(--rb-card-border);
  border-radius: 10px !important;
  margin-bottom: 12px;
  overflow: hidden;
}

.rb-accordion .rb-accordion-item:last-child { margin-bottom: 0; }

.rb-accordion-btn {
  background-color: var(--rb-card-bg);
  color: var(--white);
  font-family: var(--font-tc);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 18px 24px;
  border-radius: 10px !important;
  box-shadow: none !important;
  transition: color 0.2s, background-color 0.2s;
}

.rb-accordion-btn:not(.collapsed) {
  background-color: rgba(155, 89, 182, 0.1);
  color: var(--rb-purple);
}

.rb-accordion-btn::after {
  filter: invert(1);
  opacity: 0.4;
}

.rb-accordion-btn:not(.collapsed)::after {
  opacity: 1;
  filter: invert(50%) sepia(80%) saturate(500%) hue-rotate(260deg) brightness(110%);
}

.rb-accordion-body {
  background-color: rgba(30, 16, 48, 0.5);
  color: rgba(255, 255, 255, 0.72);
  font-family: var(--font-tc);
  font-size: 0.9rem;
  line-height: 2;
  padding: 16px 24px 20px;
}

/* ─── RESPONSIVE ─────────────────────────────────────────────── */
@media (max-width: 991.98px) {
  .rb-section { padding: 70px 0; }
  .rb-hero-content { padding-top: 40px; }
  .rb-ticket-featured { transform: scale(1); }
  .rb-ticket-featured:hover { transform: translateY(-8px); }
}

@media (max-width: 767.98px) {
  .rb-hero-title { font-size: clamp(2.8rem, 12vw, 5rem); }
  .rb-hero-meta { flex-direction: column; gap: 8px; }
  .rb-meta-divider { display: none; }
}

@media (max-width: 575.98px) {
  .rb-section { padding: 60px 0; }
  .rb-hero-cta { flex-direction: column; align-items: flex-start; }
  .rb-btn-primary, .rb-btn-outline { width: 100%; text-align: center; }
  .footer-top { flex-direction: column; gap: 28px; }
}

@media (prefers-reduced-motion: reduce) {
  .rb-ring-1, .rb-ring-2, .rb-circle-inner, .rb-scroll-hint { animation: none; }
}
