/*
============================================================
🎵 Presale Integration - Ultra Minimal & Beautiful
============================================================
مینیمال، جذاب و مطابق با سایت MahdyarKP
Advanced Responsive System - Version 2.2.2
============================================================
*/

/* ===== RESPONSIVE LAYOUT SYSTEM ===== */
.mahdyarkp-presale-section {
    position: relative;
}

/* ===== VARIABLES - مطابق سایت ===== */
.mahdyarkp-presale-section {
    --presale-bg: var(--bg-primary, #000000);
    --presale-text: var(--text-primary, #ffffff);
    --presale-text-soft: rgba(255, 255, 255, 0.85);
    --presale-text-muted: rgba(255, 255, 255, 0.65);
    --presale-text-dim: rgba(255, 255, 255, 0.45);
    --presale-accent: var(--accent-color, #FF002F);
    --presale-accent-dark: #e6002a;
    --presale-glass: rgba(255, 255, 255, 0.02);
    --presale-glass-hover: rgba(255, 255, 255, 0.04);
    --presale-border: rgba(255, 255, 255, 0.08);
    --presale-border-hover: rgba(255, 255, 255, 0.15);
    --presale-font: 'IRANYekanX', -apple-system, BlinkMacSystemFont, sans-serif;
    --presale-radius: 8px;
    --presale-radius-lg: 12px;
    --presale-space: 1.2rem;
    --presale-speed: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --presale-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    --presale-shadow-hover: 0 8px 30px rgba(0, 0, 0, 0.15);
    --presale-success: #00ff88;
    --presale-warning: #ffaa00;
    --presale-error: #ff4444;
    
    /* Performance Optimizations */
    will-change: transform;
    contain: layout style;
    scroll-behavior: smooth;
    transform: translateZ(0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

/* ===== NEW STYLES FOR CUSTOM AMOUNT FEATURE ===== */

/* Album Min Price Display */
.map-album-min-price {
    font-size: 0.85em;
    color: var(--presale-text-muted);
    margin-top: 0.3rem;
    font-weight: 400;
}

/* Removed suggested amount button styles - no longer needed */

/* Amount Field Error State */
.map-field.error {
    border-color: var(--presale-error) !important;
    box-shadow: 0 0 0 2px rgba(255, 68, 68, 0.1) !important;
}

.map-field.error:focus {
    border-color: var(--presale-error) !important;
    box-shadow: 0 0 0 3px rgba(255, 68, 68, 0.15) !important;
}

/* Submit Button Disabled State */
.map-submit-btn.disabled,
.map-submit-btn:disabled {
    background: rgba(255, 255, 255, 0.1) !important;
    border-color: rgba(255, 255, 255, 0.2) !important;
    color: rgba(255, 255, 255, 0.4) !important;
    cursor: not-allowed !important;
    transform: none !important;
    opacity: 0.6;
}

.map-submit-btn.disabled:hover,
.map-submit-btn:disabled:hover {
    background: rgba(255, 255, 255, 0.1) !important;
    border-color: rgba(255, 255, 255, 0.2) !important;
    transform: none !important;
    box-shadow: none !important;
}

/* Enhanced Field Notes */
.map-field-note strong {
    color: var(--presale-accent);
    font-weight: 600;
}

/* Amount Text Display Enhancement - Persian Text */
.map-amount-text {
    background: linear-gradient(135deg, 
        rgba(0, 255, 136, 0.05), 
        rgba(0, 255, 136, 0.02)
    );
    border: 1px solid rgba(0, 255, 136, 0.2);
    border-radius: var(--presale-radius);
    padding: 0.8rem 1.2rem;
    margin-top: 0.6rem;
    font-size: 0.95em;
    color: var(--presale-success);
    text-align: center;
    font-weight: 600;
    font-family: var(--presale-font);
    line-height: 1.4;
    letter-spacing: 0.3px;
    
    /* Persian text styling */
    direction: rtl;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    
    /* Subtle animation */
    animation: amountTextGlow 2s ease-in-out infinite alternate;
}

@keyframes amountTextGlow {
    from {
        box-shadow: 0 2px 8px rgba(0, 255, 136, 0.1);
    }
    to {
        box-shadow: 0 4px 16px rgba(0, 255, 136, 0.15);
    }
}

/* Responsive Persian text */
@media (max-width: 768px) {
    .map-amount-text {
        font-size: 0.9em;
        padding: 0.7rem 1rem;
        letter-spacing: 0.2px;
    }
}

/* Responsive Enhancements */
@media (max-width: 768px) {
    .map-album-min-price {
        font-size: 0.8em;
    }
}

/* ===== BACKGROUND OVERLAY - مینیمال ===== */
.mahdyarkp-presale-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(255, 0, 47, 0.02) 0%, transparent 60%),
        radial-gradient(circle at 80% 70%, rgba(0, 255, 255, 0.01) 0%, transparent 60%);
    pointer-events: none;
    z-index: 0;
}

/* ===== SECTION HEADER - مطابق با استایل اصلی سایت ===== */
.mahdyarkp-presale-header {
    text-align: center;
    margin-bottom: var(--space-xl, clamp(2rem, 6vw, 4rem));
    position: relative;
    z-index: 2;
}

.mahdyarkp-presale-header .mahdyarkp-section-title {
    font-size: var(--title-scale, clamp(1.2rem, 2.5vw + 0.8rem, 2.2rem));
    font-weight: 500;
    font-family: 'IRANYekanX', sans-serif;
    color: #ffffff;
    margin: 0 0 var(--space-lg, clamp(1.5rem, 4vw, 3rem)) 0;
    position: relative;
    padding-bottom: var(--space-sm, clamp(0.5rem, 2vw, 1rem));
    letter-spacing: clamp(-0.02em, -0.5vw, -0.01em);
    line-height: clamp(1.1, 1.2, 1.3);
}

.mahdyarkp-presale-header .mahdyarkp-section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: clamp(30px, 8vw, 50px);
    height: clamp(1.5px, 0.3vw, 2.5px);
    background: #FF002F;
    border-radius: 1px;
}

.mahdyarkp-presale-subtitle {
    font-family: 'IRANYekanX', sans-serif;
    font-size: clamp(0.9rem, 2.5vw, 1.1rem);
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
    font-weight: 300;
}

/* ===== CONTENT WRAPPER ===== */
.mahdyarkp-presale-content {
    position: relative;
    z-index: 2;
}

.mahdyarkp-presale-section .map-container {
    background: transparent;
    padding: 0;
    max-width: 1400px;
    margin: 0 auto;
    font-family: var(--presale-font);
    color: var(--presale-text);
}

.mahdyarkp-presale-section .map-content-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--presale-space);
    padding: 0 calc(var(--presale-space) / 2);
    grid-template-areas: "form leaderboard";
}

.mahdyarkp-presale-section .map-form-section {
    grid-area: form;
}

.mahdyarkp-presale-section .map-leaderboard-section {
    grid-area: leaderboard;
    background: var(--presale-glass);
    backdrop-filter: blur(8px);
    border: 1px solid var(--presale-border);
    border-radius: var(--presale-radius);
    padding: var(--presale-space);
    min-height: 500px;
    display: flex;
    flex-direction: column;
}

/* Leaderboard Header */
.map-leaderboard-header {
    text-align: center;
    margin-bottom: calc(var(--presale-space) * 1.5);
    padding-bottom: var(--presale-space);
    border-bottom: 1px solid var(--presale-border);
}

.map-leaderboard-title {
    font-size: clamp(1.5rem, 4vw, 2rem);
    font-weight: 700;
    color: var(--title-color);
    margin: 0 0 0.5rem 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.map-leaderboard-subtitle {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin: 0;
    opacity: 0.8;
}

/* Leaderboard List */
.map-leaderboard-list {
    list-style: none;
    padding: 0;
    margin: 0;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.map-leaderboard-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--glass-light);
    border: 1px solid var(--presale-border);
    border-radius: calc(var(--presale-radius) * 0.75);
    transition: all var(--presale-speed);
    position: relative;
    overflow: hidden;
}

.map-leaderboard-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--accent-gradient);
    opacity: 0;
    transition: opacity var(--presale-speed);
}

.map-leaderboard-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--presale-shadow), 0 8px 25px rgba(0,0,0,0.1);
}

.map-leaderboard-item:hover::before {
    opacity: 1;
}

/* Rank Badges */
.map-rank-badge {
    min-width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    border-radius: 50%;
    background: var(--glass-light);
    border: 2px solid var(--presale-border);
    flex-shrink: 0;
}

/* Top 3 Special Styling */
.map-leaderboard-item.rank-1 {
    background: linear-gradient(135deg, rgba(255,215,0,0.1), rgba(255,193,7,0.05));
    border-color: rgba(255,215,0,0.3);
    box-shadow: 0 4px 20px rgba(255,215,0,0.2);
}

