/**
 * Estilos da Vaquinha Online de Taekwondo & Modal PIX
 * Visual Premium, Responsivo (Mobile, Tablet, PC)
 */

:root {
    --bg-main: #080c16;
    --bg-surface: #0f172a;
    --bg-card: rgba(15, 23, 42, 0.75);
    --bg-card-hover: rgba(30, 41, 59, 0.9);
    --border-subtle: rgba(255, 255, 255, 0.08);
    --border-glow: rgba(50, 188, 173, 0.3);
    
    --primary: #32BCAD;
    --primary-hover: #29a093;
    --primary-glow: rgba(50, 188, 173, 0.35);
    
    --accent-gold: #f59e0b;
    --accent-gold-glow: rgba(245, 158, 11, 0.35);
    --accent-red: #ef4444;
    --accent-blue: #3b82f6;
    
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --radius-full: 9999px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Outfit', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--bg-main);
    background-image: 
        radial-gradient(circle at 15% 15%, rgba(239, 68, 68, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 85% 25%, rgba(50, 188, 173, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 50% 85%, rgba(245, 158, 11, 0.06) 0%, transparent 50%),
        linear-gradient(180deg, #070a12 0%, #0c1220 100%);
    color: var(--text-primary);
    min-height: 100vh;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* Container */
.container {
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
}

/* Header */
.site-header {
    padding: 16px 0;
    border-bottom: 1px solid var(--border-subtle);
    background: rgba(8, 12, 22, 0.85);
    backdrop-filter: blur(16px);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.brand-link {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 800;
    font-size: 1.25rem;
}

.brand-icon {
    width: 38px;
    height: 38px;
    background: linear-gradient(135deg, #ef4444, #f59e0b);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 4px 15px rgba(239, 68, 68, 0.3);
    flex-shrink: 0;
}

.header-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(50, 188, 173, 0.1);
    border: 1px solid rgba(50, 188, 173, 0.3);
    color: var(--primary);
    padding: 6px 14px;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 600;
    white-space: nowrap;
}

/* ====================================================
   HERO SECTION
   ==================================================== */
.hero-section {
    padding: 32px 0 20px 0;
    text-align: center;
}

.campaign-title-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(239, 68, 68, 0.12);
    border: 1px solid rgba(239, 68, 68, 0.35);
    color: #fca5a5;
    padding: 10px 22px;
    border-radius: var(--radius-full);
    font-size: clamp(1.15rem, 2.8vw, 1.55rem);
    font-weight: 800;
    letter-spacing: 0.3px;
    margin-bottom: 16px;
    box-shadow: 0 0 25px rgba(239, 68, 68, 0.15);
    text-align: center;
}

.campaign-title-pill i {
    color: #ef4444;
}

/* Descrição com Clamp de 2 Linhas e Botão Ver Mais */
.hero-description-wrapper {
    max-width: 740px;
    margin: 0 auto 14px auto;
}

.hero-description {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.6;
    transition: all 0.3s ease;
}

.hero-description.text-collapsed {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.hero-description strong {
    color: var(--text-primary);
}

.btn-toggle-desc {
    background: none;
    border: none;
    color: var(--primary);
    font-family: inherit;
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 6px;
    padding: 4px 12px;
    border-radius: var(--radius-full);
    transition: all 0.2s ease;
}

.btn-toggle-desc:hover {
    background: rgba(50, 188, 173, 0.12);
    color: #5eead4;
}

.hero-expandable-results {
    margin: 14px auto;
    animation: fadeInSlideDown 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes fadeInSlideDown {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.dobok-badge-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-subtle);
    color: #cbd5e1;
    padding: 9px 18px;
    border-radius: var(--radius-full);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.25s ease;
    margin-bottom: 24px;
}

.dobok-badge-link:hover {
    background: rgba(50, 188, 173, 0.15);
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-2px);
}

/* ====================================================
   CARD DE CONQUISTAS & PÓDIO COPA SC 2026
   ==================================================== */
.tournament-results-card {
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.7), rgba(15, 23, 42, 0.9));
    border: 1px solid rgba(251, 191, 36, 0.35);
    border-radius: var(--radius-lg);
    padding: 20px;
    max-width: 760px;
    margin: 0 auto 20px auto;
    text-align: left;
    backdrop-filter: blur(14px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35), 0 0 20px rgba(251, 191, 36, 0.06);
    position: relative;
    overflow: hidden;
}

.tournament-results-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #fbbf24, #f59e0b, #34d399);
}

.results-badge-header {
    font-size: 0.92rem;
    font-weight: 800;
    color: #fbbf24;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.results-content-layout {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 18px;
    align-items: center;
}

.results-photo-wrapper {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    height: 230px;
    background: #000000;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}

.results-photo-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
    display: block;
    transition: transform 0.4s ease;
}

.tournament-results-card:hover .results-photo-wrapper img {
    transform: scale(1.04);
}

.results-photo-tag {
    position: absolute;
    bottom: 8px;
    left: 8px;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(251, 191, 36, 0.5);
    color: #fbbf24;
    padding: 3px 8px;
    border-radius: var(--radius-full);
    font-size: 0.68rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.results-medals-info {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.medal-card {
    background: rgba(255, 255, 255, 0.04);
    border-radius: var(--radius-md);
    padding: 10px 14px;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.25s ease;
}

.medal-card-prata {
    border: 1px solid rgba(203, 213, 225, 0.35);
    background: linear-gradient(135deg, rgba(203, 213, 225, 0.1), rgba(148, 163, 184, 0.03));
}

.medal-card-prata:hover {
    border-color: #cbd5e1;
    box-shadow: 0 4px 15px rgba(203, 213, 225, 0.15);
    transform: translateX(4px);
}

.medal-card-bronze {
    border: 1px solid rgba(217, 119, 6, 0.35);
    background: linear-gradient(135deg, rgba(217, 119, 6, 0.1), rgba(180, 83, 9, 0.03));
}

.medal-card-bronze:hover {
    border-color: #f59e0b;
    box-shadow: 0 4px 15px rgba(217, 119, 6, 0.15);
    transform: translateX(4px);
}

.medal-card-icon {
    font-size: 1.6rem;
    flex-shrink: 0;
    line-height: 1;
}

.medal-card-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.medal-card-text strong {
    font-size: 0.88rem;
    color: #ffffff;
    font-weight: 700;
}

.medal-card-prata .medal-card-text strong {
    color: #f1f5f9;
}

.medal-card-bronze .medal-card-text strong {
    color: #fed7aa;
}

.medal-card-text span {
    font-size: 0.75rem;
    color: var(--text-secondary);
    line-height: 1.3;
}

.results-summary-note {
    font-size: 0.78rem;
    color: #cbd5e1;
    background: rgba(0, 0, 0, 0.25);
    border-left: 3px solid #f97316;
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    margin-top: 2px;
    line-height: 1.35;
}

/* ====================================================
   FOTOS DO DOBOK (SEMPRE 2 LADO A LADO)
   ==================================================== */
.dobok-photos-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    max-width: 760px;
    margin: 8px auto 28px auto;
    text-align: left;
}

.dobok-photo-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    overflow: hidden;
    backdrop-filter: blur(12px);
    transition: all 0.25s ease;
    display: flex;
    flex-direction: column;
}

.dobok-photo-card:hover {
    border-color: rgba(239, 68, 68, 0.4);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
    transform: translateY(-3px);
}

.photo-wrapper {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: #000000;
}

.photo-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
    display: block;
    transition: transform 0.4s ease;
}

