/* Variables */
:root {
  --color-bg: #0a0000;
  --color-primary: #ff4500;
  --color-secondary: #8b0000;
  --color-text: #ffffff;
  --color-text-dim: #999999;
  --color-accent: #ff6b00;
}

/* Christmas Theme Variables */
:root.christmas-theme {
  --color-bg: #0a1a0a;
  --color-primary: #c41e3a;
  --color-secondary: #165b33;
  --color-text: #ffffff;
  --color-text-dim: #b8d4c8;
  --color-accent: #ffd700;
}

/* Christmas Theme Body */
.christmas-theme body {
  background: linear-gradient(135deg, #0a1a0a 0%, #1a0a1a 50%, #0a0a1a 100%);
}

/* Christmas Theme Animations */
@keyframes snowfall {
  0% {
    transform: translateY(0) translateX(0) rotate(0deg);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    transform: translateY(100vh) translateX(var(--snow-drift, 50px)) rotate(360deg);
    opacity: 0;
  }
}

@keyframes snowfall-left {
  0% {
    transform: translateY(0) translateX(0) rotate(0deg);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    transform: translateY(100vh) translateX(-100px) rotate(-360deg);
    opacity: 0;
  }
}

@keyframes snowfall-right {
  0% {
    transform: translateY(0) translateX(0) rotate(0deg);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    transform: translateY(100vh) translateX(100px) rotate(360deg);
    opacity: 0;
  }
}

/* Snowflake Effect */
.christmas-theme .snowflake {
  position: fixed;
  top: -50px;
  color: #ffffff;
  font-size: 1.5rem;
  opacity: 1;
  pointer-events: none;
  z-index: 9999;
  animation: snowfall linear infinite;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
  will-change: transform, opacity;
}

/* Christmas Lights Effect */
@keyframes christmasLights {
  0%, 100% { opacity: 1; filter: brightness(1); }
  50% { opacity: 0.6; filter: brightness(1.5); }
}

.christmas-theme .christmas-lights {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 30px;
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 1000;
  pointer-events: none;
}

.christmas-theme .christmas-light {
  font-size: 1.5rem;
  animation: christmasLights 2s ease-in-out infinite;
}

.christmas-theme .christmas-light:nth-child(2n) {
  animation-delay: 0.5s;
}

.christmas-theme .christmas-light:nth-child(3n) {
  animation-delay: 1s;
}

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

body {
  font-family: 'Special Elite', 'Courier New', monospace;
  background: linear-gradient(135deg, #0a0000 0%, #1a0a0a 100%);
  color: var(--color-text);
  overflow-x: hidden;
  min-height: 100vh;
}

/* Top Bar */
.top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  background: rgba(0, 0, 0, 0.7);
  border-bottom: 2px solid var(--color-primary);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo-icon {
  font-size: 2rem;
  animation: pulse 2s infinite;
}

.logo h1 {
  font-size: 1.5rem;
  color: var(--color-primary);
}

.user-progress {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.xp-bar {
  position: relative;
  width: 200px;
  height: 30px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  overflow: hidden;
  border: 2px solid var(--color-primary);
}

.xp-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--color-secondary), var(--color-primary));
  transition: width 0.5s ease;
}

.xp-bar span {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 0.8rem;
  font-weight: bold;
  z-index: 1;
}

.level-badge {
  text-align: center;
  padding: 0.5rem 1rem;
  background: rgba(255, 69, 0, 0.2);
  border: 2px solid var(--color-primary);
  border-radius: 10px;
}

.level-badge span {
  display: block;
  font-size: 1rem;
  font-weight: bold;
  color: var(--color-accent);
}

.level-badge p {
  font-size: 0.75rem;
  color: var(--color-text-dim);
}

.controls {
  display: flex;
  gap: 0.5rem;
}

.icon-btn {
  background: rgba(255, 69, 0, 0.3);
  border: 2px solid var(--color-primary);
  color: var(--color-text);
  padding: 0.5rem 1rem;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1.2rem;
  transition: all 0.3s;
}

