/*
 * rnr.css — RnR 搖滾路跑 Event-Specific Styles
 * Color theme: energetic red-orange (#E74C3C → #F39C12)
 */

/* ── CSS Custom Properties ── */
:root {
  --rnr-red:    #E74C3C;
  --rnr-orange: #F39C12;
  --rnr-accent: #F5C518;
  --rnr-dark:   #0a0a0a;
  --rnr-white:  #ffffff;
}

/* ==============================
   EVENT SUB-NAV
============================== */
.event-subnav {
  position: sticky;
  top: 68px; /* below main navbar */
  z-index: 900;
  background-color: rgba(10, 10, 10, 0.97);
  border-bottom: 1px solid rgba(231, 76, 60, 0.35);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.event-subnav .nav-link {
  font-family: 'Inter', 'Noto Sans TC', sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
  padding: 0.9rem 1rem;
  transition: color 0.2s ease;
}

.event-subnav .nav-link:hover,
.event-subnav .nav-link.active {
  color: var(--rnr-orange);
}

.event-subnav .nav-link.active {
  border-bottom: 2px solid var(--rnr-orange);
}

/* ==============================
   HERO SECTION
============================== */
.rnr-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--rnr-red) 0%, var(--rnr-orange) 100%);
  overflow: hidden;
}

/* Decorative background texture */
.rnr-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(
      45deg,
      rgba(0,0,0,0.06) 0px,
      rgba(0,0,0,0.06) 1px,
      transparent 1px,
      transparent 12px
    );
  pointer-events: none;
}

.rnr-hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 180px;
  background: linear-gradient(to bottom, transparent, rgba(10,10,10,0.85));
  pointer-events: none;
}

.rnr-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 2rem 1rem;
}

.rnr-hero-eyebrow {
  font-family: 'Inter', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  margin-bottom: 1rem;
}

.rnr-hero-title {
  font-family: 'Abril Fatface', serif;
  font-size: clamp(2rem, 6vw, 4.5rem);
  font-weight: 400;
  color: var(--rnr-white);
  line-height: 1.1;
  letter-spacing: 0.01em;
  margin-bottom: 0.5rem;
  text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.rnr-hero-title-sub {
  font-family: 'Noto Sans TC', sans-serif;
  font-size: clamp(1.1rem, 3vw, 1.8rem);
  font-weight: 700;
  color: var(--rnr-white);
  margin-bottom: 1.2rem;
}

.rnr-hero-subtitle {
  font-family: 'Noto Sans TC', sans-serif;
  font-size: clamp(1rem, 2.5vw, 1.4rem);
  font-weight: 400;
  color: rgba(255,255,255,0.9);
  margin-bottom: 2rem;
}

.rnr-hero-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.2rem;
  margin-bottom: 2.5rem;
}

.rnr-hero-meta-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-family: 'Noto Sans TC', sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  color: rgba(255,255,255,0.9);
}

.rnr-hero-meta-item i {
  font-size: 1rem;
  color: rgba(255,255,255,0.7);
}

.btn-rnr-cta {
  display: inline-block;
  background-color: var(--rnr-dark);
  color: var(--rnr-white);
  font-family: 'Inter', 'Noto Sans TC', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 0.85rem 2.8rem;
  border-radius: 50px;
  text-decoration: none;
  transition: background-color 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
  box-shadow: 0 4px 20px rgba(0,0,0,0.25);
}

.btn-rnr-cta:hover {
  background-color: #1a1a1a;
  color: var(--rnr-accent);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.35);
}

/* ==============================
   SECTION COMMON
============================== */
.rnr-section {
  background-color: var(--rnr-dark);
  padding: 5rem 0;
}

.rnr-section-alt {
  background-color: #111111;
  padding: 5rem 0;
}

.rnr-section-title {
  font-family: 'Noto Sans TC', sans-serif;
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 900;
  color: var(--rnr-white);
  text-align: center;
  margin-bottom: 0.5rem;
}

.rnr-section-bar {
  width: 44px;
  height: 3px;
  background: linear-gradient(90deg, var(--rnr-red), var(--rnr-orange));
  margin: 0 auto 3rem;
  border-radius: 2px;
}

