/* ==================== MAIN CALCULATOR SECTION ==================== */
.calculator-main-section {
    min-height: 100vh;
    padding: 140px 0 80px 0;
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
}

.calculator-main-section .container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* ==================== BACK BUTTON ==================== */
.back-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    background: var(--bg-glass);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 500;
    transition: var(--transition);
    backdrop-filter: blur(var(--blur));
    margin-bottom: 40px;
    align-self: flex-start;
}

.back-btn:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--primary);
    border-color: var(--primary);
    transform: translateX(-5px);
}

/* ==================== MAIN CALC CARD ==================== */
.main-calc-card {
    max-width: 540px;
    width: 100%;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 48px 40px;
    backdrop-filter: blur(var(--blur));
    box-shadow: var(--shadow-lg);
}

.calc-main-title {
    font-size: 40px;
    font-weight: 700;
    color: var(--text-primary);
    text-align: center;
    margin-bottom: 32px;
    line-height: 1.2;
}

/* ==================== METHOD INFO ==================== */
.method-info {
    margin-bottom: 24px;
    display: flex;
    justify-content: center;
}

.method-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    background: rgba(14, 165, 233, 0.15);
    border: 1px solid var(--primary);
    border-radius: var(--radius-sm);
    color: var(--primary);
    font-size: 14px;
    font-weight: 500;
}

.method-badge i {
    font-size: 16px;
}

/* ==================== CURRENCY SELECTOR ==================== */
.currency-selector-section {
    margin-bottom: 24px;
}

.currency-selector-section label {
    display: block;
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 10px;
    font-weight: 600;
}

.currency-selector {
    width: 100%;
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%230ea5e9' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

.currency-selector option {
    background: rgba(10, 10, 15, 0.95);
    color: var(--text-primary);
    padding: 12px;
}

.currency-selector:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.1);
    background-color: rgba(255, 255, 255, 0.08);
}

.currency-selector:hover {
    border-color: var(--primary);
    background-color: rgba(255, 255, 255, 0.08);
}

/* ==================== INPUT SECTION ==================== */
.calc-input-section {
    margin-bottom: 16px;
}

.calc-input-section label {
    display: block;
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 10px;
}

.calc-input-wrapper {
    position: relative;
}

.calc-input-wrapper input {
    width: 100%;
    padding: 18px 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-size: 28px;
    font-weight: 700;
    transition: var(--transition);
}

.calc-input-wrapper input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.1);
}

.input-currency {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 28px;
    font-weight: 700;
    color: var(--text-muted);
    pointer-events: none;
}

/* ==================== QUICK PAYMENT BUTTONS ==================== */
.quick-payment-btns {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 32px;
}

.quick-payment-btn {
    padding: 12px;
    background: var(--bg-glass);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: var(--radius-sm);
    color: #a78bfa;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.quick-payment-btn:hover {
    background: rgba(139, 92, 246, 0.1);
    border-color: #a78bfa;
    transform: translateY(-2px);
}

/* ==================== RESULT SECTION ==================== */
.calc-result-section {
    margin-bottom: 20px;
}

.result-label {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 10px;
}

.result-display {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.result-amount {
    font-size: 48px;
    font-weight: 800;
    color: var(--text-primary);
}

.result-amount-input {
    font-size: 48px;
    font-weight: 800;
    color: var(--text-primary);
    background: transparent;
    border: 2px solid transparent;
    border-radius: 8px;
    padding: 0 8px;
    width: auto;
    min-width: 120px;
    text-align: center;
    font-family: inherit;
    transition: var(--transition);
    outline: none;
}

.result-amount-input:hover {
    border-color: rgba(14, 165, 233, 0.3);
    background: rgba(14, 165, 233, 0.05);
}

.result-amount-input:focus {
    border-color: var(--primary);
    background: rgba(14, 165, 233, 0.1);
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.1);
}

.result-amount-input::-webkit-inner-spin-button,
.result-amount-input::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.result-amount-input[type=number] {
    -moz-appearance: textfield;
}

.result-icon {
    font-size: 32px;
    color: var(--primary);
}