.icon-btn:hover {
  background: var(--color-primary);
  transform: scale(1.1);
}

/* Navigation */
.nav-menu {
  display: flex;
  gap: 1rem;
  list-style: none;
  margin-left: 2rem;
}

.nav-menu a {
  color: var(--color-text);
  text-decoration: none;
  padding: 0.5rem 1rem;
  border-radius: 5px;
  transition: all 0.3s;
}

.nav-menu a:hover {
  background: rgba(255, 69, 0, 0.3);
  color: var(--color-accent);
}

.nav-menu a.active {
  background: rgba(255, 69, 0, 0.5);
  color: var(--color-accent);
}

/* Chat Sidebar */
.chat-toggle {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 60px;
  height: 60px;
  background: var(--color-primary);
  border: none;
  border-radius: 50%;
  font-size: 2rem;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(255, 69, 0, 0.5);
  z-index: 999;
  animation: bounce 2s infinite;
}

.chat-sidebar {
  position: fixed;
  right: -400px;
  top: 0;
  width: 350px;
  height: 100vh;
  background: rgba(10, 0, 0, 0.95);
  border-left: 2px solid var(--color-primary);
  transition: right 0.3s ease;
  z-index: 1001;
  display: flex;
  flex-direction: column;
}

.chat-sidebar.active {
  right: 0;
}

.chat-header {
  padding: 1rem;
  background: rgba(255, 69, 0, 0.2);
  border-bottom: 2px solid var(--color-primary);
  display: flex;
  align-items: center;
  gap: 1rem;
}

.bot-avatar {
  font-size: 2rem;
}

.bot-info strong {
  display: block;
  color: var(--color-accent);
}

.bot-info .status {
  font-size: 0.8rem;
  color: var(--color-text-dim);
}

.close-btn {
  margin-left: auto;
  background: none;
  border: none;
  color: var(--color-text);
  font-size: 2rem;
  cursor: pointer;
}

.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 1rem;
}

.chat-message {
  margin-bottom: 1rem;
}

.message-bubble {
  padding: 0.75rem 1rem;
  border-radius: 10px;
  max-width: 80%;
  word-wrap: break-word;
}

.chat-message.user .message-bubble {
  background: rgba(255, 69, 0, 0.3);
  margin-left: auto;
  text-align: right;
}

.chat-message.bot .message-bubble {
  background: rgba(255, 255, 255, 0.1);
}

.chat-input {
  display: flex;
  padding: 1rem;
  gap: 0.5rem;
  border-top: 2px solid var(--color-primary);
}

.chat-input input {
  flex: 1;
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid var(--color-primary);
  color: var(--color-text);
  padding: 0.75rem;
  border-radius: 8px;
  font-family: inherit;
}

.chat-input button {
  background: var(--color-primary);
  border: none;
  color: var(--color-text);
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1.2rem;
}

/* Main Content */
.main-content {
  padding: 2rem;
  max-width: 1400px;
  margin: 0 auto;
}

/* Games Grid */
.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.game-card {
  background: rgba(0, 0, 0, 0.7);
  border: 2px solid var(--color-primary);
  border-radius: 15px;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s;
  cursor: pointer;
}

.game-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(255, 69, 0, 0.5);
  border-color: var(--color-accent);
}

.game-icon {
  font-size: 4rem;
  margin: 1rem 0;
  animation: bounce 2s infinite;
}

.game-card h3 {
  color: var(--color-accent);
  font-size: 1.8rem;
  margin: 1rem 0;
}

.game-card p {
  color: var(--color-text-dim);
  margin-bottom: 1rem;
}

.play-btn {
  background: var(--color-primary);
  color: #000;
  border: none;
  padding: 0.75rem 2rem;
  font-size: 1.1rem;
  font-weight: bold;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s;
  font-family: inherit;
}

.play-btn:hover {
  background: var(--color-accent);
  transform: scale(1.1);
}

