/* ============================================================
   MayhemVideos — main.css
   Core design system: reset, tokens, layout, header, footer,
   hero, how-it-works, CTA sections, buttons, forms, utilities
   ============================================================ */

/* ── CSS Variables ─────────────────────────────────────────── */
:root {
    --black: #0a0a0a;
    --dark: #111111;
    --surface: #1a1a1a;
    --surface-2: #222222;
    --border: #2a2a2a;
    --pink: #f78da7;
    --pink-dim: #b8960c;
    --pink-glow: rgba(247, 141, 167, 0.15);
    --red: #ff0033;
    --red-dim: #cc0029;
    --red-glow: rgba(255, 0, 51, 0.15);
    --text: #e8e8e8;
    --text-muted: #888888;
    --text-faint: #555555;
    --font-body: 'Inter', system-ui, -apple-system, sans-serif;
    --font-head: 'Bebas Neue', 'Inter', sans-serif;
    --radius: 8px;
    --radius-lg: 16px;
    --shadow-pink: 0 0 30px rgba(247, 141, 167, 0.2);
    --shadow-red: 0 0 30px rgba(255, 0, 51, 0.2);
    --transition: 0.3s ease;
    --header-h: 155px; /* 120px nav + 35px topbar */
    --topbar-h: 35px;
}

/* ── Reset ─────────────────────────────────────────────────── */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background: var(--black);
    color: var(--text);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

img,
video {
    max-width: 100%;
    display: block;
}

a {
    color: var(--pink);
    text-decoration: none;
    transition: color var(--transition);
}

a:hover {
    color: #fff;
}

ul {
    list-style: none;
}

input,
textarea,
select,
button {
    font-family: inherit;
}

/* ── Container ─────────────────────────────────────────────── */
.mv-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.mv-container--wide {
    max-width: 1400px;
}

.mv-container--narrow {
    max-width: 800px;
}

/* ── Visitor count top bar ─────────────────────────────────── */
.mv-topbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1001;
    height: var(--topbar-h);
    background: linear-gradient(90deg, #1a0a0f 0%, #2a0d15 50%, #1a0a0f 100%);
    border-bottom: 1px solid rgba(247, 141, 167, 0.25);
    color: var(--text-muted);
    font-size: 13px;
    text-align: center;
    padding: 8px 16px;
    letter-spacing: 0.3px;
}
.mv-topbar strong {
    color: var(--pink);
    font-family: var(--font-head);
    letter-spacing: 1px;
}
.mv-topbar__pulse {
    display: inline-block;
    width: 8px;
    height: 8px;
    background: #00e676;
    border-radius: 50%;
    margin-right: 6px;
    vertical-align: middle;
    animation: mv-pulse 2s ease-in-out infinite;
}
@keyframes mv-pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%       { opacity: 0.4; transform: scale(0.7); }
}

/* ── Header ────────────────────────────────────────────────── */
.mv-header {
    position: fixed;
    top: var(--topbar-h);
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--header-h);
    display: flex;
    align-items: center;
    background: rgba(10, 10, 10, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(247, 141, 167, 0.08);
    transition: background var(--transition), box-shadow var(--transition);
}

.mv-header.scrolled {
    background: rgba(10, 10, 10, 0.97);
    box-shadow: 0 4px 40px rgba(0, 0, 0, 0.6);
}

.mv-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Logo */
.mv-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    flex-shrink: 0;
}

.mv-logo__icon {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--pink), var(--red));
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 900;
    color: #000;
    flex-shrink: 0;
}

.mv-logo__text {
    font-family: var(--font-head);
    font-size: 22px;
    letter-spacing: 2px;
    color: var(--text);
    line-height: 1;
}

.mv-logo__text span {
    color: var(--pink);
}

/* Nav */
.mv-nav {
    display: flex;
    align-items: center;
    gap: 4px;
}

.mv-nav__link {
    color: var(--text-muted);
    font-size: 14px;
    font-weight: 500;
    padding: 8px 14px;
    border-radius: var(--radius);
    transition: color var(--transition), background var(--transition);
    white-space: nowrap;
}

.mv-nav__link:hover,
.mv-nav__link.active {
    color: var(--pink);
    background: var(--pink-glow);
}

/* CTA button in header */
.mv-header__cta {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* Hamburger */
.mv-hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
}

.mv-hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: all var(--transition);
}

.mv-hamburger.open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mv-hamburger.open span:nth-child(2) {
    opacity: 0;
}

.mv-hamburger.open span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile nav */
.mv-mobile-nav {
    display: none;
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: rgba(10, 10, 10, 0.97);
    backdrop-filter: blur(20px);
    padding: 24px;
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    gap: 8px;
    z-index: 999;
}

.mv-mobile-nav.open {
    display: flex;
}

.mv-mobile-nav .mv-nav__link {
    padding: 12px 16px;
    font-size: 16px;
    border-radius: var(--radius);
}

/* ── Buttons ───────────────────────────────────────────────── */
.mv-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.5px;
    cursor: pointer;
    border: none;
    transition: all var(--transition);
    white-space: nowrap;
    text-decoration: none;
}

