/* 
  GENIOBET - Premium Dark Tech Theme (Refactored)
  Inspired by High-Ticket VSL Structure
*/

:root {
    /* Colors */
    --bg-deep: #050505;
    --bg-surface: #0e0f11;
    --bg-highlight: #1a1c22;

    --primary: #D4AF37;
    /* Premium Gold */
    --primary-glow: rgba(212, 175, 55, 0.5);
    --accent: #FFDF00;
    /* Bright Gold */

    --text-main: #FFFFFF;
    --text-muted: #A0A0A0;

    --gradient-btn: linear-gradient(90deg, #D4AF37 0%, #B8860B 100%);
    --gradient-text: linear-gradient(90deg, #FFFFFF 0%, #D4AF37 100%);

    --spacing-container: 1140px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    background-color: var(--bg-deep);
    color: var(--text-main);
    line-height: 1.5;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: var(--spacing-container);
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 80px 0;
}

/* Header */
header {
    padding: 20px 0;
    position: absolute;
    width: 100%;
    z-index: 10;
    top: 0;
}

.logo {
    font-size: 1.8rem;
    font-weight: 900;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: -1px;
}

.logo span {
    color: var(--primary);
}

/* Hero Section - Immersive Background */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 80px;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../images/methods-v2-pedro.jpg') center top/cover no-repeat;
    z-index: -1;
    /* Dark overlay to ensure text readability over the image */
    box-shadow: inset 0 0 0 1000px rgba(5, 5, 5, 0.7);
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 150px;
    background: linear-gradient(to top, var(--bg-deep), transparent);
    pointer-events: none;
}

.hero-container {
    display: flex;
    justify-content: center;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.hero-content {
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.badge-new {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(0, 102, 255, 0.15);
    border: 1px solid var(--primary);
    color: var(--primary);
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 24px;
    letter-spacing: 1px;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 24px;
}

.text-gradient {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 500px;
}

.cta-group {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
}

.cta-button {
    background: var(--gradient-btn);
    color: white;
    padding: 18px 40px;
    font-size: 1.1rem;
    font-weight: 800;
    text-transform: uppercase;
    border-radius: 8px;
    text-decoration: none;
    box-shadow: 0 0 20px var(--primary-glow);
    transition: transform 0.3s;
    border: none;
    cursor: pointer;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 40px var(--primary-glow);
}

.pulse-button {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.7);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(212, 175, 55, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(212, 175, 55, 0);
    }
}

.secure-checkout {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.mascot-float {
    width: 100%;
    animation: float 6s ease-in-out infinite;
    filter: drop-shadow(0 0 30px rgba(212, 175, 55, 0.3));
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

/* Marquee */
.marquee-wrapper {
    background: var(--primary);
    padding: 15px 0;
    overflow: hidden;
    white-space: nowrap;
    transform: skewY(-2deg);
    margin-top: -40px;
    position: relative;
    z-index: 5;
    border-top: 2px solid #fff;
    border-bottom: 2px solid #fff;
}

.marquee-content span {
    display: inline-block;
    margin-right: 50px;
    font-weight: 900;
    color: #fff;
    text-transform: uppercase;
    font-size: 1.2rem;
}

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    text-transform: uppercase;
    font-weight: 900;
    margin-bottom: 15px;
}

.divider {
    width: 80px;
    height: 4px;
    background: var(--primary);
    margin: 0 auto;
}

/* Benefits Grid */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.card {
    background: var(--bg-surface);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 40px 30px;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s;
}

.card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    background: var(--bg-highlight);
}

.icon-box {
    background: rgba(212, 175, 55, 0.1);
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--primary);
}

.card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Pricing */
.pricing-section {
    background: linear-gradient(180deg, var(--bg-deep) 0%, rgba(212, 175, 55, 0.05) 100%);
}

.plan-card {
    background: var(--bg-surface);
    border-radius: 16px;
    padding: 40px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.plan-card.highlight {
    border: 2px solid var(--primary);
    transform: scale(1.05);
    z-index: 2;
    box-shadow: 0 0 50px rgba(212, 175, 55, 0.15);
}

.plan-badge {
    position: absolute;
    top: 0;
    right: 0;
    background: var(--primary);
    padding: 8px 20px;
    border-bottom-left-radius: 16px;
    font-weight: 700;
    font-size: 0.8rem;
}

.price-tag {
    font-size: 3rem;
    font-weight: 900;
    margin: 20px 0;
}

.price-tag small {
    font-size: 1rem;
    color: var(--text-muted);
    font-weight: 400;
}

.benefits-list {
    list-style: none;
    margin: 30px 0;
    text-align: left;
}

.benefits-list li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #dbdbdb;
}

.benefits-list li svg {
    color: var(--accent);
    width: 18px;
    height: 18px;
}

/* Footer */
footer {
    background: var(--bg-surface);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 50px 0;
    text-align: center;
    margin-top: 50px;
}

/* Mobile */
@media (max-width: 900px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .cta-group {
        align-items: center;
    }

    .hero-image {
        order: -1;
        max-width: 300px;
        margin: 0 auto;
    }

    .plan-card.highlight {
        transform: none;
    }
}

/* Free Group Section */
.free-group-section {
    position: relative;
    background: black;
    overflow: hidden;
    padding: 100px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.free-content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 60px;
}

.free-text {
    z-index: 2;
}

.free-text h2 {
    font-size: 3rem;
    line-height: 1.1;
    font-weight: 900;
    margin-bottom: 10px;
    color: #fff;
}

.free-text .highlight-gold {
    color: var(--accent);
    text-shadow: 0 0 20px rgba(212, 175, 55, 0.4);
}

.free-description {
    color: var(--text-muted);
    margin: 20px 0 30px;
    font-size: 1.1rem;
}

/* Bullet Pills */
.pills-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 40px;
}