.dobok-photo-card:hover .photo-wrapper img {
    transform: scale(1.05);
}

.photo-overlay-tag {
    position: absolute;
    bottom: 8px;
    left: 8px;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #ffffff;
    padding: 3px 8px;
    border-radius: var(--radius-full);
    font-size: 0.68rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.photo-overlay-tag.tag-warning {
    background: rgba(239, 68, 68, 0.85);
    border-color: rgba(239, 68, 68, 0.5);
    color: #ffffff;
}

.photo-caption {
    padding: 8px 10px;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.photo-caption strong {
    font-size: 0.8rem;
    color: #ffffff;
    line-height: 1.3;
}

.photo-caption span {
    font-size: 0.72rem;
    color: var(--text-secondary);
    line-height: 1.3;
}

/* ====================================================
   CARD DE METAS & LINHA DE PROGRESSO
   ==================================================== */
.goals-progress-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xl);
    padding: 30px 28px;
    backdrop-filter: blur(16px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
    margin-bottom: 36px;
    position: relative;
    overflow: hidden;
}

.goals-progress-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #ef4444, #f59e0b, #32BCAD);
}

.progress-summary-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 20px;
}

.collected-amount-wrapper .label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.collected-amount-wrapper .amount {
    font-size: 2.5rem;
    font-weight: 800;
    color: #ffffff;
    display: flex;
    align-items: baseline;
    line-height: 1;
}

