/* ==========================================
   INVINCIBLE ACADEMY - Main CSS - Dark Horror Theme
   ========================================== */

:root {
  --primary: #c9a84c;
  --secondary: #a87c30;
  --cyan: #dc143c;
  --light-cyan: #ff4444;
  --blood: #8b0000;
  --bright-blood: #cc0000;
  --gold-light: #e8c97a;
  --white: #ffffff;
  --black: #000000;
  --gray: #7a6a4a;
  --dark-bg: #080808;
  --darker-bg: #040404;
  --card-bg: #111111;
  --card-bg-2: #181818;
  --text-dark: #e8d5a3;
  --text-gray: #8a7a5a;
  --border: #2a2018;
  --shadow: 0 8px 32px rgba(201,168,76,0.12);
  --shadow-hover: 0 16px 48px rgba(201,168,76,0.28);
  --radius: 16px;
  --radius-sm: 8px;
  --transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  overflow-x: hidden;
}

body {
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text-dark);
  background: #030303;
  overflow-x: hidden;
  line-height: 1.6;
}

/* ---- Film grain overlay — makes everything feel analog/gritty ---- */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 99998;
  opacity: 0.055;
  background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='256' height='256'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/><feColorMatrix type='saturate' values='0'/></filter><rect width='256' height='256' filter='url(%23n)'/></svg>");
  mix-blend-mode: overlay;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul, ol {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

input, textarea, select {
  font-family: inherit;
}

/* ---- Horror Heading Font ---- */
.section-title,
.instructor-name,
.logo-line1,
.footer-logo-line1,
.mobile-nav-link,
.title-line {
  font-family: 'Cinzel Decorative', serif;
}

/* ---- Section Base ---- */
.section {
  padding: 100px 0;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, rgba(201,168,76,0.12), rgba(201,168,76,0.04));
  border: 1px solid rgba(201,168,76,0.45);
  color: var(--primary);
  padding: 6px 18px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 16px;
  font-family: 'Creepster', cursive;
}

.section-title {
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 800;
  line-height: 1.15;
  color: var(--text-dark);
  margin-bottom: 16px;
  text-shadow: 0 0 40px rgba(201,168,76,0.5), 0 2px 8px rgba(0,0,0,0.9);
}

.section-title .gradient-text {
  background: linear-gradient(135deg, var(--primary), var(--gold-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-subtitle {
  font-size: 17px;
  color: var(--text-gray);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 600;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #0a0800;
  box-shadow: 0 4px 20px rgba(201,168,76,0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(201,168,76,0.55);
}

.btn-whatsapp {
  background: linear-gradient(135deg, #25d366, #128c7e);
  color: white;
  box-shadow: 0 4px 20px rgba(37,211,102,0.35);
}

.btn-whatsapp:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(37,211,102,0.5);
}

.btn-phone {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #0a0800;
  box-shadow: 0 4px 20px rgba(201,168,76,0.35);
}

.btn-phone:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(201,168,76,0.5);
}

.btn-outline {
  border: 2px solid var(--primary);
  color: var(--primary);
  background: transparent;
}

.btn-outline:hover {
  background: var(--primary);
  color: #0a0800;
}

.btn-sm {
  padding: 10px 22px;
  font-size: 13px;
}

/* ---- Sticky Buttons ---- */
.sticky-buttons {
  position: fixed;
  bottom: 32px;
  left: 24px;
  z-index: 9000;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sticky-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 20px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 14px;
  color: white;
  box-shadow: 0 4px 20px rgba(0,0,0,0.5);
  transition: var(--transition);
  transform: translateX(-120px);
  opacity: 0;
  animation: slideInLeft 0.6s forwards;
}

.sticky-btn:hover {
  transform: translateX(0) translateY(-2px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.6);
}

.sticky-btn-wa {
  background: linear-gradient(135deg, #25d366, #128c7e);
  animation-delay: 0.3s;
}

.sticky-btn-tel {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #0a0800;
  animation-delay: 0.5s;
}

@keyframes slideInLeft {
  to { transform: translateX(0); opacity: 1; }
}

.sticky-btn-wa {
  animation: slideInLeft 0.6s 0.3s forwards, pulse-wa 2s 1s infinite;
}

@keyframes pulse-wa {
  0%, 100% { box-shadow: 0 4px 20px rgba(37,211,102,0.4); }
  50% { box-shadow: 0 4px 30px rgba(37,211,102,0.8), 0 0 0 8px rgba(37,211,102,0.1); }
}

/* ---- Audio Player ---- */
.audio-player {
  position: fixed;
  bottom: 32px;
  right: 24px;
  z-index: 9000;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--secondary), var(--primary));
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(201,168,76,0.5);
  transition: var(--transition);
  animation: slideInRight 0.6s 0.7s both;
  border: 1px solid rgba(201,168,76,0.3);
}

@keyframes slideInRight {
  from { transform: translateX(80px); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

.audio-player:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 32px rgba(139,0,0,0.7);
}

.audio-player.playing {
  animation: slideInRight 0.6s 0.7s both, pulse-audio 1.5s 1.4s infinite;
}

@keyframes pulse-audio {
  0%, 100% { box-shadow: 0 4px 20px rgba(201,168,76,0.5); }
  50% { box-shadow: 0 0 0 12px rgba(201,168,76,0.1), 0 4px 30px rgba(201,168,76,0.6); }
}

.audio-player i {
  font-size: 20px;
}

/* ---- Gradient Text Utility ---- */
.gradient-text {
  background: linear-gradient(135deg, var(--primary), var(--gold-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ---- Blood Drip Mixin (used via section ::before) ---- */
@keyframes bloodGlow {
  0%, 100% { filter: drop-shadow(0 2px 6px rgba(201,168,76,0.5)); }
  50%       { filter: drop-shadow(0 2px 18px rgba(204,0,0,0.9)); }
}

/* ---- Scrollbar ---- */
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: var(--darker-bg);
}
::-webkit-scrollbar-thumb {
  background: linear-gradient(to bottom, var(--primary), var(--blood));
  border-radius: 3px;
}

/* AOS not used — removed pointer-events override */

/* ---- Responsive ---- */
@media (max-width: 768px) {
  .section { padding: 64px 0; }
  .section-header { margin-bottom: 40px; }
  .sticky-btn span { display: none; }
  .sticky-btn { padding: 14px; border-radius: 50%; width: 52px; height: 52px; justify-content: center; }
}
