/* ============================================================
   OverAI – CYBERPUNK OVERRIDE for Carrd
   Matches Select Flix design system
   ============================================================ */

/* ---------- CUSTOM PROPERTIES ---------- */
:root {
    --bg-deep: #050510;
    --bg-surface: rgba(10, 10, 30, 0.65);
    --neon-cyan: #00f0ff;
    --neon-magenta: #ff00e6;
    --text-heading: #ffffff;
    --text-primary: rgba(255, 255, 255, 0.85);
    --border-glow: rgba(0, 240, 255, 0.12);
    --radius: 12px;
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- GLOBAL OVERRIDES ---------- */
body {
    background-color: var(--bg-deep) !important;
    font-family: 'Inter', system-ui, sans-serif !important;
    -webkit-font-smoothing: antialiased;
    -webkit-user-select: none;
    user-select: none;
}

/* Background grid */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image:
        repeating-linear-gradient(90deg, var(--border-glow) 0px, var(--border-glow) 1px, transparent 1px, transparent 80px),
        repeating-linear-gradient(0deg, var(--border-glow) 0px, var(--border-glow) 1px, transparent 1px, transparent 80px);
    pointer-events: none;
    z-index: 0;
    opacity: 0.3;
}

/* Scanlines */
body::after {
    content: '';
    position: fixed;
    inset: 0;
    background: repeating-linear-gradient(0deg, transparent 0px, transparent 2px, rgba(0, 240, 255, 0.015) 2px, rgba(0, 240, 255, 0.015) 4px);
    pointer-events: none;
    z-index: 1;
    opacity: 0.5;
}

/* ---------- CONTAINERS ---------- */
.container-component {
    z-index: 2;
}

/* Hero container (style-1 instance-3) */
#container03 {
    background-color: var(--bg-deep) !important;
    background-image: url('images/container03.jpg') !important;
    background-size: cover !important;
    background-position: center !important;
    position: relative;
}

#container03::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(5, 5, 16, 0.65) 0%, rgba(5, 5, 16, 0.8) 50%, var(--bg-deep) 100%);
    z-index: 1;
    pointer-events: none;
}

/* Scan line sweep with grid trail */
#container03>.wrapper::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 3;
    pointer-events: none;
    background:
        linear-gradient(180deg,
            transparent 0%,
            transparent var(--scan-pos, 0%),
            rgba(0, 240, 255, 0.12) var(--scan-pos, 0%),
            rgba(0, 240, 255, 0.25) calc(var(--scan-pos, 0%) + 0.5%),
            rgba(0, 240, 255, 0.12) calc(var(--scan-pos, 0%) + 1%),
            transparent calc(var(--scan-pos, 0%) + 4%),
            transparent 100%),
        repeating-linear-gradient(90deg,
            transparent 0px,
            transparent 79px,
            rgba(0, 240, 255, 0.06) 79px,
            rgba(0, 240, 255, 0.06) 80px),
        repeating-linear-gradient(0deg,
            transparent 0px,
            transparent 79px,
            rgba(0, 240, 255, 0.06) 79px,
            rgba(0, 240, 255, 0.06) 80px);
    mask-image: linear-gradient(180deg,
            transparent 0%,
            transparent calc(var(--scan-pos, 0%) - 15%),
            rgba(0, 0, 0, 0.6) var(--scan-pos, 0%),
            transparent calc(var(--scan-pos, 0%) + 8%),
            transparent 100%);
    -webkit-mask-image: linear-gradient(180deg,
            transparent 0%,
            transparent calc(var(--scan-pos, 0%) - 15%),
            rgba(0, 0, 0, 0.6) var(--scan-pos, 0%),
            transparent calc(var(--scan-pos, 0%) + 8%),
            transparent 100%);
    animation: scan-sweep 8s linear infinite;
}

@keyframes scan-sweep {
    0% {
        --scan-pos: -5%;
    }

    100% {
        --scan-pos: 110%;
    }
}

@property --scan-pos {
    syntax: '<percentage>';
    initial-value: 0%;
    inherits: false;
}

#container03>.wrapper {
    position: relative;
    z-index: 2;
}

/* Texto 1: Logo tipográfico SELECTFLIX */
.text-logo {
    font-family: 'Orbitron', monospace;
    font-size: 2rem;
    font-weight: 900;
    letter-spacing: 0.1rem;
    text-transform: uppercase;
    padding-top: 6.5rem;
    margin-bottom: 5rem !important;
    background: linear-gradient(135deg, var(--neon-cyan), var(--neon-magenta));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: none;
    filter: drop-shadow(0 0 25px rgba(0, 240, 255, 0.5)) drop-shadow(0 0 50px rgba(255, 0, 230, 0.3));
}

/* Texto 2: Título principal "Se prepare" → ver #text04 no glitch animation abaixo */

