/* ==========================================================================
   LUXO 💎 - CORE STYLESHEET
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. VARIABLES & RESET
   -------------------------------------------------------------------------- */
:root {
    /* Colors */
    --bg-main: #0d0d0d;
    --card-bg: rgba(255, 255, 255, 0.03);
    --card-border: rgba(255, 255, 255, 0.08);
    --text-primary: #ffffff;
    --text-muted: #9ca3af;

    /* Brand Colors */
    --accent-red: #ff3b5c;
    --accent-gold: #fbbf24;
    --whatsapp: #25D366;
    --telegram: #0088cc;

    /* Border Radius */
    --radius-sm: 12px;
    --radius-md: 16px;
    --radius-full: 9999px;
}

/* Global Reset */
*,
*::before,
*::after {
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

/* Base Reset */
body {
    background-color: #000000;
    color: #f8fafc;
    /* Force center on desktop */
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0;
    font-family: 'Outfit', sans-serif;
    /* Default font */
    line-height: 1.6;
}

/* Background Decorativo */

/* Scrollbar */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-thumb {
    background: #333;
    border-radius: 3px;
}

/* --------------------------------------------------------------------------
   2. UTILITIES & BACKGROUNDS
   -------------------------------------------------------------------------- */
.bg-gradient {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: radial-gradient(circle at 50% 20%, rgba(255, 59, 92, 0.15), transparent 60%);
    z-index: -1;
    pointer-events: none;
}

.whatsapp-bg {
    background-color: var(--whatsapp) !important;
}

.telegram-bg {
    background-color: var(--telegram) !important;
}

.premium-bg {
    background: linear-gradient(135deg, var(--accent-red), #ff8a5c) !important;
}

/* --------------------------------------------------------------------------
   3. LAYOUT COMPONENTS
   -------------------------------------------------------------------------- */
.container {
    width: 100%;
    max-width: 480px;
    /* Mobile-first view on desktop */
    margin: 0 auto;
    padding: 3rem 1.5rem;
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Divider */
.divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin: 2rem 0;
    width: 100%;
}

.divider::before,
.divider::after {
    content: '';
    height: 1px;
    flex: 1;
    background: linear-gradient(90deg, transparent, var(--card-border));
}

.divider::after {
    background: linear-gradient(90deg, var(--card-border), transparent);
}

.divider span {
    color: var(--text-muted);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
    opacity: 0.8;
}

/* --------------------------------------------------------------------------
   4. PROFILE HEADER (INDEX)
   -------------------------------------------------------------------------- */
.profile {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    animation: fadeInDown 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
    margin-bottom: 2rem;
}

.avatars-group {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    position: relative;
    height: 120px;
    perspective: 1000px;
}

.avatar-ring {
    border-radius: var(--radius-full);
    padding: 3px;
    background: linear-gradient(135deg, var(--accent-red), var(--accent-gold));
    box-shadow: 0 8px 24px rgba(255, 59, 92, 0.2);
    position: relative;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.avatar-ring.main {
    width: 120px;
    height: 120px;
    z-index: 3;
    margin: 0 -15px;
    /* aproxima um pouco as laterais */
}

.avatar-ring.small {
    width: 85px;
    height: 85px;
    z-index: 1;
    opacity: 0.85;
    /* Adicionando um translateY para abaixar em relação ao principal, criando o efeito "pódio" */
    transform: translateY(20px);
}

.avatar-ring.small:first-child {
    z-index: 2;
}

.avatar-ring.small:last-child {
    z-index: 2;
}

.avatar-ring:hover {
    transform: translateY(-5px) scale(1.05);
    /* Levanta e cresce o anel. Sobrescreve o translateY da small dando um destaque real! */
    box-shadow: 0 12px 32px rgba(255, 59, 92, 0.4);
    z-index: 10;
}

.avatar-ring img {
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.avatar-ring:hover img {
    transform: rotate(360deg);
    /* Faz a foto rodar no hover */
}

.avatars-group:hover .avatar-ring:not(:hover) {
    opacity: 0.5;
    /* Escurece os não focado pra dar destaque */
    filter: grayscale(80%) blur(2px);
}

.profile-avatar {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius-full);
    border: 3px solid var(--bg-main);
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.avatar-ring:hover .profile-avatar {
    transform: rotate(360deg) scale(1.1);
}

.profile-name {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    /* Maior e mais impactante */
    font-weight: 700;
    letter-spacing: -0.5px;
    margin-bottom: 0.5rem;
    color: #fff;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.profile-bio {
    font-size: 1rem;
    font-weight: 300;
    color: var(--text-muted);
    max-width: 320px;
    margin: 0 auto 1.5rem;
}

.social-row {
    display: flex;
    gap: 1.25rem;
    justify-content: center;
    margin-top: 0.5rem;
}

.social-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(12px);
    cursor: pointer;
    padding: 0;
    /* Reset button padding */
}

.social-icon:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, 0.3);
    color: #fff;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* --------------------------------------------------------------------------
   4.1 MODAL (POPUP)
   -------------------------------------------------------------------------- */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;

    /* Hidden by default */
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-content {
    background: #111;
    border: 1px solid rgba(255, 255, 255, 0.1);
    width: 100%;
    max-width: 360px;
    border-radius: 24px;
    padding: 24px;
    position: relative;
    transform: scale(0.9);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.modal-overlay.active .modal-content {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: transparent;
    border: none;
    color: #666;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 5px;
    line-height: 1;
    transition: color 0.2s;
}

.modal-close:hover {
    color: #fff;
}

.modal-content h3 {
    margin: 0 0 20px 0;
    font-size: 1.1rem;
    text-align: center;
    color: #fff;
    font-weight: 600;
}

.modal-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.modal-item {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.05);
    padding: 10px 16px;
    border-radius: 16px;
    text-decoration: none;
    color: #fff;
    transition: background 0.2s;
}

.modal-item:hover {
    background: rgba(255, 255, 255, 0.1);
}

.modal-item img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.modal-item span {
    flex: 1;
    font-size: 0.95rem;
    font-weight: 500;
}

.modal-item svg {
    color: #666;
    opacity: 0.5;
}

/* --------------------------------------------------------------------------
   5. LINK CARDS
   -------------------------------------------------------------------------- */
.links-section {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    animation: fadeInUp 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) 0.2s both;
}

.link-card {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding: 1.25rem;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-md);
    text-decoration: none;
    color: var(--text-primary);
    backdrop-filter: blur(12px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.link-card:hover {
    transform: scale(1.02) translateY(-2px);
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(35, 35, 40, 0.8);
}

.link-card:active {
    transform: scale(0.98);
}

.link-card:hover .card-arrow {
    color: var(--text-primary);
    transform: translateX(4px);
}

/* Highlight Variant */
.highlight-card {
    background: linear-gradient(145deg, rgba(255, 59, 92, 0.1), rgba(25, 25, 28, 0.8));
    border-color: rgba(255, 59, 92, 0.3);
}

.highlight-card:hover {
    border-color: rgba(255, 59, 92, 0.6);
    box-shadow: 0 8px 32px rgba(255, 59, 92, 0.15);
}

.card-icon-wrapper {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: white;
}

.card-content {
    flex: 1;
}

.card-title {
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 0.2rem;
}

.card-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 300;
}

.card-arrow {
    color: rgba(255, 255, 255, 0.3);
    transition: color 0.3s, transform 0.3s;
}

/* --------------------------------------------------------------------------
   5. PREVIEW IMAGES (NEW)
   -------------------------------------------------------------------------- */
.preview-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 2rem;
    width: 100%;
    animation: fadeInUp 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) 0.3s both;
}