/* ==================== GAMEPASS PRICE INFO ==================== */
.calc-gamepass-info {
    display: flex;
    gap: 14px;
    padding: 16px;
    background: rgba(14, 165, 233, 0.08);
    border: 1px solid rgba(14, 165, 233, 0.2);
    border-radius: var(--radius-sm);
    margin-bottom: 24px;
}

.gamepass-info-icon {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(14, 165, 233, 0.15);
    border-radius: 50%;
    color: var(--primary);
    font-size: 18px;
}

.gamepass-info-content {
    flex: 1;
}

.gamepass-info-label {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 6px;
    font-weight: 500;
}

.gamepass-info-price {
    display: flex;
    align-items: baseline;
    gap: 4px;
    margin-bottom: 6px;
}

.gamepass-info-price span:first-child {
    font-size: 20px;
    font-weight: 800;
    color: var(--primary);
}

.gamepass-info-robux {
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 600;
}

.gamepass-info-note {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    color: var(--text-muted);
}

.gamepass-info-note i {
    color: #f59e0b;
    font-size: 12px;
}

/* ==================== DISPONIBLE INFO ==================== */
.disponible-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 32px;
    font-size: 13px;
}

.disponible-info span:first-child {
    color: var(--text-muted);
}

.disponible-amount {
    color: var(--primary);
    font-weight: 600;
}

/* ==================== BUY BUTTON ==================== */
.calc-buy-btn {
    width: 100%;
    padding: 18px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border: none;
    border-radius: var(--radius-sm);
    color: white;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    margin-bottom: 16px;
}

.calc-buy-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(14, 165, 233, 0.4);
}

/* ==================== PROMO LINK ==================== */
.promo-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 14px;
    color: var(--text-secondary);
    transition: var(--transition);
}

.promo-link:hover {
    color: var(--primary);
}

.promo-link i {
    font-size: 12px;
}

/* ==================== CHECKOUT MODAL ==================== */
.checkout-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
}

.checkout-modal.active {
    display: flex;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
}

.modal-container {
    position: relative;
    width: 90%;
    max-width: 900px;
    max-height: 85vh;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(var(--blur));
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    animation: modalSlideIn 0.3s ease;
}

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

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    border-radius: 50%;
    color: var(--text-secondary);
    font-size: 18px;
    cursor: pointer;
    transition: var(--transition);
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
    transform: rotate(90deg);
}

.modal-content {
    display: grid;
    grid-template-columns: 180px 1fr;
    height: 85vh;
    max-height: 600px;
}

/* ==================== MODAL STEPS SIDEBAR ==================== */
.modal-steps {
    background: rgba(255, 255, 255, 0.02);
    border-right: 1px solid var(--border);
    padding: 30px 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.modal-steps .step-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition);
    position: relative;
}

.modal-steps .step-item:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 24px;
    bottom: -16px;
    width: 2px;
    height: 16px;
    background: var(--border);
}

.modal-steps .step-item:hover {
    background: rgba(255, 255, 255, 0.03);
}

.modal-steps .step-item.active {
    background: rgba(14, 165, 233, 0.15);
}

.modal-steps .step-item.completed .step-number {
    background: var(--primary);
    color: white;
}

.modal-steps .step-number {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--bg-glass);
    border: 2px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    color: var(--text-secondary);
    transition: var(--transition);
    flex-shrink: 0;
}

.modal-steps .step-item.active .step-number {
    border-color: var(--primary);
    color: var(--primary);
    box-shadow: 0 0 15px rgba(14, 165, 233, 0.3);
}

.step-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
}

.modal-steps .step-item.active .step-label {
    color: var(--text-primary);
}

/* ==================== MODAL STEPS CONTENT ==================== */
.modal-steps-content {
    overflow-y: auto;
    padding: 40px;
}

.modal-step-content {
    display: none;
    animation: fadeIn 0.3s ease;
}

.modal-step-content.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.step-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.step-title i {
    color: var(--primary);
}

.step-desc {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 28px;
}

/* ==================== MODAL PRICE INFO ==================== */
.modal-price-info {
    display: flex;
    gap: 16px;
    padding: 16px;
    background: rgba(14, 165, 233, 0.1);
    border: 1px solid rgba(14, 165, 233, 0.3);
    border-radius: var(--radius-sm);
    margin-bottom: 24px;
}

