/* minatievents.com Stylesheet */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;800&family=Inter:wght@300;400;600&family=Syncopate:wght@700&display=swap');

:root {
  --bg-color: #07060f;
  --text-primary: #ffffff;
  --text-secondary: rgba(255, 255, 255, 0.6);
  --accent-color: #ff007f; /* Vibrant Pink/Magenta for minati branding */
  --accent-glow: rgba(255, 0, 127, 0.35);
  --glass-bg: rgba(255, 255, 255, 0.03);
  --glass-border: rgba(255, 255, 255, 0.08);
  --card-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  --timing-smooth: cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: all 0.4s var(--timing-smooth);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body, html {
  width: 100%;
  height: 100vh;
  overflow: hidden; /* Strict scrollbar prevention */
  font-family: 'Outfit', sans-serif;
  background-color: var(--bg-color);
  color: var(--text-primary);
  display: flex;
  justify-content: center;
  align-items: center;
}

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

.glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.3;
  mix-blend-mode: screen;
  animation: floatOrb 25s infinite ease-in-out alternate;
}

.orb-1 {
  width: 45vw;
  height: 45vw;
  min-width: 350px;
  background: radial-gradient(circle, rgba(255, 0, 127, 0.6) 0%, rgba(128, 0, 128, 0) 70%);
  top: -10%;
  left: -5%;
}

.orb-2 {
  width: 50vw;
  height: 50vw;
  min-width: 400px;
  background: radial-gradient(circle, rgba(0, 102, 255, 0.5) 0%, rgba(0, 0, 128, 0) 70%);
  bottom: -15%;
  right: -5%;
  animation-delay: -7s;
  animation-duration: 35s;
}

.orb-3 {
  width: 30vw;
  height: 30vw;
  min-width: 250px;
  background: radial-gradient(circle, rgba(0, 255, 200, 0.3) 0%, rgba(0, 128, 128, 0) 70%);
  top: 30%;
  left: 35%;
  animation-delay: -12s;
  animation-duration: 40s;
}

@keyframes floatOrb {
  0% {
    transform: translate(0, 0) scale(1);
  }
  33% {
    transform: translate(5%, 8%) scale(1.05);
  }
  66% {
    transform: translate(-5%, 5%) scale(0.95);
  }
  100% {
    transform: translate(2%, -4%) scale(1.02);
  }
}

/* App Main Container */
.app-container {
  width: 100%;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  padding: 2.5rem 1.5rem 1.5rem 1.5rem;
  position: relative;
  z-index: 10;
}

/* Header Area */
.app-header {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transform: translateY(-20px);
}

.logo-container {
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
  transition: var(--transition-smooth);
}

.brand-name {
  font-family: 'Syncopate', sans-serif;
  font-weight: 700;
  font-size: 1.8rem;
  letter-spacing: 0.22em;
  color: var(--text-primary);
  background: linear-gradient(45deg, #ffffff 40%, rgba(255, 255, 255, 0.7) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 30px rgba(255, 255, 255, 0.15);
  transition: var(--transition-smooth);
}

.brand-link:hover .brand-name {
  letter-spacing: 0.26em;
  background: linear-gradient(45deg, var(--text-primary) 0%, var(--accent-color) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.logo-img {
  height: 48px;
  width: auto;
  filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.1));
  transition: var(--transition-smooth);
}

.brand-link:hover .logo-img {
  transform: scale(1.05);
  filter: drop-shadow(0 0 15px rgba(255, 255, 255, 0.3));
}

/* Content Showcase Area */
.showcase-area {
  flex-grow: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 900px;
  margin: 1.5rem 0;
  opacity: 0;
  transform: scale(0.96);
}

.display-card {
  width: 100%;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: 24px;
  padding: 1.5rem;
  box-shadow: var(--card-shadow), inset 0 1px 1px rgba(255, 255, 255, 0.05);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
}

.display-card::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    45deg,
    transparent 45%,
    rgba(255, 255, 255, 0.03) 50%,
    transparent 55%
  );
  transform: rotate(-45deg);
  transition: var(--transition-smooth);
  pointer-events: none;
}

.display-card:hover {
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6), 0 0 40px rgba(255, 0, 127, 0.1);
}