.map-leaderboard-item.rank-1 .map-rank-badge {
    background: linear-gradient(135deg, #ffd700, #ffed4a);
    color: #8b4513;
    border-color: #ffd700;
    box-shadow: 0 4px 15px rgba(255,215,0,0.4);
}

.map-leaderboard-item.rank-2 {
    background: linear-gradient(135deg, rgba(192,192,192,0.1), rgba(169,169,169,0.05));
    border-color: rgba(192,192,192,0.3);
    box-shadow: 0 4px 20px rgba(192,192,192,0.2);
}

.map-leaderboard-item.rank-2 .map-rank-badge {
    background: linear-gradient(135deg, #c0c0c0, #e8e8e8);
    color: #555;
    border-color: #c0c0c0;
    box-shadow: 0 4px 15px rgba(192,192,192,0.4);
}

.map-leaderboard-item.rank-3 {
    background: linear-gradient(135deg, rgba(205,127,50,0.1), rgba(184,115,51,0.05));
    border-color: rgba(205,127,50,0.3);
    box-shadow: 0 4px 20px rgba(205,127,50,0.2);
}

.map-leaderboard-item.rank-3 .map-rank-badge {
    background: linear-gradient(135deg, #cd7f32, #b8732d);
    color: #fff;
    border-color: #cd7f32;
    box-shadow: 0 4px 15px rgba(205,127,50,0.4);
}

/* User Info */
.map-user-info-leaderboard {
    flex: 1;
    min-width: 0;
}

.map-user-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--title-color);
    margin-bottom: 0.25rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.map-user-details {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.map-user-amount {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--accent-color);
    background: rgba(var(--accent-rgb), 0.1);
    padding: 0.25rem 0.5rem;
    border-radius: 12px;
    white-space: nowrap;
}

.map-user-package {
    font-size: 0.85rem;
    color: var(--text-muted);
    background: var(--glass-light);
    padding: 0.2rem 0.5rem;
    border-radius: 10px;
    white-space: nowrap;
}

.map-user-instagram {
    font-size: 0.85rem;
    color: #e1306c;
    text-decoration: none;
    padding: 0.2rem 0.5rem;
    border-radius: 10px;
    background: rgba(225,48,108,0.1);
    white-space: nowrap;
    transition: all var(--presale-speed);
}

.map-user-instagram:hover {
    color: #c13584;
    background: rgba(225,48,108,0.2);
    text-decoration: none;
}

/* Loading State */
.map-leaderboard-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem 1rem;
    color: var(--text-muted);
    gap: 1rem;
}

.map-loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--presale-border);
    border-top: 3px solid var(--accent-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Empty State */
.map-leaderboard-empty {
    text-align: center;
    padding: 3rem 1rem;
    color: var(--text-muted);
}

.map-leaderboard-empty h4 {
    margin: 1rem 0 0.5rem 0;
    color: var(--title-color);
    font-size: 1.2rem;
}

.map-leaderboard-empty p {
    margin: 0;
    font-size: 0.9rem;
    opacity: 0.8;
}

.mahdyarkp-presale-section .map-crypto-section {
    grid-column: 1 / -1;
    margin-top: calc(var(--presale-space) * 2);
}


/* ===== FORM SECTION - مینیمال و جذاب ===== */
.mahdyarkp-presale-section .map-form-section {
    background: var(--presale-glass);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid var(--presale-border);
    border-radius: var(--presale-radius);
    padding: calc(var(--presale-space) * 1.2);
    box-shadow: var(--presale-shadow);
    transition: var(--presale-speed);
    height: 100%;
    min-height: 500px;
}

.mahdyarkp-presale-section .map-form-section:hover {
    border-color: var(--presale-border-hover);
    box-shadow: var(--presale-shadow-hover);
}

/* ===== FORM HEADER ===== */
.mahdyarkp-presale-section .map-form-header {
    text-align: center;
    margin-bottom: var(--presale-space);
    padding-bottom: calc(var(--presale-space) / 2);
    border-bottom: 1px solid var(--presale-border);
}

.mahdyarkp-presale-section .map-section-title {
    color: var(--presale-accent);
    font-family: var(--presale-font);
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    font-weight: 600;
    margin: 0 0 0.5rem 0;
    letter-spacing: -0.01em;
}

.mahdyarkp-presale-section .map-section-subtitle {
    color: var(--presale-text-dim);
    font-family: var(--presale-font);
    font-size: clamp(0.85rem, 1.5vw, 0.95rem);
    font-weight: 300;
    margin: 0;
}

/* ===== ALBUM OPTIONS - مینیمال و زیبا ===== */
.mahdyarkp-presale-section .map-album-options {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.6rem;
    margin-bottom: calc(var(--presale-space) * 2);
    width: 100%;
}

.mahdyarkp-presale-section .map-album-option {
    position: relative;
    width: 100%;
}

.mahdyarkp-presale-section .map-album-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.mahdyarkp-presale-section .map-album-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    padding: 0.8rem;
    min-height: 120px;
    text-align: center;
    color: var(--presale-text-soft);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    box-shadow: 
        0 4px 20px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

/* Card Hover Effects */
.mahdyarkp-presale-section .map-album-card:hover {
    transform: translateY(-5px) scale(1.02);
    border-color: rgba(255, 255, 255, 0.2);
    background: linear-gradient(145deg, 
        rgba(255, 255, 255, 0.08) 0%, 
        rgba(255, 255, 255, 0.04) 50%,
        rgba(255, 255, 255, 0.02) 100%);
    box-shadow: 
        0 10px 40px rgba(0, 0, 0, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

/* Album Card Focus for Accessibility */
.mahdyarkp-presale-section .map-album-option input:focus + .map-album-card {
    outline: 2px solid rgba(255, 0, 47, 0.5);
    outline-offset: 2px;
}

/* Album Card Active State */
.mahdyarkp-presale-section .map-album-card:active {
    transform: translateY(-2px) scale(0.98);
}

/* Album Card Elements - مینیمال */
.mahdyarkp-presale-section .map-album-icon {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    display: block;
    line-height: 1;
    opacity: 0.9;
    transition: all 0.3s ease;
}

.mahdyarkp-presale-section .map-album-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 100%;
}

.mahdyarkp-presale-section .map-album-title {
    font-family: var(--presale-font);
    font-size: 0.8rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.95);
    margin: 0 0 0.3rem 0;
    line-height: 1.3;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.mahdyarkp-presale-section .map-album-desc {
    font-family: var(--presale-font);
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.75);
    margin: 0 0 0.4rem 0;
    line-height: 1.3;
    flex: 1;
    opacity: 0.9;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.mahdyarkp-presale-section .map-album-price {
    font-family: var(--presale-font);
    font-size: 0.75rem;
    font-weight: 600;
    color: rgba(255, 0, 47, 1);
    background: transparent;
    padding: 0;
    border: none;
    margin: 0;
    transition: all 0.3s ease;
}

/* Selected State - مدرن و زیبا */
.mahdyarkp-presale-section .map-album-option input:checked + .map-album-card {
    background: linear-gradient(145deg, 
        rgba(255, 0, 47, 0.12) 0%, 
        rgba(255, 0, 47, 0.06) 50%,
        rgba(255, 0, 47, 0.03) 100%);
    border-color: rgba(255, 0, 47, 0.4);
    color: var(--presale-text);
    box-shadow: 
        0 0 25px rgba(255, 0, 47, 0.2),
        0 8px 32px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transform: translateY(-3px) scale(1.02);
}

.mahdyarkp-presale-section .map-album-option input:checked + .map-album-card .map-album-icon {
    opacity: 1;
    transform: scale(1.05);
    filter: drop-shadow(0 0 8px rgba(255, 0, 47, 0.25));
}

.mahdyarkp-presale-section .map-album-option input:checked + .map-album-card .map-album-title {
    color: var(--presale-text);
}

.mahdyarkp-presale-section .map-album-option input:checked + .map-album-card .map-album-price {
    background: linear-gradient(135deg, 
        rgba(255, 0, 47, 0.2) 0%, 
        rgba(255, 0, 47, 0.15) 100%);
    color: rgba(255, 255, 255, 1);
    border-color: rgba(255, 0, 47, 0.5);
    box-shadow: 
        0 0 15px rgba(255, 0, 47, 0.4),
        0 4px 12px rgba(0, 0, 0, 0.2);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

/* VIP Album - لوکس و ویژه */
.mahdyarkp-presale-section .map-album-card.map-vip-card {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.08), rgba(255, 140, 0, 0.05));
    border-color: rgba(255, 215, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.mahdyarkp-presale-section .map-album-card.map-vip-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 215, 0, 0.1), transparent);
    animation: shimmer 3s infinite;
    pointer-events: none;
}

.mahdyarkp-presale-section .map-vip-option input:checked + .map-album-card.map-vip-card {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.15), rgba(255, 140, 0, 0.1));
    border-color: rgba(255, 215, 0, 0.6);
    box-shadow: 
        0 0 30px rgba(255, 215, 0, 0.3),
        0 8px 30px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.mahdyarkp-presale-section .map-vip-badge {
  display: none !important;
}


.mahdyarkp-presale-section .map-vip-option input:checked + .map-album-card .map-album-price {
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: #000;
    border-color: #FFD700;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
}