.mv-btn--primary {
    background: linear-gradient(135deg, var(--pink), #d004d4);
    color: #000;
    font-family: var(--font-head);
    font-size: 16px;
    letter-spacing: 1.5px;
    padding: 14px 32px;
    box-shadow: 0 4px 20px rgba(247, 141, 167, 0.3);
}

.mv-btn--primary:hover {
    background: linear-gradient(135deg, #ffb3c6, var(--pink));
    box-shadow: 0 6px 30px rgba(247, 141, 167, 0.5);
    transform: translateY(-2px);
    color: #000;
}

.mv-btn--secondary {
    background: transparent;
    color: var(--pink);
    border: 1px solid var(--pink);
}

.mv-btn--secondary:hover {
    background: var(--pink-glow);
    color: var(--pink);
    transform: translateY(-1px);
}

.mv-btn--red {
    background: linear-gradient(135deg, var(--red), #cc0029);
    color: #fff;
    box-shadow: 0 4px 20px rgba(255, 0, 51, 0.3);
}

.mv-btn--red:hover {
    box-shadow: 0 6px 30px rgba(255, 0, 51, 0.5);
    transform: translateY(-2px);
    color: #fff;
}

.mv-btn--lg {
    padding: 18px 44px;
    font-size: 18px;
    letter-spacing: 2px;
}

.mv-btn--sm {
    padding: 8px 18px;
    font-size: 13px;
}

.mv-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none !important;
}

/* ── Hero ──────────────────────────────────────────────────── */
.mv-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: var(--header-h) 0 0;
}

.mv-hero__video-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.mv-hero__video-bg video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.25;
}

/* Cinematic letterbox overlay */
.mv-hero__video-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom,
            rgba(10, 10, 10, 0.6) 0%,
            rgba(10, 10, 10, 0.2) 40%,
            rgba(10, 10, 10, 0.2) 60%,
            rgba(10, 10, 10, 0.9) 100%);
    z-index: 1;
}

/* Red vignette pulse */
.mv-hero__video-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, transparent 40%, rgba(10, 10, 10, 0.7) 100%);
    z-index: 2;
}

/* Particle canvas */
#mv-particles {
    position: absolute;
    inset: 0;
    z-index: 3;
    pointer-events: none;
}

.mv-hero__content {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 60px 24px;
    max-width: 900px;
}

.mv-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(247, 141, 167, 0.1);
    border: 1px solid rgba(247, 141, 167, 0.3);
    color: var(--pink);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 2px;
    padding: 6px 18px;
    border-radius: 100px;
    margin-bottom: 28px;
    text-transform: uppercase;
    animation: mv-fade-in 0.8s ease forwards;
}

.mv-hero__title {
    font-family: var(--font-head);
    font-size: clamp(48px, 8vw, 96px);
    line-height: 0.95;
    letter-spacing: 2px;
    color: var(--text);
    margin-bottom: 24px;
    animation: mv-hero-text 1s ease 0.2s both;
}

.mv-hero__title span {
    background: linear-gradient(135deg, var(--pink), #d004d4, var(--red));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
}

.mv-hero__subtitle {
    font-size: clamp(16px, 2.5vw, 20px);
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 40px;
    line-height: 1.7;
    animation: mv-hero-text 1s ease 0.4s both;
}

.mv-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
    animation: mv-hero-text 1s ease 0.6s both;
}

/* Scan-line cinematic effect */
.mv-hero__scanline {
    position: absolute;
    inset: 0;
    z-index: 5;
    pointer-events: none;
    overflow: hidden;
}

.mv-hero__scanline::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(247, 141, 167, 0.3), transparent);
    animation: mv-scan-line 6s linear infinite;
    opacity: 0.4;
}

/* ── Section layout ────────────────────────────────────────── */
.mv-section {
    padding: 100px 0;
}

.mv-section--sm {
    padding: 60px 0;
}

.mv-section--dark {
    background: var(--dark);
}

.mv-section--surface {
    background: var(--surface);
}

.mv-section__header {
    text-align: center;
    margin-bottom: 60px;
}

.mv-section__eyebrow {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--pink);
    margin-bottom: 12px;
    display: block;
}

.mv-section__title {
    font-family: var(--font-head);
    font-size: clamp(36px, 5vw, 60px);
    letter-spacing: 2px;
    color: var(--text);
    line-height: 1.1;
    margin-bottom: 16px;
}

.mv-section__title span {
    color: var(--pink);
}

.mv-section__subtitle {
    font-size: 16px;
    color: var(--text-muted);
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ── How It Works ──────────────────────────────────────────── */
.mv-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 32px;
}

.mv-step {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    text-align: center;
    position: relative;
    transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}

.mv-step:hover {
    border-color: rgba(247, 141, 167, 0.4);
    box-shadow: var(--shadow-pink);
    transform: translateY(-4px);
}

.mv-step__number {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--pink), #d004d4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-head);
    font-size: 28px;
    color: #000;
    margin: 0 auto 20px;
}

.mv-step__icon {
    font-size: 36px;
    margin-bottom: 16px;
}