/* Banner Mode Styling */
.banner-wrapper {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.banner-img {
  width: 100%;
  height: auto;
  max-height: 55vh;
  object-fit: contain;
  display: block;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.display-card:hover .banner-img {
  transform: scale(1.02);
}

/* Badges */
.status-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  padding: 0.4rem 0.8rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  gap: 0.4rem;
  z-index: 5;
}

.badge-offline {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-secondary);
}

.badge-offline::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.4);
}

.badge-live {
  background: rgba(255, 0, 127, 0.15);
  border: 1px solid rgba(255, 0, 127, 0.3);
  color: #fff;
  box-shadow: 0 0 10px rgba(255, 0, 127, 0.3);
}

.badge-live::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #ff007f;
  animation: pulseGlow 1.5s infinite;
}

@keyframes pulseGlow {
  0% { transform: scale(0.9); opacity: 0.6; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(0.9); opacity: 0.6; }
}

/* Live Button Mode Overlay */
.live-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(7, 6, 15, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 4;
}

.live-btn {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2.2rem;
  border-radius: 50px;
  background: var(--accent-color);
  color: #fff;
  font-family: 'Outfit', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border: none;
  box-shadow: 0 10px 30px var(--accent-glow);
  cursor: pointer;
  transition: var(--transition-smooth);
  animation: heartbeat 2s infinite ease-in-out;
}

.live-btn:hover {
  background: #ff2291;
  transform: translateY(-2px);
  box-shadow: 0 15px 35px rgba(255, 0, 127, 0.5);
}

.live-btn svg {
  fill: currentColor;
  width: 20px;
  height: 20px;
}

@keyframes heartbeat {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

/* Embedded Player Mode Styling */
.embed-container {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
  background: #000;
}

.embed-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* Footer & Socials */
.app-footer {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  opacity: 0;
  transform: translateY(20px);
}

.social-links {
  display: flex;
  gap: 1rem;
}

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

.social-icon:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  color: var(--text-primary);
  transform: translateY(-2px);
}

.social-icon svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.footer-text {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.35);
  font-weight: 300;
}

/* Staggered Opening Entrance Animations */
.app-container.loaded .app-header {
  animation: fadeInDown 1s var(--timing-smooth) forwards;
}

.app-container.loaded .showcase-area {
  animation: scaleIn 1.2s var(--timing-smooth) forwards;
  animation-delay: 0.15s;
}

.app-container.loaded .app-footer {
  animation: fadeInUp 1s var(--timing-smooth) forwards;
  animation-delay: 0.3s;
}

/* Entrance Animations */
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Loading/Redirect State screen styling */
.loading-screen {
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: var(--bg-color);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 100;
  transition: opacity 0.5s ease;
}

.loading-logo {
  height: 60px;
  margin-bottom: 2rem;
  animation: pulseLogo 2s infinite ease-in-out;
}

.loading-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid rgba(255, 255, 255, 0.1);
  border-top-color: var(--accent-color);
  border-radius: 50%;
  animation: spin 1s infinite linear;
}

.loading-text {
  margin-top: 1rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

@keyframes pulseLogo {
  0%, 100% { transform: scale(1); opacity: 0.7; }
  50% { transform: scale(1.05); opacity: 1; }
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.hidden {
  display: none !important;
  opacity: 0;
  pointer-events: none;
}

/* Responsiveness / Mobile Optimizations */
@media (max-width: 768px) {
  .app-container {
    padding: 1.5rem 1rem 1rem 1rem;
  }
  .brand-name {
    font-size: 1.4rem;
    letter-spacing: 0.15em;
  }
  .brand-link:hover .brand-name {
    letter-spacing: 0.18em;
  }
  .logo-img {
    height: 38px;
  }
  .display-card {
    padding: 1rem;
    border-radius: 20px;
  }
  .banner-img {
    max-height: 50vh;
  }
}

@media (max-width: 480px) {
  .brand-name {
    font-size: 1.2rem;
    letter-spacing: 0.12em;
  }
  .brand-link:hover .brand-name {
    letter-spacing: 0.14em;
  }
  .logo-img {
    height: 32px;
  }
  .banner-img {
    max-height: 45vh;
  }
  .live-btn {
    padding: 0.8rem 1.8rem;
    font-size: 0.95rem;
  }
}
