/* UEFA Champions League Premium Broadcast Stylesheet */
@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:wght@300;400;500;600;700&display=swap');

@font-face {
  font-family: 'SchoolSafetyOcarina';
  src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/2511-1@1.0/HakgyoansimOcarinaR.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

body {
  font-family: 'SchoolSafetyOcarina', 'IBM Plex Sans', 'Noto Sans KR', sans-serif;
  background: radial-gradient(circle at top, #0c1c4e 0%, #030611 70%, #010206 100%);
  background-attachment: fixed;
  color: #f8fafc;
}

/* Stadium Spotlight Light Effect */
.stadium-light-left {
  position: absolute;
  top: 0;
  left: 10%;
  width: 400px;
  height: 600px;
  background: radial-gradient(ellipse at top left, rgba(165, 180, 252, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.stadium-light-right {
  position: absolute;
  top: 0;
  right: 10%;
  width: 400px;
  height: 600px;
  background: radial-gradient(ellipse at top right, rgba(165, 180, 252, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

/* Glassmorphic Broadcast Panel */
.broadcast-panel {
  background: rgba(10, 15, 30, 0.65);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.broadcast-panel-active {
  border-color: rgba(245, 158, 11, 0.4);
  box-shadow: 0 0 25px rgba(245, 158, 11, 0.15);
}

/* 3D Perspective */
.perspective-1000 {
  perspective: 1000px;
}

/* 3D Capsule Open Animation */
.capsule-half-left {
  transition: transform 1.2s cubic-bezier(0.25, 1, 0.5, 1);
  transform-origin: left center;
}
.capsule-half-right {
  transition: transform 1.2s cubic-bezier(0.25, 1, 0.5, 1);
  transform-origin: right center;
}

.capsule-wrapper.open .capsule-half-left {
  transform: translateX(-100px) rotateY(-80deg) scale(0.75);
  opacity: 0.4;
}
.capsule-wrapper.open .capsule-half-right {
  transform: translateX(100px) rotateY(80deg) scale(0.75);
  opacity: 0.4;
}

.card-reveal {
  transform: scale(0.1) rotateX(-90deg);
  opacity: 0;
  transition: transform 1.3s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.7s ease;
}

.capsule-wrapper.open .card-reveal {
  transform: scale(1) rotateX(0deg);
  opacity: 1;
}

/* Custom Scrollbars */
::-webkit-scrollbar {
  width: 5px;
  height: 5px;
}
::-webkit-scrollbar-track {
  background: rgba(15, 23, 42, 0.2);
}
::-webkit-scrollbar-thumb {
  background: rgba(245, 158, 11, 0.2);
  border-radius: 2px;
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(245, 158, 11, 0.5);
}

/* Metallic text reflections & star patterns */
.text-cinematic {
  font-weight: 300;
  letter-spacing: 2px;
  text-transform: uppercase;
}
.border-metallic {
  border-image: linear-gradient(to right, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.02) 50%, rgba(255, 255, 255, 0.2)) 1;
}