/* Shimmer Animation for VIP */
@keyframes shimmer {
    0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
    100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

/* ===== FORM FIELDS - مینیمال و زیبا ===== */
.mahdyarkp-presale-section .map-user-info {
    display: block !important;
    background: var(--presale-glass);
    border-radius: var(--presale-radius);
    padding: calc(var(--presale-space) * 1.3);
    border: 1px solid var(--presale-border);
    backdrop-filter: blur(8px);
    margin-top: calc(var(--presale-space) * 1.5);
    box-shadow: var(--presale-shadow);
}

/* Physical Fields - فیلدهای ارسال */
.mahdyarkp-presale-section .map-physical-fields {
    background: rgba(255, 0, 47, 0.03);
    border: 1px solid rgba(255, 0, 47, 0.1);
    border-radius: var(--presale-radius);
    padding: calc(var(--presale-space) * 1);
    margin: calc(var(--presale-space) * 0.8) 0;
    backdrop-filter: blur(4px);
    transition: all var(--presale-speed);
}

.mahdyarkp-presale-section .map-physical-fields.show {
    display: block !important;
    animation: fadeInUp 0.4s ease-out;
}

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

.mahdyarkp-presale-section .map-textarea {
    min-height: 80px;
    resize: vertical;
    font-family: var(--presale-font);
    line-height: 1.5;
}

.mahdyarkp-presale-section .map-form-row {
    margin-bottom: calc(var(--presale-space) * 0.8);
}

.mahdyarkp-presale-section .map-form-group {
    margin-bottom: calc(var(--presale-space) * 0.6);
}

.mahdyarkp-presale-section .map-label {
    display: block;
    font-family: var(--presale-font);
    font-size: 0.9rem;
    font-weight: 400;
    color: var(--presale-text-soft);
    margin-bottom: 0.4rem;
}

.mahdyarkp-presale-section .map-field {
    width: 100%;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: calc(var(--presale-radius) * 0.7);
    padding: 0.8rem 1rem;
    font-family: var(--presale-font);
    font-size: 0.9rem;
    color: var(--presale-text);
    transition: var(--presale-speed);
    direction: rtl;
    text-align: right;
}

.mahdyarkp-presale-section .map-field:focus {
    outline: none;
    border-color: var(--presale-accent);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 0 15px rgba(255, 0, 47, 0.1);
}

.mahdyarkp-presale-section .map-field::placeholder {
    color: var(--presale-text-dim);
    font-size: 0.85rem;
}

/* ===== PAYMENT METHODS - زیبا و جذاب ===== */
.mahdyarkp-presale-section .map-payment-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: calc(var(--presale-space) * 1.2);
    width: 100%;
}

.mahdyarkp-presale-section .map-payment-option {
    position: relative;
    width: 100%;
}

.mahdyarkp-presale-section .map-payment-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.mahdyarkp-presale-section .map-payment-card {
    display: flex;
    align-items: center;
    background: var(--presale-glass);
    backdrop-filter: blur(15px) saturate(1.1);
    -webkit-backdrop-filter: blur(15px) saturate(1.1);
    border: 1.5px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--presale-radius);
    padding: 1.2rem 1rem;
    color: var(--presale-text-soft);
    cursor: pointer;
    transition: all var(--presale-speed);
    position: relative;
    min-height: 80px;
    width: 100%;
    box-shadow: 
        0 4px 20px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    gap: 1rem;
}

.mahdyarkp-presale-section .map-payment-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px) scale(1.01);
    box-shadow: 
        0 8px 30px rgba(0, 0, 0, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

/* Payment Card Elements */
.mahdyarkp-presale-section .map-payment-icon {
    font-size: 2rem;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--presale-speed);
}

.mahdyarkp-presale-section .map-payment-info {
    flex: 1;
    text-align: right;
}

.mahdyarkp-presale-section .map-payment-info h4 {
    font-family: var(--presale-font);
    font-size: 1rem;
    font-weight: 600;
    color: var(--presale-text);
    margin: 0 0 0.3rem 0;
    line-height: 1.3;
}

.mahdyarkp-presale-section .map-payment-info p {
    font-family: var(--presale-font);
    font-size: 0.8rem;
    color: var(--presale-text-dim);
    margin: 0;
    line-height: 1.4;
}

/* Selected State - جذاب */
.mahdyarkp-presale-section .map-payment-option input:checked + .map-payment-card {
    background: linear-gradient(135deg, rgba(0, 255, 255, 0.1), rgba(0, 255, 255, 0.05));
    border-color: #00ffff;
    color: var(--presale-text);
    box-shadow: 
        0 0 25px rgba(0, 255, 255, 0.2),
        0 8px 30px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
    transform: translateY(-2px) scale(1.03);
}

.mahdyarkp-presale-section .map-payment-option input:checked + .map-payment-card .map-payment-icon {
    background: rgba(0, 255, 255, 0.15);
    border-color: rgba(0, 255, 255, 0.3);
    color: #00ffff;
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.3);
    transform: scale(1.1);
}

.mahdyarkp-presale-section .map-payment-option input:checked + .map-payment-card .map-payment-info h4 {
    color: var(--presale-text);
}

.mahdyarkp-presale-section .map-payment-option input:checked + .map-payment-card .map-payment-info p {
    color: var(--presale-text-soft);
}

/* Special Styling for ZarinPal */
.mahdyarkp-presale-section .map-payment-option input[value="zarinpal"]:checked + .map-payment-card {
    background: linear-gradient(135deg, rgba(255, 0, 47, 0.1), rgba(255, 0, 47, 0.05));
    border-color: var(--presale-accent);
    box-shadow: 
        0 0 25px rgba(255, 0, 47, 0.2),
        0 8px 30px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.mahdyarkp-presale-section .map-payment-option input[value="zarinpal"]:checked + .map-payment-card .map-payment-icon {
    background: rgba(255, 0, 47, 0.15);
    border-color: rgba(255, 0, 47, 0.3);
    color: var(--presale-accent);
    box-shadow: 0 0 15px rgba(255, 0, 47, 0.3);
}

/* Special Styling for Crypto */
/* Crypto card styling - always clickable */
.mahdyarkp-presale-section .map-payment-option input[value="crypto"] + .map-payment-card {
    cursor: pointer;
    position: relative;
}

.mahdyarkp-presale-section .map-payment-option input[value="crypto"] + .map-payment-card::after {
    content: "کلیک کنید";
    position: absolute;
    bottom: 8px;
    left: 12px;
    font-size: 10px;
    color: #ffa500;
    opacity: 0.6;
    font-weight: 500;
    font-family: var(--presale-font);
}

.mahdyarkp-presale-section .map-payment-option input[value="crypto"] + .map-payment-card:hover::after {
    opacity: 1;
}

.mahdyarkp-presale-section .map-payment-option input[value="crypto"]:checked + .map-payment-card {
    background: linear-gradient(135deg, rgba(255, 165, 0, 0.1), rgba(255, 140, 0, 0.05));
    border-color: #ffa500;
    box-shadow: 
        0 0 25px rgba(255, 165, 0, 0.2),
        0 8px 30px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.mahdyarkp-presale-section .map-payment-option input[value="crypto"]:checked + .map-payment-card .map-payment-icon {
    background: rgba(255, 165, 0, 0.15);
    border-color: rgba(255, 165, 0, 0.3);
    color: #ffa500;
    box-shadow: 0 0 15px rgba(255, 165, 0, 0.3);
}

/* ===== SUBMIT BUTTON - مینیمال و جذاب ===== */
.mahdyarkp-presale-section .map-submit-btn {
    width: 100%;
    background: linear-gradient(135deg, var(--presale-accent), #cc0025);
    border: none;
    border-radius: var(--presale-radius);
    padding: 1rem;
    font-family: var(--presale-font);
    font-size: 1rem;
    font-weight: 600;
    color: white;
    cursor: pointer;
    transition: var(--presale-speed);
    position: relative;
    overflow: hidden;
}

.mahdyarkp-presale-section .map-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 0, 47, 0.3);
}

.mahdyarkp-presale-section .map-submit-btn:active {
    transform: translateY(0);
}

.mahdyarkp-presale-section .map-submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* ===== LEADERBOARD SECTION - جذاب و زیبا ===== */
.mahdyarkp-presale-section .map-leaderboard-section {
    background: var(--presale-glass);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid var(--presale-border);
    border-radius: var(--presale-radius);
    padding: calc(var(--presale-space) * 1.2);
    box-shadow: var(--presale-shadow);
    height: 100%;
    min-height: 500px;
}

/* Leaderboard Header */
.mahdyarkp-presale-section .map-leaderboard-header {
    text-align: center;
    margin-bottom: calc(var(--presale-space) * 1.5);
    padding-bottom: calc(var(--presale-space) * 0.8);
    border-bottom: 1px solid var(--presale-border);
}

.mahdyarkp-presale-section .map-leaderboard-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--presale-text);
    margin: 0 0 0.5rem 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.mahdyarkp-presale-section .map-leaderboard-subtitle {
    font-size: 0.85rem;
    color: var(--presale-text-muted);
    margin: 0;
}

/* Leaderboard List */
.mahdyarkp-presale-section .map-leaderboard-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* Leaderboard Items - عمومی */
.mahdyarkp-presale-section .map-leaderboard-item {
    background: var(--presale-glass);
    border: 1px solid var(--presale-border);
    border-radius: var(--presale-radius);
    padding: calc(var(--presale-space) * 0.8);
    margin-bottom: calc(var(--presale-space) * 0.6);
    transition: all var(--presale-speed);
    position: relative;
    display: flex;
    align-items: center;
    gap: 1rem;
    overflow: hidden;
}

.mahdyarkp-presale-section .map-leaderboard-item:hover {
    background: var(--presale-glass-hover);
    border-color: var(--presale-border-hover);
    transform: translateY(-1px);
    box-shadow: var(--presale-shadow-hover);
}

/* مقام اول - طلایی ⭐ */
.mahdyarkp-presale-section .map-leaderboard-item.rank-1 {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.15), rgba(255, 193, 7, 0.08));
    border: 2px solid rgba(255, 215, 0, 0.4);
    box-shadow: 
        0 0 25px rgba(255, 215, 0, 0.2),
        var(--presale-shadow);
    position: relative;
}

.mahdyarkp-presale-section .map-leaderboard-item.rank-1::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #FFD700, #FFA500, #FFD700);
}

