/* =======================================================
   RESET E CONFIGURAÇÕES GERAIS
======================================================= */
:root {
    --bg-main: #050505;
    --bg-shell: #0b0b0c;
    --bg-card: #17181b;
    --bg-card-2: #202126;
    --bg-soft: #f3f4f6;
    --bg-white: #ffffff;
    --text-main: #111111;
    --text-soft: #71717a;
    --text-white: #ffffff;
    --green: #22c55e;
    --green-dark: #16a34a;
    --green-soft: #e9fcef;
    --line-dark: rgba(255, 255, 255, 0.08);
    --line-light: rgba(17, 24, 39, 0.08);
    --radius-sm: 12px;
    --radius-md: 16px;
    --radius-lg: 20px;
    --radius-xl: 24px;
    --shadow-soft: 0 8px 24px rgba(0, 0, 0, 0.08);
    --shadow-card: 0 14px 30px rgba(0, 0, 0, 0.12);
    --shadow-green: 0 12px 24px rgba(34, 197, 94, 0.22);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Inter", sans-serif;
    -webkit-tap-highlight-color: transparent;
}

html {
    scroll-behavior: smooth;
}

body {
    background: radial-gradient(circle at top, rgba(34, 197, 94, 0.06), transparent 28%), var(--bg-main);
    display: flex;
    justify-content: center;
    color: var(--text-main);
    overflow-x: hidden;
}

/* =======================================================
   CONTAINER DO APLICATIVO
======================================================= */
.mobile-app-container {
    width: 100%;
    max-width: 430px;
    min-height: 100vh;
    background: linear-gradient(180deg, #000000 0%, #0a0a0b 100%);
    position: relative;
    overflow-x: hidden;
    padding-bottom: 100px;
}

/* =======================================================
   HEADER
======================================================= */
.top-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 14px 14px;
    position: relative;
    z-index: 50;
}

.logo-top-left {
    height: 30px;
    object-fit: contain;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.35));
    transform: scale(3.80);
    margin-left: -30px;
    transform-origin: left center;
}

.menu-icon {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: transform 0.18s ease, background-color 0.18s ease;
}

.menu-icon:active {
    transform: scale(0.97);
}

.menu-icon span {
    width: 18px;
    height: 2px;
    background-color: #fff;
    border-radius: 999px;
}

/* =======================================================
   HERO
======================================================= */
.hero-section {
    background: linear-gradient(180deg, #18191c 0%, #121315 100%);
    border-radius: 26px 26px 0 0;
    margin: 0 10px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.22);
}

.image-frame {
    position: relative;
    width: 100%;
    overflow: hidden;
    isolation: isolate;
}

.image-frame::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.82),
        rgba(0, 0, 0, 0.28) 45%,
        rgba(0, 0, 0, 0.05) 75%,
        rgba(0, 0, 0, 0)
    );
    pointer-events: none;
    z-index: 1;
}

.image-frame::before {
    content: "";
    position: absolute;
    inset: 12px;
    border-radius: 22px 22px 14px 14px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    pointer-events: none;
    z-index: 2;
}

.image-frame img {
    width: 100%;
    height: clamp(240px, 45vw, 290px);
    object-fit: cover;
    display: block;
    border-radius: 26px 26px 0 0;
    transform: scale(1.01);
}

