/* HipDiscovery Custom Styles - Premium Dark Gamer Theme */
/* Dark theme with neon purple/green accents - Clean, modern, mobile-first */

:root {
  --bg-primary: #09090b;
  --bg-secondary: #18181b;
  --bg-card: #27272a;
  --text-primary: #f4f4f5;
  --text-secondary: #a1a1aa;
  --accent-purple: #a855f7;
  --accent-green: #22c55e;
  --accent-red: #ef4444;
  --border: #3f3f46;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* Premium feel enhancements */
.glass {
  background: rgba(24, 24, 27, 0.95);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border);
}

.card {
  transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1), 
              box-shadow 0.2s cubic-bezier(0.4, 0.0, 0.2, 1),
              border-color 0.2s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
  border-color: var(--accent-purple);
}

.btn-primary {
  background-color: var(--accent-purple);
  color: white;
  transition: all 0.2s cubic-bezier(0.4, 0.0, 0.2, 1);
}

.btn-primary:hover {
  background-color: #9333ea;
  transform: translateY(-1px);
  box-shadow: 0 10px 15px -3px rgb(168 85 247 / 0.3);
}

.btn-secondary {
  background-color: var(--bg-card);
  color: var(--text-primary);
  border: 1px solid var(--border);
  transition: all 0.2s ease;
}

.btn-secondary:hover {
  background-color: #3f3f46;
  border-color: var(--accent-purple);
}

.btn-live {
  background-color: var(--accent-red);
  color: white;
  animation: live-pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes live-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.4); }
  70%, 100% { box-shadow: 0 0 0 12px rgba(239, 68, 68, 0); }
}

/* Live indicator pulse dot */
.live-dot {
  width: 12px;
  height: 12px;
  background-color: var(--accent-red);
  border-radius: 9999px;
  position: relative;
  display: inline-block;
  margin-right: 8px;
}

.live-dot::after {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  width: 16px;
  height: 16px;
  border-radius: 9999px;
  background-color: var(--accent-red);
  opacity: 0.4;
  animation: ping 1.5s cubic-bezier(0, 0, 0.2, 1) infinite;
}

@keyframes ping {
  75%, 100% {
    transform: scale(2.2);
    opacity: 0;
  }
}

/* Emote cards */
.emote-card {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.emote-card:hover {
  transform: scale(1.03);
  box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.2);
}

.emote-card img {
  image-rendering: crisp-edges;
  transition: transform 0.3s ease;
}

.emote-card:hover img {
  transform: scale(1.05);
}

/* Section headers */
.section-header {
  position: relative;
  display: inline-block;
}

.section-header::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 60%;
  height: 3px;
  background: linear-gradient(to right, var(--accent-purple), var(--accent-green));
  border-radius: 9999px;
}

/* Mobile nav */
.mobile-menu {
  transition: max-height 0.3s ease-out, opacity 0.2s ease;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
}

.mobile-menu.open {
  max-height: 500px;
  opacity: 1;
}

/* AdSense container styling */
.ad-container {
  background-color: var(--bg-secondary);
  border: 1px dashed var(--border);
  min-height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  color: var(--text-secondary);
}

/* Game cards */
.game-card {
  background: linear-gradient(145deg, var(--bg-card), #1f1f23);
  border: 1px solid var(--border);
}

.game-card:hover {
  border-color: var(--accent-purple);
}

/* Consistent focus states for accessibility */
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--accent-purple);
  outline-offset: 2px;
}

/* Schedule table */
.schedule-table th {
  background-color: var(--bg-secondary);
  color: var(--text-secondary);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
}

.schedule-row.today {
  background-color: rgba(168, 85, 247, 0.08);
  border-left: 3px solid var(--accent-purple);
}

/* YouTube VOD cards */
.vod-card {
  overflow: hidden;
}

.vod-card .thumbnail {
  position: relative;
}

.vod-card .thumbnail::after {
  content: '▶';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(0,0,0,0.7);
  color: white;
  width: 48px;
  height: 48px;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  opacity: 0.9;
  transition: all 0.2s ease;
}

.vod-card:hover .thumbnail::after {
  background: var(--accent-purple);
  transform: translate(-50%, -50%) scale(1.1);
}

/* Footer */
footer {
  border-top: 1px solid var(--border);
}

/* Utility for neon text accent */
.neon-text {
  text-shadow: 0 0 8px rgba(168, 85, 247, 0.5);
}