/* مقام دوم - نقره‌ای 🥈 */
.mahdyarkp-presale-section .map-leaderboard-item.rank-2 {
    background: linear-gradient(135deg, rgba(192, 192, 192, 0.15), rgba(169, 169, 169, 0.08));
    border: 2px solid rgba(192, 192, 192, 0.4);
    box-shadow: 
        0 0 20px rgba(192, 192, 192, 0.15),
        var(--presale-shadow);
}

.mahdyarkp-presale-section .map-leaderboard-item.rank-2::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #C0C0C0, #A9A9A9, #C0C0C0);
}

/* مقام سوم - برنزی 🥉 */
.mahdyarkp-presale-section .map-leaderboard-item.rank-3 {
    background: linear-gradient(135deg, rgba(205, 127, 50, 0.15), rgba(184, 115, 51, 0.08));
    border: 2px solid rgba(205, 127, 50, 0.4);
    box-shadow: 
        0 0 18px rgba(205, 127, 50, 0.15),
        var(--presale-shadow);
}

.mahdyarkp-presale-section .map-leaderboard-item.rank-3::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #CD7F32, #B87333, #CD7F32);
}

/* Leaderboard Item Elements */
.mahdyarkp-presale-section .map-rank-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-weight: 700;
    font-size: 1rem;
    flex-shrink: 0;
    background: var(--presale-glass);
    border: 1px solid var(--presale-border);
    color: var(--presale-text-soft);
}

/* رنگ‌بندی مقام‌ها */
.mahdyarkp-presale-section .map-leaderboard-item.rank-1 .map-rank-badge {
    background: linear-gradient(135deg, #FFD700, #FFA500);
    border-color: rgba(255, 215, 0, 0.6);
    color: #000;
    font-size: 1.1rem;
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.3);
}

.mahdyarkp-presale-section .map-leaderboard-item.rank-2 .map-rank-badge {
    background: linear-gradient(135deg, #C0C0C0, #A9A9A9);
    border-color: rgba(192, 192, 192, 0.6);
    color: #000;
    font-size: 1.1rem;
    box-shadow: 0 0 12px rgba(192, 192, 192, 0.3);
}

.mahdyarkp-presale-section .map-leaderboard-item.rank-3 .map-rank-badge {
    background: linear-gradient(135deg, #CD7F32, #B87333);
    border-color: rgba(205, 127, 50, 0.6);
    color: #fff;
    font-size: 1.1rem;
    box-shadow: 0 0 10px rgba(205, 127, 50, 0.3);
}

/* User Info Section */
.mahdyarkp-presale-section .map-user-info-leaderboard {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.mahdyarkp-presale-section .map-user-name {
    font-size: 1rem;
    font-weight: 600;
    color: var(--presale-text);
    margin: 0;
    line-height: 1.2;
}

.mahdyarkp-presale-section .map-user-details {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    align-items: center;
    font-size: 0.8rem;
    color: var(--presale-text-muted);
}

.mahdyarkp-presale-section .map-user-amount {
    background: rgba(255, 0, 47, 0.1);
    color: var(--presale-accent);
    padding: 0.2rem 0.6rem;
    border-radius: 15px;
    font-weight: 600;
    font-size: 0.75rem;
    border: 1px solid rgba(255, 0, 47, 0.2);
}

.mahdyarkp-presale-section .map-user-package {
    background: var(--presale-glass);
    color: var(--presale-text-soft);
    padding: 0.2rem 0.6rem;
    border-radius: 15px;
    font-weight: 500;
    font-size: 0.75rem;
    border: 1px solid var(--presale-border);
}

.mahdyarkp-presale-section .map-user-instagram {
    color: var(--presale-text-muted);
    text-decoration: none;
    font-weight: 500;
    transition: color var(--presale-speed);
}

.mahdyarkp-presale-section .map-user-instagram:hover {
    color: var(--presale-accent);
}

/* Special styling for top 3 */
.mahdyarkp-presale-section .map-leaderboard-item.rank-1 .map-user-amount {
    background: rgba(255, 215, 0, 0.2);
    color: #B8860B;
    border-color: rgba(255, 215, 0, 0.4);
}

.mahdyarkp-presale-section .map-leaderboard-item.rank-2 .map-user-amount {
    background: rgba(192, 192, 192, 0.2);
    color: #696969;
    border-color: rgba(192, 192, 192, 0.4);
}

.mahdyarkp-presale-section .map-leaderboard-item.rank-3 .map-user-amount {
    background: rgba(205, 127, 50, 0.2);
    color: #A0522D;
    border-color: rgba(205, 127, 50, 0.4);
}

/* Loading State */
.mahdyarkp-presale-section .map-leaderboard-loading {
    text-align: center;
    padding: 2rem;
    color: var(--presale-text-muted);
    font-size: 0.9rem;
}

/* Empty State */
.mahdyarkp-presale-section .map-leaderboard-empty {
    text-align: center;
    padding: 2rem;
    color: var(--presale-text-muted);
    font-size: 0.9rem;
}

/* Responsive Design for Leaderboard */
@media (max-width: 768px) {
    .mahdyarkp-presale-section .map-leaderboard-item {
        padding: calc(var(--presale-space) * 0.6);
        gap: 0.8rem;
    }
    
    .mahdyarkp-presale-section .map-rank-badge {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
    
    .mahdyarkp-presale-section .map-user-name {
        font-size: 0.9rem;
    }
    
    .mahdyarkp-presale-section .map-user-details {
        gap: 0.6rem;
        flex-direction: column;
        align-items: flex-start;
    }
    
    .mahdyarkp-presale-section .map-user-amount,
    .mahdyarkp-presale-section .map-user-package {
        font-size: 0.7rem;
        padding: 0.15rem 0.5rem;
    }
}

@media (max-width: 480px) {
    .mahdyarkp-presale-section .map-leaderboard-title {
        font-size: 1.1rem;
    }
    
    .mahdyarkp-presale-section .map-leaderboard-subtitle {
        font-size: 0.8rem;
    }
    
    .mahdyarkp-presale-section .map-leaderboard-item {
        padding: calc(var(--presale-space) * 0.5);
        gap: 0.6rem;
    }
    
    .mahdyarkp-presale-section .map-rank-badge {
        width: 30px;
        height: 30px;
        font-size: 0.8rem;
    }
    
    .mahdyarkp-presale-section .map-user-name {
        font-size: 0.85rem;
    }
}

/* ===== MESSAGES ===== */
.mahdyarkp-presale-section .map-message {
    padding: 0.8rem 1rem;
    border-radius: calc(var(--presale-radius) * 0.8);
    margin-bottom: 1rem;
    font-family: var(--presale-font);
    font-size: 0.9rem;
}

.mahdyarkp-presale-section .map-message.map-success {
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.3);
    color: #22c55e;
}

.mahdyarkp-presale-section .map-message.map-error {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #ef4444;
}

/* ===== CRYPTO PAYMENT SECTION - سکشن پرداخت کریپتو ===== */
.mahdyarkp-presale-section .map-crypto-section {
    margin-top: calc(var(--presale-space) * 3);
    margin-bottom: calc(var(--presale-space) * 3);
    padding: 0;
    background: transparent;
    border: none;
    position: relative;
}

.mahdyarkp-presale-section .map-crypto-section::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--presale-accent), #ffa500);
    border-radius: 2px;
    opacity: 0.7;
}

.mahdyarkp-presale-section .map-crypto-container {
    background: var(--presale-glass);
    border-radius: var(--presale-radius);
    border: 1px solid rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(15px);
    padding: calc(var(--presale-space) * 1.8);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.08),
        0 4px 16px rgba(0, 0, 0, 0.04);
    position: relative;
}


.mahdyarkp-presale-section .map-crypto-content {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: calc(var(--presale-space) * 2.5);
    align-items: start;
}

/* Right Side - Info and Support */
.mahdyarkp-presale-section .map-crypto-info {
    display: flex;
    flex-direction: column;
    gap: calc(var(--presale-space) * 1.5);
}

.mahdyarkp-presale-section .map-crypto-header {
    text-align: center;
    margin-bottom: calc(var(--presale-space) * 0.5);
}

.mahdyarkp-presale-section .map-crypto-header h3 {
    font-family: var(--presale-font);
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--presale-text);
    margin: 0;
    text-align: center;
    position: relative;
}

.mahdyarkp-presale-section .map-crypto-header h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, #ffa500, var(--presale-accent));
    border-radius: 1px;
}

.mahdyarkp-presale-section .map-crypto-description {
    background: rgba(255, 255, 255, 0.02);
    border-radius: var(--presale-radius);
    padding: calc(var(--presale-space) * 1.1);
    border: 1px solid rgba(255, 255, 255, 0.04);
}

.mahdyarkp-presale-section .map-crypto-description p {
    font-family: var(--presale-font);
    color: var(--presale-text-soft);
    line-height: 1.6;
    margin: 0;
    font-size: 0.9rem;
}