.tag-urgent {
    position: absolute;
    top: 14px;
    right: 14px;
    left: auto;
    bottom: auto;
    background: linear-gradient(180deg, #22c55e 0%, #16a34a 100%);
    color: #ffffff;
    padding: 7px 14px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.03em;
    z-index: 10;
    box-shadow: 0 10px 20px rgba(34, 197, 94, 0.24);
    text-transform: uppercase;
    animation: pulseTag 1.4s infinite ease-in-out;
}

.image-overlay-text {
    position: absolute;
    left: 16px;
    bottom: 18px;
    z-index: 10;
    color: #fff;
    max-width: 82%;
}

.image-overlay-text h2 {
    margin: 0;
}

.image-overlay-text h2 span {
    position: relative;
    display: inline-block;
    font-size: 28px;
    font-weight: 900;
    line-height: 0.95;
    letter-spacing: -0.03em;
    text-transform: uppercase;
    color: #ffffff;
    padding: 8px 18px 7px 10px;
    z-index: 1;
    text-shadow:
        0 3px 10px rgba(0, 0, 0, 0.60),
        0 8px 22px rgba(0, 0, 0, 0.38),
        2px 2px 0 rgba(0, 0, 0, 0.20);
}

.image-overlay-text h2 span::before {
    content: "";
    position: absolute;
    inset: 0;
    left: -8px;
    right: -30px;
    background: linear-gradient(
        90deg,
        rgba(0, 0, 0, 0.82) 0%,
        rgba(0, 0, 0, 0.62) 38%,
        rgba(0, 0, 0, 0.32) 72%,
        rgba(0, 0, 0, 0.00) 100%
    );
    border-radius: 8px 18px 18px 8px;
    transform: skewX(-8deg);
    z-index: -1;
    filter: blur(0.3px);
}

.image-overlay-text p {
    margin-top: 4px;
}

.image-overlay-text p span {
    position: relative;
    display: inline-block;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #ececf1;
    padding: 6px 16px 6px 8px;
    z-index: 1;
    text-shadow:
        0 3px 10px rgba(0, 0, 0, 0.55),
        0 6px 18px rgba(0, 0, 0, 0.30);
}

.image-overlay-text p span::before {
    content: "";
    position: absolute;
    inset: 0;
    left: -6px;
    right: -24px;
    background: linear-gradient(
        90deg,
        rgba(0, 0, 0, 0.72) 0%,
        rgba(0, 0, 0, 0.48) 42%,
        rgba(0, 0, 0, 0.20) 75%,
        rgba(0, 0, 0, 0.00) 100%
    );
    border-radius: 7px 16px 16px 7px;
    transform: skewX(-8deg);
    z-index: -1;
    filter: blur(0.2px);
}

.my-titles-bar {
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    text-align: center;
    padding: 14px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(8px);
    transition: background-color 0.18s ease;
}

.my-titles-bar:active {
    background: rgba(255, 255, 255, 0.08);
}

/* =======================================================
   ÁREA DE COMPRA
======================================================= */
.purchase-area {
    background: linear-gradient(180deg, #f7f7f8 0%, #efefef 100%);
    color: #111;
    border-radius: 24px 24px 0 0;
    padding: 18px 14px 22px;
    position: relative;
    min-height: calc(100vh - 360px);
    margin: 0 10px;
    box-shadow: 0 -8px 20px rgba(0, 0, 0, 0.08);
}

.info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    margin-bottom: 14px;
}

.info-tag {
    background-color: #fff;
    padding: 6px 6px;
    border-radius: 16px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    gap: 7px;
    border: 1px solid rgba(17, 24, 39, 0.05);
    font-weight: 700;
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #22c55e;
    display: inline-block;
    flex-shrink: 0;
}

.price-black {
    background-color: #0d0d0e;
    color: #fff;
    padding: 7px 10px;
    border-radius: 12px;
    font-weight: 800;
    font-size: 13px;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.12);
}

.unit-text {
    font-size: 10px;
    opacity: 0.65;
}

.promo-banner {
    background-color: #fff;
    text-align: center;
    padding: 13px 14px;
    border-radius: 14px;
    font-size: 13px;
    font-weight: 700;
    color: #444;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
    margin-bottom: 18px;
    border: 1px solid #ececec;
}

/* =======================================================
   FAIXA DE COMPRADORES
======================================================= */
.winners-strip {
    margin-bottom: 14px;
    overflow: hidden;
    background: transparent;
    border: none;
    padding: 0;
    box-shadow: none;
}

.winners-track {
    display: flex;
    align-items: center;
    gap: 4px;
    width: max-content;
    padding: 1px 0;
    animation: winnersScroll 24s linear infinite;
}