.supporters-count-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.3);
    color: #fbbf24;
    padding: 8px 16px;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.92rem;
}

/* Linha Única do Gráfico de Progresso */
.unified-progress-wrapper {
    margin: 24px 0 10px 0;
}

.unified-progress-track {
    height: 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-full);
    position: relative;
    overflow: hidden;
    box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.6);
    display: flex;
}

.progress-bar-fill {
    height: 100%;
    transition: width 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
}

.progress-bar-dobok {
    background: linear-gradient(90deg, #ef4444, #f97316);
    box-shadow: 0 0 15px rgba(239, 68, 68, 0.5);
    border-radius: var(--radius-full) 0 0 var(--radius-full);
}

.progress-bar-faixa {
    background: linear-gradient(90deg, #f59e0b, #eab308);
    box-shadow: 0 0 15px rgba(245, 158, 11, 0.5);
}

.progress-bar-extras {
    background: linear-gradient(90deg, #32BCAD, #10b981);
    box-shadow: 0 0 15px rgba(50, 188, 173, 0.5);
    border-radius: 0 var(--radius-full) var(--radius-full) 0;
}

/* Divisores Visuais da Linha */
.progress-milestone-markers {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
    position: relative;
    gap: 6px;
}

.milestone-marker {
    display: flex;
    flex-direction: column;
    font-size: 0.78rem;
    color: var(--text-muted);
}

.milestone-marker.active {
    color: var(--text-primary);
    font-weight: 600;
}

.milestone-marker.completed {
    color: var(--primary);
}

.milestone-marker .point-label {
    font-weight: 700;
    margin-bottom: 2px;
}

/* ====================================================
   SEÇÃO DE DOAÇÃO & CHECKOUT PIX
   ==================================================== */
.donation-section {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 28px;
    margin-bottom: 48px;
}

.checkout-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xl);
    padding: 28px 24px;
    backdrop-filter: blur(16px);
}

.section-title {
    font-size: 1.35rem;
    font-weight: 800;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-subtitle {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 20px;
}

/* 1. Input de Valor da Doação (Acima) */
.custom-amount-wrapper {
    position: relative;
    margin-bottom: 18px;
}

.custom-amount-wrapper label {
    display: block;
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 6px;
    font-weight: 600;
}

.custom-input-box {
    position: relative;
    display: flex;
    align-items: center;
}

.custom-input-box .currency-symbol {
    position: absolute;
    left: 16px;
    color: var(--primary);
    font-weight: 700;
    font-size: 1.15rem;
}

.custom-input-box input {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 13px 16px 13px 48px;
    color: #ffffff;
    font-family: inherit;
    font-size: 1.2rem;
    font-weight: 800;
    outline: none;
    transition: all 0.2s;
}

.custom-input-box input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-glow);
}

/* 2. Sugestões de Valores (Abaixo - 3 por linha em fonte menor) */
.preset-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 600;
    margin-bottom: 8px;
}

.preset-amounts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-bottom: 22px;
}

.btn-preset {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    padding: 9px 4px;
    color: var(--text-primary);
    cursor: pointer;
    font-family: inherit;
    font-size: 0.85rem;
    font-weight: 700;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    transition: all 0.2s ease;
}

.btn-preset span.pill-sub {
    font-size: 0.65rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.btn-preset:hover {
    background: rgba(50, 188, 173, 0.1);
    border-color: var(--primary);
    transform: translateY(-1px);
}

.btn-preset.selected {
    background: linear-gradient(135deg, rgba(50, 188, 173, 0.22), rgba(50, 188, 173, 0.08));
    border-color: var(--primary);
    color: #ffffff;
    box-shadow: 0 0 14px var(--primary-glow);
}

.btn-preset.selected span.pill-sub {
    color: #a7f3d0;
}

/* Formulário de Doador */
.donor-form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    margin-bottom: 18px;
}