/* Modal */
.modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
}

.modal.hidden {
  display: none;
}

.modal-content {
  background: linear-gradient(135deg, #1a0a0a, #0a0000);
  border: 3px solid var(--color-primary);
  border-radius: 20px;
  padding: 2rem;
  max-width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
}

.close-modal {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(255, 69, 0, 0.3);
  border: 2px solid var(--color-primary);
  color: var(--color-text);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  transition: all 0.3s;
}

.close-modal:hover {
  background: var(--color-primary);
  transform: rotate(90deg);
}

/* Game Styles */
.game-header {
  text-align: center;
  margin-bottom: 2rem;
}

.game-header h2 {
  color: var(--color-accent);
  font-size: 2rem;
  margin-bottom: 1rem;
}

.game-stats {
  display: flex;
  justify-content: center;
  gap: 2rem;
  font-size: 1.1rem;
}

.memory-grid {
  display: grid;
  grid-template-columns: repeat(4, 100px);
  gap: 1rem;
  justify-content: center;
}

.memory-card {
  width: 100px;
  height: 100px;
  perspective: 1000px;
  cursor: pointer;
}

.card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.6s;
  transform-style: preserve-3d;
}

.memory-card.flipped .card-inner {
  transform: rotateY(180deg);
}

.card-front, .card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  border-radius: 10px;
  border: 2px solid var(--color-primary);
}

.card-front {
  background: rgba(255, 69, 0, 0.3);
}

.card-back {
  background: rgba(255, 69, 0, 0.5);
  transform: rotateY(180deg);
}

.memory-card.matched .card-inner {
  opacity: 0.5;
}

.reflex-arena {
  position: relative;
  width: 100%;
  height: 400px;
  background: rgba(0, 0, 0, 0.5);
  border: 3px solid var(--color-primary);
  border-radius: 15px;
}

.ghost-target {
  position: absolute;
  font-size: 3rem;
  cursor: pointer;
  animation: ghostFloat 2s ease-in-out infinite;
  transition: transform 0.2s;
}

.ghost-target:hover {
  transform: scale(1.3);
}

.wheel-container {
  display: flex;
  justify-content: center;
  margin: 2rem 0;
}