.winner-card {
    min-width: 210px;
    height: 50px;
    background: linear-gradient(180deg, #2a2d33 0%, #202329 100%);
    border-radius: 13px;
    padding: 6px 10px;
    display: flex;
    align-items: center;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 5px 12px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.winner-line {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 2px;
    padding-right: 72px;
    line-height: 1;
    min-width: 0;
}

.winner-line strong {
    color: #ffffff;
    font-size: 11px;
    font-weight: 800;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.winner-line span {
    color: rgba(255, 255, 255, 0.72);
    font-size: 9px;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.winner-price {
    position: absolute;
    top: 7px;
    right: 10px;
    color: #4dff98;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0.01em;
    text-shadow: 0 0 6px rgba(77, 255, 152, 0.16);
}

.winner-pay {
    position: absolute;
    right: 10px;
    bottom: 7px;
    display: flex;
    align-items: center;
    gap: 3px;
    background: transparent;
    color: #9be7ba;
    font-size: 8px;
    font-weight: 800;
    line-height: 1;
    padding: 0;
}

.winner-pay i {
    font-size: 9px;
    color: #32d074;
}

@keyframes winnersScroll {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-38%);
    }
}

/* =======================================================
   BOTÕES DE SELEÇÃO RÁPIDA
======================================================= */
.quick-select {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 18px;
}

.select-card {
    background-color: #fff;
    color: #111;
    border-radius: 18px;
    padding: 18px 12px;
    text-align: center;
    cursor: pointer;
    position: relative;
    border: 1px solid rgba(17, 24, 39, 0.08);
    transition:
        transform 0.18s ease,
        box-shadow 0.18s ease,
        border-color 0.18s ease,
        background-color 0.18s ease;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.05);
}

.select-card:active {
    transform: scale(0.98);
}

.select-card h2 {
    font-size: 30px;
    line-height: 1;
    font-weight: 900;
    letter-spacing: -0.04em;
}

.select-card p {
    font-size: 11px;
    color: #666;
    margin-top: 8px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.select-card.highlight {
    background: linear-gradient(180deg, #ecfdf5 0%, #dcfce7 100%);
    border-color: rgba(34, 197, 94, 0.45);
    box-shadow: 0 10px 24px rgba(34, 197, 94, 0.12);
}

.popular-tag {
    position: absolute;
    top: -9px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(180deg, #facc15 0%, #eab308 100%);
    color: #111;
    font-size: 9px;
    padding: 4px 10px;
    border-radius: 999px;
    font-weight: 800;
    white-space: nowrap;
    letter-spacing: 0.04em;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.12);
    text-transform: uppercase;
}

/* =======================================================
   BARRA FIXA INFERIOR
======================================================= */
.fixed-bottom-bar {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 430px;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(12px);
    padding: 12px 14px calc(12px + env(safe-area-inset-bottom));
    box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.08);
    border-top: 1px solid rgba(17, 24, 39, 0.06);
    z-index: 100;
}

.action-row {
    display: flex;
    gap: 10px;
    align-items: stretch;
}

.counter {
    display: flex;
    align-items: center;
    background-color: #f4f4f5;
    border-radius: 16px;
    border: 1px solid rgba(17, 24, 39, 0.08);
    overflow: hidden;
    width: 128px;
    min-width: 128px;
    height: 62px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.counter button {
    background: none;
    border: none;
    font-size: 22px;
    width: 40px;
    height: 100%;
    cursor: pointer;
    color: #52525b;
    font-weight: 700;
    transition: background-color 0.18s ease, transform 0.18s ease;
}

.counter button:active {
    background-color: rgba(0, 0, 0, 0.04);
    transform: scale(0.96);
}

.counter input {
    width: 100%;
    text-align: center;
    border: none;
    background-color: transparent;
    font-size: 18px;
    font-weight: 800;
    outline: none;
    color: #111;
    appearance: textfield;
    -moz-appearance: textfield;
}

.counter input::-webkit-outer-spin-button,
.counter input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.buy-btn {
    flex: 1;
    background: linear-gradient(180deg, var(--green) 0%, var(--green-dark) 100%);
    color: #fff;
    border: none;
    border-radius: 18px;
    padding: 10px 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    cursor: pointer;
    box-shadow: var(--shadow-green);
    text-align: left;
    min-height: 62px;
    transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

.buy-btn:active {
    transform: scale(0.985);
}

.buy-btn-text {
    line-height: 1.1;
    flex: 1;
}

.buy-btn-text span {
    display: block;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    opacity: 0.85;
    margin-bottom: 4px;
    letter-spacing: 0.05em;
}

.buy-btn-text strong {
    font-size: 22px;
    font-weight: 900;
    letter-spacing: -0.04em;
}

.buy-btn .icon {
    background-color: rgba(255, 255, 255, 0.18);
    color: #fff;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
    border: 1px solid rgba(255, 255, 255, 0.18);
}

/* =======================================================
   AJUSTES EXTRAS
======================================================= */
.select-card,
.buy-btn,
.counter,
.info-tag,
.promo-banner,
.hero-section,
.fixed-bottom-bar {
    will-change: transform;
}

img {
    user-select: none;
    -webkit-user-drag: none;
}

@media (max-width: 380px) {
    .image-overlay-text h2 {
        font-size: 22px;
    }

    .image-overlay-text p {
        font-size: 11px;
    }

    .tag-urgent {
        font-size: 10px;
        padding: 6px 12px;
    }

    .buy-btn-text strong {
        font-size: 19px;
    }

    .counter {
        width: 116px;
        min-width: 116px;
    }

    .select-card h2 {
        font-size: 26px;
    }

    .winner-card {
        min-width: 194px;
        height: 46px;
        padding: 5px 9px;
    }

    .winner-line {
        padding-right: 66px;
    }

    .winner-line strong {
        font-size: 10px;
    }

    .winner-line span {
        font-size: 8px;
    }

    .winner-price {
        font-size: 9px;
        right: 9px;
    }

    .winner-pay {
        right: 9px;
        font-size: 7px;
    }

    .winner-pay i {
        font-size: 8px;
    }
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation: none !important;
        transition: none !important;
        scroll-behavior: auto !important;
    }
}

@keyframes pulseTag {
    0% {
        transform: scale(1);
        box-shadow: 0 10px 20px rgba(34, 197, 94, 0.24);
    }
    50% {
        transform: scale(1.08);
        box-shadow: 0 12px 28px rgba(34, 197, 94, 0.42);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 10px 20px rgba(34, 197, 94, 0.24);
    }
}

.hero-carousel {
    position: relative;
}

.carousel-track {
    display: flex;
    width: 100%;
    transition: transform 0.55s ease;
}

.carousel-slide {
    min-width: 100%;
    width: 100%;
    flex: 0 0 100%;
    position: relative;
}

.carousel-slide img {
    width: 100%;
    height: clamp(240px, 45vw, 290px);
    object-fit: cover;
    display: block;
    border-radius: 26px 26px 0 0;
    transform: scale(1.01);
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 38px;
    height: 38px;
    border: none;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.32);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.14);
    z-index: 12;
    transition: transform 0.18s ease, background-color 0.18s ease;
}

.carousel-btn:active {
    transform: translateY(-50%) scale(0.94);
}

.carousel-btn.prev {
    left: 14px;
}

.carousel-btn.next {
    right: 14px;
}

.carousel-dots {
    position: absolute;
    left: 50%;
    bottom: 14px;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 12;
}

.carousel-dot {
    width: 9px;
    height: 9px;
    border: none;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.45);
    cursor: pointer;
    transition: transform 0.18s ease, background-color 0.18s ease, width 0.18s ease;
}