.form-group-full {
    grid-column: span 2;
}

.form-group label {
    display: flex;
    justify-content: space-between;
    font-size: 0.82rem;
    color: var(--text-secondary);
    margin-bottom: 5px;
    font-weight: 500;
}

.form-group label span.label-hint {
    color: var(--text-muted);
    font-size: 0.72rem;
}

.form-input {
    width: 100%;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 11px 14px;
    color: #ffffff;
    font-family: inherit;
    font-size: 0.92rem;
    outline: none;
    transition: all 0.2s;
}

.form-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-glow);
}

/* Alternador de Anonimato */
.anonymous-toggle-box {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 12px 14px;
    margin-bottom: 22px;
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    user-select: none;
}

.anonymous-toggle-box:hover {
    background: rgba(255, 255, 255, 0.05);
}

.anonymous-toggle-box input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--primary);
    cursor: pointer;
}

.anonymous-text {
    flex: 1;
}

.anonymous-text strong {
    display: block;
    font-size: 0.88rem;
    color: var(--text-primary);
}

.anonymous-text small {
    color: var(--text-secondary);
    font-size: 0.76rem;
}

/* Botão Principal de Pagamento PIX */
.btn-submit-pix {
    width: 100%;
    background: linear-gradient(135deg, var(--primary), #00A698);
    border: none;
    border-radius: var(--radius-md);
    padding: 16px 20px;
    color: #041024;
    font-family: inherit;
    font-size: 1.08rem;
    font-weight: 800;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 6px 22px var(--primary-glow);
    transition: all 0.25s ease;
}

.btn-submit-pix:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(50, 188, 173, 0.5);
    background: linear-gradient(135deg, #38d6c5, var(--primary));
}

.btn-submit-pix:active {
    transform: translateY(0);
}

.form-pix-return-reminder {
    margin-top: 10px;
    font-size: 0.78rem;
    color: var(--text-muted);
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    line-height: 1.35;
}

.form-pix-return-reminder strong {
    color: #5eead4;
}

.form-pix-return-reminder i {
    color: var(--primary);
    font-size: 0.88rem;
}

/* Card Lateral / Mural de Doadores */
.supporters-feed-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xl);
    padding: 28px 22px;
    backdrop-filter: blur(16px);
    display: flex;
    flex-direction: column;
}

.feed-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-subtle);
}

.feed-header h3 {
    font-size: 1.2rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
}

.feed-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-height: 480px;
    overflow-y: auto;
    padding-right: 4px;
}

.feed-list::-webkit-scrollbar {
    width: 4px;
}
.feed-list::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.02);
}
.feed-list::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 10px;
}

.feed-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 12px 14px;
    transition: all 0.2s ease;
    animation: fadeInFeedItem 0.35s ease-out;
}

@keyframes fadeInFeedItem {
    from {
        opacity: 0;
        transform: translateY(6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.feed-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.12);
}

.feed-item-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4px;
}

.donor-info {
    display: flex;
    align-items: center;
    gap: 8px;
}

.donor-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: linear-gradient(135deg, #475569, #334155);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    color: #ffffff;
}