.wheel {
  position: relative;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  border: 5px solid var(--color-primary);
  background: radial-gradient(circle, #1a0a0a, #0a0000);
  transition: transform 4s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.wheel-segment {
  position: absolute;
  width: 50%;
  height: 50%;
  top: 50%;
  left: 50%;
  transform-origin: 0 0;
  transform: rotate(var(--rotation));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  color: var(--color-accent);
}

.wheel-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: bold;
  color: #000;
  border: 3px solid var(--color-accent);
}

.puzzle-container {
  max-width: 500px;
  margin: 0 auto;
  text-align: center;
}

.riddle {
  background: rgba(255, 69, 0, 0.2);
  padding: 2rem;
  border-radius: 15px;
  margin-bottom: 2rem;
  border: 2px solid var(--color-primary);
}

.riddle p {
  font-size: 1.3rem;
  line-height: 1.6;
}

.puzzle-input {
  width: 100%;
  padding: 1rem;
  font-size: 1.1rem;
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid var(--color-primary);
  border-radius: 10px;
  color: var(--color-text);
  font-family: inherit;
  margin-bottom: 1rem;
}

.puzzle-hint {
  margin-top: 1rem;
  font-size: 1.1rem;
  min-height: 30px;
}

.game-result, .game-over {
  text-align: center;
  padding: 2rem;
}

.game-result h2, .game-over h2 {
  color: var(--color-accent);
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.prize-display {
  font-size: 3rem;
  margin: 2rem 0;
}

.btn-primary {
  background: var(--color-primary);
  color: #000;
  border: none;
  padding: 1rem 2rem;
  font-size: 1.2rem;
  font-weight: bold;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s;
  font-family: inherit;
}

.btn-primary:hover {
  background: var(--color-accent);
  transform: translateY(-3px);
}

/* Notification */
.notification {
  position: fixed;
  top: 100px;
  right: 2rem;
  background: rgba(255, 69, 0, 0.9);
  border: 2px solid var(--color-accent);
  border-radius: 10px;
  padding: 1rem 1.5rem;
  min-width: 300px;
  box-shadow: 0 5px 20px rgba(255, 69, 0, 0.5);
  transform: translateX(400px);
  transition: transform 0.3s ease;
  z-index: 3000;
}

.notification.show {
  transform: translateX(0);
}

.notification-content strong {
  display: block;
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  color: #fff;
}

.notification-content p {
  color: #fff;
}

/* Animations */
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

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

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

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

/* Loading Screen */
.loading-screen {
  position: fixed;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #000;
  z-index: 9999;
}

.skull-loader {
  width: 80px;
  height: 80px;
  border: 8px solid var(--color-secondary);
  border-top-color: var(--color-primary);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

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

.loading-screen p {
  margin-top: 2rem;
  font-size: 1.2rem;
  color: var(--color-text-dim);
}

.hidden {
  display: none !important;
}

/* Warning Screen */
.warning-screen {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #1a0000, #0a0000);
  z-index: 9998;
}

.warning-content {
  text-align: center;
  max-width: 500px;
  padding: 3rem;
  background: rgba(0, 0, 0, 0.8);
  border: 3px solid var(--color-primary);
  border-radius: 20px;
  animation: fadeIn 1s;
}

.warning-content h1 {
  color: var(--color-primary);
  font-size: 3rem;
  margin-bottom: 1rem;
}

.online-count {
  margin: 2rem 0;
  font-size: 1.2rem;
}

.btn-secondary {
  background: rgba(255, 69, 0, 0.3);
  color: var(--color-text);
  border: 2px solid var(--color-primary);
  padding: 1rem 2rem;
  font-size: 1.1rem;
  border-radius: 10px;
  cursor: pointer;
  margin: 0.5rem;
  font-family: inherit;
  transition: all 0.3s;
}

.btn-secondary:hover {
  background: rgba(255, 69, 0, 0.5);
}

/* Hero Section */
.hero-section {
  text-align: center;
  padding: 4rem 2rem;
  background: radial-gradient(circle, rgba(255, 69, 0, 0.1), transparent);
}

.hero-section h1 {
  font-size: 4rem;
  color: var(--color-primary);
  margin-bottom: 1rem;
  animation: pulse 2s infinite;
}

.hero-section p {
  font-size: 1.5rem;
  color: var(--color-text-dim);
  max-width: 600px;
  margin: 0 auto;
}

/* Floating Bats Animation */
.floating-bat {
  position: fixed;
  font-size: 2rem;
  pointer-events: none;
  z-index: 1;
  animation: flyAcross 20s linear infinite;
}

@keyframes flyAcross {
  0% {
    left: -100px;
    transform: scaleX(1);
  }
  48% {
    transform: scaleX(1);
  }
  50% {
    left: 50%;
    transform: scaleX(-1);
  }
  100% {
    left: 120%;
    transform: scaleX(-1);
  }
}

/* Glowing Effect */
.glow {
  animation: glow 2s ease-in-out infinite;
}

@keyframes glow {
  0%, 100% {
    box-shadow: 0 0 20px rgba(255, 102, 0, 0.5);
  }
  50% {
    box-shadow: 0 0 40px rgba(255, 102, 0, 0.8);
  }
}

/* Shake Animation */
@keyframes shake {
  0%, 100% { transform: translateX(0); }
  10%, 30%, 50%, 70%, 90% { transform: translateX(-5px); }
  20%, 40%, 60%, 80% { transform: translateX(5px); }
}

.shake {
  animation: shake 0.5s;
}

/* Text Glitch Effect */
@keyframes textGlitch {
  0%, 100% {
    text-shadow: 2px 2px 0 rgba(255, 0, 0, 0.7), -2px -2px 0 rgba(0, 255, 255, 0.7);
  }
  50% {
    text-shadow: -2px -2px 0 rgba(255, 0, 0, 0.7), 2px 2px 0 rgba(0, 255, 255, 0.7);
  }
}

.glitch {
  animation: textGlitch 0.3s infinite;
}

/* Social Footer */
.social-footer a:hover {
  filter: drop-shadow(0 0 10px var(--color-primary));
}

/* Scroll animations */
@keyframes slideInFromBottom {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.slide-in {
  animation: slideInFromBottom 0.8s ease;
}

/* Cursor effects */
body {
  cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32"><text y="28" font-size="28">🎃</text></svg>'), auto;
}

a, button, .game-card, .memory-card, .video-thumbnail {
  cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32"><text y="28" font-size="28">👻</text></svg>'), pointer;
}

/* Christmas Cursor effects */
.christmas-theme body {
  cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32"><text y="28" font-size="28">⛄</text></svg>'), auto;
}

.christmas-theme a,
.christmas-theme button,
.christmas-theme .game-card,
.christmas-theme .memory-card,
.christmas-theme .video-thumbnail {
  cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32"><text y="28" font-size="28">🎁</text></svg>'), pointer;
}

/* =============================================
   VIDEOS PAGE STYLES
   ============================================= */

/* Hero Section */
.hero-section {
  text-align: center;
  padding: 60px 20px;
  background: linear-gradient(180deg, rgba(255, 69, 0, 0.1) 0%, transparent 100%);
  border-radius: 15px;
  margin-bottom: 40px;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: var(--color-text-dim);
  max-width: 800px;
  margin: 20px auto;
  line-height: 1.6;
}

.cta-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 30px;
}

/* Video Gallery */
.video-gallery-section {
  margin: 60px 0;
}

.section-description {
  text-align: center;
  color: var(--color-text-dim);
  margin-bottom: 30px;
  font-size: 1.1rem;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.video-card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 2px solid rgba(255, 69, 0, 0.3);
}

.video-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 30px rgba(255, 69, 0, 0.4);
  border-color: var(--color-primary);
}

.video-thumbnail {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  background: #000;
  overflow: hidden;
}

.video-thumbnail img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.video-card:hover .video-thumbnail img {
  transform: scale(1.1);
}

.play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 70px;
  height: 70px;
  background: rgba(255, 69, 0, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: white;
  transition: all 0.3s ease;
  z-index: 2;
}

.video-card:hover .play-button {
  background: var(--color-primary);
  transform: translate(-50%, -50%) scale(1.2);
  box-shadow: 0 0 20px rgba(255, 69, 0, 0.8);
}

.video-duration {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 0.85rem;
  font-weight: 600;
  z-index: 2;
}

.video-info {
  padding: 20px;
}

.video-info h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: var(--color-primary);
}

.video-info p {
  color: var(--color-text-dim);
  font-size: 0.95rem;
  line-height: 1.5;
  margin-bottom: 15px;
}

.video-meta {
  display: flex;
  gap: 15px;
  font-size: 0.85rem;
  color: var(--color-text-dim);
}

.video-meta span {
  background: rgba(255, 69, 0, 0.2);
  padding: 4px 10px;
  border-radius: 12px;
}

/* Video Modal */
.video-modal-content {
  max-width: 1000px;
  width: 90vw;
  height: 0;
  padding-bottom: 56.25%;
  position: relative;
  background: #000;
}

#videoPlayerContainer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

#videoPlayerContainer iframe {
  border-radius: 8px;
}