/* Texto 3: Subtítulo "Você procurou..." */
#text08 {
    text-transform: uppercase !important;
    font-family: 'Orbitron', monospace !important;
    letter-spacing: 0.15em !important;
    font-size: 0.85em !important;
    font-weight: 700 !important;
    color: rgba(0, 240, 255, 0.9) !important;
    -webkit-text-fill-color: rgba(0, 240, 255, 0.9) !important;
    text-shadow: 0 0 15px rgba(0, 240, 255, 0.4), 0 2px 4px rgba(0, 0, 0, 0.8) !important;
}

/* CTA container (style-7 instance-4) */
#container04 {
    background-color: var(--bg-deep) !important;
    background-image: url('images/container04.jpg') !important;
    background-size: cover !important;
    background-position: center !important;
    position: relative;
}

/* Remove any Carrd animated/orange overlays */
#container04>.wrapper::before,
#container04>.wrapper::after {
    display: none !important;
}

#container04::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, var(--bg-deep) 0%, rgba(5, 5, 16, 0.65) 30%, rgba(5, 5, 16, 0.65) 70%, var(--bg-deep) 100%);
    z-index: 1;
    pointer-events: none;
}

#container04>.wrapper {
    position: relative;
    z-index: 2;
}

/* Info sections (style-4, style-5) */
#container02,
#container05,
#container06,
#container07,
#container08 {
    background-color: rgba(5, 5, 16, 0.95) !important;
}

/* ---------- TEXT GRADIENT OVERRIDES ---------- */

/* style-1: Main headings → cyan to white */
.text-component.style-1,
.text-component.style-1 span.p {
    background-image: linear-gradient(135deg, var(--neon-cyan), var(--text-heading) 60%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    font-family: 'Orbitron', 'Sora', monospace !important;
}

/* style-2: labels → cyan to magenta */
.text-component.style-2,
.text-component.style-2 span.p {
    background-image: linear-gradient(45deg, var(--neon-cyan) 0%, var(--neon-magenta) 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    font-family: 'Orbitron', monospace !important;
    letter-spacing: 0.25rem !important;
}

/* style-3: body text */
.text-component.style-3 {
    color: var(--text-primary) !important;
}

/* style-4: long-form text → readable cyan tint */
.text-component.style-4,
.text-component.style-4 span.p {
    background-image: none !important;
    -webkit-text-fill-color: var(--text-primary) !important;
    color: var(--text-primary) !important;
    line-height: 1.75 !important;
}

/* style-5: section titles → orbitron + cyan gradient */
.text-component.style-5,
.text-component.style-5 span.p {
    background-image: linear-gradient(135deg, var(--neon-cyan), var(--text-heading) 70%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    font-family: 'Orbitron', 'Sora', monospace !important;
}

/* style-6: small body text */
.text-component.style-6,
.text-component.style-6 span.p {
    background-image: none !important;
    -webkit-text-fill-color: var(--text-primary) !important;
    color: var(--text-primary) !important;
    line-height: 1.75 !important;
}

/* style-7: subheading → soft white gradient */
.text-component.style-7,
.text-component.style-7 span.p {
    background-image: linear-gradient(13deg, rgba(0, 240, 255, 0.5) 0%, #FFFFFF 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
}

/* ---------- BUTTONS ---------- */

/* ALL buttons → Orbitron font */
.buttons-component li a,
.buttons-component li a .label {
    font-family: 'Orbitron', monospace !important;
    text-transform: uppercase !important;
    letter-spacing: 0.1em !important;
}

/* CTA button → magenta neon glow */
.buttons-component.style-1>li>a {
    background: linear-gradient(135deg, var(--neon-magenta), #ff44cc) !important;
    color: #fff !important;
    border: none !important;
    border-radius: 100px !important;
    font-family: 'Orbitron', monospace !important;
    font-weight: 700 !important;
    letter-spacing: 0.1em !important;
    text-transform: uppercase !important;
    box-shadow: 0 0 20px rgba(255, 0, 230, 0.3), 0 0 60px rgba(255, 0, 230, 0.1) !important;
    transition: all 0.3s var(--ease) !important;
    animation: cta-pulse 2s ease-in-out infinite;
}

.buttons-component.style-1>li>a:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 0 30px rgba(255, 0, 230, 0.5), 0 0 80px rgba(255, 0, 230, 0.15) !important;
}

.buttons-component.style-1>li>a>.label {
    -webkit-text-fill-color: #fff !important;
}

.buttons-component.style-1>li>a>svg {
    fill: #fff !important;
}

@keyframes cta-pulse {

    0%,
    100% {
        box-shadow: 0 0 20px rgba(255, 0, 230, 0.3), 0 0 60px rgba(255, 0, 230, 0.1);
    }

    50% {
        box-shadow: 0 0 30px rgba(255, 0, 230, 0.5), 0 0 80px rgba(255, 0, 230, 0.2);
    }
}

/* Back buttons → cyan outline */
.buttons-component.style-2>li>a {
    border-color: var(--neon-cyan) !important;
    color: var(--neon-cyan) !important;
    transition: all 0.3s var(--ease) !important;
}

.buttons-component.style-2>li>a:hover {
    background-color: rgba(0, 240, 255, 0.1) !important;
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.3) !important;
}

.buttons-component.style-2>li>a>.label {
    -webkit-text-fill-color: var(--neon-cyan) !important;
}

/* Legal links (style-3) */
.buttons-component.style-3>li>a {
    color: rgba(0, 240, 255, 0.5) !important;
    transition: color 0.3s !important;
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: unset !important;
    min-height: 3.5em !important;
    line-height: 1.2 !important;
    padding: 0.6em 1.2em !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
}

.buttons-component.style-3>li>a:hover {
    color: var(--neon-cyan) !important;
}

.buttons-component.style-3>li>a>.label {
    -webkit-text-fill-color: inherit !important;
    font-family: 'Orbitron', monospace !important;
    text-transform: uppercase !important;
    letter-spacing: 0.1em !important;
}

/* Instagram button (style-4) */
.buttons-component.style-4>li>a {
    border-color: var(--neon-cyan) !important;
    color: var(--neon-cyan) !important;
    transition: all 0.3s var(--ease) !important;
}

.buttons-component.style-4>li>a:hover {
    background-color: rgba(0, 240, 255, 0.1) !important;
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.3) !important;
}

.buttons-component.style-4>li>a>svg {
    fill: var(--neon-cyan) !important;
}

/* ---------- ICONS (scroll arrow) ---------- */
.icons-component.style-1 {
    margin-top: 6rem !important;
}

.icons-component.style-1>li>a {
    background-color: transparent !important;
    background-image: none !important;
    border: 2px solid var(--neon-cyan) !important;
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.2) !important;
    transition: all 0.3s var(--ease) !important;
    animation: arrowPulse 2s ease-in-out infinite;
}

.icons-component.style-1>li>a>svg {
    fill: var(--neon-cyan) !important;
}

.icons-component.style-1>li>a:hover {
    background-color: rgba(0, 240, 255, 0.1) !important;
    box-shadow: 0 0 25px rgba(0, 240, 255, 0.4) !important;
}

@keyframes arrowPulse {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(8px);
    }
}