.price-info-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(14, 165, 233, 0.2);
    border-radius: 50%;
    color: var(--primary);
    font-size: 20px;
}

.price-info-content {
    flex: 1;
}

.price-info-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.price-info-details {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.price-info-details strong {
    color: var(--primary);
    font-weight: 700;
}

.price-info-amount {
    display: flex;
    align-items: baseline;
    gap: 4px;
    margin: 12px 0;
    font-size: 24px;
    font-weight: 800;
    color: var(--primary);
}

.price-info-robux {
    font-size: 16px;
    color: var(--text-secondary);
    font-weight: 600;
}

.price-info-note {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
    font-size: 12px;
    color: var(--text-muted);
}

.price-info-note i {
    color: #f59e0b;
    font-size: 14px;
}

/* ==================== MODAL INPUT GROUP ==================== */
.modal-input-group {
    margin-bottom: 24px;
}

.modal-input-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.modal-username-search {
    display: flex;
    gap: 10px;
}

.modal-username-search input {
    flex: 1;
    padding: 12px 16px;
    background: var(--bg-glass);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-size: 14px;
    transition: var(--transition);
}

.modal-username-search input:focus {
    outline: none;
    border-color: var(--primary);
}

.modal-search-btn {
    padding: 12px 20px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border: none;
    border-radius: var(--radius-sm);
    color: white;
    cursor: pointer;
    transition: var(--transition);
}

.modal-search-btn:hover {
    transform: translateY(-2px);
}

/* ==================== MODAL LOADING ==================== */
.modal-loading,
.modal-empty {
    text-align: center;
    padding: 40px 20px;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--border);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 16px;
}

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

.modal-loading p,
.modal-empty p {
    color: var(--text-secondary);
    font-size: 14px;
}

/* ==================== MODAL USER PROFILE ==================== */
.modal-user-profile {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background: rgba(14, 165, 233, 0.08);
    border: 1px solid var(--primary);
    border-radius: var(--radius-sm);
    margin-top: 20px;
}

.modal-user-profile img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 2px solid var(--primary);
}

.modal-user-name {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
}

.modal-user-id {
    font-size: 12px;
    color: var(--text-secondary);
}

.modal-verified {
    margin-left: auto;
    font-size: 20px;
    color: var(--primary);
}

/* ==================== MODAL GAMEPASSES LIST ==================== */
.modal-gamepasses-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    max-height: 300px;
    overflow-y: auto;
    padding-right: 8px;
}

.modal-gamepass-card {
    padding: 12px;
    background: var(--bg-glass);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition);
    position: relative;
}

.modal-gamepass-card:hover:not(.disabled) {
    border-color: var(--primary);
    transform: translateY(-2px);
}

.modal-gamepass-card.selected {
    background: rgba(14, 165, 233, 0.1);
    border-color: var(--primary);
}

/* Available gamepass (correct price) */
.modal-gamepass-card.available {
    background: rgba(34, 197, 94, 0.1);
    border-color: rgba(34, 197, 94, 0.5);
}

.modal-gamepass-card.available:hover {
    border-color: #22c55e;
    background: rgba(34, 197, 94, 0.15);
    transform: translateY(-2px);
}

.modal-gamepass-card.available.selected {
    background: rgba(34, 197, 94, 0.2);
    border-color: #22c55e;
    box-shadow: 0 0 0 2px rgba(34, 197, 94, 0.3);
}

/* Disabled gamepass (wrong price) */
.modal-gamepass-card.disabled {
    opacity: 0.5;
    background: rgba(0, 0, 0, 0.3);
    border-color: var(--border);
    cursor: not-allowed;
    filter: grayscale(0.7);
}

.modal-gamepass-card.disabled:hover {
    transform: none;
    border-color: var(--border);
}

.modal-gamepass-img {
    width: 100%;
    aspect-ratio: 1;
    border-radius: var(--radius-sm);
    margin-bottom: 8px;
}