/* Content Sections */
.content-section {
  margin: 60px 0;
  padding: 40px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 15px;
  border-left: 4px solid var(--color-primary);
}

.content-section h2 {
  margin-bottom: 20px;
  color: var(--color-primary);
}

.content-section p {
  line-height: 1.8;
  margin-bottom: 15px;
  color: var(--color-text-dim);
}

.content-section strong {
  color: var(--color-primary);
  font-weight: 600;
}

.content-section a {
  color: var(--color-primary);
  text-decoration: underline;
}

.content-section a:hover {
  color: #ff6a33;
}

/* How-To Steps */
.how-to-section {
  background: linear-gradient(135deg, rgba(255, 69, 0, 0.1) 0%, rgba(139, 0, 0, 0.1) 100%);
}

.how-to-steps {
  display: grid;
  gap: 30px;
  margin-top: 30px;
}

.step-card {
  background: rgba(0, 0, 0, 0.3);
  padding: 30px;
  border-radius: 12px;
  border: 2px solid rgba(255, 69, 0, 0.3);
  position: relative;
  transition: all 0.3s ease;
}

.step-card:hover {
  border-color: var(--color-primary);
  box-shadow: 0 5px 20px rgba(255, 69, 0, 0.3);
  transform: translateX(10px);
}

.step-number {
  position: absolute;
  top: -15px;
  left: 30px;
  width: 50px;
  height: 50px;
  background: var(--color-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: bold;
  box-shadow: 0 4px 15px rgba(255, 69, 0, 0.5);
}

.step-card h3 {
  margin-top: 20px;
  margin-bottom: 15px;
  color: var(--color-primary);
  font-size: 1.3rem;
}

.step-list {
  list-style: none;
  margin-top: 15px;
}

.step-list li {
  padding: 8px 0;
  padding-left: 10px;
  color: var(--color-text-dim);
  border-left: 2px solid rgba(255, 69, 0, 0.3);
  margin-bottom: 5px;
}

/* Projector Recommendations */
.projector-recommendations {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  margin-top: 30px;
}

.recommendation-card {
  background: rgba(0, 0, 0, 0.4);
  padding: 30px;
  border-radius: 12px;
  border: 2px solid rgba(255, 69, 0, 0.3);
  transition: all 0.3s ease;
}

.recommendation-card:hover {
  border-color: var(--color-primary);
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(255, 69, 0, 0.3);
}

.recommendation-card h3 {
  color: var(--color-primary);
  margin-bottom: 10px;
  font-size: 1.4rem;
}

.recommendation-card p {
  margin: 10px 0;
}

.recommendation-card ul {
  list-style: none;
  margin-top: 15px;
}

.recommendation-card ul li {
  padding: 6px 0;
  color: var(--color-text-dim);
}

/* FAQ Section */
.faq-section {
  margin: 60px 0;
  padding: 40px;
  background: rgba(139, 0, 0, 0.1);
  border-radius: 15px;
}

.faq-section h2 {
  text-align: center;
  margin-bottom: 40px;
  color: var(--color-primary);
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
}

.faq-item {
  background: rgba(0, 0, 0, 0.3);
  padding: 25px;
  border-radius: 12px;
  border-left: 4px solid var(--color-primary);
  transition: all 0.3s ease;
}

.faq-item:hover {
  background: rgba(0, 0, 0, 0.5);
  transform: translateX(5px);
  box-shadow: 0 5px 15px rgba(255, 69, 0, 0.2);
}

.faq-item h3 {
  color: var(--color-primary);
  margin-bottom: 12px;
  font-size: 1.1rem;
}

.faq-item p {
  color: var(--color-text-dim);
  line-height: 1.6;
}

.faq-item a {
  color: var(--color-primary);
  text-decoration: underline;
}

/* CTA Section */
.cta-section {
  text-align: center;
  padding: 60px 20px;
  background: linear-gradient(135deg, rgba(255, 69, 0, 0.2) 0%, rgba(139, 0, 0, 0.2) 100%);
  border-radius: 15px;
  margin: 60px 0;
}

.cta-section h2 {
  margin-bottom: 15px;
  font-size: 2rem;
}

.cta-section > p {
  font-size: 1.2rem;
  color: var(--color-text-dim);
  margin-bottom: 40px;
}

.social-cta-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  max-width: 1000px;
  margin: 0 auto;
}