.mahdyarkp-presale-section .map-crypto-wallet {
    background: rgba(0, 0, 0, 0.2);
    border-radius: var(--presale-radius);
    padding: calc(var(--presale-space) * 1.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    transition: all 0.3s ease;
}

.mahdyarkp-presale-section .map-crypto-wallet:hover {
    background: rgba(0, 0, 0, 0.25);
    border-color: rgba(255, 165, 0, 0.3);
    box-shadow: 0 4px 20px rgba(255, 165, 0, 0.1);
}

.mahdyarkp-presale-section .map-crypto-wallet label {
    display: block;
    font-family: var(--presale-font);
    font-weight: 600;
    color: var(--presale-text);
    margin-bottom: calc(var(--presale-space) * 0.5);
    font-size: 0.9rem;
}

.mahdyarkp-presale-section .map-wallet-address {
    display: flex;
    gap: calc(var(--presale-space) * 0.5);
    align-items: center;
}

.mahdyarkp-presale-section .map-wallet-address input {
    flex: 1;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: calc(var(--presale-radius) * 0.6);
    padding: calc(var(--presale-space) * 0.6);
    color: var(--presale-text);
    font-family: 'Courier New', monospace;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
}

.mahdyarkp-presale-section .map-copy-btn {
    background: linear-gradient(135deg, var(--presale-accent), var(--presale-accent-dark));
    border: none;
    border-radius: calc(var(--presale-radius) * 0.6);
    padding: calc(var(--presale-space) * 0.6) calc(var(--presale-space) * 1);
    color: white;
    font-family: var(--presale-font);
    font-weight: 600;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.mahdyarkp-presale-section .map-copy-btn:hover {
    background: linear-gradient(135deg, var(--presale-accent-dark), var(--presale-accent));
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 0, 47, 0.3);
}

.mahdyarkp-presale-section .map-crypto-support {
    background: rgba(255, 165, 0, 0.08);
    border-radius: var(--presale-radius);
    padding: calc(var(--presale-space) * 1.3);
    border: 1px solid rgba(255, 165, 0, 0.15);
    position: relative;
    transition: all 0.3s ease;
}

.mahdyarkp-presale-section .map-crypto-support:hover {
    background: rgba(255, 165, 0, 0.12);
    border-color: rgba(255, 165, 0, 0.25);
    box-shadow: 0 4px 20px rgba(255, 165, 0, 0.15);
}

.mahdyarkp-presale-section .map-support-info {
    display: flex;
    align-items: center;
    gap: calc(var(--presale-space) * 0.8);
    flex-wrap: wrap;
}

.mahdyarkp-presale-section .map-support-text {
    font-family: var(--presale-font);
    font-weight: 600;
    color: var(--presale-text);
    font-size: 0.9rem;
}

.mahdyarkp-presale-section .map-support-id {
    background: rgba(255, 165, 0, 0.2);
    border-radius: calc(var(--presale-radius) * 0.5);
    padding: calc(var(--presale-space) * 0.3) calc(var(--presale-space) * 0.6);
    font-family: var(--presale-font);
    font-weight: 600;
    color: #ffa500;
    font-size: 0.85rem;
    border: 1px solid rgba(255, 165, 0, 0.3);
}

.mahdyarkp-presale-section .map-support-btn {
    background: linear-gradient(135deg, #ffa500, #ff8c00);
    border: none;
    border-radius: calc(var(--presale-radius) * 0.6);
    padding: calc(var(--presale-space) * 0.6) calc(var(--presale-space) * 1);
    color: white;
    font-family: var(--presale-font);
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    margin-left: auto;
}

.mahdyarkp-presale-section .map-support-btn:hover {
    background: linear-gradient(135deg, #ff8c00, #ffa500);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 165, 0, 0.3);
}

/* Left Side - QR Code */
.mahdyarkp-presale-section .map-crypto-qr {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
}

.mahdyarkp-presale-section .map-qr-container {
    background: rgba(255, 255, 255, 0.95);
    border-radius: var(--presale-radius);
    padding: calc(var(--presale-space) * 1.5);
    text-align: center;
    box-shadow: 
        0 8px 25px rgba(0, 0, 0, 0.08),
        0 4px 12px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.mahdyarkp-presale-section .map-qr-container:hover {
    transform: translateY(-1px);
    box-shadow: 
        0 12px 30px rgba(0, 0, 0, 0.12),
        0 6px 15px rgba(0, 0, 0, 0.08);
}

.mahdyarkp-presale-section .map-qr-image {
    max-width: 180px;
    width: 100%;
    height: auto;
    border-radius: var(--presale-radius);
    margin-bottom: calc(var(--presale-space) * 1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.mahdyarkp-presale-section .map-qr-image:hover {
    transform: scale(1.02);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.mahdyarkp-presale-section .map-qr-label {
    font-family: var(--presale-font);
    font-weight: 600;
    color: #2d3748;
    margin: 0;
    font-size: 0.9rem;
    position: relative;
}


.mahdyarkp-presale-section .map-qr-placeholder {
    background: rgba(255, 255, 255, 0.03);
    border: 2px dashed rgba(255, 165, 0, 0.3);
    border-radius: var(--presale-radius-lg);
    padding: calc(var(--presale-space) * 2.5);
    text-align: center;
    min-height: 220px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: calc(var(--presale-space) * 1);
    transition: all 0.3s ease;
}

.mahdyarkp-presale-section .map-qr-placeholder:hover {
    background: rgba(255, 165, 0, 0.05);
    border-color: rgba(255, 165, 0, 0.4);
}

.mahdyarkp-presale-section .map-qr-icon {
    font-size: 2.5rem;
    opacity: 0.4;
    color: var(--presale-text-muted);
}

.mahdyarkp-presale-section .map-qr-placeholder p {
    font-family: var(--presale-font);
    color: var(--presale-text-soft);
    margin: 0;
    font-size: 0.9rem;
    text-align: center;
    line-height: 1.5;
}

/* ===== RESPONSIVE DESIGN SYSTEM - پیشرفته و حرفه‌ای ===== */

/* Extra Large Screens - 1400px+ */
@media (min-width: 1400px) {
    .mahdyarkp-presale-section .map-container {
        max-width: 1600px;
        padding: 0 2rem;
    }
    
    .mahdyarkp-presale-section .map-content-wrapper {
        gap: calc(var(--presale-space) * 2);
    }
    
    .mahdyarkp-presale-section .map-form-section,
    .mahdyarkp-presale-section .map-leaderboard-section {
        padding: calc(var(--presale-space) * 2);
        min-height: 600px;
    }
}

/* Large Desktop - 1200px to 1399px */
@media (max-width: 1399px) and (min-width: 1200px) {
    .mahdyarkp-presale-section .map-content-wrapper {
        gap: calc(var(--presale-space) * 1.5);
    }
    
    .mahdyarkp-presale-section .map-form-section,
    .mahdyarkp-presale-section .map-leaderboard-section {
        min-height: 550px;
    }
}

/* Standard Desktop - 992px to 1199px */
@media (max-width: 1199px) and (min-width: 992px) {
    .mahdyarkp-presale-section .map-album-card {
        height: 140px;
        padding: calc(var(--presale-space) * 0.8);
    }
    
    .mahdyarkp-presale-section .map-album-icon {
        font-size: 1.6rem;
        margin-bottom: 0.4rem;
    }
    
    .mahdyarkp-presale-section .map-album-title {
        font-size: 0.9rem;
    }
    
    .mahdyarkp-presale-section .map-album-desc {
        font-size: 0.7rem;
    }
    
    .mahdyarkp-presale-section .map-form-section,
    .mahdyarkp-presale-section .map-leaderboard-section {
        min-height: 500px;
        padding: calc(var(--presale-space) * 1.1);
    }
}

/* Large Tablet - 992px to 1024px */
@media (max-width: 1024px) and (min-width: 992px) {
    .mahdyarkp-presale-section .map-content-wrapper {
        grid-template-columns: 1fr;
        gap: calc(var(--presale-space) * 1.5);
        padding: 0 calc(var(--presale-space) * 0.8);
    }
    
    .mahdyarkp-presale-section .map-album-options {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.5rem;
        margin-bottom: calc(var(--presale-space) * 1.5);
    }
    
    .mahdyarkp-presale-section .map-album-card {
        height: 100px;
        padding: 0.7rem;
    }
    
    .mahdyarkp-presale-section .map-album-icon {
        font-size: 1.2rem;
        margin-bottom: 0.3rem;
    }
    
    .mahdyarkp-presale-section .map-form-section,
    .mahdyarkp-presale-section .map-leaderboard-section {
        min-height: 450px;
        padding: calc(var(--presale-space) * 1.1);
    }
}

/* Standard Tablet - 768px to 991px */
@media (max-width: 991px) and (min-width: 768px) {
    .mahdyarkp-presale-section {
        padding: calc(var(--presale-space) * 2) 0;
    }
    
    .mahdyarkp-presale-section .map-container {
        padding: 0 1.5rem;
    }
    
    .mahdyarkp-presale-section .map-content-wrapper {
        grid-template-columns: 1fr;
        gap: calc(var(--presale-space) * 1.8);
        /* ترتیب mobile: فرم، کریپتو، لیدربورد */
        grid-template-areas: 
            "form"
            "crypto" 
            "leaderboard";
    }
    
    .mahdyarkp-presale-section .map-form-section {
        grid-area: form;
        min-height: 400px;
        padding: calc(var(--presale-space) * 1.2);
    }
    
    .mahdyarkp-presale-section .map-crypto-section {
        grid-area: crypto;
        margin: 0;
        padding: calc(var(--presale-space) * 1.2);
    }
    
    .mahdyarkp-presale-section .map-leaderboard-section {
        grid-area: leaderboard;
        min-height: 350px;
        padding: calc(var(--presale-space) * 1.2);
    }
    
    /* Album Options - 2 columns */
    .mahdyarkp-presale-section .map-album-options {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.5rem;
        margin-bottom: calc(var(--presale-space) * 1.5);
    }
    
    .mahdyarkp-presale-section .map-album-card {
        height: 130px;
        padding: calc(var(--presale-space) * 0.8);
    }
    
    .mahdyarkp-presale-section .map-album-icon {
        font-size: 1.6rem;
        margin-bottom: 0.4rem;
    }
    
    .mahdyarkp-presale-section .map-album-title {
        font-size: 0.9rem;
    }
    
    .mahdyarkp-presale-section .map-album-desc {
        font-size: 0.75rem;
    }
}

/* Mobile Landscape - 600px to 768px */
@media (max-width: 768px) and (min-width: 600px) {
    .mahdyarkp-presale-section {
        padding: calc(var(--presale-space) * 1.5) 0;
    }
    
    .mahdyarkp-presale-section .map-container {
        padding: 0 1rem;
    }
    
    .mahdyarkp-presale-section .map-content-wrapper {
        grid-template-columns: 1fr;
        gap: calc(var(--presale-space) * 2);
        /* ترتیب mobile: فرم، کریپتو، لیدربورد */
        grid-template-areas: 
            "form"
            "crypto" 
            "leaderboard";
    }
    
    .mahdyarkp-presale-section .map-form-section {
        grid-area: form;
        min-height: 350px;
        padding: calc(var(--presale-space) * 1);
    }
    
    .mahdyarkp-presale-section .map-crypto-section {
        grid-area: crypto;
        margin: 0;
        padding: calc(var(--presale-space) * 1);
    }
    
    .mahdyarkp-presale-section .map-leaderboard-section {
        grid-area: leaderboard;
        min-height: 300px;
        padding: calc(var(--presale-space) * 1);
    }
    
    .mahdyarkp-presale-section .map-album-options {
        grid-template-columns: 1fr;
        gap: 1rem;
        margin-bottom: calc(var(--presale-space) * 1.5);
    }
    
    .mahdyarkp-presale-section .map-album-card {
        height: 120px;
        padding: calc(var(--presale-space) * 1);
        flex-direction: row;
        text-align: right;
        align-items: center;
        gap: 1rem;
    }
    
    .mahdyarkp-presale-section .map-album-icon {
        font-size: 2rem;
        margin-bottom: 0;
        flex-shrink: 0;
    }
    
    .mahdyarkp-presale-section .map-album-info {
        text-align: right;
        align-items: flex-start;
        flex: 1;
    }
    
    .mahdyarkp-presale-section .map-album-title {
        font-size: 1.1rem;
        margin-bottom: 0.3rem;
    }
    
    .mahdyarkp-presale-section .map-album-desc {
        font-size: 0.85rem;
        margin-bottom: 0.8rem;
    }
    
    .mahdyarkp-presale-section .map-album-price {
        font-size: 1rem;
        padding: 0.5rem 1rem;
        align-self: flex-start;
    }
    
    /* Payment Methods Mobile */
    .mahdyarkp-presale-section .map-payment-methods {
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }
    
    /* Crypto Section Mobile */
    .mahdyarkp-presale-section .map-crypto-content {
        grid-template-columns: 1fr;
        gap: calc(var(--presale-space) * 2);
    }
    
    .mahdyarkp-presale-section .map-crypto-qr {
        order: -1; /* QR code first on mobile */
        margin-bottom: calc(var(--presale-space) * 1);
    }
    
    .mahdyarkp-presale-section .map-qr-container {
        max-width: 280px;
        margin: 0 auto;
        padding: calc(var(--presale-space) * 1.5);
    }
    
    .mahdyarkp-presale-section .map-qr-image {
        max-width: 160px;
    }
    
    .mahdyarkp-presale-section .map-crypto-header h3 {
        font-size: 1.2rem;
    }
    
    .mahdyarkp-presale-section .map-payment-card {
        padding: 1rem;
        min-height: 70px;
    }
    
    .mahdyarkp-presale-section .map-payment-icon {
        width: 45px;
        height: 45px;
        font-size: 1.8rem;
    }
    
    .mahdyarkp-presale-section .map-payment-info h4 {
        font-size: 0.95rem;
    }
    
    .mahdyarkp-presale-section .map-payment-info p {
        font-size: 0.75rem;
    }
    
    .mahdyarkp-presale-section .map-content-wrapper {
        padding: 0 calc(var(--presale-space) / 3);
    }
    
    .mahdyarkp-presale-section .map-form-section,
    .mahdyarkp-presale-section .map-leaderboard-section {
        padding: calc(var(--presale-space) * 0.8);
    }
}

@media (max-width: 480px) {
    .mahdyarkp-presale-section .map-album-card {
        padding: calc(var(--presale-space) * 0.8);
        height: 110px;
    }
    
    .mahdyarkp-presale-section .map-album-icon {
        font-size: 1.8rem;
    }
    
    .mahdyarkp-presale-section .map-album-title {
        font-size: 0.9rem;
    }
    
    .mahdyarkp-presale-section .map-album-desc {
        font-size: 0.7rem;
        margin-bottom: 0.4rem;
    }
    
    .mahdyarkp-presale-section .map-album-price {
        font-size: 0.8rem;
        padding: 0.3rem 0.6rem;
    }
    
    /* Payment Methods Small Mobile */
    .mahdyarkp-presale-section .map-payment-card {
        padding: 0.9rem;
        min-height: 65px;
        gap: 0.8rem;
    }
    
    .mahdyarkp-presale-section .map-payment-icon {
        width: 40px;
        height: 40px;
        font-size: 1.6rem;
    }
    
    .mahdyarkp-presale-section .map-payment-info h4 {
        font-size: 0.9rem;
    }
    
    .mahdyarkp-presale-section .map-payment-info p {
        font-size: 0.7rem;
    }
}

/* ===== ACCESSIBILITY ===== */
@media (prefers-reduced-motion: reduce) {
    .mahdyarkp-presale-section * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

@media (prefers-contrast: high) {
    .mahdyarkp-presale-section {
        --presale-border: rgba(255, 255, 255, 0.3);
        --presale-glass: rgba(255, 255, 255, 0.08);
    }
}

/* ===== LOADING STATES ===== */
.mahdyarkp-presale-section .map-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: var(--presale-text-dim);
    font-family: var(--presale-font);
    font-size: 0.9rem;
}

.mahdyarkp-presale-section .map-spinner {
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-right-color: var(--presale-accent);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

/* Mobile Portrait - Max 599px */
@media (max-width: 599px) {
    .mahdyarkp-presale-section {
        padding: calc(var(--presale-space) * 1.2) 0;
    }
    
    .mahdyarkp-presale-section .map-container {
        padding: 0 0.8rem;
    }
    
    .mahdyarkp-presale-section .map-content-wrapper {
        grid-template-columns: 1fr;
        gap: calc(var(--presale-space) * 1.8);
        /* ترتیب mobile: فرم، کریپتو، لیدربورد */
        grid-template-areas: 
            "form"
            "crypto" 
            "leaderboard";
    }
    
    .mahdyarkp-presale-section .map-form-section {
        grid-area: form;
        min-height: 320px;
        padding: calc(var(--presale-space) * 0.9);
    }
    
    .mahdyarkp-presale-section .map-crypto-section {
        grid-area: crypto;
        margin: 0;
        padding: calc(var(--presale-space) * 0.9);
    }
    
    .mahdyarkp-presale-section .map-leaderboard-section {
        grid-area: leaderboard;
        min-height: 280px;
        padding: calc(var(--presale-space) * 0.9);
    }
    
    /* Header responsive */
    .mahdyarkp-presale-header {
        margin-bottom: calc(var(--presale-space) * 1.2);
    }
    
    .mahdyarkp-presale-header .mahdyarkp-section-title {
        font-size: clamp(1.1rem, 2.2vw + 0.6rem, 1.8rem);
        margin-bottom: calc(var(--presale-space) * 0.8);
    }
    
    .mahdyarkp-presale-subtitle {
        font-size: clamp(0.8rem, 2vw, 1rem);
    }
    
    /* Album Options - compact vertical */
    .mahdyarkp-presale-section .map-album-options {
        grid-template-columns: 1fr;
        gap: 0.8rem;
        margin-bottom: calc(var(--presale-space) * 1.2);
    }
    
    .mahdyarkp-presale-section .map-album-card {
        height: 110px;
        padding: calc(var(--presale-space) * 0.8);
        flex-direction: row;
        text-align: right;
        align-items: center;
        gap: 0.8rem;
    }
    
    .mahdyarkp-presale-section .map-album-icon {
        font-size: 1.8rem;
        margin-bottom: 0;
        flex-shrink: 0;
    }
    
    .mahdyarkp-presale-section .map-album-title {
        font-size: 0.9rem;
        margin-bottom: 0.2rem;
    }
    
    .mahdyarkp-presale-section .map-album-desc {
        font-size: 0.7rem;
        margin-bottom: 0.4rem;
    }
    
    .mahdyarkp-presale-section .map-album-price {
        font-size: 0.8rem;
        padding: 0.3rem 0.6rem;
    }
    
    /* Form fields mobile */
    .mahdyarkp-presale-section .map-field {
        font-size: 0.9rem;
        padding: calc(var(--presale-space) * 0.7);
    }
    
    .mahdyarkp-presale-section .map-field-label {
        font-size: 0.9rem;
        margin-bottom: 0.4rem;
    }
    
    .mahdyarkp-presale-section .map-field-note {
        font-size: 0.75rem;
    }
    
    /* Payment methods mobile */
    .mahdyarkp-presale-section .map-payment-methods {
        grid-template-columns: 1fr;
        gap: 0.6rem;
    }
    
    .mahdyarkp-presale-section .map-payment-card {
        padding: 0.8rem;
        min-height: 60px;
    }
    
    .mahdyarkp-presale-section .map-payment-icon {
        font-size: 1.2rem;
    }
    
    /* Submit button mobile */
    .mahdyarkp-presale-section .map-submit-btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
        min-height: 48px;
    }
    
    /* Crypto section mobile */
    .mahdyarkp-presale-section .map-crypto-content {
        grid-template-columns: 1fr;
        gap: calc(var(--presale-space) * 1.2);
        text-align: center;
    }
    
    .mahdyarkp-presale-section .map-qr-container,
    .mahdyarkp-presale-section .map-crypto-info {
        max-width: 100%;
    }
    
    .mahdyarkp-presale-section .map-qr-code {
        width: 200px;
        height: 200px;
        margin: 0 auto;
    }
    
    /* Physical fields mobile */
    .mahdyarkp-presale-section .map-physical-fields {
        padding: calc(var(--presale-space) * 0.8);
        margin: calc(var(--presale-space) * 0.6) 0;
    }
    
    .mahdyarkp-presale-section .map-textarea {
        min-height: 70px;
        font-size: 0.9rem;
    }
}

/* ===== RESULT PAGE - مینیمال و زیبا ===== */
.map-result-page {
    min-height: calc(100vh - 200px);
    background: var(--presale-bg);
    font-family: var(--presale-font);
    color: var(--presale-text);
    direction: rtl;
    padding: calc(var(--presale-space) * 6) 0;
    margin: calc(var(--presale-space) * 4) 0;
    position: relative;
}

.map-result-page::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(255, 0, 47, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(0, 255, 255, 0.02) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.map-result-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: calc(var(--presale-space) * 2) var(--presale-space);
    position: relative;
    z-index: 1;
}

/* ===== RESULT HEADER ===== */
.map-result-header {
    text-align: center;
    margin-bottom: calc(var(--presale-space) * 2);
    padding: calc(var(--presale-space) * 1.5);
    background: var(--presale-glass);
    backdrop-filter: blur(20px) saturate(1.2);
    -webkit-backdrop-filter: blur(20px) saturate(1.2);
    border: 1px solid var(--presale-border);
    border-radius: var(--presale-radius);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.map-result-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    display: block;
    line-height: 1;
}

.map-success-icon {
    color: #22c55e;
    filter: drop-shadow(0 0 20px rgba(34, 197, 94, 0.3));
}

.map-error-icon {
    color: #ef4444;
    filter: drop-shadow(0 0 20px rgba(239, 68, 68, 0.3));
}

.map-result-title {
    font-family: var(--presale-font);
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 700;
    margin: 0 0 1rem 0;
    line-height: 1.2;
}

.map-result-success .map-result-title {
    color: #22c55e;
}

.map-result-failed .map-result-title {
    color: #ef4444;
}

.map-result-subtitle {
    font-family: var(--presale-font);
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: var(--presale-text-soft);
    margin: 0;
    line-height: 1.5;
    font-weight: 300;
}

/* ===== INVOICE SECTION ===== */
.map-invoice {
    background: var(--presale-glass);
    backdrop-filter: blur(20px) saturate(1.2);
    -webkit-backdrop-filter: blur(20px) saturate(1.2);
    border: 1px solid var(--presale-border);
    border-radius: var(--presale-radius);
    padding: calc(var(--presale-space) * 1.5);
    margin-bottom: calc(var(--presale-space) * 1.5);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.map-invoice-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: calc(var(--presale-space) * 1.2);
    padding-bottom: var(--presale-space);
    border-bottom: 1px solid var(--presale-border);
}

.map-invoice-header h2 {
    font-family: var(--presale-font);
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--presale-text);
    margin: 0;
}

.map-invoice-date {
    font-family: var(--presale-font);
    font-size: 0.9rem;
    color: var(--presale-text-dim);
    background: rgba(255, 255, 255, 0.05);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.map-invoice-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: calc(var(--presale-space) * 1.2);
    margin-bottom: calc(var(--presale-space) * 1.5);
}

.map-invoice-section h3 {
    font-family: var(--presale-font);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--presale-text);
    margin: 0 0 1rem 0;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.map-invoice-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.8rem;
    padding: 0.6rem 0;
}

.map-invoice-label {
    font-family: var(--presale-font);
    font-size: 0.9rem;
    color: var(--presale-text-dim);
    font-weight: 400;
}

.map-invoice-value {
    font-family: var(--presale-font);
    font-size: 0.95rem;
    color: var(--presale-text);
    font-weight: 500;
}

/* ===== STATUS BADGES ===== */
.map-status {
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

.map-status-success {
    background: rgba(34, 197, 94, 0.1);
    color: #22c55e;
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.map-status-failed {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

/* ===== PRODUCT DISPLAY ===== */
.map-product-display {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: calc(var(--presale-radius) * 0.8);
    padding: 1.2rem;
    margin-bottom: calc(var(--presale-space) * 1.2);
    gap: 1rem;
}

.map-product-icon {
    font-size: 2.5rem;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.map-product-details {
    flex: 1;
}

.map-product-details h4 {
    font-family: var(--presale-font);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--presale-text);
    margin: 0 0 0.5rem 0;
    line-height: 1.3;
}

.map-product-details p {
    font-family: var(--presale-font);
    font-size: 0.9rem;
    color: var(--presale-text-dim);
    margin: 0;
    line-height: 1.4;
}

.map-product-price {
    font-family: var(--presale-font);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--presale-accent);
    background: rgba(255, 0, 47, 0.1);
    padding: 0.6rem 1.2rem;
    border-radius: 25px;
    border: 1px solid rgba(255, 0, 47, 0.2);
    flex-shrink: 0;
}

/* ===== INVOICE TOTAL ===== */
.map-invoice-total {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: calc(var(--presale-radius) * 0.8);
    padding: 1rem 1.5rem;
    margin-bottom: calc(var(--presale-space) * 1.2);
}

.map-total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.map-total-label {
    font-family: var(--presale-font);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--presale-text);
}

.map-total-value {
    font-family: var(--presale-font);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--presale-accent);
}

/* ===== SUCCESS MESSAGE ===== */
.map-success-message {
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.3);
    border-radius: calc(var(--presale-radius) * 0.8);
    padding: 1rem 1.5rem;
    margin-bottom: calc(var(--presale-space) * 1.2);
    color: #22c55e;
    font-family: var(--presale-font);
    font-size: 1rem;
    font-weight: 500;
    text-align: center;
    line-height: 1.5;
}

/* ===== INFO SECTIONS ===== */
.map-shipping-info,
.map-download-info,
.map-vip-info {
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: calc(var(--presale-radius) * 0.8);
    padding: 1rem 1.5rem;
    margin-bottom: calc(var(--presale-space) * 1.2);
}

.map-shipping-info h4,
.map-download-info h4,
.map-vip-info h4 {
    font-family: var(--presale-font);
    font-size: 1rem;
    font-weight: 600;
    color: #3b82f6;
    margin: 0 0 0.5rem 0;
}

.map-shipping-info p,
.map-download-info p,
.map-vip-info p {
    font-family: var(--presale-font);
    font-size: 0.9rem;
    color: var(--presale-text-soft);
    margin: 0;
    line-height: 1.5;
}

/* ===== FAILED RESULT SPECIFIC ===== */
.map-order-summary {
    background: var(--presale-glass);
    backdrop-filter: blur(20px) saturate(1.2);
    -webkit-backdrop-filter: blur(20px) saturate(1.2);
    border: 1px solid var(--presale-border);
    border-radius: var(--presale-radius);
    padding: calc(var(--presale-space) * 1.2);
    margin-bottom: calc(var(--presale-space) * 1.5);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.map-order-summary h3 {
    font-family: var(--presale-font);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--presale-text);
    margin: 0 0 1rem 0;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.map-summary-grid {
    display: grid;
    gap: 0.8rem;
}

.map-summary-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.6rem 0;
}

.map-summary-label {
    font-family: var(--presale-font);
    font-size: 0.9rem;
    color: var(--presale-text-dim);
    font-weight: 400;
}

.map-summary-value {
    font-family: var(--presale-font);
    font-size: 0.95rem;
    color: var(--presale-text);
    font-weight: 500;
}

.map-failure-reasons {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: calc(var(--presale-radius) * 0.8);
    padding: 1rem 1.5rem;
    margin-bottom: calc(var(--presale-space) * 1.5);
}

.map-failure-reasons h4 {
    font-family: var(--presale-font);
    font-size: 1rem;
    font-weight: 600;
    color: #ef4444;
    margin: 0 0 1rem 0;
}

.map-failure-reasons ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.map-failure-reasons li {
    font-family: var(--presale-font);
    font-size: 0.9rem;
    color: var(--presale-text-soft);
    margin-bottom: 0.5rem;
    padding-right: 1rem;
    position: relative;
    line-height: 1.4;
}

.map-failure-reasons li::before {
    content: '•';
    color: #ef4444;
    position: absolute;
    right: 0;
    font-weight: bold;
}

/* ===== ACTION BUTTONS ===== */
.map-result-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: calc(var(--presale-space) * 2);
    flex-wrap: wrap;
}

.map-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: var(--presale-radius);
    font-family: var(--presale-font);
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all var(--presale-speed);
    cursor: pointer;
    border: none;
    min-width: 160px;
}

.map-btn-primary {
    background: linear-gradient(135deg, var(--presale-accent), #cc0025);
    color: white;
    box-shadow: 0 4px 15px rgba(255, 0, 47, 0.3);
}

.map-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 0, 47, 0.4);
    color: white;
    text-decoration: none;
}

.map-btn-secondary {
    background: var(--presale-glass);
    backdrop-filter: blur(15px) saturate(1.1);
    -webkit-backdrop-filter: blur(15px) saturate(1.1);
    border: 1px solid var(--presale-border);
    color: var(--presale-text);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.map-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    color: var(--presale-text);
    text-decoration: none;
}


/* ===== RESULT PAGE RESPONSIVE ===== */
@media (max-width: 1024px) {
    .map-result-container {
        max-width: 95%;
        padding: 0 calc(var(--presale-space) * 0.8);
    }
    
    .map-invoice-grid {
        grid-template-columns: 1fr;
        gap: var(--presale-space);
    }
    
    .map-product-display {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .map-product-icon {
        width: 60px;
        height: 60px;
        font-size: 2.2rem;
    }
    
    .map-result-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .map-btn {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 768px) {
    .map-result-page {
        min-height: calc(100vh - 150px);
        padding: calc(var(--presale-space) * 4) 0;
        margin: calc(var(--presale-space) * 3) 0;
    }
    
    .map-result-container {
        padding: 0 calc(var(--presale-space) * 0.6);
    }
    
    .map-result-header {
        padding: var(--presale-space);
        margin-bottom: var(--presale-space);
    }
    
    .map-result-icon {
        font-size: 3rem;
        margin-bottom: 0.8rem;
    }
    
    .map-invoice {
        padding: var(--presale-space);
        margin-bottom: var(--presale-space);
    }
    
    .map-invoice-header {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .map-invoice-date {
        order: -1;
    }
    
    .map-product-display {
        padding: 1rem;
    }
    
    .map-product-icon {
        width: 50px;
        height: 50px;
        font-size: 2rem;
    }
    
    .map-product-price {
        font-size: 1.1rem;
        padding: 0.5rem 1rem;
    }
    
}

@media (max-width: 480px) {
    .map-result-page {
        min-height: calc(100vh - 120px);
        padding: calc(var(--presale-space) * 3) 0;
        margin: calc(var(--presale-space) * 2) 0;
    }
    
    .map-result-container {
        padding: 0 calc(var(--presale-space) * 0.4);
    }
    
    .map-result-header {
        padding: calc(var(--presale-space) * 0.8);
    }
    
    .map-result-icon {
        font-size: 2.5rem;
        margin-bottom: 0.6rem;
    }
    
    .map-invoice {
        padding: calc(var(--presale-space) * 0.8);
    }
    
    .map-invoice-header h2 {
        font-size: 1.2rem;
    }
    
    .map-invoice-date {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }
    
    .map-product-display {
        padding: 0.8rem;
        gap: 0.8rem;
    }
    
    .map-product-icon {
        width: 45px;
        height: 45px;
        font-size: 1.8rem;
    }
    
    .map-product-details h4 {
        font-size: 1rem;
    }
    
    .map-product-details p {
        font-size: 0.8rem;
    }
    
    .map-product-price {
        font-size: 1rem;
        padding: 0.4rem 0.8rem;
    }
    
    .map-btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
        min-width: 140px;
    }
    
    /* Modal adjustments for mobile */
    .map-modal {
        padding: calc(var(--presale-space) * 0.5);
    }
    
    .map-modal-content {
        max-height: 95vh;
    }
    
    .map-modal-header,
    .map-modal-body,
    .map-modal-footer {
        padding: calc(var(--presale-space) * 1);
    }
    
    .map-qr-code {
        max-width: 150px;
    }
    
    .map-wallet-address {
        flex-direction: column;
        align-items: stretch;
    }
    
    .map-modal-footer {
        flex-direction: column;
    }
    
}

/* ===== CRYPTO MODAL - پاپ‌آپ کریپتو ===== */
.map-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--presale-space);
}

.map-modal-content {
    background: var(--presale-glass-bg);
    backdrop-filter: var(--presale-glass-blur);
    border: var(--presale-glass-border);
    border-radius: var(--presale-radius);
    max-width: 500px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: var(--presale-shadow);
    animation: modalSlideIn 0.3s ease-out;
}

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

.map-modal-header {
    padding: calc(var(--presale-space) * 1.5);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.map-modal-header h3 {
    color: var(--presale-text);
    font-family: var(--presale-font);
    font-size: 1.4rem;
    font-weight: 600;
    margin: 0;
}

.map-modal-close {
    background: none;
    border: none;
    color: var(--presale-text-muted);
    font-size: 1.8rem;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--presale-transition);
}

.map-modal-close:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--presale-text);
}