.carousel-dot.active {
    width: 22px;
    background: #22c55e;
}

@media (max-width: 380px) {
    .carousel-btn {
        width: 34px;
        height: 34px;
    }

    .carousel-btn.prev {
        left: 10px;
    }

    .carousel-btn.next {
        right: 10px;
    }

    .carousel-dots {
        bottom: 12px;
    }
}

.payment-screen-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.62);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.payment-screen-overlay.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.payment-screen {
  width: 100%;
  max-width: 430px;
  height: min(92vh, 820px);
  background: linear-gradient(180deg, #f7f7f8 0%, #efefef 100%);
  border-radius: 28px 28px 0 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transform: translateY(100%);
  transition: transform 0.28s ease;
  box-shadow: 0 -20px 50px rgba(0, 0, 0, 0.28);
}

.payment-screen-overlay.active .payment-screen {
  transform: translateY(0);
}

.payment-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 16px 14px;
  background: #ffffff;
  border-bottom: 1px solid rgba(17, 24, 39, 0.06);
}

.payment-back {
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 12px;
  background: #f3f4f6;
  color: #111;
  font-size: 20px;
  cursor: pointer;
  flex-shrink: 0;
}

.payment-header h2 {
  font-size: 18px;
  font-weight: 800;
  color: #111;
}

