/* =============================================
   StarrCollie — Kawaii Space Theme
   ============================================= */

:root {
  --space-deep:     #0d0620;
  --space-dark:     #150a2e;
  --space-mid:      #1e0f42;
  --purple-main:    #8b35cc;
  --purple-bright:  #b44fd4;
  --purple-light:   #d490f0;
  --purple-pale:    #ecd6ff;
  --pink-main:      #e040a0;
  --pink-light:     #f07bc8;
  --pink-pale:      #fce4f4;
  --star-white:     #ffffff;
  --star-gold:      #ffe566;
  --text-bright:    #ffffff;
  --text-mid:       #d490f0;
  --text-soft:      #b89ace;

  --radius-sm:   8px;
  --radius-md:   16px;
  --radius-lg:   24px;
  --radius-xl:   40px;

  --glow-purple: 0 0 30px rgba(180,79,212,0.5);
  --glow-pink:   0 0 30px rgba(224,64,160,0.45);

  --font-display: 'Fredoka One', cursive;
  --font-body:    'Nunito', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); color: var(--text-bright); overflow-x: hidden; }

/* =====================
   PAGE BACKGROUND
   ===================== */

.page-bg {
  min-height: 100vh;
  background:
    url('/img/background.png') center top / cover no-repeat fixed,
    linear-gradient(180deg, #0d0620 0%, #1e0f42 100%);
  position: relative;
  overflow-x: hidden;
}

.page-bg::before {
  content: '';
  position: fixed;
  inset: 0;
  background: linear-gradient(180deg,
    rgba(13,6,32,0.35) 0%,
    rgba(13,6,32,0.55) 60%,
    rgba(13,6,32,0.80) 100%);
  pointer-events: none;
  z-index: 0;
}

/* Floating star sparkles */
.stars-layer {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.sparkle {
  position: absolute;
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--star-white);
  opacity: 0;
  animation: twinkle ease-in-out infinite;
}

@keyframes twinkle {
  0%, 100% { opacity: 0; transform: scale(0.5); }
  50%       { opacity: 0.9; transform: scale(1.4); }
}

/* =====================
   NAVIGATION
   ===================== */

.topnav {
  position: sticky; top: 0; z-index: 100;
  backdrop-filter: blur(20px);
  background: rgba(13,6,32,0.65);
  border-bottom: 1px solid rgba(180,79,212,0.15);
}

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

.nav-brand {
  display: flex; align-items: center; gap: 0.6rem;
}

.nav-paci {
  width: 36px; height: 36px;
  filter: drop-shadow(0 0 8px rgba(180,79,212,0.7));
}

.nav-name {
  font-family: var(--font-display);
  font-size: 1.4rem;
  background: linear-gradient(135deg, var(--pink-light), var(--purple-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

.nav-links a {
  color: var(--purple-pale); text-decoration: none;
  font-weight: 700; font-size: 0.9rem;
  padding: 0.4rem 1rem; border-radius: var(--radius-xl);
  transition: background 0.2s, color 0.2s;
}

.nav-links a:hover { background: rgba(180,79,212,0.25); color: var(--star-white); }

.nav-live-pill {
  background: linear-gradient(135deg, #c0392b, #e74c3c) !important;
  color: white !important; animation: livePulse 2s ease-in-out infinite;
}

@keyframes livePulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(231,76,60,0.4); }
  50%       { box-shadow: 0 0 0 8px rgba(231,76,60,0); }
}

/* =====================
   BANNER
   ===================== */

.site-banner { display: none; }

/* =====================
   HERO
   ===================== */

.hero {
  position: relative; z-index: 1;
  padding: 4rem 2rem 3rem;
  max-width: 1100px; margin: 0 auto;
  display: flex; flex-direction: column; align-items: center; gap: 2rem;
}

.hero-inner {
  display: flex; align-items: center;
  gap: 4rem; flex-wrap: wrap; justify-content: center;
}

/* Logo as hero header */
.hero-logo {
  text-align: center;
  margin-bottom: 2rem;
}

.hero-logo img {
  max-width: 640px; width: 92%;
  filter: drop-shadow(0 0 40px rgba(224,64,160,0.7)) drop-shadow(0 0 80px rgba(180,79,212,0.5));
  animation: logoFloat 5s ease-in-out infinite;
}

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

/* Avatar */
.hero-avatar-wrap { position: relative; flex-shrink: 0; }

.avatar-ring-outer {
  position: absolute; inset: -12px; border-radius: 50%;
  background: conic-gradient(
    var(--pink-main) 0%, var(--purple-bright) 30%,
    var(--purple-light) 60%, var(--pink-light) 80%, var(--pink-main) 100%
  );
  animation: spinRing 6s linear infinite;
}

.avatar-ring-inner {
  position: absolute; inset: -6px; border-radius: 50%;
  background: var(--space-deep);
}

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

.hero-avatar {
  position: relative; width: 190px; height: 190px;
  border-radius: 50%; overflow: hidden;
  background: radial-gradient(circle at 40% 35%, #2a0d5e, #0d0620);
}

.hero-avatar img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }

.avatar-fursona {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;
}

.avatar-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  background: radial-gradient(circle at 40% 35%, #4a1a90, #1e0a40);
}

.avatar-placeholder img {
  width: 65%;
  filter: drop-shadow(0 0 16px rgba(180,79,212,0.9));
  animation: paciFloat 4s ease-in-out infinite;
}

.avatar-placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; }
.avatar-placeholder img { width: 70%; opacity: 0.9; filter: drop-shadow(0 0 10px rgba(180,79,212,0.8)); }

.avatar-badge {
  position: absolute; bottom: 8px; right: 8px;
  width: 42px; height: 42px;
  background: var(--space-dark); border: 3px solid var(--space-deep);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
}
.avatar-badge img { width: 28px; filter: drop-shadow(0 0 6px rgba(180,79,212,0.9)); }

/* Hero text */
.hero-text { max-width: 460px; }

.hero-greeting {
  font-size: 0.9rem; font-weight: 700;
  color: var(--pink-light); letter-spacing: 0.12em;
  text-transform: uppercase; margin-bottom: 0.5rem;
}

.hero-name {
  font-family: var(--font-display); font-size: 3rem; line-height: 1;
  color: var(--star-white); margin-bottom: 0.4rem;
  text-shadow: 0 0 40px rgba(180,79,212,0.7);
}

.hero-pronouns {
  display: inline-block; font-size: 0.8rem; font-weight: 700;
  color: var(--purple-light);
  background: rgba(139,53,204,0.25); border: 1px solid rgba(180,79,212,0.4);
  border-radius: var(--radius-xl); padding: 0.2rem 0.75rem;
  margin-bottom: 1rem; letter-spacing: 0.05em;
}

.hero-tagline { font-size: 1.05rem; color: var(--purple-pale); line-height: 1.7; margin-bottom: 1.5rem; }

.hero-actions { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }

.live-badge-hero { display: flex; align-items: center; gap: 0.5rem; font-size: 0.85rem; font-weight: 700; color: #ff8c8c; }

.live-dot, .live-dot-large {
  width: 10px; height: 10px; background: #ff4444;
  border-radius: 50%; animation: pulseDot 1.5s ease-in-out infinite;
}
.live-dot-large { width: 14px; height: 14px; }

@keyframes pulseDot {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255,68,68,0.5); }
  50%       { box-shadow: 0 0 0 6px rgba(255,68,68,0); }
}

/* =====================
   BUTTONS
   ===================== */

.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: var(--font-body); font-weight: 800; font-size: 0.95rem;
  padding: 0.7rem 1.6rem; border-radius: var(--radius-xl);
  text-decoration: none; border: none; cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, filter 0.2s;
}
.btn:hover { transform: translateY(-2px); filter: brightness(1.1); }