.preview-title {
    font-size: 1.1rem;
    font-weight: 500;
    color: #fff;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.preview-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    /* Espaçamento ajustado */
    width: 100%;
    max-width: 400px;
    margin-bottom: 1.5rem;
}

/* Container de cada item */
.preview-item {
    position: relative;
    aspect-ratio: 1/1;
    border-radius: 12px;
    overflow: hidden;
    /* Garante que a img respeite o border-radius */
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease;
}

.preview-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Estado Ativo (Borda Verde) */
.preview-item.active {
    border: 2px solid #2ccb74;
    overflow: visible;
    /* Permite que o botão saia do container */
    z-index: 10;
}

/* Badge "img" */
.img-badge {
    position: absolute;
    top: -10px;
    left: -5px;
    background: #2ccb74;
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 4px;
    z-index: 20;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

/* Botão "+ Add to Chat" */
.btn-add-chat {
    position: absolute;
    bottom: -35px;
    left: 50%;
    transform: translateX(-50%);
    background: #2ccb74;
    color: #fff;
    border: none;
    border-radius: 20px;
    padding: 6px 12px;
    font-size: 0.75rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    transition: transform 0.2s;
    z-index: 20;
}

.btn-add-chat:hover {
    transform: translateX(-50%) scale(1.05);
    background: #25a860;
}

/* Placeholder para 3ª imagem */
.placeholder-img {
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
}

.preview-footer {
    font-size: 0.75rem;
    color: #555;
    text-align: center;
    margin-top: 2.5rem;
    /* Mais espaço por causa do botão */
}

/* --------------------------------------------------------------------------
   6. UTILITIES
   -------------------------------------------------------------------------- */

/* --------------------------------------------------------------------------
   7. VIP PAGE (LINK.ME STYLE)
   -------------------------------------------------------------------------- */
.vip-body {
    background-color: #000000;
    color: #e2e8f0;
    position: relative;
    /* Ensure stacking context */
}

.linkme-bg-blur {
    position: fixed;
    top: -10vh;
    left: -10vw;
    right: -10vw;
    bottom: -10vh;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: blur(40px) brightness(0.35);
    z-index: 0;
    /* Changed from -1 to 0 to be visible above body bg */
    pointer-events: none;
}

.linkme-container {
    width: 100%;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    padding: 40px 20px;
    position: relative;
    /* Ensure stacking context */
    z-index: 1;
    /* Above blur */
}

.linkme-card {
    width: 100%;
    max-width: 480px;
    background: #000000;
    border-radius: 32px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.linkme-hero {
    width: 100%;
    height: 480px;
    position: relative;
}

.linkme-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
}

.linkme-hero-fade {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 250px;
    background: linear-gradient(to top, #000000 0%, rgba(0, 0, 0, 0.6) 40%, transparent 100%);
}

.linkme-profile-info {
    position: absolute;
    bottom: 25px;
    width: 100%;
    text-align: center;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.linkme-name {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    font-weight: 700;
    font-style: italic;
    color: white;
    margin-bottom: 2px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.linkme-username {
    font-size: 0.95rem;
    color: #e2e8f0;
    margin-bottom: 12px;
}

.linkme-content-area {
    padding: 0 24px 40px;
    text-align: center;
    position: relative;
    z-index: 5;
    background: #000000;
}

.linkme-caption {
    color: #f8fafc;
    font-size: 0.9rem;
    margin-bottom: 25px;
    font-weight: 500;
}

.linkme-metrics {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    color: #cbd5e1;
    font-size: 0.85rem;
    margin-bottom: 30px;
}

.linkme-metrics strong {
    color: white;
    font-size: 1.1rem;
    display: block;
}

.linkme-metrics .divider {
    width: 1px;
    height: 30px;
    background: rgba(255, 255, 255, 0.1);
    margin: 0;
}

.linkme-cta-card {
    position: relative;
    width: 100%;
    height: 250px;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.2s;
    margin-bottom: 30px;
}

.linkme-cta-card:hover {
    transform: scale(1.02);
}

.linkme-cta-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cta-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px 15px 15px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
    color: white;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.cta-badge {
    background: white;
    color: black;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 800;
    align-self: flex-start;
}

.linkme-gallery-title {
    text-align: left;
    color: white;
    font-weight: 600;
    margin-bottom: 12px;
    font-size: 1.1rem;
}

.linkme-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.linkme-locked-item {
    position: relative;
    aspect-ratio: 3/4;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.2s, box-shadow 0.2s;
}

.linkme-locked-item:active {
    transform: scale(0.98);
}

.linkme-locked-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 80%;
    /* Foca na melhor parte (bunda) */
    filter: blur(2px) brightness(0.9);
    /* Quase sem blur e bem claro */
    transform: scale(1.1);
    transition: filter 0.3s;
}

/* Badges e Labels */
.media-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 10;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(4px);
}

.media-badge.video {
    background: rgba(255, 59, 92, 0.9);
}

.media-badge.photo {
    background: rgba(37, 211, 102, 0.9);
}

.media-badge.hot {
    background: linear-gradient(45deg, #ff3b5c, #fbbf24);
}

.media-badge.exclusive {
    background: rgba(0, 136, 204, 0.9);
}

/* Overlay Central */
.lock-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    z-index: 5;
}

.locked-icon {
    background: rgba(255, 255, 255, 0.15);
    padding: 14px;
    border-radius: 50%;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    animation: pulseLock 2s infinite;
    display: flex;
    /* Centralizar SVG */
}

.unlock-text {
    font-size: 0.85rem;
    font-weight: 600;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
    opacity: 0.9;
}

@keyframes pulseLock {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.2);
        transform: scale(1);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(255, 255, 255, 0);
        transform: scale(1.05);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
        transform: scale(1);
    }
}

