/* Import modern, clean typography */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
  /* Color Palette - Blue & Silver */
  --bg-primary: #05070c;
  --bg-secondary: #0a0d14;
  --bg-card: rgba(13, 18, 30, 0.6);
  --bg-glass: rgba(8, 11, 20, 0.75);
  --border-glass: rgba(255, 255, 255, 0.06);
  
  --color-text-primary: #f8fafc;
  --color-text-secondary: #cbd5e1;
  --color-text-muted: #64748b;

  /* Accents */
  --accent-blue: #1c85a6;
  --accent-blue-deep: #115972;
  --accent-silver: #e2e8f0;
  --accent-silver-dark: #94a3b8;
  
  /* Gradients */
  --grad-primary: linear-gradient(135deg, #1c85a6 0%, #115972 100%);
  --grad-silver: linear-gradient(135deg, #f8fafc 0%, #94a3b8 100%);
  --grad-silver-blue: linear-gradient(90deg, var(--accent-silver) 0%, var(--accent-blue) 100%);
  --grad-dark-glow: radial-gradient(circle at top, rgba(28, 133, 166, 0.15), rgba(17, 89, 114, 0.05), transparent 70%);
  
  /* Dynamic Creator Accents */
  --creator-color: var(--accent-blue);
  
  /* Typography */
  --font-display: 'Outfit', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
  
  /* Layout & Spacing */
  --max-width: 1200px;
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-bounce: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Base Settings */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-primary);
  color: var(--color-text-primary);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent-blue);
}

/* Typography Overrides */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.01em;
}

a {
  color: inherit;
  text-decoration: none;
}

/* Reusable Components */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
}

.gradient-text {
  background: var(--grad-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.silver-text {
  background: var(--grad-silver);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 2rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  border-radius: 50px;
  cursor: pointer;
  transition: var(--transition-smooth);
  border: none;
  gap: 0.5rem;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-primary {
  background: var(--grad-primary);
  color: #000;
  font-weight: 700;
  box-shadow: 0 4px 20px rgba(0, 240, 255, 0.3);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 240, 255, 0.5);
  color: #000;
}

.btn-secondary {
  background: transparent;
  color: var(--color-text-primary);
  border: 1px solid var(--border-glass);
  backdrop-filter: blur(5px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--accent-blue);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 240, 255, 0.1);
}

.glass-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: 20px;
  padding: 2.5rem;
  backdrop-filter: blur(10px);
  transition: var(--transition-smooth);
}

.section-tag {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--accent-blue);
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
  border: 1px solid rgba(0, 240, 255, 0.2);
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  background: rgba(0, 240, 255, 0.04);
}

/* Header & Navigation */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: var(--bg-glass);
  backdrop-filter: blur(15px);
  border-bottom: 1px solid var(--border-glass);
  transition: var(--transition-smooth);
}

header.scrolled {
  padding: 0.5rem 0;
  background: rgba(5, 7, 12, 0.95);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
  transition: var(--transition-smooth);
}

header.scrolled .nav-container {
  height: 65px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
  cursor: pointer;
}

.logo-img, .logo img {
  height: 35px;
  width: auto;
  object-fit: contain;
  transition: var(--transition-smooth);
}

.logo:hover .logo-img {
  transform: rotate(-10deg) scale(1.1);
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2.5rem;
  align-items: center;
}

.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--color-text-secondary);
  transition: var(--transition-smooth);
  position: relative;
  padding: 0.5rem 0;
}

.nav-links a:hover,
.nav-links a.active {
  color: #fff;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--grad-silver-blue);
  transition: var(--transition-smooth);
}

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

.mobile-menu-btn {
  display: none;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
}

/* Background video */
.video-bg-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: -2;
  pointer-events: none;
}

.video-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.18;
  filter: saturate(1.2) contrast(1.1);
}

/* Fallback particles canvas */
#canvas-particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
}

/* Hero Section */
.hero {
  position: relative;
  padding: 180px 0 100px 0;
  background: var(--grad-dark-glow);
  min-height: 90vh;
  display: flex;
  align-items: center;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: center;
}

.hero-content h1 {
  font-size: 4.5rem;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  font-weight: 800;
}