.btn-primary {
  background: linear-gradient(135deg, var(--pink-main), var(--purple-bright));
  color: var(--star-white);
  box-shadow: 0 4px 20px rgba(224,64,160,0.45);
}

.btn-sm { padding: 0.5rem 1.2rem; font-size: 0.85rem; }

/* =====================
   SECTION WRAPPER
   ===================== */

.section-inner { max-width: 1100px; margin: 0 auto; }

.section-title {
  font-family: var(--font-display); font-size: 2rem;
  color: var(--star-white); margin-bottom: 1.25rem;
}
.section-title.center { text-align: center; }

.section-title .star-accent { color: var(--pink-light); }

/* =====================
   LIVE SECTION
   ===================== */

.live-section { position: relative; z-index: 1; padding: 2rem; }

.live-header { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1.5rem; }

.live-title { font-family: var(--font-display); font-size: 1.8rem; color: var(--star-white); }

.live-card {
  background: rgba(21,10,46,0.85);
  border: 1px solid rgba(180,79,212,0.35);
  border-radius: var(--radius-lg); overflow: hidden;
  display: flex; backdrop-filter: blur(12px);
  box-shadow: var(--glow-purple);
}

.live-thumb { position: relative; width: 320px; flex-shrink: 0; }
.live-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }

.live-thumb-overlay {
  position: absolute; inset: 0; background: rgba(0,0,0,0.3);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity 0.2s;
}
.live-thumb:hover .live-thumb-overlay { opacity: 1; }