.social-cta-card {
  background: rgba(0, 0, 0, 0.4);
  padding: 30px 20px;
  border-radius: 12px;
  border: 2px solid rgba(255, 69, 0, 0.3);
  text-align: center;
  text-decoration: none;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.social-cta-card:hover {
  border-color: var(--color-primary);
  transform: translateY(-8px);
  box-shadow: 0 10px 30px rgba(255, 69, 0, 0.4);
  background: rgba(255, 69, 0, 0.1);
}

.social-icon-large {
  font-size: 3rem;
  display: block;
}

.social-cta-card h3 {
  color: var(--color-primary);
  margin: 10px 0 5px;
}

.social-cta-card p {
  color: var(--color-text-dim);
  font-size: 0.95rem;
  margin: 5px 0;
}

.cta-button {
  background: var(--color-primary);
  color: white;
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: 600;
  margin-top: 10px;
  transition: all 0.3s ease;
}

.social-cta-card:hover .cta-button {
  background: #ff6a33;
  box-shadow: 0 0 15px rgba(255, 69, 0, 0.6);
}

/* Related Links */
.related-links-section {
  margin: 60px 0;
}

.related-links-section h2 {
  text-align: center;
  margin-bottom: 30px;
  color: var(--color-primary);
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.related-card {
  background: rgba(255, 255, 255, 0.05);
  padding: 30px;
  border-radius: 12px;
  border: 2px solid rgba(255, 69, 0, 0.3);
  text-align: center;
  text-decoration: none;
  transition: all 0.3s ease;
}

.related-card:hover {
  border-color: var(--color-primary);
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(255, 69, 0, 0.3);
  background: rgba(255, 69, 0, 0.1);
}

.related-icon {
  font-size: 3rem;
  display: block;
  margin-bottom: 15px;
}

.related-card h3 {
  color: var(--color-primary);
  margin-bottom: 10px;
}

.related-card p {
  color: var(--color-text-dim);
  font-size: 0.95rem;
}

/* Footer Enhancements */
.footer {
  background: rgba(0, 0, 0, 0.5);
  border-top: 2px solid rgba(255, 69, 0, 0.3);
  margin-top: 80px;
  padding: 40px 20px 20px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto 30px;
}

.footer-section h4 {
  color: var(--color-primary);
  margin-bottom: 15px;
}

.footer-section p,
.footer-section ul li {
  color: var(--color-text-dim);
  line-height: 1.8;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li a {
  color: var(--color-text-dim);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section ul li a:hover {
  color: var(--color-primary);
}

.footer-social {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-social a {
  color: var(--color-text-dim);
  text-decoration: none;
  transition: all 0.3s ease;
  padding: 5px;
  border-radius: 5px;
}

.footer-social a:hover {
  color: var(--color-primary);
  background: rgba(255, 69, 0, 0.1);
  padding-left: 15px;
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 69, 0, 0.2);
  color: var(--color-text-dim);
  font-size: 0.9rem;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .hero-section {
    padding: 40px 15px;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .cta-buttons {
    flex-direction: column;
  }

  .video-grid {
    grid-template-columns: 1fr;
  }

  .content-section {
    padding: 25px 20px;
  }

  .step-card {
    padding: 25px 20px;
  }

  .step-card:hover {
    transform: translateX(0);
  }

  .projector-recommendations {
    grid-template-columns: 1fr;
  }

  .faq-grid {
    grid-template-columns: 1fr;
  }

  .social-cta-grid {
    grid-template-columns: 1fr;
  }

  .related-grid {
    grid-template-columns: 1fr;
  }

  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-social {
    align-items: center;
  }
}

@media (max-width: 480px) {
  .video-card {
    margin: 0 -10px;
    border-radius: 8px;
  }

  .cta-section h2 {
    font-size: 1.5rem;
  }

  .social-icon-large {
    font-size: 2.5rem;
  }
}