.modal-gamepass-name {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.modal-gamepass-price {
    font-size: 12px;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 6px;
}

.modal-gamepass-card.available .modal-gamepass-price {
    color: #22c55e;
}

.modal-gamepass-card.disabled .modal-gamepass-price {
    color: var(--text-muted);
}

.modal-gamepass-badge {
    font-size: 10px;
    padding: 4px 8px;
    border-radius: 4px;
    font-weight: 600;
    text-align: center;
    margin-top: 6px;
    background: rgba(239, 68, 68, 0.2);
    color: #fca5a5;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.modal-gamepass-badge.correct {
    background: rgba(34, 197, 94, 0.2);
    color: #86efac;
    border-color: rgba(34, 197, 94, 0.3);
}

.modal-gamepass-badge.warning {
    background: rgba(251, 191, 36, 0.2);
    color: #fcd34d;
    border-color: rgba(251, 191, 36, 0.3);
}

/* ==================== MODAL SUMMARY ==================== */
.modal-summary {
    background: var(--bg-glass);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 20px;
    margin-bottom: 24px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
}

.summary-row:last-child {
    border-bottom: none;
}

.summary-row span {
    font-size: 14px;
    color: var(--text-secondary);
}

.summary-row strong {
    font-size: 14px;
    color: var(--text-primary);
}

.summary-row.highlight {
    background: rgba(14, 165, 233, 0.08);
    padding: 16px;
    margin: 0 -20px;
    border-bottom: none;
    border-radius: var(--radius-sm);
}

.summary-row.highlight strong {
    color: var(--primary);
    font-size: 18px;
}

/* ==================== MODAL PAYMENT ==================== */
.modal-payment-amount {
    text-align: center;
    margin-bottom: 24px;
}

.modal-payment-amount span {
    display: block;
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.payment-price {
    font-size: 36px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-light), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Mercado Pago Checkout Container */
.mercadopago-checkout-container {
    width: 100%;
    margin-bottom: 20px;
    min-height: 200px;
}

.mercadopago-checkout-container iframe {
    width: 100% !important;
    border: none;
    border-radius: var(--radius-sm);
}

.modal-security {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
}

.security-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: var(--text-secondary);
}

.security-item i {
    color: var(--primary);
    font-size: 16px;
}

/* ==================== MODAL ACTIONS ==================== */
.modal-actions {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
}

.modal-btn-prev,
.modal-btn-next {
    padding: 12px 24px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
}

.modal-btn-prev {
    background: var(--bg-glass);
    border: 1px solid var(--border);
    color: var(--text-secondary);
}

.modal-btn-prev:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
}

.modal-btn-next {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border: none;
    color: white;
    margin-left: auto;
}

.modal-btn-next:hover {
    transform: translateY(-2px);
}

.modal-btn-next:disabled,
.modal-btn-prev:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none !important;
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 1200px) {
    .calculator-main-section {
        padding: 140px 0 80px;
    }

    .main-calc-card {
        padding: 40px;
    }
}

@media (max-width: 1024px) {
    .main-calc-card {
        padding: 36px;
    }

    .calc-main-title {
        font-size: clamp(32px, 5vw, 40px);
    }

    .method-tabs {
        gap: 12px;
    }

    .method-tab {
        padding: 14px 24px;
        font-size: 15px;
    }
}