/* Disabled States (Em Breve) */
.cta-disabled {
    cursor: default;
    pointer-events: none;
}

.cta-img-dimmed {
    filter: brightness(0.5);
}

.cta-badge-muted {
    background: rgba(255, 255, 255, 0.15) !important;
    color: #ccc !important;
}

.gallery-disabled {
    pointer-events: none;
}

.gallery-placeholder {
    width: 100%;
    height: 100%;
    min-height: 200px;
    filter: blur(2px);
}

.gallery-placeholder-1 {
    background: linear-gradient(135deg, #1a0a0a, #2a1010, #1a0a0a);
}

.gallery-placeholder-2 {
    background: linear-gradient(135deg, #2a1010, #1a0a0a, #2a1515);
}

.gallery-placeholder-3 {
    background: linear-gradient(135deg, #1a0a0a, #251010, #1a0a0a);
}

.gallery-placeholder-4 {
    background: linear-gradient(135deg, #251010, #1a0a0a, #2a1010);
}

/* --------------------------------------------------------------------------
   8. CHECKOUT PAGE
   -------------------------------------------------------------------------- */
/* Wizard Steps Animation */
.checkout-step {
    animation: fadeInRight 0.4s ease-out;
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(20px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Button Next Step */
.btn-checkout-next {
    width: 100%;
    padding: 1rem;
    border-radius: 6px;
    background: #1e293b;
    color: white;
    font-weight: 600;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    margin-top: 1rem;
    transition: background 0.3s;
}

.btn-checkout-next:hover {
    background: #334155;
}

.checkout-page-body {
    background-color: #f8fafc;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    min-height: 100vh;
    padding: 60px 20px;
    margin: 0;
    color: #1e293b;
    /* Texto escuro para checkout */
}

.checkout-page-container {
    width: 100%;
    /* Permite usar 100% da viewport, com limite agradável só em super ultra-wide se necessário */
    max-width: 1600px;
    padding: 0 4%;
    margin: 0 auto;
}

.checkout-page-header {
    text-align: center;
    margin-bottom: 30px;
}

.safe-checkout-title {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 1.1rem;
    color: #2ccb74;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.checkout-container.page-mode {
    background: transparent;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    /* Permite a fluidez e quebra para o mobile */
    flex-direction: row;
    gap: 4rem;
    /* Mais espaçamento entre formulário e resumo no full width */
    position: relative;
    width: 100%;
}

.checkout-main {
    flex: 6 1 450px;
    /* 60% approx do espaço visual em full width, com base width para quebra */
    display: flex;
    flex-direction: column;
}

.checkout-sidebar {
    flex: 4 1 350px;
    /* 40% approx do espaço visual em full width */
    /* Removido min-width fixo para permitir flex-basis agir suavemente */
}

/* Sections */
.chk-section,
.chk-box {
    background: #fff;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    margin-bottom: 1.5rem;
    border: 1px solid #e2e8f0;
}

.chk-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: #1a202c;
}

.chk-step {
    background: #1e293b;
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
}

/* Inputs */
.form-group label {
    display: block;
    font-size: 0.85rem;
    color: #4a5568;
    margin-bottom: 0.4rem;
    margin-top: 1rem;
    font-weight: 500;
}

.form-group label:first-child {
    margin-top: 0;
}

.chk-input {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #cbd5e0;
    border-radius: 6px;
    font-size: 1rem;
    outline: none;
    transition: border 0.2s;
    box-sizing: border-box;
}

.chk-input:focus {
    border-color: #2ccb74;
}

/* Pix Box */
.pix-box {
    border-color: #2ccb74;
    border-width: 2px;
}

.pix-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e2e8f0;
    margin-bottom: 1rem;
}

.radio-fake {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid #cbd5e0;
}

.radio-fake.checked {
    border: 6px solid #2ccb74;
}

.pix-lbl {
    font-weight: 600;
    font-size: 1.1rem;
}

.pix-info {
    font-size: 0.85rem;
    color: #718096;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.pix-val {
    font-size: 1rem;
    color: #4a5568;
    margin-bottom: 1.5rem;
}

.pix-val strong {
    font-size: 1.1rem;
    color: #1e293b;
}

/* Order Bump */
.order-bump {
    background: #f8fafc;
    border: 1px dashed #cbd5e1;
    border-radius: 8px;
    overflow: hidden;
}

.bump-header {
    background: #f1f5f9;
    padding: 0.6rem;
    font-size: 0.75rem;
    font-weight: 700;
    color: #475569;
    text-align: center;
    letter-spacing: 0.5px;
}

.bump-card {
    padding: 1rem;
}

.bump-wrap {
    display: flex;
    gap: 1rem;
    align-items: center;
    margin-bottom: 0.75rem;
}

.bump-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.x-whatsapp {
    background: #25D366;
}

.bump-desc {
    display: flex;
    flex-direction: column;
    font-size: 0.9rem;
}

.bump-desc span {
    font-size: 0.8rem;
    color: #718096;
}

.green-txt {
    color: #2ccb74;
    font-weight: 600;
}

.add-bump-btn {
    width: 100%;
    border: 1px solid #cbd5e1;
    padding: 0.8rem;
    background: #fff;
    color: #1e293b;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.add-bump-btn:hover {
    background: #f8fafc;
}

/* Finish Button */
.btn-checkout-finish {
    width: 100%;
    padding: 1rem;
    border-radius: 6px;
    background: #2ccb74;
    color: white;
    font-weight: 700;
    font-size: 1.1rem;
    border: none;
    cursor: pointer;
    margin-top: 1rem;
}

.btn-checkout-finish:disabled {
    background: #a5d6a7;
    cursor: not-allowed;
    animation: none;
}

/* Summary Side */
.summary-top {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    color: #1e293b;
    font-weight: 800;
}

.summary-product {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.prod-thumb {
    width: 80px;
    height: 60px;
    border-radius: 4px;
    object-fit: cover;
}

.prod-info {
    display: flex;
    flex-direction: column;
    font-size: 0.9rem;
    gap: 0.4rem;
}

.summary-hr {
    border: 0;
    height: 1px;
    background: #e2e8f0;
    margin: 1.5rem 0;
}

.summary-totals {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    font-size: 0.95rem;
}

.tot-row,
.tot-total {
    display: flex;
    justify-content: space-between;
}

.tot-total {
    font-weight: 700;
    font-size: 1.05rem;
}

/* Bump Animation */
.bump-summary-anim {
    display: flex;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    padding-top: 0;
    margin-top: 0;
    border-top: 1px solid transparent;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.bump-summary-anim.show {
    max-height: 100px;
    opacity: 1;
    padding-top: 15px;
    margin-top: 15px;
    border-top-color: #e2e8f0;
}

/* Guarantee Stamps */
.flex-stamp {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: 1.25rem;
}

.stamp-icon {
    font-size: 1.5rem;
}

.flex-stamp strong {
    font-size: 0.85rem;
    color: #2d3748;
    display: block;
    margin-bottom: 0.25rem;
}

.flex-stamp p {
    font-size: 0.75rem;
    color: #718096;
    line-height: 1.4;
    margin: 0;
}

/* Checkout Progress Bar */
.checkout-progress {
    width: 100%;
    margin-bottom: 20px;
}

.progress-text {
    font-size: 0.9rem;
    font-weight: 500;
    color: #555;
    margin-bottom: 8px;
    text-align: center;
}

.progress-bar-bg {
    background: #e0e0e0;
    height: 8px;
    border-radius: 4px;
    overflow: hidden;
}

.progress-bar-fill {
    background: #2ccb74;
    height: 100%;
    width: 85%;
    border-radius: 4px;
    animation: progressFill 1s ease-out forwards;
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes progressFill {
    from {
        width: 0%;
    }

    to {
        width: 85%;
    }
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.spin-anim {
    animation: spin 1s linear infinite;
}

.btn-purchase-glow {
    position: relative;
    overflow: hidden;
    animation: pulseGlow 2s infinite;
}

@keyframes pulseGlow {
    0% {
        box-shadow: 0 0 0 0 rgba(44, 203, 116, 0.4);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(44, 203, 116, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(44, 203, 116, 0);
    }
}

/* Footer */
.footer {
    text-align: center;
    padding-top: 2rem;
    animation: fadeInUp 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) 0.6s both;
}

.footer p {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.3);
}

.checkout-footer {
    text-align: center;
    margin-top: 40px;
    font-size: 0.85rem;
    color: #888;
}

.checkout-footer p {
    margin: 5px 0;
}

/* --------------------------------------------------------------------------
   9. RESPONSIVE
   -------------------------------------------------------------------------- */
@media (max-width: 768px) {
    .checkout-container {
        flex-direction: column;
        padding: 1rem;
        padding-top: 2rem;
    }

    .checkout-sidebar {
        order: -1;
    }

    .vip-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .close-checkout {
        top: -35px;
        right: 5px;
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding-top: 2rem;
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .profile-name {
        font-size: 1.9rem;
    }

    .link-card {
        padding: 1rem;
        gap: 1rem;
    }

    .card-icon-wrapper {
        width: 40px;
        height: 40px;
    }

    .card-title {
        font-size: 1rem;
    }

    .card-desc {
        font-size: 0.8rem;
    }
}