.hero-content p {
  font-size: 1.25rem;
  color: var(--color-text-secondary);
  margin-bottom: 2.5rem;
  max-width: 600px;
}

.hero-actions {
  display: flex;
  gap: 1.5rem;
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-visual-card {
  width: 100%;
  max-width: 420px;
  background: rgba(10, 15, 26, 0.7);
  border: 1px solid var(--border-glass);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.8), 0 0 30px rgba(0, 240, 255, 0.1);
  border-radius: 28px;
  padding: 2.5rem;
  z-index: 2;
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  text-align: center;
  animation: float-slow 6s ease-in-out infinite;
}

.hero-visual-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--grad-primary);
}

.visual-logo-container {
  display: inline-flex;
  margin-bottom: 1.5rem;
}

.hero-logo-img, .visual-logo-container img {
  width: 90px;
  height: 90px;
  object-fit: contain;
  filter: drop-shadow(0 0 15px rgba(28, 133, 166, 0.4));
  transition: var(--transition-smooth);
}

.hero-logo-img:hover {
  transform: scale(1.05);
}

.hero-visual-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-glass);
}

.h-stat-num {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--accent-blue);
  font-family: var(--font-display);
}

.h-stat-lbl {
  font-size: 0.75rem;
  color: var(--color-text-muted);
}

/* Section Header */
.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 4rem auto;
}

.section-header h2 {
  font-size: 2.75rem;
  margin-bottom: 1.25rem;
  line-height: 1.2;
}

.section-header p {
  font-size: 1.1rem;
  color: var(--color-text-secondary);
}

/* Roster Section */
.roster-sec {
  padding: 100px 0;
  background: relative;
}

.roster-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 1rem;
}

/* Interactive Roster Card */
.roster-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  transition: var(--transition-bounce);
  cursor: pointer;
  display: flex;
  flex-direction: column;
}

.roster-card-image-box {
  width: 100%;
  height: 280px;
  position: relative;
  overflow: hidden;
}

.roster-card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.roster-card-video-hover {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.roster-card-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(5, 7, 12, 0.85);
  border: 1px solid var(--accent-silver-dark);
  color: var(--accent-silver);
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  z-index: 2;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  backdrop-filter: blur(5px);
}

.roster-card-info {
  padding: 1.5rem;
  background: linear-gradient(to top, rgba(5,7,12,0.95) 0%, rgba(13,18,30,0.8) 100%);
  border-top: 1px solid var(--border-glass);
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.roster-card-cat {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--accent-blue);
  letter-spacing: 0.05em;
  margin-bottom: 0.25rem;
}

.roster-card-name {
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.1rem;
}

.roster-card-username {
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

/* Roster Hover Effects */
.roster-card:hover {
  transform: translateY(-8px);
  border-color: var(--accent-blue);
  box-shadow: 0 15px 35px rgba(0, 240, 255, 0.25);
}

.roster-card:hover .roster-card-image {
  transform: scale(1.1);
}

.roster-card:hover .roster-card-video-hover {
  opacity: 1;
}

/* Merchandise Section */
.merch-sec {
  padding: 100px 0;
  background: var(--bg-secondary);
}

.merch-carousel-outer {
  position: relative;
  overflow: hidden;
  max-width: 1000px;
  margin: 0 auto;
}

.merch-carousel-inner {
  display: flex;
  gap: 2rem;
  transition: transform 0.5s ease-in-out;
}

.merch-card {
  min-width: calc(33.333% - 1.333rem);
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: 20px;
  overflow: hidden;
  transition: var(--transition-smooth);
}

.merch-card:hover {
  border-color: rgba(255,255,255,0.15);
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  transform: translateY(-3px);
}

.merch-img-box {
  width: 100%;
  height: 200px;
  overflow: hidden;
  position: relative;
}

.merch-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.merch-card:hover .merch-img {
  transform: scale(1.05);
}

.merch-creator-tag {
  position: absolute;
  bottom: 0.75rem;
  left: 0.75rem;
  background: rgba(5,7,12,0.85);
  color: var(--accent-blue);
  border: 1px solid rgba(0, 240, 255, 0.2);
  padding: 0.2rem 0.6rem;
  border-radius: 50px;
  font-size: 0.7rem;
  font-weight: 600;
  backdrop-filter: blur(5px);
}

.merch-info {
  padding: 1.5rem;
  text-align: center;
}

.merch-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.merch-price {
  font-size: 0.95rem;
  color: var(--color-text-secondary);
  font-weight: 600;
  margin-bottom: 1.25rem;
}

.merch-carousel-controls {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 3rem;
}

.carousel-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  color: var(--accent-silver);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.carousel-btn:hover {
  background: var(--accent-blue);
  color: #000;
  border-color: transparent;
  box-shadow: 0 0 15px rgba(0,240,255,0.4);
}

/* Individual Fan Page / Creator Profile SPA View */
.creator-profile-view {
  display: none; /* Controlled by JS Router */
  padding: 140px 0 100px 0;
  min-height: 100vh;
  animation: fadeIn 0.6s ease forwards;
}

.back-to-roster-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--accent-silver-dark);
  font-family: var(--font-display);
  font-weight: 700;
  margin-bottom: 2.5rem;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.back-to-roster-btn:hover {
  color: var(--accent-blue);
  transform: translateX(-5px);
}

