/* ============================================
   GRUPO VIP - Supermarket
   Responsive Landing Page
   Mobile-first + Desktop breakpoint
   ============================================ */

/* ── Fonts ───────────────────────────────── */
@font-face {
    font-family: 'Acumin Pro';
    src: url('fonts/acumin-pro.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'ITC Avant Garde Std';
    src: url('fonts/ITCAvantGardeStd.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}

/* ── Reset ───────────────────────────────── */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    width: 100%;
    height: 100%;
    overflow: hidden;
    font-family: 'Acumin Pro', sans-serif;
    background: #222;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    -webkit-user-select: none;
    -webkit-touch-callout: none;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
    touch-action: manipulation;
}

/* Prevent iOS zoom on input focus */
input,
select,
textarea,
button {
    font-size: 16px;
    font-family: 'Acumin Pro', sans-serif;
}

/* ── Container ───────────────────────────── */
.container {
    position: relative;
    width: 100%;
    max-width: 480px;
    height: 100vh;
    height: 100dvh;
    margin: 0 auto;
    overflow: hidden;
    background: #fff;
}

/* ── Background Section ──────────────────── */
.bg-section {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.store-bg {
    position: absolute;
    inset: 0;
    background: url('assets/Loja BG.png') center top / cover no-repeat;
    transition: filter 0.5s ease;
}

.container.active .store-bg {
    filter: blur(6px);
}

/* ── Header (Logos) ──────────────────────── */
.header {
    position: relative;

    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 40px;
    padding: 25px 30px 0;
}

.logo-sm {
    width: 30%;
    height: auto;
    transition: width 0.4s ease;
    z-index: 500;
}

.logo-vip {
    width: 24%;
    height: auto;
    transition: width 0.4s ease, top 0.4s ease;
    z-index: 500;
}

.container.active .logo-sm {
    width: 20%;
}

.container.active .logo-vip {
    width: 17%;

}

/* ── Character (Mobile only) ─────────────── */
.character {
    position: absolute;

}

.character img {
    width: 65%;
    height: auto;
    display: block;
    margin-left: 20%;
}

.container.active .character {
    opacity: 0;
    transform: translateX(-50%) translateY(80px);
}

/* ── Hero Text (Desktop only) ────────────── */
.hero-text {
    display: none;
}

/* ── Green Card ──────────────────────────── */
.green-card {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 48%;
    z-index: 5;
    background-color: #00a651;
    border-radius: 30px 30px 0 0;
    transition: height 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    overflow: visible;
}

/* Noise texture overlay */
.green-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.7' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 256px 256px;
    opacity: 0.06;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

/* Clip children that should stay inside */
.green-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background-color: #00a651;
    z-index: -1;
}

.container.active .green-card {
    height: 82%;
}

/* ── Card Content ────────────────────────── */
.card-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    color: white;
    height: 100%;
    padding: 25px 25px 20px;
}

/* ── Headline (Mobile) ───────────────────── */
.headline {
    font-family: 'ITC Avant Garde Std', sans-serif;

    transition: opacity 0.3s ease, transform 0.3s ease;
}

.headline h2 {
    font-size: 0.8rem;
    font-weight: normal;
    line-height: 1.7;
}

.headline h1 {
    font-size: 2.2rem;
    font-weight: 800;
    line-height: 0.9;
    text-transform: uppercase;
}

.headline .sub {
    font-size: 1.05rem;
    font-weight: bold;
    margin-top: 4px;
}

/* Hide headline when form is showing */
.container.active .headline {
    opacity: 0;
    transform: translateY(-15px);
    pointer-events: none;
    position: absolute;
    top: 0;
}

/* ── CTA Button ──────────────────────────── */
.cta-container {
    margin-top: auto;
    margin-bottom: 25px;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.container.active .cta-container {
    opacity: 0;
    pointer-events: none;
    position: absolute;
    bottom: 0;
    transform: translateY(20px);
}

.btn-primary {
    background: linear-gradient(45deg, #ff0000, #ff4c4c, #ff0000);
    background-size: 300% 300%;
    animation: gradientMove 3s infinite, glow 2s infinite;
    color: #ffffff;
    border: none;
    padding: 16px 50px;
    font-size: 1.7rem;
    font-weight: bold;
    border-radius: 50px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
    transition: transform 0.2s ease;
    white-space: nowrap;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.7), transparent);
    animation: shine 2.5s infinite;
}


/* ── Form ────────────────────────────────── */
.form-container {
    width: 90%;
    max-width: 400px;
    display: flex;
    flex-direction: column;
    gap: 26px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: opacity 0.5s ease 0.2s, transform 0.5s ease 0.2s, visibility 0.5s ease 0.2s;
    position: absolute;
    top: 85px;
    padding: 0 10px;
}

.container.active .form-container {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* ── Inputs ──────────────────────────────── */
.input-group {
    position: relative;
    width: 100%;
}

.input-group input {
    width: 100%;
    padding: 18px 20px;
    border: 2px solid rgba(255, 255, 255, 0.7);
    border-radius: 30px;
    background: transparent;
    color: white;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.input-group input:focus {
    border-color: white;
}

.input-group input::placeholder {
    color: rgba(255, 255, 255, 0.45);
}

.input-group label {
    position: absolute;
    top: -9px;
    left: 22px;
    background: #00a651;
    padding: 0 10px;
    color: white;
    font-size: 0.85rem;
    font-weight: 600;
    pointer-events: none;
    z-index: 1;
}

/* Select dropdown */
.input-group select {
    width: 100%;
    padding: 18px 45px 18px 20px;
    border: none;
    border-radius: 30px;
    background-color: white;
    color: #00a651;
    font-size: 1rem;
    font-weight: bold;
    outline: none;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300a651' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 18px center;
    background-size: 18px;
    text-overflow: ellipsis;
    overflow: hidden;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

/* Error states */
.input-group input.error {
    border-color: #ff4444;
    box-shadow: 0 0 10px rgba(255, 68, 68, 0.3);
}

.input-group select.error {
    border: 2px solid #ff4444;
    box-shadow: 0 0 10px rgba(255, 68, 68, 0.3);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ff4444' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
}

/* Submit button */
.btn-submit {
    background: rgb(255, 0, 0);
    color: #ffffff;
    border: none;
    padding: 30px;
    font-size: 1.15rem;
    font-weight: bold;
    border-radius: 30px;
    cursor: pointer;
    width: 100%;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    margin-top: 4px;
}

.btn-submit:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.btn-submit:active {
    transform: scale(0.97);
}

/* ── WhatsApp Decorations ────────────────── */
.whatsapp-float {
    position: absolute;
    top: -30px;
    left: -5px;
    z-index: 10;
    pointer-events: none;
}

.whatsapp-float img {
    width: 90px;
    height: auto;
    filter: none;
}

.whatsapp-blur {
    position: absolute;
    bottom: -40px;
    right: -40px;
    z-index: 0;
    pointer-events: none;
}

.whatsapp-blur img {
    width: 280px;
    opacity: 0.2;
    filter: none;
}

.whatsapp-center {
    display: none;
}

/* ── Error Toast ─────────────────────────── */
.error-toast {
    position: absolute;
    bottom: -32px;
    left: 20px;
    background-color: #ff4444;
    color: white;
    padding: 6px 12px;
    border-radius: 12px;
    font-size: 0.78rem;
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    pointer-events: none;
    z-index: 20;
    white-space: nowrap;
}

.error-toast.show {
    opacity: 1;
    transform: translateY(0);
}

.error-toast::before {
    content: '';
    position: absolute;
    top: -4px;
    left: 15px;
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-bottom: 4px solid #ff4444;
}

/* ── Animations ──────────────────────────── */
@keyframes shine {
    0% {
        left: -100%;
    }

    100% {
        left: 100%;
    }
}

@keyframes glow {

    0%,
    100% {
        box-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
    }

    50% {
        box-shadow: 0 0 35px rgba(255, 255, 255, 0.9);
    }
}

@keyframes gradientMove {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* ================================================
   RESPONSIVE — Small phones (< 380px)
   ================================================ */


@media screen and (max-width: 379px) {
    .header {
        gap: 30px;
        padding: 15px 25px 0;
    }

    .logo-sm {
        width: 75px;
    }

    .logo-vip {
        width: 70px;
    }

    .character img {
        width: 230px;
    }

    .green-card {
        height: 50%;
    }

    .container.active .green-card {
        height: 90%;
    }

    .headline h1 {
        font-size: 2rem;
    }

    .headline h2 {
        font-size: 1rem;
    }

    .form-container {
        top: 20px;
        gap: 12px;
    }

    .input-group input,
    .input-group select {
        padding: 18px 18px;
    }

    .btn-submit {
        padding: 18px;
    }

    .headline {
        margin-top: 15px;
        transform: scale(1.25);
    }
}

@media screen and (max-width: 379px) {

    .character {
        margin-left: 10%;
    }

    .container.active .green-card {
        height: 75%;
    }

    .form-container {
        margin-top: 20%;
        gap: 20px;
    }

    .container.active .logo-sm {
        margin-top: 17px;
        width: 30%;
    }

    .container.active .logo-vip {
        width: 27%;
        margin-top: 17px;
    }

}

@media screen and (min-width: 380px) {

    .container.active .logo-sm {
        width: 30%;
    }

    .container.active .logo-vip {
        width: 23%;
    }

    .form-container {
        top: 20%;
    }

    .headline {
        margin-top: 5%;
    }

    .headline h1 {
        font-size: 3.5rem;
    }

    .headline h2 {
        font-size: 1rem;
    }

    .btn-primary {
        margin-bottom: 5%;
    }

}


/* ================================================
   RESPONSIVE — Short screens / landscape
   ================================================ */
@media screen and (max-height: 700px) and (orientation: landscape) {
    .container {
        overflow: auto;
    }

    .character {
        display: none;
    }



    .green-card {
        height: 65%;
    }

    .container.active .green-card {
        height: 95%;
    }

    .headline {
        transform: scale(0.85);
        margin-bottom: 0;
    }

    .container.active .headline {
        display: none;
    }

    .form-container {
        top: 15px;
        gap: 8px;
    }

    .input-group input,
    .input-group select {
        padding: 14px 18px;
    }

    .btn-submit {
        padding: 14px;
    }
}

/* ================================================
   DESKTOP (>= 768px)
   ================================================ */
@media screen and (min-width: 768px) {

    html,
    body {
        background: #e8e8e8;
    }

    .container {
        max-width: none;
        display: flex;
        flex-direction: row;
    }

    /* ── Left side: Background + Text ─────── */
    .bg-section {
        position: relative;
        width: 55%;
        height: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .store-bg {
        filter: blur(6px);
        /* Always blurred on desktop */
    }

    .container.active .store-bg {
        filter: blur(6px);
    }

    .header {
        padding: 30px 40px 0;
        gap: 25px;
    }

    .logo-sm {
        width: 140px;
    }

    .logo-vip {
        width: 115px;
    }

    .container.active .logo-sm {
        width: 140px;
    }

    .container.active .logo-vip {
        width: 115px;
        top: 0;
    }

    /* Hide character on desktop */
    .character {
        display: none !important;
    }



    /* Show hero text on desktop */
    .hero-text {
        display: block;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        text-align: center;
        z-index: 5;
        padding: 0 30px;
        width: 100%;
    }

    .hero-text h2 {
        font-family: 'ITC Avant Garde Std', sans-serif;
        font-size: 1.6rem;
        color: #1a5c2a;
        font-weight: normal;
        margin-bottom: 4px;
    }

    .hero-text h1 {
        font-family: 'ITC Avant Garde Std', sans-serif;
        font-size: 3.8rem;
        color: #1a5c2a;
        font-weight: 800;
        line-height: 0.92;
        text-transform: uppercase;
    }

    .hero-text .sub {
        font-family: 'ITC Avant Garde Std', sans-serif;
        font-size: 1.4rem;
        color: #1a5c2a;
        font-weight: bold;
        margin-top: 10px;
    }

    /* ── Right side: Green panel ──────────── */
    .green-card {
        position: relative;
        width: 45%;
        height: 100%;
        border-radius: 30px 0 0 0;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .container.active .green-card {
        height: 100%;
    }

    .headline {
        display: none;
    }

    .cta-container {
        display: none !important;
    }

    .card-content {
        justify-content: center;
        padding: 40px 35px;
    }

    .form-container {
        position: relative;
        top: auto;
        opacity: 1;
        visibility: visible;
        transform: none;
        max-width: 460px;
        margin: 0 auto;
        padding: 0;
        gap: 22px;
    }

    .input-group input {
        padding: 24px 24px;
    }

    .input-group select {
        padding: 24px 45px 24px 24px;
    }

    .btn-submit {
        padding: 24px;
        font-size: 1.25rem;
        margin-top: 8px;
    }

    /* WhatsApp decorations */
    .whatsapp-float {
        display: none;
    }

    .whatsapp-blur {
        bottom: -80px;
        right: -80px;
    }

    .whatsapp-blur img {
        width: 350px;
        opacity: 0.2;
    }

    .whatsapp-center {
        display: block;
        position: absolute;
        bottom: 25px;
        left: 55%;
        transform: translateX(-50%);
        z-index: 20;
        pointer-events: none;
    }

    .whatsapp-center img {
        width: 80px;
        filter: drop-shadow(0 6px 20px rgba(0, 0, 0, 0.25));
    }
}

/* ================================================
   DESKTOP — Large screens (>= 1200px)
   ================================================ */
@media screen and (min-width: 1200px) {
    .hero-text h1 {
        font-size: 4.5rem;
    }

    .hero-text h2 {
        font-size: 1.9rem;
    }

    .hero-text .sub {
        font-size: 1.6rem;
    }

    .logo-sm {
        width: 170px;
    }

    .logo-vip {
        width: 140px;
    }

    .form-container {
        gap: 26px;
    }

    .input-group input {
        padding: 26px 26px;
        font-size: 1.05rem;
    }

    .input-group select {
        padding: 26px 48px 26px 26px;
        font-size: 1.05rem;
    }

    .btn-submit {
        padding: 26px;
        font-size: 1.3rem;
    }

    .whatsapp-center img {
        width: 100px;
    }
}

/* ================================================
   DESKTOP — Extra large (>= 1600px)
   ================================================ */
@media screen and (min-width: 1600px) {
    .hero-text h1 {
        font-size: 5.5rem;
    }

    .hero-text h2 {
        font-size: 2.2rem;
    }

    .hero-text .sub {
        font-size: 1.8rem;
    }

    .logo-sm {
        width: 200px;
    }

    .logo-vip {
        width: 160px;
    }
}

/* ================================================
   MODAIS
   ================================================ */

.modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-box {
    background: #fff;
    border-radius: 24px;
    padding: 32px 24px 28px;
    width: 100%;
    max-width: 360px;
    text-align: center;
    transform: scale(0.88) translateY(20px);
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.35);
}

.modal-overlay.active .modal-box {
    transform: scale(1) translateY(0);
}

/* ── DDD 55 Modal ─────────────── */
.modal-icon-wrap {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
}

.modal-icon-wrap svg {
    width: 32px;
    height: 32px;
}

.modal-icon-warn {
    background: #fff7ed;
    color: #f59e0b;
}

.modal-title {
    font-family: 'ITC Avant Garde Std', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 10px;
}

.modal-text {
    color: #555;
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 12px;
}

.modal-hint {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 12px;
    padding: 10px 14px;
    color: #166534;
    font-size: 0.82rem;
    line-height: 1.45;
    margin-bottom: 24px;
    text-align: left;
}

.modal-actions {
    display: flex;
    gap: 10px;
}

.modal-btn {
    flex: 1;
    padding: 14px 8px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    border: none;
    font-family: 'Acumin Pro', sans-serif;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.modal-btn:active {
    transform: scale(0.96);
}

.modal-btn-outline {
    background: transparent;
    border: 2px solid #d1d5db;
    color: #374151;
}

.modal-btn-outline:hover {
    background: #f3f4f6;
}

.modal-btn-green {
    background: #00a651;
    color: white;
    box-shadow: 0 4px 14px rgba(0, 166, 81, 0.4);
}

.modal-btn-green:hover {
    box-shadow: 0 6px 20px rgba(0, 166, 81, 0.55);
}

/* ── Redirect (Fake News) Modal ─ */
.modal-box-redirect {
    background: #16181c;
    padding: 0;
    overflow: hidden;
    max-width: 400px;
    text-align: left;
    border: 1px solid rgba(255, 255, 255, 0.07);
}

.modal-redirect-header {
    background: linear-gradient(135deg, #991b1b 0%, #dc2626 55%, #ef4444 100%);
    padding: 20px 22px 18px;
    display: flex;
    align-items: center;
    gap: 14px;
    position: relative;
    overflow: hidden;
}

.modal-redirect-header::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    background-size: 256px 256px;
    opacity: 0.07;
    pointer-events: none;
}

.modal-redirect-siren {
    font-size: 2.6rem;
    line-height: 1;
    flex-shrink: 0;
    filter: drop-shadow(0 0 12px rgba(255, 220, 0, 0.7));
    animation: sirenPulse 1.2s ease-in-out infinite;
}

@keyframes sirenPulse {
    0%,  100% { transform: scale(1) rotate(-6deg); }
    50%        { transform: scale(1.12) rotate(6deg); }
}

.modal-redirect-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.18);
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.6rem;
    font-weight: 800;
    letter-spacing: 1.8px;
    padding: 2px 8px;
    border-radius: 4px;
    text-transform: uppercase;
    margin-bottom: 5px;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.modal-title-white {
    color: white;
    font-family: 'ITC Avant Garde Std', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0;
    line-height: 1.25;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}

/* ── Body ─────────────────────── */
.modal-redirect-body {
    padding: 16px 16px 18px;
}

.modal-redirect-subtitle {
    color: #6b7280;
    font-size: 0.78rem;
    line-height: 1.45;
    margin-bottom: 12px;
}

.modal-redirect-subtitle strong {
    color: #d1d5db;
}

/* ── Channel rows ─────────────── */
.modal-channels {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 14px;
}

.modal-channel {
    background: #1e2126;
    border-radius: 12px;
    padding: 9px 12px;
    display: flex;
    align-items: center;
    gap: 11px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.channel-icon {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    flex-shrink: 0;
    color: white;
}

.channel-icon-ig {
    background: linear-gradient(135deg, #f9a825 0%, #e91e8c 50%, #9c27b0 100%);
}

.channel-icon-fb {
    background: #1877f2;
}

.channel-icon-site {
    background: #00a651;
}

.channel-icon-wa {
    background: #25d366;
}

.channel-info {
    display: flex;
    flex-direction: column;
    gap: 1px;
    min-width: 0;
}

.channel-label {
    color: #6b7280;
    font-size: 0.67rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.channel-value {
    color: #e5e7eb;
    font-size: 0.82rem;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.modal-channel-highlight {
    background: #0d2318;
    border-color: rgba(0, 166, 81, 0.3);
}

.modal-channel-highlight .channel-label {
    color: #4ade80;
}

.modal-channel-highlight .channel-value {
    color: #86efac;
}

/* ── Countdown labels (shared) ── */
.modal-countdown-label {
    color: #9ca3af;
    font-size: 0.78rem;
}

.modal-countdown-num {
    font-family: 'ITC Avant Garde Std', sans-serif;
    font-size: 1.6rem;
    font-weight: 800;
    color: white;
    line-height: 1;
    min-width: 1.8ch;
    text-align: right;
    transition: color 0.6s ease;
}

.modal-countdown-s {
    color: #9ca3af;
    font-size: 0.8rem;
}

.progress-track {
    width: 100%;
    height: 5px;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 3px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #00a651, #4ade80);
    border-radius: 3px;
    box-shadow: 0 0 8px rgba(0, 200, 100, 0.5);
}

@keyframes progressFill {
    from { width: 0%; }
    to   { width: 100%; }
}

/* ── Fixed progress bar below flip card ── */
.ad-progress-outer {
    background: rgba(13, 15, 18, 0.92);
    border-radius: 0 0 18px 18px;
    padding: 10px 16px 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.ad-progress-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 7px;
}

.ad-countdown-right {
    display: flex;
    align-items: baseline;
    gap: 3px;
}

/* ── Ad Flip Card ─────────────── */
.ad-flip-card {
    perspective: 1200px;
    width: 100%;
    max-width: 400px;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.45);
    transform: scale(0.88) translateY(20px);
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.modal-overlay.active .ad-flip-card {
    transform: scale(1) translateY(0);
}

.ad-flip-inner {
    position: relative;
    width: 100%;
    transform-style: preserve-3d;
    transition: transform 0.75s cubic-bezier(0.4, 0, 0.2, 1);
}

.ad-flip-inner.is-flipped {
    transform: rotateY(180deg);
}

.ad-front,
.ad-back {
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

/* ── Front face: E-URBAN ad ──── */
.ad-front {
    width: 100%;
    min-height: 200px;
    max-height: calc(100dvh - 100px);
    border-radius: 18px 18px 0 0;
    overflow: hidden;
    box-shadow: none;
    position: relative;
    background: #111;
}

/* ── Carousel ─────────────────── */
.ad-carousel {
    position: relative;
    width: 100%;
    max-height: calc(100dvh - 100px);
    overflow: hidden;
}

.ad-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.ad-slide:first-child {
    position: relative;
}

.ad-slide.active {
    opacity: 1;
    pointer-events: auto;
}

.eurban-img {
    width: 100%;
    max-height: calc(100dvh - 100px);
    object-fit: cover;
    object-position: center top;
    display: block;
}

.ad-btn-wrap {
    position: absolute;
    bottom: 18px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
}

.btn-interesse {
    display: inline-block;
    background: linear-gradient(135deg, #00a651 0%, #00c96a 100%);
    color: #fff;
    font-family: 'Acumin Pro', sans-serif;
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: 0.4px;
    padding: 13px 36px;
    border-radius: 999px;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(0, 166, 81, 0.55);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.btn-interesse:hover {
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 7px 26px rgba(0, 166, 81, 0.65);
}

.btn-interesse:active {
    transform: scale(0.97);
}

/* ── Back face: Fake News warning ── */
.ad-back {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    min-height: 100%;
    transform: rotateY(180deg);
    border-radius: 18px 18px 0 0;
    overflow-y: auto;
    box-shadow: none;
}