
/* CryptoPay Elite Styles - Optimized */
.crypto-pay-elite-container {
    position: relative;
    z-index: 2;
    min-height: 100vh;
    background: #000000;
    direction: rtl;
    font-family: 'Vazirmatn', sans-serif;
    padding: 20px;
}

.cpe-glassmorphism {
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
    border-radius: 20px;
    padding: 20px;
    margin-bottom: 20px;
}

.cpe-glassmorphism-strong {
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.7);
    border-radius: 20px;
    padding: 25px;
    margin-bottom: 25px;
}

.cpe-crypto-card {
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    background: linear-gradient(145deg, rgba(15, 15, 40, 0.3), rgba(25, 25, 60, 0.2));
    border-radius: 24px;
    padding: 32px;
    text-align: center;
    margin-bottom: 20px;
}

.cpe-crypto-card:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: 0 30px 80px rgba(59, 130, 246, 0.2), 0 0 50px rgba(59, 130, 246, 0.1);
}

.cpe-crypto-card.selected {
    background: linear-gradient(145deg, rgba(59, 130, 246, 0.15), rgba(147, 51, 234, 0.1));
    border: 2px solid #3b82f6;
    box-shadow: 0 0 60px rgba(59, 130, 246, 0.4), inset 0 0 30px rgba(59, 130, 246, 0.1);
    transform: translateY(-8px) scale(1.05);
}

.cpe-crypto-icon {
    transition: all 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    position: relative;
    width: 80px;
    height: 80px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    background: rgba(59, 130, 246, 0.1);
}

.cpe-crypto-card:hover .cpe-crypto-icon {
    transform: rotate(360deg) scale(1.15);
}

.cpe-header {
    text-align: center;
    margin-bottom: 40px;
}

.cpe-title {
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 16px;
    color: white;
    font-family: 'Orbitron', monospace;
}

.cpe-subtitle {
    font-size: 1.25rem;
    color: #d1d5db;
    margin-bottom: 16px;
    font-weight: 500;
}

.cpe-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.cpe-wallet-display {
    background: linear-gradient(145deg, rgba(15, 15, 40, 0.3), rgba(25, 25, 60, 0.2));
    border-radius: 20px;
    padding: 20px;
    margin-top: 20px;
    border: 1px solid rgba(59, 130, 246, 0.3);
}

.cpe-wallet-address {
    font-family: 'JetBrains Mono', monospace;
    background: rgba(0, 0, 0, 0.4);
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 15px;
    word-break: break-all;
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.cpe-copy-btn {
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 10px;
    cursor: pointer;
    font-weight: bold;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.cpe-copy-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(59, 130, 246, 0.4);
}

.cpe-telegram-btn {
    background: linear-gradient(135deg, #0088cc, #229ed9, #54a3d8);
    color: white;
    text-decoration: none;
    padding: 15px 25px;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: bold;
    margin-top: 20px;
    transition: all 0.3s ease;
}

.cpe-telegram-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(0, 136, 204, 0.4);
}

.cpe-status {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
}

.cpe-status-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.cpe-status-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.cpe-status-dot.online {
    background: #10b981;
}

.cpe-status-dot.secure {
    background: #3b82f6;
}

.cpe-status-dot.fast {
    background: #8b5cf6;
}

.cpe-status-text {
    color: #d1d5db;
    font-size: 0.9rem;
}

.cpe-matrix-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    opacity: 0.03;
    z-index: 1;
}

.cpe-particle {
    position: absolute;
    width: 2px;
    height: 2px;
    background: #3b82f6;
    border-radius: 50%;
    animation: cpe-particle-anim 10s linear infinite;
}

@keyframes cpe-particle-anim {
    0% { transform: translateY(100vh) scale(0); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { transform: translateY(-100vh) scale(1); opacity: 0; }
}

/* Admin Panel Styles */
.admin-panel {
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 1000;
}

.admin-toggle {
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
}

.admin-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 1001;
    backdrop-filter: blur(10px);
}

.admin-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #1a1a2e;
    padding: 30px;
    border-radius: 20px;
    width: 90%;
    max-width: 600px;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 0 50px rgba(59, 130, 246, 0.5);
    border: 1px solid rgba(59, 130, 246, 0.3);
}

.close-admin {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #ef4444;
    color: white;
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    font-weight: bold;
}

.admin-form {
    display: grid;
    gap: 20px;
}

.admin-input-group {
    display: grid;
    gap: 8px;
}

.admin-label {
    color: #3b82f6;
    font-weight: bold;
}

.admin-input {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(59, 130, 246, 0.3);
    padding: 12px 15px;
    border-radius: 10px;
    color: white;
    font-family: 'Vazirmatn', sans-serif;
}

.admin-button {
    background: linear-gradient(135deg, #10b981, #3b82f6);
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 10px;
    cursor: pointer;
    font-weight: bold;
    margin-top: 10px;
}

.hidden {
    display: none !important;
}

/* Responsive Design */
@media (max-width: 768px) {
    .cpe-grid {
        grid-template-columns: 1fr;
    }
    
    .cpe-title {
        font-size: 2rem;
    }
    
    .cpe-subtitle {
        font-size: 1.1rem;
    }
    
    .cpe-status {
        flex-direction: column;
        gap: 10px;
    }
}