/* ---------- DIVIDERS (hr spacers inside containers — invisible, keep space) ---------- */
.divider-component {
    visibility: hidden !important;
}

.divider-component::after {
    display: none !important;
}

/* ---------- KILL CARRD PINK BORDERS ---------- */
.site-wrapper,
.site-main,
#home-section,
.site-wrapper>.site-main>.inner,
.container-component {
    border-color: transparent !important;
    border-image: none !important;
}

/* Energy bar between sections */
#container03,
#container04,
#container02,
#container05,
#container06,
#container07,
#container08 {
    border-bottom: 3px solid transparent !important;
    position: relative;
}

#container03::before,
#container04::before,
#container02::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), var(--neon-cyan), rgba(255, 255, 255, 0.3), transparent);
    z-index: 10;
    overflow: visible;
}

@keyframes energy-sweep {
    0% {
        left: -60px;
    }

    100% {
        left: 100%;
    }
}

/* ---------- IMAGE ---------- */
.image-component>.frame>img {
    filter: drop-shadow(0 0 20px rgba(0, 240, 255, 0.15));
}

img {
    -webkit-user-drag: none;
    pointer-events: none;
}

/* ---------- LINK OVERRIDES ---------- */
a:hover {
    color: var(--neon-cyan) !important;
}

/* ---------- GLITCH ANIMATION on main title ---------- */
#text04 {
    animation: glitch-text 2.5s infinite;
}

@keyframes glitch-text {

    0%,
    87%,
    100% {
        text-shadow: none;
        transform: none;
    }

    88% {
        text-shadow: 4px 0 var(--neon-cyan), -4px 0 var(--neon-magenta);
        transform: translate(-2px, 1px);
    }

    90% {
        text-shadow: -4px 0 var(--neon-cyan), 4px 0 var(--neon-magenta), 0 3px rgba(0, 240, 255, 0.3);
        transform: translate(3px, -1px);
    }

    92% {
        text-shadow: 3px 0 var(--neon-magenta), -3px 0 var(--neon-cyan);
        transform: translate(-1px, 2px);
    }

    94% {
        text-shadow: -5px 0 var(--neon-cyan), 5px 0 var(--neon-magenta), 2px 2px rgba(255, 0, 230, 0.4);
        transform: translate(2px, -2px);
    }
}

/* ---------- SCROLL REVEAL ---------- */
.container-component>.wrapper>.inner {
    transition: opacity 0.8s var(--ease), transform 0.8s var(--ease) !important;
}

/* ---------- CONTENT PROTECTION ---------- */
video {
    -webkit-user-drag: none;
}

/* ---------- RIGHT-CLICK + DRAG PROTECTION ---------- */