@media (max-width: 768px) {
    .calculator-main-section {
        padding: 100px 0 40px;
    }

    .main-calc-card {
        padding: 24px 16px;
        max-width: 100%;
    }

    .calc-main-title {
        font-size: clamp(24px, 6vw, 32px);
        margin-bottom: 20px;
        line-height: 1.2;
    }

    .method-info {
        margin-bottom: 20px;
    }

    .method-badge {
        padding: 10px 14px;
        font-size: 13px;
    }

    .currency-selector-section {
        margin-bottom: 20px;
    }

    .currency-selector {
        padding: 12px 14px;
        font-size: 14px;
    }

    .calc-input-section {
        margin-bottom: 16px;
    }

    .calc-input-section label {
        font-size: 12px;
        margin-bottom: 8px;
    }

    .calc-input-wrapper input {
        padding: 14px 16px;
        font-size: 24px;
    }

    .input-currency {
        right: 16px;
        font-size: 24px;
    }

    .quick-payment-btns {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        margin-bottom: 24px;
    }

    .quick-payment-btn {
        padding: 10px;
        font-size: 13px;
    }

    .calc-result-section {
        margin-bottom: 20px;
    }

    .result-label {
        font-size: 12px;
        margin-bottom: 8px;
    }

    .result-display {
        gap: 10px;
    }

    .result-amount-input {
        font-size: clamp(32px, 8vw, 40px);
        min-width: 100px;
        padding: 0 6px;
    }

    .result-icon {
        font-size: 28px;
    }

    .calc-gamepass-info {
        padding: 14px;
        margin-bottom: 20px;
        flex-direction: column;
        gap: 12px;
    }

    .gamepass-info-icon {
        width: 32px;
        height: 32px;
        font-size: 16px;
    }

    .gamepass-info-label {
        font-size: 11px;
    }

    .gamepass-info-price span:first-child {
        font-size: 18px;
    }

    .gamepass-info-note {
        font-size: 10px;
    }

    .calc-buy-btn {
        padding: 16px;
        font-size: 15px;
        margin-bottom: 12px;
    }

    .promo-link {
        font-size: 13px;
    }

    .back-btn {
        padding: 10px 16px;
        font-size: 13px;
        margin-bottom: 20px;
    }

    .modal-container {
        width: 95%;
        max-height: 95vh;
        overflow: hidden;
        display: flex;
        flex-direction: column;
    }

    .modal-content {
        grid-template-columns: 1fr;
        height: auto;
        max-height: 95vh;
        display: flex;
        flex-direction: column;
        overflow: hidden;
    }

    .modal-steps {
        flex-direction: row;
        overflow-x: auto;
        border-right: none;
        border-bottom: 1px solid var(--border);
        padding: 16px;
        gap: 12px;
    }

    .modal-steps .step-item {
        flex-direction: column;
        min-width: 70px;
        padding: 12px 8px;
    }

    .modal-steps .step-item::after {
        display: none;
    }

    .step-number {
        width: 32px;
        height: 32px;
        font-size: 14px;
    }

    .step-label {
        text-align: center;
        font-size: 11px;
        margin-top: 6px;
    }

    .modal-steps-content {
        padding: 20px;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        max-height: calc(95vh - 120px);
    }

    .modal-gamepasses-list {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .gamepass-card {
        padding: 20px;
    }

    .gamepass-name {
        font-size: 16px;
    }

    .gamepass-price {
        font-size: 20px;
    }

    /* Fix for mobile click issues in step 4 */
    .modal-step-content {
        position: relative;
        z-index: 1;
    }

    .modal-step-content button,
    .modal-step-content .payment-method-btn,
    .modal-step-content .btn-pay-balance,
    .modal-step-content .btn-pay-mercadopago,
    .modal-step-content .btn-recharge {
        position: relative;
        z-index: 10;
        pointer-events: auto !important;
        touch-action: manipulation;
        -webkit-tap-highlight-color: rgba(14, 165, 233, 0.3);
    }

    .balance-section,
    .payment-method-selection,
    .mercadopago-checkout-container {
        position: relative;
        z-index: 2;
        pointer-events: auto;
        padding: 16px;
        margin: 16px 0;
    }

    .balance-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .balance-amount {
        font-size: 20px;
    }

    .payment-method-options {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .payment-method-btn {
        padding: 14px 18px;
    }

    .modal-actions {
        position: sticky;
        bottom: 0;
        background: var(--bg-card);
        padding-top: 16px;
        margin-top: 16px;
        z-index: 10;
        gap: 12px;
    }

    .modal-btn-prev,
    .modal-btn-next {
        padding: 14px 20px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .calculator-main-section {
        padding: 90px 0 30px;
    }

    .main-calc-card {
        padding: 20px 14px;
    }

    .calc-main-title {
        font-size: 22px;
        margin-bottom: 16px;
    }

    .currency-selector {
        padding: 10px 12px;
        font-size: 13px;
    }

    .calc-input-wrapper input {
        padding: 12px 14px;
        font-size: 20px;
    }

    .input-currency {
        right: 14px;
        font-size: 20px;
    }

    .quick-payment-btns {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .quick-payment-btn {
        padding: 12px;
        font-size: 12px;
    }

    .result-amount-input {
        font-size: 28px;
        min-width: 80px;
    }

    .result-icon {
        font-size: 24px;
    }

    .calc-gamepass-info {
        padding: 12px;
    }

    .gamepass-info-price span:first-child {
        font-size: 16px;
    }

    .calc-buy-btn {
        padding: 14px;
        font-size: 14px;
    }

    .modal-steps {
        padding: 12px;
    }

    .modal-steps .step-item {
        min-width: 60px;
        padding: 10px 6px;
    }

    .step-number {
        width: 28px;
        height: 28px;
        font-size: 12px;
    }

    .step-label {
        font-size: 10px;
    }

    .modal-steps-content {
        padding: 16px;
    }

    .gamepass-card {
        padding: 16px;
    }

    .balance-section {
        padding: 14px;
    }

    .payment-method-btn {
        padding: 12px 16px;
        font-size: 14px;
    }

    .btn-pay-balance,
    .btn-pay-mercadopago {
        padding: 14px 20px;
        font-size: 16px;
    }
}

/* ==================== PAYMENT STATUS MESSAGE ==================== */
.payment-status-message {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    animation: fadeIn 0.3s ease;
}

.payment-status-content {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 40px;
    max-width: 500px;
    width: 90%;
    text-align: center;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    animation: slideUp 0.4s ease;
}

.payment-status-icon {
    font-size: 64px;
    margin-bottom: 20px;
    display: block;
}

.payment-status-message.success .payment-status-icon {
    color: #22c55e;
}

.payment-status-message.success .payment-status-icon::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
}

.payment-status-message.failure .payment-status-icon {
    color: #ef4444;
}

.payment-status-message.failure .payment-status-icon::before {
    content: '\f00d';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
}

.payment-status-message.pending .payment-status-icon {
    color: #f59e0b;
}

.payment-status-message.pending .payment-status-icon::before {
    content: '\f017';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
}

.payment-status-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.payment-status-text {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 0;
}

.payment-status-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--border);
    color: var(--text-secondary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.payment-status-close:hover {
    background: rgba(255, 255, 255, 0.15);
    color: var(--text-primary);
    transform: rotate(90deg);
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

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

/* ==================== BALANCE SECTION ==================== */
.balance-section {
    background: rgba(14, 165, 233, 0.1);
    border: 1px solid rgba(14, 165, 233, 0.3);
    border-radius: 12px;
    padding: 20px;
    margin: 20px 0;
}

.balance-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.balance-label {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-primary);
    font-weight: 600;
}

.balance-label i {
    color: var(--accent);
    font-size: 20px;
}

.balance-amount {
    font-size: 24px;
    font-weight: 700;
    color: var(--accent);
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.btn-recharge {
    width: 100%;
    padding: 12px 24px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border: none;
    border-radius: 8px;
    color: white;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.btn-recharge:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(14, 165, 233, 0.4);
}

/* ==================== PAYMENT METHOD SELECTION ==================== */
.payment-method-selection {
    margin: 20px 0;
}

.payment-method-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.payment-method-btn {
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: var(--text-primary);
    font-weight: 600;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.payment-method-btn i {
    font-size: 24px;
    color: var(--text-secondary);
}

.payment-method-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(14, 165, 233, 0.5);
    transform: translateY(-2px);
}

.payment-method-btn.active {
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.2), rgba(59, 130, 246, 0.2));
    border-color: var(--accent);
}

.payment-method-btn.active i {
    color: var(--accent);
}

.payment-method-btn.active span {
    color: var(--accent);
}

/* ==================== PAY WITH BALANCE BUTTON ==================== */
.btn-pay-balance {
    width: 100%;
    padding: 16px 24px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border: none;
    border-radius: 12px;
    color: white;
    font-weight: 700;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin: 20px 0;
    transition: all 0.3s ease;
}

.btn-pay-balance:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(14, 165, 233, 0.5);
}

.btn-pay-balance i {
    font-size: 20px;
}

/* ==================== PROCEED WITH MERCADO PAGO BUTTON ==================== */
.btn-pay-mercadopago {
    width: 100%;
    padding: 16px 24px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border: none;
    border-radius: 12px;
    color: white;
    font-weight: 700;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin: 20px 0;
    transition: all 0.3s ease;
}

.btn-pay-mercadopago:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(14, 165, 233, 0.5);
}

.btn-pay-mercadopago i {
    font-size: 20px;
}