.payment-body {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
}

.payment-raffle-card {
  background: linear-gradient(180deg, #17181b 0%, #202126 100%);
  color: #fff;
  border-radius: 20px;
  padding: 16px;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 16px;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.14);
}

.payment-raffle-info small {
  display: block;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.payment-raffle-info h3 {
  font-size: 20px;
  font-weight: 900;
  line-height: 1;
  margin-bottom: 6px;
}

.payment-raffle-info p {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.72);
}

.payment-raffle-price {
  text-align: right;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 90px;
}

.payment-raffle-price span {
  font-size: 11px;
  color: #9be7ba;
  margin-bottom: 6px;
  font-weight: 700;
}

.payment-raffle-price strong {
  font-size: 24px;
  font-weight: 900;
  color: #4dff98;
  letter-spacing: -0.04em;
}

.payment-form-block {
  margin-bottom: 14px;
}

.payment-form-block label {
  display: block;
  font-size: 12px;
  font-weight: 800;
  color: #222;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.payment-form-block input {
  width: 100%;
  height: 52px;
  border: 1px solid rgba(17, 24, 39, 0.08);
  border-radius: 16px;
  padding: 0 14px;
  background: #fff;
  outline: none;
  font-size: 15px;
  font-weight: 600;
  color: #111;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.04);
}

.payment-form-block input:focus {
  border-color: rgba(34, 197, 94, 0.45);
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.10);
}

.payment-methods {
  margin-top: 18px;
}

.payment-methods h4 {
  font-size: 13px;
  font-weight: 900;
  color: #111;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.payment-method {
  display: block;
  margin-bottom: 10px;
  cursor: pointer;
}

.payment-method input {
  display: none;
}

.method-content {
  background: #fff;
  border: 1px solid rgba(17, 24, 39, 0.08);
  border-radius: 18px;
  padding: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  transition: all 0.18s ease;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.04);
}

.method-content strong {
  display: block;
  font-size: 15px;
  color: #111;
  margin-bottom: 3px;
}

.method-content span {
  font-size: 12px;
  color: #666;
  font-weight: 600;
}

.method-content b {
  font-size: 11px;
  color: #16a34a;
  background: #ecfdf5;
  padding: 7px 10px;
  border-radius: 999px;
  white-space: nowrap;
}

.payment-method input:checked + .method-content {
  border-color: rgba(34, 197, 94, 0.45);
  background: linear-gradient(180deg, #ecfdf5 0%, #f5fff8 100%);
  box-shadow: 0 10px 22px rgba(34, 197, 94, 0.12);
}

.payment-summary {
  background: #fff;
  border-radius: 20px;
  padding: 16px;
  margin-top: 18px;
  border: 1px solid rgba(17, 24, 39, 0.06);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.04);
}

.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: #555;
  padding: 10px 0;
  border-bottom: 1px solid rgba(17, 24, 39, 0.05);
}

.summary-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.summary-row.total {
  margin-top: 4px;
  color: #111;
}

.summary-row.total strong {
  font-size: 22px;
  font-weight: 900;
  color: #16a34a;
  letter-spacing: -0.03em;
}

.payment-footer {
  background: #ffffff;
  padding: 14px 16px calc(14px + env(safe-area-inset-bottom));
  border-top: 1px solid rgba(17, 24, 39, 0.06);
}