.pill-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 12px 20px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #fff;
    transition: all 0.3s;
}

.pill-item:hover {
    border-color: var(--accent);
    background: rgba(212, 175, 55, 0.1);
}

.pill-item i {
    color: var(--accent);
}

/* Parallax Image */
.parallax-image-container {
    position: relative;
    height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.parallax-genie {
    max-width: 100%;
    /* transition removed for smooth js scroll */
    filter: drop-shadow(0 0 50px rgba(212, 175, 55, 0.2));
    will-change: transform;
    /* Blend mode to make black background transparent */
    mix-blend-mode: screen;
    /* Fallback mask to soften edges if needed */
    -webkit-mask-image: radial-gradient(circle at center, black 60%, transparent 100%);
    mask-image: radial-gradient(circle at center, black 60%, transparent 100%);
}

/* Glow behind genie */
.parallax-image-container::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 300px;
    background: var(--primary);
    filter: blur(100px);
    opacity: 0.2;
    z-index: -1;
}



@media (max-width: 900px) {
    .free-content-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .pills-grid {
        max-width: 400px;
        margin: 0 auto 30px;
    }

    .pill-item {
        justify-content: center;
    }

    .parallax-image-container {
        height: 400px;
        order: -1;
    }

    .parallax-genie {
        max-width: 80%;
    }
}

/* Arsenal Section */
.arsenal-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.arsenal-card {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.01) 100%);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 12px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.arsenal-card:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
    background: rgba(212, 175, 55, 0.05);
}

.arsenal-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--primary);
    opacity: 0.5;
    transition: opacity 0.3s;
}

.arsenal-card:hover::before {
    opacity: 1;
    box-shadow: 0 0 10px var(--primary);
}

.arsenal-title {
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 15px;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 10px;
}

.arsenal-title i {
    color: var(--accent);
}

.arsenal-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    position: relative;
    z-index: 2;
}

.arsenal-title {
    position: relative;
    z-index: 2;
}

/* Specific Card Backgrounds */
#card-surebet {
    background: url('../images/surebet-pedro.jpg') center/cover no-repeat;
    position: relative;
    border-color: var(--primary);
}

