/* styles.css - Premium black‑yellow theme for BeeC video host */
:root {
  --color-bg: #0a0a0a; /* deep black */
  --color-primary: #ffcc00; /* vivid yellow */
  --color-primary-dark: #e6b800;
  --color-text: #f5f5f5;
  --color-muted: #bbbbbb;
  --font-family: 'Outfit', sans-serif;
}

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

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

body {
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-family);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

header, footer {
  background: rgba(10,10,10,0.85);
  backdrop-filter: blur(8px);
  padding: 1rem 2rem;
}

nav a {
  color: var(--color-primary);
  text-decoration: none;
  margin-right: 1.5rem;
  font-weight: 600;
  position: relative;
  transition: color 0.3s ease;
}

nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 0%;
  height: 2px;
  background: var(--color-primary);
  transition: width 0.3s ease;
}

nav a:hover {
  color: var(--color-primary-dark);
}

nav a:hover::after {
  width: 100%;
}

.main-container {
  flex: 1;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

h1, h2 {
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--color-primary);
}

button {
  background: var(--color-primary);
  color: var(--color-bg);
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease;
}

button:hover {
  background: var(--color-primary-dark);
  transform: translateY(-2px);
}

/* Glass‑morphism cards */
.card {
  background: rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 2rem;
  margin: 1rem 0;
  width: 100%;
  max-width: 800px;
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 30px rgba(0,0,0,0.5);
}

/* Video error overlay */
#video-error-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.85);
  color: var(--color-primary);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

#video-error-overlay.visible {
  opacity: 1;
  pointer-events: all;
}

footer {
  text-align: center;
  font-size: 0.9rem;
  color: var(--color-muted);
}