.mv-step__title {
    font-family: var(--font-head);
    font-size: 22px;
    letter-spacing: 1px;
    color: var(--text);
    margin-bottom: 10px;
}

.mv-step__desc {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ── CTA Banner ────────────────────────────────────────────── */
.mv-cta-banner {
    background: linear-gradient(135deg, #111 0%, #0a0a0a 50%, #1a1000 100%);
    border: 1px solid rgba(247, 141, 167, 0.15);
    border-radius: var(--radius-lg);
    padding: 80px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.mv-cta-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 50% 50%, rgba(247, 141, 167, 0.05), transparent 70%);
    pointer-events: none;
}

.mv-cta-banner__title {
    font-family: var(--font-head);
    font-size: clamp(32px, 5vw, 56px);
    letter-spacing: 2px;
    color: var(--text);
    margin-bottom: 16px;
}

.mv-cta-banner__sub {
    font-size: 16px;
    color: var(--text-muted);
    margin-bottom: 36px;
}

/* ── Footer ────────────────────────────────────────────────── */
.mv-footer {
    background: #080808;
    border-top: 1px solid var(--border);
    padding: 60px 0 32px;
}

.mv-footer__grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.mv-footer__brand p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.7;
    margin-top: 16px;
    max-width: 280px;
}

.mv-footer__heading {
    font-family: var(--font-head);
    font-size: 18px;
    letter-spacing: 1px;
    color: var(--pink);
    margin-bottom: 16px;
}

.mv-footer__links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.mv-footer__links a {
    font-size: 14px;
    color: var(--text-muted);
    transition: color var(--transition);
}

.mv-footer__links a:hover {
    color: var(--pink);
}

.mv-footer__contact {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.8;
}

.mv-footer__bottom {
    border-top: 1px solid var(--border);
    padding-top: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

.mv-footer__copy {
    font-size: 13px;
    color: var(--text-faint);
}

/* ── Tags & badges ─────────────────────────────────────────── */
.mv-badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 100px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.mv-badge--pink {
    background: rgba(247, 141, 167, 0.15);
    color: var(--pink);
    border: 1px solid rgba(247, 141, 167, 0.3);
}

.mv-badge--red {
    background: rgba(255, 0, 51, 0.15);
    color: var(--red);
    border: 1px solid rgba(255, 0, 51, 0.3);
}

.mv-badge--green {
    background: rgba(0, 200, 60, 0.15);
    color: #00cc44;
    border: 1px solid rgba(0, 200, 60, 0.3);
}

/* ── Divider ───────────────────────────────────────────────── */
.mv-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--pink) 50%, transparent);
    opacity: 0.2;
    margin: 60px 0;
}

/* ── Utility ───────────────────────────────────────────────── */
.mv-text-pink {
    color: var(--pink);
}

.mv-text-red {
    color: var(--red);
}

.mv-text-muted {
    color: var(--text-muted);
}

.mv-font-head {
    font-family: var(--font-head);
    letter-spacing: 1px;
}

.mv-text-center {
    text-align: center;
}

.mv-hidden {
    display: none !important;
}

.mv-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ── Page content padding ──────────────────────────────────── */
.mv-page-content {
    padding-top: var(--header-h);
    min-height: 100vh;
}

/* ── Toast notification ─────────────────────────────────────── */
.mv-toast {
    position: fixed;
    bottom: 24px;
    right: 24px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 16px 20px;
    font-size: 14px;
    color: var(--text);
    z-index: 9999;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
    animation: mv-fade-in 0.3s ease;
    max-width: 360px;
}

.mv-toast--success {
    border-color: rgba(0, 200, 60, 0.4);
}

.mv-toast--error {
    border-color: rgba(255, 0, 51, 0.4);
}

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 900px) {
    .mv-nav {
        display: none;
    }

    .mv-hamburger {
        display: flex;
    }

    /* ORDER NOW in header is redundant on mobile (it's in mobile nav) */
    .mv-header__cta .mv-btn {
        display: none;
    }

    .mv-footer__grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .mv-footer__brand p {
        max-width: 100%;
    }
}

@media (max-width: 600px) {
    .mv-hero__actions {
        flex-direction: column;
        align-items: center;
    }

    .mv-cta-banner {
        padding: 60px 24px;
    }

    .mv-section {
        padding: 70px 0;
    }

    :root {
        --header-h: 64px;
    }
}

/* ── Language switcher ──────────────────────────────────────── */
#mv-lang-switcher {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.mv-lang-select {
    appearance: none;
    -webkit-appearance: none;
    background-color: transparent;
    border: 1px solid var(--border);
    border-radius: 100px;
    color: var(--text-muted);
    font-size: 12px;
    font-weight: 600;
    font-family: inherit;
    padding: 5px 26px 5px 10px;
    cursor: pointer;
    outline: none;
    transition: border-color var(--transition), color var(--transition);
    /* custom chevron arrow */
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' fill='none'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23888' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
}

.mv-lang-select:hover,
.mv-lang-select:focus {
    border-color: var(--pink);
    color: var(--pink);
}

.mv-lang-select option {
    background: #111;
    color: #fff;
}