/* ==============================
   EVENT INTRO
============================== */
.rnr-intro-text {
  font-family: 'Noto Sans TC', sans-serif;
  font-size: clamp(1rem, 2vw, 1.15rem);
  font-weight: 400;
  color: rgba(255,255,255,0.8);
  line-height: 1.9;
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}

.rnr-stats-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2rem;
  margin-top: 3rem;
}

.rnr-stat-item {
  text-align: center;
}

.rnr-stat-number {
  font-family: 'Abril Fatface', serif;
  font-size: clamp(2rem, 5vw, 3rem);
  color: var(--rnr-orange);
  line-height: 1;
  margin-bottom: 0.3rem;
}

.rnr-stat-label {
  font-family: 'Noto Sans TC', sans-serif;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.04em;
}

/* ==============================
   ACTIVITY CARDS
============================== */
.rnr-activity-card {
  background-color: #161616;
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  height: 100%;
}

.rnr-activity-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(231,76,60,0.2);
}

.rnr-activity-img {
  height: 200px;
  background-color: #1a1a1a;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  color: rgba(255,255,255,0.3);
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
}

.rnr-activity-img i {
  font-size: 2rem;
  color: rgba(255,255,255,0.2);
}

.rnr-activity-body {
  padding: 1.5rem;
}

.rnr-activity-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--rnr-red), var(--rnr-orange));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: white;
  margin-bottom: 1rem;
}

.rnr-activity-title {
  font-family: 'Noto Sans TC', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--rnr-white);
  margin-bottom: 0.6rem;
}

.rnr-activity-desc {
  font-family: 'Noto Sans TC', sans-serif;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.7;
  margin-bottom: 0;
}

/* ==============================
   CAST / KOL GRID
============================== */
.rnr-cast-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 1.2rem;
}

.rnr-cast-item {
  text-align: center;
}

.rnr-cast-avatar {
  width: 100%;
  aspect-ratio: 1;
  background-color: #1a1a1a;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  margin: 0 auto 0.7rem;
  max-width: 120px;
  color: rgba(255,255,255,0.25);
  font-family: 'Inter', sans-serif;
  font-size: 0.65rem;
  letter-spacing: 0.08em;
}

.rnr-cast-avatar i {
  font-size: 1.8rem;
  color: rgba(255,255,255,0.2);
}

.rnr-cast-name {
  font-family: 'Noto Sans TC', sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(255,255,255,0.7);
}

.rnr-cast-role {
  font-family: 'Inter', sans-serif;
  font-size: 0.72rem;
  color: var(--rnr-orange);
  letter-spacing: 0.04em;
}

/* ==============================
   FAQ ACCORDION
============================== */
.rnr-faq .accordion-item {
  background-color: #161616;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px !important;
  margin-bottom: 0.6rem;
  overflow: hidden;
}

.rnr-faq .accordion-button {
  background-color: #161616;
  color: rgba(255,255,255,0.9);
  font-family: 'Noto Sans TC', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 1.1rem 1.4rem;
  border-radius: 8px !important;
  box-shadow: none;
}

.rnr-faq .accordion-button:not(.collapsed) {
  background-color: #1e1e1e;
  color: var(--rnr-orange);
  box-shadow: none;
}

.rnr-faq .accordion-button::after {
  filter: invert(1) brightness(0.7);
}

.rnr-faq .accordion-button:not(.collapsed)::after {
  filter: invert(70%) sepia(80%) saturate(400%) hue-rotate(5deg);
}

.rnr-faq .accordion-body {
  background-color: #1a1a1a;
  color: rgba(255,255,255,0.65);
  font-family: 'Noto Sans TC', sans-serif;
  font-size: 0.9rem;
  line-height: 1.8;
  padding: 1rem 1.4rem 1.2rem;
}

/* ==============================
   RESPONSIVE
============================== */
@media (max-width: 767.98px) {
  .event-subnav {
    top: 60px;
  }

  .event-subnav .nav-link {
    font-size: 0.72rem;
    padding: 0.7rem 0.6rem;
  }

  .rnr-hero {
    min-height: 100svh;
  }

  .rnr-cast-grid {
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  }
}