.profile-hero-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: 30px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 30px 60px rgba(0,0,0,0.5);
  margin-bottom: 4rem;
}

/* Dynamic glow linked to the creator variable */
.profile-banner {
  height: 220px;
  position: relative;
  background: linear-gradient(to right, rgba(5,7,12,0.9), transparent), var(--bg-secondary);
  overflow: hidden;
}

.profile-banner::after {
  content: '';
  position: absolute;
  bottom: -50px;
  right: -50px;
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, var(--creator-color) 0%, transparent 70%);
  opacity: 0.35;
  filter: blur(20px);
}

.profile-avatar-row {
  display: flex;
  padding: 0 3rem 3rem 3rem;
  margin-top: -80px;
  gap: 2.5rem;
  align-items: flex-end;
  position: relative;
  z-index: 2;
}

.profile-avatar-box {
  width: 160px;
  height: 160px;
  border-radius: 24px;
  border: 4px solid var(--bg-primary);
  box-shadow: 0 10px 20px rgba(0,0,0,0.5);
  overflow: hidden;
}

.profile-avatar {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-details-box {
  flex-grow: 1;
  padding-bottom: 0.5rem;
}

.profile-name {
  font-size: 2.5rem;
  font-weight: 800;
}

.profile-bio {
  color: var(--color-text-secondary);
  font-size: 1.1rem;
  margin: 0.5rem 0 1.25rem 0;
  max-width: 600px;
}

.profile-socials {
  display: flex;
  gap: 1.25rem;
}

.p-social-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-glass);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-secondary);
  transition: var(--transition-smooth);
}

.p-social-icon:hover {
  background: var(--creator-color);
  color: #000;
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: 0 0 15px var(--creator-color);
}

/* Creator Profile Sections Grid */
.profile-content-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 4rem;
}

/* Simulated Live TikTok Feed */
.live-feed-panel {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: 24px;
  padding: 2.5rem;
  overflow: hidden;
}

.feed-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}

.feed-title {
  font-size: 1.5rem;
  font-weight: 800;
}

.tiktok-feed-simulator {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  max-height: none;
  overflow-y: visible;
  padding-right: 0;
}

/* Hide scrollbars but keep functionality */
.tiktok-feed-simulator::-webkit-scrollbar {
  width: 6px;
}
.tiktok-feed-simulator::-webkit-scrollbar-thumb {
  background: rgba(255,255,255,0.06);
  border-radius: 10px;
}

.tiktok-post {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 2rem;
  background: rgba(255, 255, 255, 0.015);
  border: 1px solid var(--border-glass);
  border-radius: 20px;
  padding: 1.5rem;
  align-items: stretch;
}

.post-video-container {
  width: 240px;
  height: 426px; /* Perfect 9:16 ratio */
  border-radius: 14px;
  overflow: hidden;
  position: relative;
  background: #000;
  border: 1px solid rgba(255,255,255,0.05);
  box-shadow: 0 10px 25px rgba(0,0,0,0.4);
}