.donor-avatar.anonymous {
    background: linear-gradient(135deg, #64748b, #475569);
}

.donor-avatar.named {
    background: linear-gradient(135deg, var(--primary), #0284c7);
}

.donor-name {
    font-weight: 700;
    font-size: 0.9rem;
    color: #ffffff;
}

.donor-amount-badge {
    background: rgba(50, 188, 173, 0.15);
    color: #34d399;
    font-weight: 700;
    font-size: 0.85rem;
    padding: 3px 8px;
    border-radius: var(--radius-full);
}

.donor-message {
    font-size: 0.8rem;
    color: #cbd5e1;
    font-style: italic;
    background: rgba(0, 0, 0, 0.2);
    padding: 6px 10px;
    border-radius: var(--radius-sm);
    margin: 4px 0;
    border-left: 3px solid var(--primary);
}

.donor-date {
    font-size: 0.72rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 4px;
}

.empty-feed {
    text-align: center;
    padding: 36px 10px;
    color: var(--text-secondary);
}

.empty-feed i {
    font-size: 2.2rem;
    color: var(--text-muted);
    margin-bottom: 10px;
    display: block;
}

/* Footer */
.site-footer {
    text-align: center;
    padding: 32px 0 60px 0;
    border-top: 1px solid var(--border-subtle);
    color: var(--text-secondary);
    font-size: 0.85rem;
}

.site-footer p {
    margin-bottom: 4px;
}

/* Badge Flutuante Fixo no Rodapé (Posicionado à Esquerda) */
.floating-pix-badge {
    position: fixed;
    bottom: 18px;
    left: 18px;
    z-index: 999;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(10, 15, 29, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(50, 188, 173, 0.4);
    color: var(--primary);
    padding: 6px 14px;
    border-radius: var(--radius-full);
    font-size: 0.76rem;
    font-weight: 700;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
    pointer-events: auto;
    transition: all 0.2s ease;
}

.floating-pix-badge i {
    font-size: 0.85rem;
    color: var(--primary);
}

/* Botão Flutuante WhatsApp (Posicionado à Direita) */
.floating-whatsapp-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
    width: 54px;
    height: 54px;
    background: linear-gradient(135deg, #25d366, #128c7e);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.85rem;
    box-shadow: 0 6px 24px rgba(37, 211, 102, 0.45);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    text-decoration: none;
    cursor: pointer;
}

.floating-whatsapp-btn:hover {
    transform: scale(1.08) translateY(-3px);
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.65);
    color: #ffffff;
}

.floating-whatsapp-btn::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid #25d366;
    animation: waPulse 2.2s infinite ease-out;
    pointer-events: none;
}

@keyframes waPulse {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }
    100% {
        transform: scale(1.4);
        opacity: 0;
    }
}

.whatsapp-tooltip {
    position: absolute;
    right: 64px;
    background: rgba(15, 23, 42, 0.94);
    color: #ffffff;
    font-size: 0.78rem;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: var(--radius-md);
    border: 1px solid rgba(37, 211, 102, 0.4);
    white-space: nowrap;
    opacity: 0;
    transform: translateX(10px);
    pointer-events: none;
    transition: all 0.25s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

.floating-whatsapp-btn:hover .whatsapp-tooltip {
    opacity: 1;
    transform: translateX(0);
}

@media (max-width: 480px) {
    .floating-pix-badge {
        bottom: 12px;
        left: 10px;
        font-size: 0.68rem;
        padding: 4px 10px;
    }

    .floating-whatsapp-btn {
        bottom: 12px;
        right: 12px;
        width: 46px;
        height: 46px;
        font-size: 1.55rem;
    }
}

/* ====================================================
   MODAL PIX (CHECKOUT INSTANTÂNEO MERCADO PAGO)
   ==================================================== */
.modal-pix-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.88);
    z-index: 10005;
    justify-content: center;
    align-items: flex-start;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 24px 16px;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
}

.modal-pix-overlay::-webkit-scrollbar {
    width: 6px;
}

.modal-pix-overlay::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.3);
}

.modal-pix-overlay::-webkit-scrollbar-thumb {
    background: rgba(50, 188, 173, 0.4);
    border-radius: 10px;
}

.modal-pix-overlay::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

.modal-pix-content {
    background: #0f172a;
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: var(--text-primary);
    padding: 28px 24px;
    border-radius: var(--radius-xl);
    max-width: 460px;
    width: 100%;
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.7);
    position: relative;
    animation: modalPixSlideIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    text-align: center;
    margin: auto;
}

@keyframes modalPixSlideIn {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.96);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.modal-pix-content h3 {
    color: #ffffff;
    margin: 0 0 14px 0;
    font-size: 1.35rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.pix-info {
    background: rgba(50, 188, 173, 0.08);
    border: 1px solid rgba(50, 188, 173, 0.3);
    border-left: 4px solid var(--primary);
    padding: 12px 16px;
    margin: 14px 0;
    border-radius: var(--radius-md);
    font-size: 0.9rem;
    text-align: left;
    color: #e2e8f0;
}

.pix-info strong {
    color: var(--primary);
}

.pix-qr-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 16px auto;
    padding: 14px;
    background: #ffffff;
    border-radius: var(--radius-lg);
    width: fit-content;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

#pixQrCodeCanvas {
    width: 190px;
    height: 190px;
    display: flex;
    justify-content: center;
    align-items: center;
}