.payment-confirm-btn {
  width: 100%;
  height: 58px;
  border: none;
  border-radius: 18px;
  background: linear-gradient(180deg, #22c55e 0%, #16a34a 100%);
  color: #fff;
  font-size: 16px;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 14px 28px rgba(34, 197, 94, 0.24);
  transition: transform 0.18s ease, filter 0.18s ease;
}

.payment-confirm-btn:active {
  transform: scale(0.985);
}

@media (max-width: 380px) {
  .payment-screen {
    height: 94vh;
  }

  .payment-raffle-card {
    flex-direction: column;
    align-items: flex-start;
  }

  .payment-raffle-price {
    text-align: left;
    min-width: auto;
  }

  .payment-raffle-price strong {
    font-size: 22px;
  }
}

 /* carrossel principal */
    .hero-carousel {
      position: relative;
    }

    .carousel-track {
      display: flex;
      width: 100%;
      transition: transform 0.85s cubic-bezier(0.22, 1, 0.36, 1);
      will-change: transform;
    }

    .carousel-slide {
      min-width: 100%;
      flex: 0 0 100%;
      position: relative;
      overflow: hidden;
    }

    .carousel-slide img {
      width: 100%;
      height: clamp(240px, 45vw, 290px);
      object-fit: cover;
      display: block;
      border-radius: 26px 26px 0 0;
      transform: scale(1.06);
      transition:
        transform 1s cubic-bezier(0.22, 1, 0.36, 1),
        filter 0.8s ease,
        opacity 0.8s ease;
      filter: saturate(0.92) brightness(0.92);
      opacity: 0.9;
    }

    .carousel-slide.active img {
      transform: scale(1.01);
      filter: saturate(1.05) brightness(1);
      opacity: 1;
    }

    .carousel-btn {
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      width: 38px;
      height: 38px;
      border: none;
      border-radius: 50%;
      background: rgba(0, 0, 0, 0.35);
      color: #fff;
      font-size: 18px;
      cursor: pointer;
      z-index: 12;
      backdrop-filter: blur(6px);
      transition: transform 0.18s ease, background-color 0.18s ease;
    }

    .carousel-btn:hover {
      background: rgba(0, 0, 0, 0.5);
    }

    .carousel-btn:active {
      transform: translateY(-50%) scale(0.95);
    }

    .carousel-btn.prev {
      left: 12px;
    }

    .carousel-btn.next {
      right: 12px;
    }

    .carousel-dots {
      position: absolute;
      left: 50%;
      bottom: 14px;
      transform: translateX(-50%);
      display: flex;
      gap: 8px;
      z-index: 12;
    }

    .carousel-dot {
      width: 9px;
      height: 9px;
      border: none;
      border-radius: 50%;
      background: rgba(255, 255, 255, 0.45);
      cursor: pointer;
      transition: all 0.2s ease;
    }

    .carousel-dot.active {
      width: 22px;
      border-radius: 999px;
      background: #22c55e;
    }

    /* menu lateral */
    .menu-backdrop {
      position: fixed;
      inset: 0;
      background: rgba(0, 0, 0, 0.45);
      backdrop-filter: blur(4px);
      opacity: 0;
      pointer-events: none;
      transition: opacity 0.25s ease;
      z-index: 199;
    }

    .menu-backdrop.active {
      opacity: 1;
      pointer-events: auto;
    }

    .side-menu {
      position: fixed;
      top: 0;
      right: 0;
      width: min(82vw, 320px);
      height: 100vh;
      background: linear-gradient(180deg, #121315 0%, #0c0d0f 100%);
      border-left: 1px solid rgba(255, 255, 255, 0.08);
      box-shadow: -18px 0 40px rgba(0, 0, 0, 0.35);
      transform: translateX(100%);
      transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
      z-index: 200;
      display: flex;
      flex-direction: column;
      padding: 18px 16px 24px;
    }

    .side-menu.open {
      transform: translateX(0);
    }

    .side-menu-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 18px;
    }

    .side-menu-title {
      color: #fff;
      font-size: 18px;
      font-weight: 900;
      letter-spacing: -0.02em;
    }

    .close-menu-btn {
      width: 38px;
      height: 38px;
      border: none;
      border-radius: 12px;
      background: rgba(255, 255, 255, 0.06);
      color: #fff;
      font-size: 18px;
      cursor: pointer;
      border: 1px solid rgba(255, 255, 255, 0.08);
    }

    .menu-user-box {
      background: linear-gradient(180deg, rgba(34, 197, 94, 0.16) 0%, rgba(34, 197, 94, 0.07) 100%);
      border: 1px solid rgba(34, 197, 94, 0.18);
      border-radius: 18px;
      padding: 14px;
      color: #fff;
      margin-bottom: 18px;
    }

    .menu-user-box strong {
      display: block;
      font-size: 15px;
      margin-bottom: 4px;
    }

    .menu-user-box span {
      font-size: 12px;
      color: rgba(255, 255, 255, 0.72);
    }

    .side-menu-nav {
      display: flex;
      flex-direction: column;
      gap: 10px;
    }

    .menu-link {
      display: flex;
      align-items: center;
      gap: 12px;
      text-decoration: none;
      color: #fff;
      background: rgba(255, 255, 255, 0.04);
      border: 1px solid rgba(255, 255, 255, 0.06);
      border-radius: 16px;
      padding: 14px 14px;
      font-size: 14px;
      font-weight: 700;
      transition: transform 0.18s ease, background-color 0.18s ease, border-color 0.18s ease;
    }

    .menu-link:hover {
      background: rgba(255, 255, 255, 0.07);
      border-color: rgba(255, 255, 255, 0.10);
      transform: translateX(-2px);
    }

    .menu-link i {
      width: 18px;
      text-align: center;
      color: #22c55e;
    }

    /* modal de pagamento */
    .payment-modal {
      position: fixed;
      inset: 0;
      z-index: 999;
      display: flex;
      align-items: flex-end;
      justify-content: center;
      opacity: 0;
      pointer-events: none;
      transition: opacity 0.25s ease;
    }

    .payment-modal.active {
      opacity: 1;
      pointer-events: auto;
    }

    .payment-modal-backdrop {
      position: absolute;
      inset: 0;
      background: rgba(0, 0, 0, 0.6);
      backdrop-filter: blur(4px);
    }

    .payment-modal-content {
      position: relative;
      width: 100%;
      max-width: 430px;
      background: linear-gradient(180deg, #121315 0%, #0c0d0f 100%);
      border-radius: 26px 26px 0 0;
      padding: 22px 18px 24px;
      border-top: 1px solid rgba(255, 255, 255, 0.08);
      box-shadow: 0 -18px 40px rgba(0, 0, 0, 0.35);
      transform: translateY(100%);
      transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
      max-height: 88vh;
      overflow-y: auto;
    }

    .payment-modal.active .payment-modal-content {
      transform: translateY(0);
    }

    .payment-close {
      position: absolute;
      top: 14px;
      right: 14px;
      width: 38px;
      height: 38px;
      border: none;
      border-radius: 12px;
      background: rgba(255, 255, 255, 0.06);
      color: #fff;
      font-size: 18px;
      cursor: pointer;
      border: 1px solid rgba(255, 255, 255, 0.08);
    }

    .payment-header {
      padding-right: 46px;
      margin-bottom: 18px;
    }

    .payment-badge {
      display: inline-block;
      padding: 6px 10px;
      border-radius: 999px;
      background: rgba(34, 197, 94, 0.14);
      color: #22c55e;
      font-size: 12px;
      font-weight: 800;
      margin-bottom: 10px;
    }

    .payment-header h3 {
      color: #fff;
      font-size: 22px;
      font-weight: 900;
      margin-bottom: 6px;
      line-height: 1.15;
    }

    .payment-header p {
      color: rgba(255, 255, 255, 0.68);
      font-size: 13px;
      line-height: 1.45;
      max-width: 330px;
    }

    .payment-summary {
      background: rgba(255, 255, 255, 0.04);
      border: 1px solid rgba(255, 255, 255, 0.06);
      border-radius: 18px;
      padding: 14px;
      margin-bottom: 16px;
    }

    .payment-summary-row {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
      padding: 10px 0;
      color: #fff;
      font-size: 14px;
    }

    .payment-summary-row + .payment-summary-row {
      border-top: 1px solid rgba(255, 255, 255, 0.06);
    }

    .payment-summary-row span {
      color: rgba(255, 255, 255, 0.68);
    }

    .payment-summary-row strong {
      color: #fff;
      font-weight: 800;
      text-align: right;
    }

    .payment-summary-row.total strong {
      color: #22c55e;
      font-size: 18px;
    }

    .payment-input-box {
      background: rgba(255, 255, 255, 0.04);
      border: 1px solid rgba(255, 255, 255, 0.06);
      border-radius: 18px;
      padding: 16px;
      margin-bottom: 16px;
    }

    .payment-input-box label {
      display: block;
      color: #fff;
      font-size: 14px;
      font-weight: 800;
      margin-bottom: 8px;
    }

    .payment-input-box input {
      width: 100%;
      height: 52px;
      border-radius: 14px;
      border: 1px solid rgba(255, 255, 255, 0.08);
      background: rgba(255, 255, 255, 0.05);
      color: #fff;
      padding: 0 14px;
      font-size: 15px;
      outline: none;
    }

    .payment-input-box input:focus {
      border-color: rgba(34, 197, 94, 0.42);
      box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.10);
    }

    .payment-input-box input::placeholder {
      color: rgba(255, 255, 255, 0.36);
    }

    .payment-input-box p {
      margin-top: 8px;
      color: rgba(255, 255, 255, 0.62);
      font-size: 12px;
      line-height: 1.45;
    }

    .payment-method-box {
      background: rgba(34, 197, 94, 0.06);
      border: 1px solid rgba(34, 197, 94, 0.14);
      border-radius: 18px;
      padding: 16px;
    }

    .payment-method-title {
      display: flex;
      align-items: center;
      gap: 10px;
      color: #fff;
      font-size: 14px;
      font-weight: 800;
      margin-bottom: 14px;
    }

    .payment-method-title i {
      color: #22c55e;
    }

    .payment-qr-placeholder {
      min-height: 150px;
      border-radius: 18px;
      border: 1px dashed rgba(255, 255, 255, 0.16);
      background: rgba(255, 255, 255, 0.03);
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      gap: 10px;
      color: rgba(255, 255, 255, 0.62);
      margin-bottom: 14px;
      text-align: center;
      padding: 16px;
    }

    .payment-qr-placeholder i {
      font-size: 36px;
      color: #22c55e;
    }

    .payment-confirm-btn {
      width: 100%;
      height: 52px;
      border: none;
      border-radius: 16px;
      background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
      color: #fff;
      font-size: 15px;
      font-weight: 900;
      cursor: pointer;
      box-shadow: 0 12px 26px rgba(34, 197, 94, 0.22);
      transition: transform 0.18s ease, filter 0.18s ease;
    }

    .payment-confirm-btn:hover {
      filter: brightness(1.03);
    }

    .payment-confirm-btn:active {
      transform: scale(0.99);
    }

    .payment-result {
      display: none;
      margin-top: 14px;
      border-radius: 18px;
      background: rgba(255, 255, 255, 0.04);
      border: 1px solid rgba(255, 255, 255, 0.08);
      padding: 14px;
    }

    .payment-result.show {
      display: block;
    }

    .payment-qr-visual {
      width: 160px;
      height: 160px;
      margin: 0 auto 14px;
      border-radius: 16px;
      border: 10px solid #fff;
      background:
        linear-gradient(90deg, #111 50%, #fff 50%),
        linear-gradient(#111 50%, #fff 50%);
      background-size: 20px 20px;
      background-position: 0 0, 10px 10px;
      box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
    }

    .payment-result h4 {
      color: #fff;
      font-size: 15px;
      text-align: center;
      margin-bottom: 12px;
      font-weight: 900;
    }

    .payment-result-info {
      display: grid;
      gap: 10px;
    }

    .payment-result-line {
      display: flex;
      flex-direction: column;
      gap: 4px;
      padding: 10px 12px;
      border-radius: 14px;
      background: rgba(255, 255, 255, 0.03);
    }

    .payment-result-line span {
      color: rgba(255, 255, 255, 0.58);
      font-size: 11px;
      text-transform: uppercase;
      letter-spacing: 0.04em;
    }

    .payment-result-line strong {
      color: #fff;
      font-size: 14px;
      word-break: break-word;
    }

    .payment-result-note {
      margin-top: 12px;
      text-align: center;
      color: #22c55e;
      font-size: 12px;
      font-weight: 700;
      line-height: 1.45;
    }
.numbers-line strong {
  display: block;
  white-space: normal;
  line-height: 1.5;
  word-break: break-word;
  color: #dfffea;
}

.payment-result-line.numbers-line {
  padding-bottom: 12px;
}

.payment-result-line.numbers-line strong {
  margin-top: 2px;
  font-size: 13px;
}

.payment-result-line strong#generatedExpiresAt {
  color: #9be7ba;
}

.payment-confirm-btn:disabled {
  opacity: 0.72;
  cursor: not-allowed;
  filter: grayscale(0.08);
  box-shadow: none;
}

.payment-confirm-btn:disabled:active {
  transform: none;
}