.map-modal-body {
    padding: calc(var(--presale-space) * 1.5);
}

.map-crypto-info {
    display: flex;
    flex-direction: column;
    gap: calc(var(--presale-space) * 1.5);
}

.map-qr-section {
    text-align: center;
}

.map-qr-code {
    max-width: 200px;
    width: 100%;
    height: auto;
    border-radius: var(--presale-radius);
    border: 2px solid rgba(255, 255, 255, 0.1);
    padding: calc(var(--presale-space) * 0.5);
    background: rgba(255, 255, 255, 0.05);
}

.map-wallet-section label {
    display: block;
    color: var(--presale-text);
    font-family: var(--presale-font);
    font-weight: 500;
    margin-bottom: calc(var(--presale-space) * 0.5);
    font-size: 0.95rem;
}

.map-wallet-address {
    display: flex;
    gap: calc(var(--presale-space) * 0.5);
    align-items: center;
}

.map-wallet-address input {
    flex: 1;
    background: var(--presale-glass-bg);
    border: var(--presale-glass-border);
    border-radius: var(--presale-radius);
    padding: calc(var(--presale-space) * 0.8);
    color: var(--presale-text);
    font-family: var(--presale-font-mono, monospace);
    font-size: 0.85rem;
    outline: none;
    transition: var(--presale-transition);
}