.post-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.post-overlay-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(0,0,0,0.6);
  border: 1px solid rgba(255,255,255,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.25rem;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.post-video-container:hover .post-overlay-play {
  background: var(--creator-color);
  color: #000;
  border-color: transparent;
  transform: translate(-50%, -50%) scale(1.1);
  box-shadow: 0 0 15px var(--creator-color);
}

.post-info {
  display: flex;
  flex-direction: column;
  height: 100%;
  justify-content: space-between;
  padding: 0.25rem 0;
}

.post-user-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.05);
}

.post-user-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
  border: 1.5px solid var(--creator-color);
  box-shadow: 0 0 10px rgba(0, 240, 255, 0.15);
}

.post-user-info h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
}

.post-user-info p {
  font-size: 0.75rem;
  color: var(--color-text-muted);
}

.post-desc {
  font-size: 0.95rem;
  color: var(--color-text-secondary);
  line-height: 1.6;
}

.post-stats-row {
  display: flex;
  gap: 1rem;
  margin-top: auto;
}

.post-stats-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-glass);
  padding: 0.4rem 0.9rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-text-secondary);
  transition: var(--transition-smooth);
}

.post-stats-item:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--creator-color);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.post-stats-item i {
  font-size: 0.85rem;
  color: var(--creator-color);
}

/* Shoppable Links inside creator profile */
.shoppable-links-panel {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: 24px;
  padding: 2.5rem;
  height: fit-content;
}

.shoppable-header {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--border-glass);
  padding-bottom: 1rem;
}

.shoppable-grid {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.shop-item {
  display: flex;
  gap: 1rem;
  align-items: center;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border-glass);
  padding: 1rem;
  border-radius: 12px;
  transition: var(--transition-smooth);
}

.shop-item:hover {
  border-color: var(--creator-color);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.shop-item-img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 8px;
}

.shop-item-details {
  flex-grow: 1;
}

.shop-item-title {
  font-size: 0.95rem;
  font-weight: 700;
}

.shop-item-price {
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

.shop-item-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-glass);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--creator-color);
  font-size: 0.9rem;
  transition: var(--transition-smooth);
}

.shop-item:hover .shop-item-btn {
  background: var(--creator-color);
  color: #000;
  border-color: transparent;
  box-shadow: 0 0 10px var(--creator-color);
}

/* Community Section */
.community-sec {
  padding: 100px 0;
}

.community-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: flex-start;
}

/* Event Calendar */
.calendar-panel {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: 24px;
  padding: 2.5rem;
}

.calendar-header {
  margin-bottom: 2rem;
}

.calendar-header h3 {
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
}

.calendar-header p {
  color: var(--color-text-secondary);
}

.calendar-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.calendar-event {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  gap: 1.5rem;
  align-items: center;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border-glass);
  padding: 1.25rem;
  border-radius: 16px;
  transition: var(--transition-smooth);
}

.calendar-event:hover {
  border-color: var(--accent-blue);
  box-shadow: 0 5px 15px rgba(0, 240, 255, 0.1);
  transform: translateY(-2px);
}

.event-date-box {
  width: 80px;
  height: 80px;
  background: rgba(0, 240, 255, 0.05);
  border: 1px solid rgba(0, 240, 255, 0.15);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.event-day {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--accent-blue);
  font-family: var(--font-display);
  line-height: 1;
}

.event-month {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--color-text-secondary);
}

.event-info h4 {
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
}

.event-info p {
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

.event-platform-badge {
  background: rgba(5,7,12,0.6);
  border: 1px solid var(--border-glass);
  padding: 0.35rem 0.85rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent-blue);
}

/* Join Squad Audition Form */
.join-squad-panel {
  background: rgba(10, 15, 26, 0.7);
  border: 1px solid var(--border-glass);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6);
  border-radius: 24px;
  padding: 2.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.join-squad-panel h3 {
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
}

.join-squad-panel p {
  color: var(--color-text-secondary);
  font-size: 0.95rem;
  margin-bottom: 2rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--color-text-secondary);
}

.form-input {
  width: 100%;
  background: rgba(5, 7, 12, 0.6);
  border: 1px solid var(--border-glass);
  border-radius: 10px;
  padding: 0.85rem 1rem;
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: var(--transition-smooth);
}