.play-btn {
  width: 60px; height: 60px; border-radius: 50%;
  background: rgba(255,255,255,0.9); color: var(--purple-main);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; text-decoration: none;
}

.live-info { padding: 1.5rem 2rem; display: flex; flex-direction: column; gap: 0.75rem; }

.live-game-tag {
  display: inline-block;
  background: rgba(180,79,212,0.3); color: var(--purple-light);
  font-size: 0.8rem; font-weight: 800; padding: 0.2rem 0.75rem;
  border-radius: var(--radius-xl); text-transform: uppercase; letter-spacing: 0.05em;
}

.live-stream-title { font-family: var(--font-display); font-size: 1.3rem; color: var(--star-white); }
.live-viewers { font-size: 0.85rem; font-weight: 700; color: var(--purple-light); }

/* =====================
   ANNOUNCEMENTS
   ===================== */

.announce-section { position: relative; z-index: 1; padding: 1rem 2rem; }
.announce-list { display: flex; flex-direction: column; gap: 0.75rem; }

.announce-pill {
  display: flex; align-items: flex-start; gap: 1rem;
  background: rgba(21,10,46,0.7);
  border: 1px solid rgba(224,64,160,0.3);
  border-radius: var(--radius-md); padding: 1rem 1.5rem;
  backdrop-filter: blur(8px);
}

.announce-emoji { font-size: 1.4rem; flex-shrink: 0; }
.announce-content strong { display: block; color: var(--pink-light); font-size: 0.95rem; margin-bottom: 0.2rem; }
.announce-content span { color: var(--purple-pale); font-size: 0.9rem; }

/* =====================
   ABOUT SECTION
   ===================== */

.about-section { position: relative; z-index: 1; padding: 4rem 2rem; }

.about-grid { display: grid; grid-template-columns: 220px 1fr; gap: 4rem; align-items: start; }

.about-deco { display: flex; flex-direction: column; align-items: center; gap: 1.5rem; }

.about-paci {
  width: 140px;
  filter: drop-shadow(0 0 20px rgba(180,79,212,0.7));
  animation: paciFloat 4s ease-in-out infinite;
}

@keyframes paciFloat {
  0%, 100% { transform: translateY(0px) rotate(-5deg); }
  50%       { transform: translateY(-14px) rotate(5deg); }
}

.about-stars-deco { display: flex; gap: 0.4rem; font-size: 1.2rem; }

.about-text { font-size: 1.05rem; line-height: 1.8; color: var(--purple-pale); margin-bottom: 1.5rem; }

.about-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; }

.tag {
  background: rgba(139,53,204,0.2); border: 1px solid rgba(180,79,212,0.35);
  color: var(--purple-light); font-size: 0.85rem; font-weight: 700;
  padding: 0.35rem 0.9rem; border-radius: var(--radius-xl);
}

/* =====================
   SCHEDULE SECTION
   ===================== */

.schedule-section { position: relative; z-index: 1; padding: 4rem 2rem; }

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

