/*
Theme Name: Mayhem V2
Theme URI: https://mayhemvideos.com/
Author: Mayhem Videos
Author URI: https://mayhemvideos.com/
Description: Custom conversion-focused theme for Mayhem Videos.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.4
Requires PHP: 7.4
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: mayhem-v2
*/

:root {
  --bg: #0b0c10;
  --bg-alt: #12141b;
  --surface: #181b25;
  --accent: #ff7a1a;
  --accent-2: #2ed3b7;
  --text: #f2f4f7;
  --muted: #a5adbd;
  --border: #2a2f3d;
  --shadow: 0 18px 50px rgba(0,0,0,0.35);
  --radius: 16px;
  --max: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Manrope', sans-serif;
  color: var(--text);
  background: radial-gradient(1200px 600px at 10% 10%, #1a1f2b 0%, #0b0c10 60%) fixed;
  line-height: 1.6;
}
img { max-width: 100%; height: auto; }

.container { width: min(100%, var(--max)); margin: 0 auto; padding: 0 20px; }

.site-header {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(16px);
  background: rgba(11,12,16,0.8);
  border-bottom: 1px solid var(--border);
}
.site-header .nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 0;
}
.brand {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.4rem; font-weight: 700; letter-spacing: 0.5px;
  color: var(--text); text-decoration: none;
}
.nav-links { display: flex; gap: 18px; align-items: center; }
.nav-links a { color: var(--muted); text-decoration: none; font-weight: 600; }
.nav-links a:hover { color: var(--text); }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 12px 20px; border-radius: 999px; border: 1px solid transparent;
  font-weight: 700; text-decoration: none; cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.btn-primary {
  background: linear-gradient(135deg, var(--accent), #ffb347);
  color: #1a120b; box-shadow: 0 12px 30px rgba(255,122,26,0.35);
}
.btn-secondary { background: transparent; border-color: var(--border); color: var(--text); }
.btn:hover { transform: translateY(-2px); }

.hero {
  padding: 90px 0 70px;
  background: radial-gradient(800px 500px at 70% 10%, rgba(46,211,183,0.2), transparent 60%);
}
.hero-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 32px; align-items: center; }
.hero h1 { font-family: 'Space Grotesk', sans-serif; font-size: clamp(2.4rem, 4vw, 3.6rem); margin: 0 0 16px; }
.hero p { color: var(--muted); font-size: 1.1rem; }

.card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow);
}
.section { padding: 70px 0; }
.section-title { font-family: 'Space Grotesk', sans-serif; font-size: 2rem; margin-bottom: 12px; }
.section-sub { color: var(--muted); margin-bottom: 28px; }

.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }

.pricing-card { border: 1px solid var(--border); border-radius: 20px; padding: 24px; background: linear-gradient(180deg, #1c202c, #141820); }
.pricing-card.active { border-color: var(--accent); box-shadow: 0 0 0 2px rgba(255,122,26,0.25); }
.price { font-size: 2.4rem; font-family: 'Space Grotesk', sans-serif; margin: 10px 0; }
.badge { display: inline-flex; gap: 8px; align-items: center; background: rgba(255,122,26,0.12); color: var(--accent); padding: 4px 10px; border-radius: 999px; font-weight: 700; font-size: 0.8rem; }

.sticky-summary { position: sticky; top: 100px; }
.summary-mobile { position: fixed; bottom: 0; left: 0; right: 0; background: rgba(16,18,25,0.96); border-top: 1px solid var(--border); padding: 12px 20px; display: none; z-index: 40; }
.summary-mobile .btn { width: 100%; }

.faq-item { border-bottom: 1px solid var(--border); padding: 16px 0; }
.faq-item button { width: 100%; background: none; border: none; color: var(--text); font-weight: 700; font-size: 1rem; text-align: left; display: flex; justify-content: space-between; gap: 12px; }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.25s ease; color: var(--muted); }
.faq-item.open .faq-answer { max-height: 300px; }

.footer { padding: 40px 0; border-top: 1px solid var(--border); color: var(--muted); }
.footer a { color: var(--muted); text-decoration: none; }

.form-field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 14px; }
input, textarea, select {
  background: #0f121a; border: 1px solid var(--border); border-radius: 10px; color: var(--text);
  padding: 10px 12px; font-size: 1rem; font-family: 'Manrope', sans-serif;
}

.notice-pay {
  border: 1px dashed rgba(255,122,26,0.6); padding: 12px 16px; border-radius: 12px; color: var(--muted);
}

.mayhem-modal {
  position: fixed; inset: 0; background: rgba(0,0,0,0.7); display: none; align-items: center; justify-content: center; z-index: 60;
}
.mayhem-modal.open { display: flex; }
.mayhem-modal-inner { background: #0f121a; padding: 20px; border-radius: 16px; width: min(900px, 90%); }
.mayhem-video-frame { position: relative; padding-top: 56.25%; margin-top: 12px; }
.mayhem-video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

@media (max-width: 900px) {
  .nav-links { display: none; }
  .summary-mobile { display: block; }
  .sticky-summary { position: static; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}