#card-surebet::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.9) 30%, rgba(0, 0, 0, 0.6) 100%);
    z-index: 1;
}

#card-surebet:hover {
    transform: scale(1.02);
}

/* Freebet Missions Card Background */
#card-missions {
    background: url('../images/missions-pedro.jpg') center top / cover no-repeat;
    position: relative;
    border-color: var(--primary);
}

#card-missions::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.9) 30%, rgba(0, 0, 0, 0.6) 100%);
    z-index: 1;
}

#card-missions:hover {
    transform: scale(1.02);
}

/* Delay Card Background */
#card-delay {
    background: url('../images/delay-pedro.jpg') center top / cover no-repeat;
    position: relative;
    border-color: var(--primary);
}

#card-delay::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.9) 30%, rgba(0, 0, 0, 0.6) 100%);
    z-index: 1;
}

#card-delay:hover {
    transform: scale(1.02);
}

/* Methods Card Background */
#card-methods {
    background: url('../images/methods-v2-pedro.jpg') center top / cover no-repeat;
    position: relative;
    border-color: var(--primary);
}

#card-methods::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.9) 30%, rgba(0, 0, 0, 0.6) 100%);
    z-index: 1;
}

#card-methods:hover {
    transform: scale(1.02);
}

/* iGaming Card Background */
#card-igaming {
    background: url('../images/igaming-pedro.jpg') center top / cover no-repeat;
    position: relative;
    border-color: var(--primary);
}

#card-igaming::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.9) 30%, rgba(0, 0, 0, 0.6) 100%);
    z-index: 1;
}

#card-igaming:hover {
    transform: scale(1.02);
}

/* Results Carousel Premium */
.results-carousel-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    gap: 15px;
    margin: 0 auto;
    max-width: 100%;
}

.results-carousel {
    overflow-x: auto;
    padding: 30px 5px;
    scrollbar-width: none;
    -ms-overflow-style: none;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    width: 100%;
    mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
}

.results-carousel::-webkit-scrollbar {
    display: none;
}

.results-track {
    display: flex;
    gap: 20px;
    padding: 0 20px;
}

.result-card {
    min-width: 300px;
    max-width: 300px;
    height: 500px;
    /* Altura fixa para padronizar todos */
    scroll-snap-align: center;
    border-radius: 16px;
    overflow: hidden;
    background: #000;
    /* Fundo preto caso a imagem não preencha tudo */
    border: 1px solid rgba(212, 175, 55, 0.3);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.8);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.result-card:hover {
    transform: translateY(-10px) scale(1.03);
    border-color: var(--primary);
    box-shadow: 0 20px 40px rgba(212, 175, 55, 0.2);
}

.result-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Faz a imagem preencher o card uniformemente */
    object-position: center top;
    /* Foca na parte de cima (onde geralmente estão os valores/títulos) */
    display: block;
}

.result-badge {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.95), transparent);
    color: var(--primary);
    padding: 15px;
    text-align: center;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-top: 1px solid rgba(212, 175, 55, 0.2);
    backdrop-filter: blur(5px);
}

.result-badge i {
    width: 14px;
    height: 14px;
}

/* Arrows */
.carousel-btn {
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid var(--primary);
    color: var(--primary);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
    z-index: 10;
}

.carousel-btn:hover {
    background: var(--primary);
    color: #000;
    box-shadow: 0 0 20px var(--primary-glow);
}

/* Mobile Optimizations */
@media (max-width: 900px) {
    .results-carousel-wrapper {
        gap: 5px;
        /* Reduz o gap lateral no mobile */
    }

    .carousel-btn {
        width: 40px;
        height: 40px;
        background: rgba(212, 175, 55, 0.2);
        /* Um pouco mais visível no mobile */
    }

    .results-carousel {
        mask-image: none;
        /* Better performance on mobile */
    }

    .result-card {
        min-width: 260px;
        height: 420px;
        /* Altura um pouco menor no mobile */
    }

    .results-track {
        padding: 0 5px;
    }
}