#pixQrCodeCanvas img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 4px;
}

.pix-scan-hint {
    font-size: 0.82rem;
    color: var(--text-secondary);
    margin: 6px 0 10px 0;
}

.pix-scan-hint strong {
    color: #5eead4;
}

/* Aviso de Retorno após o Pagamento */
.pix-return-notice {
    background: linear-gradient(135deg, rgba(50, 188, 173, 0.15), rgba(15, 23, 42, 0.95));
    border: 1px solid rgba(50, 188, 173, 0.5);
    border-radius: var(--radius-md);
    padding: 12px 14px;
    margin: 12px 0 14px 0;
    display: flex;
    align-items: center;
    gap: 12px;
    text-align: left;
    box-shadow: 0 4px 20px rgba(50, 188, 173, 0.15);
    position: relative;
    overflow: hidden;
}

.pix-return-notice::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, var(--primary), #fbbf24);
}

.return-icon-box {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(50, 188, 173, 0.2);
    border: 1px solid rgba(50, 188, 173, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.return-icon-box i {
    font-size: 1rem;
    color: var(--primary);
    animation: pulseRotate 3s infinite ease-in-out;
}

@keyframes pulseRotate {
    0% { transform: rotate(0deg) scale(1); }
    50% { transform: rotate(-30deg) scale(1.1); }
    100% { transform: rotate(0deg) scale(1); }
}

.pix-return-notice .return-text strong {
    display: block;
    font-size: 0.84rem;
    color: #5eead4;
    margin-bottom: 2px;
}

.pix-return-notice .return-text span {
    font-size: 0.76rem;
    color: #e2e8f0;
    line-height: 1.35;
}

.pix-return-notice .return-text span strong {
    display: inline;
    color: #ffffff;
    text-decoration: underline;
    text-decoration-color: var(--primary);
}

/* Toast de Notificação ao Copiar Código PIX */
.pix-toast {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: rgba(15, 23, 42, 0.96);
    border: 1px solid var(--primary);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8), 0 0 20px var(--primary-glow);
    color: #ffffff;
    padding: 12px 20px;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 500;
    z-index: 10010;
    opacity: 0;
    pointer-events: none;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    max-width: 90%;
    text-align: center;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.pix-toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.pix-toast strong {
    color: var(--primary);
}

.pix-code-container {
    margin: 14px 0;
    padding: 12px;
    background: rgba(0, 0, 0, 0.4);
    border: 2px dashed var(--primary);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: left;
}

.pix-code-container:hover {
    background: rgba(50, 188, 173, 0.1);
    border-color: #5eead4;
}

.pix-code-container code {
    font-family: 'SFMono-Regular', Consolas, Menlo, monospace;
    font-size: 11px;
    word-break: break-all;
    display: block;
    color: #93c5fd;
    max-height: 55px;
    overflow-y: auto;
}

.pix-status {
    text-align: center;
    margin: 16px 0;
    padding: 12px 16px;
    border-radius: var(--radius-md);
    font-weight: 700;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.status-aguardando {
    background: rgba(245, 158, 11, 0.15);
    color: #fbbf24;
    border: 1px solid rgba(245, 158, 11, 0.3);
}

.status-aprovado {
    background: rgba(16, 185, 129, 0.2);
    color: #34d399;
    border: 1px solid rgba(16, 185, 129, 0.4);
    box-shadow: 0 0 25px rgba(16, 185, 129, 0.2);
}

.status-recusado {
    background: rgba(239, 68, 68, 0.15);
    color: #f87171;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.btn-pix-actions {
    display: flex;
    gap: 10px;
    margin-top: 16px;
}

.btn-pix-copy, .btn-pix-close {
    flex: 1;
    padding: 12px 16px;
    border: none;
    border-radius: var(--radius-md);
    font-family: inherit;
    font-weight: 700;
    font-size: 0.92rem;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-pix-copy {
    background: linear-gradient(135deg, var(--primary), #00A698);
    color: #041024;
    box-shadow: 0 4px 14px var(--primary-glow);
}

.btn-pix-copy:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(50, 188, 173, 0.45);
}

.btn-pix-close {
    background: rgba(255, 255, 255, 0.08);
    color: #cbd5e1;
}

.btn-pix-close:hover {
    background: rgba(255, 255, 255, 0.14);
    color: #ffffff;
}

/* ====================================================
   RESPONSIVIDADE COMPLETA (TABLET, MOBILE E PC)
   ==================================================== */

/* Tablet (max-width: 980px) */
@media (max-width: 980px) {
    .container {
        padding: 0 18px;
    }

    .donation-section {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .goals-progress-card {
        padding: 26px 22px;
    }
}

/* Mobile & Telas Menores (max-width: 720px) */
@media (max-width: 720px) {
    .hero-section {
        padding: 28px 0 20px 0;
    }

    .hero-title {
        font-size: 1.6rem;
    }

    /* Fotos do Dobok continuam Lado a Lado no Mobile */
    .dobok-photos-gallery {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        margin: 6px auto 22px auto;
    }

    .results-content-layout {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .results-photo-wrapper {
        height: 280px;
        width: 100%;
    }

    .results-photo-wrapper img {
        object-position: center 20%;
    }

    .photo-wrapper {
        height: 155px;
    }

    .photo-caption {
        padding: 6px 8px;
    }

    .photo-caption strong {
        font-size: 0.72rem;
    }

    .photo-caption span {
        font-size: 0.65rem;
    }

    .photo-overlay-tag {
        font-size: 0.62rem;
        padding: 2px 6px;
        bottom: 6px;
        left: 6px;
    }

    .donor-form-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .form-group-full {
        grid-column: span 1;
    }

    .progress-summary-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .collected-amount-wrapper .amount {
        font-size: 2.1rem;
    }

    .progress-milestone-markers {
        font-size: 0.72rem;
    }

    .checkout-card, .supporters-feed-card {
        padding: 20px 16px;
    }

    .preset-amounts-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 6px;
    }

    .btn-preset {
        padding: 8px 3px;
        font-size: 0.78rem;
    }

    .btn-preset span.pill-sub {
        font-size: 0.6rem;
    }
}

/* Smartphones Pequenos (max-width: 480px) */
@media (max-width: 480px) {
    .hero-title {
        font-size: 1.45rem;
    }

    .tournament-results-card {
        padding: 15px 12px;
        border-radius: var(--radius-md);
    }

    .results-badge-header {
        font-size: 0.82rem;
        margin-bottom: 10px;
        display: flex;
        justify-content: center;
        text-align: center;
    }

    .results-photo-wrapper {
        height: 260px;
    }

    .results-photo-wrapper img {
        object-position: center 20%;
    }

    .results-medals-info {
        gap: 8px;
    }

    .medal-card {
        padding: 9px 11px;
        gap: 10px;
    }

    .medal-card-icon {
        font-size: 1.4rem;
    }

    .medal-card-text strong {
        font-size: 0.82rem;
        line-height: 1.25;
    }

    .medal-card-text span {
        font-size: 0.72rem;
        line-height: 1.3;
    }

    .results-summary-note {
        font-size: 0.74rem;
        padding: 8px 10px;
        line-height: 1.38;
    }

    .photo-wrapper {
        height: 130px;
    }

    .btn-submit-pix {
        padding: 15px 16px;
        font-size: 1rem;
    }

    .modal-pix-overlay {
        padding: 12px 8px;
    }

    .modal-pix-content {
        padding: 20px 14px;
        border-radius: var(--radius-lg);
    }

    .pix-qr-container {
        margin: 8px auto;
        padding: 8px;
    }

    #pixQrCodeCanvas {
        width: 150px;
        height: 150px;
    }

    .pix-info {
        padding: 8px 12px;
        margin: 8px 0;
        font-size: 0.82rem;
    }

    .pix-return-notice {
        padding: 10px 12px;
        margin: 8px 0;
        gap: 8px;
    }

    .pix-code-container {
        margin: 10px 0;
        padding: 8px;
    }

    .pix-status {
        margin: 10px 0;
        padding: 10px 12px;
        font-size: 0.84rem;
    }

    .btn-pix-actions {
        flex-direction: column;
        gap: 8px;
        margin-top: 12px;
    }

    .brand-link span {
        font-size: 1.05rem;
    }

    .header-tag {
        font-size: 0.75rem;
        padding: 4px 10px;
    }
}