.map-wallet-address input:focus {
    border-color: var(--presale-primary);
    box-shadow: 0 0 0 2px rgba(var(--presale-primary-rgb), 0.2);
}

.map-copy-btn {
    background: var(--presale-primary);
    color: white;
    border: none;
    border-radius: var(--presale-radius);
    padding: calc(var(--presale-space) * 0.8) calc(var(--presale-space) * 1.2);
    font-family: var(--presale-font);
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--presale-transition);
    white-space: nowrap;
}

.map-copy-btn:hover {
    background: var(--presale-primary-hover);
    transform: translateY(-1px);
}

.map-copy-btn:active {
    transform: translateY(0);
}

.map-crypto-description {
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--presale-radius);
    padding: calc(var(--presale-space) * 1.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.map-crypto-description p {
    color: var(--presale-text-muted);
    font-family: var(--presale-font);
    line-height: 1.6;
    margin: 0;
    font-size: 0.9rem;
}

.map-crypto-amount {
    text-align: center;
    background: var(--presale-glass-bg);
    border-radius: var(--presale-radius);
    padding: calc(var(--presale-space) * 1.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.map-crypto-amount p {
    color: var(--presale-text);
    font-family: var(--presale-font);
    font-size: 1.1rem;
    margin: 0;
}

.map-support-section {
    text-align: center;
}

.map-support-link {
    display: inline-flex;
    align-items: center;
    gap: calc(var(--presale-space) * 0.5);
    background: var(--presale-accent);
    color: white;
    text-decoration: none;
    padding: calc(var(--presale-space) * 0.8) calc(var(--presale-space) * 1.5);
    border-radius: var(--presale-radius);
    font-family: var(--presale-font);
    font-weight: 500;
    font-size: 0.9rem;
    transition: var(--presale-transition);
}

.map-support-link:hover {
    background: var(--presale-accent-hover);
    transform: translateY(-1px);
    text-decoration: none;
    color: white;
}

.map-modal-footer {
    padding: calc(var(--presale-space) * 1.5);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    gap: calc(var(--presale-space) * 1);
    justify-content: flex-end;
}

.map-btn {
    background: var(--presale-primary);
    color: white;
    border: none;
    border-radius: var(--presale-radius);
    padding: calc(var(--presale-space) * 0.8) calc(var(--presale-space) * 1.5);
    font-family: var(--presale-font);
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--presale-transition);
    min-width: 100px;
}

.map-btn:hover {
    background: var(--presale-primary-hover);
    transform: translateY(-1px);
}

.map-btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: var(--presale-text);
}

.map-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Notification Styles */
.map-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 999999;
    padding: 15px 20px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    display: none;
    font-family: var(--presale-font);
    font-size: 14px;
    max-width: 400px;
    word-wrap: break-word;
}

.map-notification-success {
    background: linear-gradient(135deg, #4caf50, #45a049);
    color: white;
    border-left: 4px solid #2e7d32;
}

.map-notification-error {
    background: linear-gradient(135deg, #f44336, #d32f2f);
    color: white;
    border-left: 4px solid #c62828;
}

.map-notification-icon {
    font-size: 16px;
    margin-left: 8px;
}

/* Loading Styles */
.map-loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 999998;
    display: none;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    color: white;
    font-family: var(--presale-font);
}

.map-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-top: 4px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 15px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Mobile notification adjustments */
@media (max-width: 768px) {
    .map-notification {
        top: 10px;
        right: 10px;
        left: 10px;
        max-width: none;
        font-size: 13px;
    }
}