.schedule-card {
  background: rgba(21,10,46,0.8);
  border: 1px solid rgba(180,79,212,0.25);
  border-radius: var(--radius-md); padding: 1.25rem 1rem;
  text-align: center; backdrop-filter: blur(8px);
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.schedule-card:hover {
  transform: translateY(-4px);
  border-color: rgba(224,64,160,0.5);
  box-shadow: var(--glow-pink);
}

.schedule-day { font-family: var(--font-display); font-size: 1.1rem; color: var(--star-white); margin-bottom: 0.3rem; }
.schedule-time { font-size: 0.85rem; font-weight: 700; color: var(--pink-light); margin-bottom: 0.3rem; }
.schedule-label { font-size: 0.78rem; color: var(--purple-light); font-weight: 600; }

/* =====================
   SOCIALS SECTION
   ===================== */

.socials-section { position: relative; z-index: 1; padding: 4rem 2rem 6rem; }

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

.social-card {
  display: flex; align-items: center; gap: 1rem;
  background: rgba(21,10,46,0.8);
  border: 1px solid rgba(180,79,212,0.25);
  border-radius: var(--radius-md); padding: 1.25rem 1.5rem;
  text-decoration: none; backdrop-filter: blur(8px);
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.social-card:hover {
  transform: translateY(-4px);
  border-color: rgba(224,64,160,0.5);
  box-shadow: var(--glow-pink);
}

.social-icon-wrap {
  width: 48px; height: 48px; border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; font-size: 1.5rem;
}

.social-twitch  .social-icon-wrap { background: rgba(100,65,165,0.4); color: #9147ff; }
.social-twitter .social-icon-wrap { background: rgba(29,161,242,0.2); color: #1da1f2; }
.social-discord .social-icon-wrap { background: rgba(88,101,242,0.2); color: #5865f2; }
.social-tiktok  .social-icon-wrap { background: rgba(255,0,80,0.15);  color: #ff0050; }

.social-platform { font-family: var(--font-display); font-size: 1rem; color: var(--star-white); }
.social-label    { font-size: 0.8rem; font-weight: 600; color: var(--purple-light); }

/* =====================
   FOOTER
   ===================== */

.site-footer {
  position: relative; z-index: 1; padding: 2rem; text-align: center;
  border-top: 1px solid rgba(180,79,212,0.15);
}

.footer-paci { width: 40px; margin-bottom: 0.5rem; filter: drop-shadow(0 0 8px rgba(180,79,212,0.6)); }
.footer-text { color: var(--purple-light); font-weight: 700; font-size: 0.9rem; }
.footer-sub  { color: var(--text-soft); font-size: 0.8rem; margin-top: 0.25rem; }

/* =====================
   RESPONSIVE
   ===================== */

@media (max-width: 768px) {
  .hero-logo img { max-width: 300px; }
  .hero-name { font-size: 2.5rem; }
  .about-grid { grid-template-columns: 1fr; }
  .about-deco { flex-direction: row; }
  .about-paci { width: 90px; }
  .live-card { flex-direction: column; }
  .live-thumb { width: 100%; height: 200px; }
  .nav-links a:not(.nav-live-pill) { display: none; }
  .hero-logo img { max-width: 320px; }
}

/* =====================
   AVATAR MASCOT (3D square logo)
   ===================== */

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

/* =====================
   STAR DIVIDERS
   ===================== */

.star-divider {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 0.5rem 2rem;
  margin: 0.5rem 0;
}

.star-div-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(180,79,212,0.4), transparent);
}

.star-div-icons {
  font-size: 0.9rem;
  color: var(--pink-light);
  letter-spacing: 0.4rem;
  white-space: nowrap;
  text-shadow: 0 0 10px rgba(224,64,160,0.6);
}

.divider-paci {
  width: 28px; height: 28px;
  opacity: 0.75;
  filter: drop-shadow(0 0 6px rgba(180,79,212,0.7));
  animation: paciFloat 4s ease-in-out infinite;
  flex-shrink: 0;
}

.divider-paci:last-child {
  animation-delay: 2s;
}

/* =====================
   ABOUT — MINI MASCOT LOGO
   ===================== */

.about-mini-logo {
  width: 120px;
  height: 120px;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--space-deep);
  border: 1px solid rgba(180,79,212,0.25);
  margin-top: 0.75rem;
}

.about-mascot-img {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.92;
}

/* =====================
   FOOTER LOGO ACCENT
   ===================== */

.footer-logo-accent {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  padding: 1rem 2rem 0;
  opacity: 0.18;
}

.footer-logo-img {
  max-width: 380px;
  width: 70%;
  filter: blur(1px);
  pointer-events: none;
  opacity: 0.15;
}