.form-input:focus {
  outline: none;
  border-color: var(--accent-blue);
  box-shadow: 0 0 10px rgba(0, 240, 255, 0.15);
  background: rgba(5, 7, 12, 0.9);
}

.join-squad-panel .btn {
  width: 100%;
  margin-top: 0.5rem;
}

.success-message {
  text-align: center;
  padding: 2rem 0;
  display: none; /* Controlled by JS */
}

.success-icon {
  width: 70px;
  height: 70px;
  background: rgba(0, 240, 255, 0.1);
  color: var(--accent-blue);
  border: 1px solid rgba(0, 240, 255, 0.25);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.25rem;
  margin: 0 auto 1.5rem auto;
}

.success-message h3 {
  font-size: 1.75rem;
  margin-bottom: 0.75rem;
}

.success-message p {
  color: var(--color-text-secondary);
}

/* Footer Section */
footer {
  padding: 4rem 0;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-glass);
  text-align: center;
  color: var(--color-text-muted);
  font-size: 0.9rem;
}

footer .logo {
  justify-content: center;
  margin-bottom: 1rem;
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes float-slow {
  0% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-10px) rotate(2deg); }
  100% { transform: translateY(0px) rotate(0deg); }
}

@keyframes pulse {
  0% { opacity: 0.3; }
  100% { opacity: 0.9; }
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .hero-content {
    text-align: center;
  }
  
  .hero-content p {
    margin-left: auto;
    margin-right: auto;
  }
  
  .hero-actions {
    justify-content: center;
  }
  
  .roster-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .merch-card {
    min-width: calc(50% - 1rem);
  }
  
  .profile-content-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .community-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  
  .mobile-menu-btn {
    display: block;
  }
  
  .hero-content h1 {
    font-size: 2.75rem;
  }
  
  .roster-grid {
    grid-template-columns: 1fr;
  }
  
  .merch-card {
    min-width: 100%;
  }
  
  .profile-avatar-row {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0 1.5rem 1.5rem 1.5rem;
  }
  
  .tiktok-post {
    grid-template-columns: 1fr;
  }
  
  .post-video-container {
    height: 350px;
  }
  
  .calendar-event {
    grid-template-columns: 60px 1fr;
  }
  
  .event-date-box {
    width: 60px;
    height: 60px;
  }
  
  .event-day {
    font-size: 1.2rem;
  }
  
  .event-platform-badge {
    grid-column: 1 / -1;
    text-align: center;
  }
}

/* Live Pulsing Badge & Glowing Roster Cards */
.live-pulse-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: rgba(255, 45, 85, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  padding: 0.25rem 0.65rem;
  border-radius: 4px;
  font-size: 0.65rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  z-index: 5;
  letter-spacing: 0.05em;
  box-shadow: 0 0 15px rgba(255, 45, 85, 0.6);
  animation: pulseGlow 1.5s infinite ease-in-out;
  backdrop-filter: blur(5px);
}

.live-pulse-badge i {
  color: #fff;
  font-size: 0.5rem;
  animation: pulseDot 1.5s infinite ease-in-out;
}

.live-glowing-card {
  border-color: rgba(255, 45, 85, 0.45) !important;
  box-shadow: 0 0 20px rgba(255, 45, 85, 0.15) !important;
  animation: cardBreathing 3s infinite ease-in-out;
}

.live-glowing-card:hover {
  border-color: #ff2d55 !important;
  box-shadow: 0 15px 35px rgba(255, 45, 85, 0.3) !important;
}

@keyframes pulseGlow {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 0 10px rgba(255, 45, 85, 0.5);
  }
  50% {
    transform: scale(1.03);
    box-shadow: 0 0 20px rgba(255, 45, 85, 0.9);
  }
}

@keyframes pulseDot {
  0%, 100% {
    opacity: 0.5;
  }
  50% {
    opacity: 1;
  }
}

@keyframes cardBreathing {
  0%, 100% {
    box-shadow: 0 0 15px rgba(255, 45, 85, 0.1);
  }
  50% {
    box-shadow: 0 0 25px rgba(255, 45, 85, 0.25);
  }
}
