:root {
    --dark-purple: #1a052b;
    --purple: #6a0dad;
    --light-purple: #9b59b6;
    --accent: #c39bd3;
    --text-primary: #f5e6ff;
    --text-secondary: #d8bfd8;
}

body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, #0a0615, #1e0d38);
    color: var(--text-primary);
    min-height: 100vh;
    margin: 0;
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.back-button {
    position: absolute;
    top: 20px;
    left: 20px;
    color: var(--accent);
    text-decoration: none;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 5px;
    z-index: 10;
}

.back-button i {
    font-size: 16px;
}

.order-container {
    max-width: 500px;
    width: 100%;
    margin: 40px 20px;
    padding: 30px;
    background: rgba(42, 15, 73, 0.7);
    border-radius: 15px;
    border: 1px solid rgba(154, 89, 182, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    position: relative;
}

.logo {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    color: var(--accent);
}

.logo .icon {
    margin-right: 10px;
    font-size: 1.8rem;
}

h2 {
    color: var(--accent);
    text-align: center;
    margin-bottom: 25px;
    font-size: 1.5rem;
}

h2 i {
    margin-right: 10px;
}

h3 {
    color: var(--accent);
    margin-bottom: 15px;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.form-group {
    margin-bottom: 25px;
}

label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-secondary);
    font-weight: 500;
}

label i {
    margin-right: 8px;
    width: 20px;
}

input[type="text"],
input[type="number"] {
    width: 100%;
    padding: 12px 15px;
    border-radius: 8px;
    border: 1px solid rgba(154, 89, 182, 0.3);
    background: rgba(26, 5, 43, 0.5);
    color: var(--text-primary);
    font-size: 16px;
    transition: all 0.3s ease;
}

input[type="text"]:focus,
input[type="number"]:focus {
    outline: none;
    border-color: var(--light-purple);
    box-shadow: 0 0 0 2px rgba(154, 89, 182, 0.2);
}

.radio-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.radio-option {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    border-radius: 8px;
    background: rgba(26, 5, 43, 0.5);
    border: 1px solid rgba(154, 89, 182, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.radio-option:hover {
    background: rgba(42, 15, 73, 0.5);
}

.radio-option input[type="radio"] {
    position: absolute;
    opacity: 0;
}

.custom-radio {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 2px solid var(--light-purple);
    margin-right: 10px;
    position: relative;
    transition: all 0.3s ease;
}

.radio-option input[type="radio"]:checked + .custom-radio {
    background-color: var(--light-purple);
    box-shadow: 0 0 0 3px rgba(154, 89, 182, 0.3);
}

.label-text {
    flex: 1;
}

.payment-options {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 15px;
}

.payment-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 15px 10px;
    border-radius: 8px;
    background: rgba(26, 5, 43, 0.5);
    border: 1px solid rgba(154, 89, 182, 0.2);
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    border: none;
}

.payment-btn:hover {
    background: rgba(42, 15, 73, 0.5);
    transform: translateY(-2px);
}

.payment-btn.active {
    background: rgba(42, 15, 73, 0.7);
    border: 1px solid var(--light-purple);
    box-shadow: 0 0 10px rgba(154, 89, 182, 0.3);
}

.payment-btn i {
    font-size: 24px;
    margin-bottom: 8px;
}

.payment-btn[data-method="BTC"] i {
    color: #f7931a;
}

.payment-btn[data-method="LTC"] i {
    color: #b8b8b8;
}

.payment-btn[data-method="SOL"] i {
    color: #00ffbd;
}

.payment-btn .price {
    font-size: 12px;
    margin-top: 5px;
    color: var(--text-secondary);
}

.live-prices {
    display: flex;
    justify-content: space-between;
    background: rgba(26, 5, 43, 0.5);
    border-radius: 8px;
    padding: 12px 15px;
    border: 1px solid rgba(154, 89, 182, 0.2);
}

.price-ticker {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 14px;
}

.price-ticker i {
    font-size: 16px;
}

.price-ticker[data-crypto="BTC"] i {
    color: #f7931a;
}

.price-ticker[data-crypto="LTC"] i {
    color: #b8b8b8;
}

.price-ticker[data-crypto="SOL"] i {
    color: #00ffbd;
}

.crypto-name {
    font-weight: 500;
}

.price-value {
    font-weight: 600;
}

.order-summary {
    background: rgba(26, 5, 43, 0.5);
    border-radius: 8px;
    padding: 15px;
    margin: 20px 0;
    border: 1px solid rgba(154, 89, 182, 0.2);
}

.summary-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 14px;
}

.summary-item.total {
    margin-top: 12px;
    padding-top: 8px;
    border-top: 1px dashed rgba(154, 89, 182, 0.3);
    font-weight: 600;
    font-size: 16px;
}

.submit-btn {
    width: 100%;
    padding: 15px;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--purple), var(--light-purple));
    color: white;
    border: none;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(154, 89, 182, 0.3);
}

.submit-btn:disabled {
    background: #555;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Responsive */
@media (max-width: 600px) {
    .payment-options {
        grid-template-columns: 1fr;
    }
    
    .live-prices {
        flex-direction: column;
        gap: 8px;
    }
    
    .order-container {
        margin-top: 60px;
        padding: 20px;
    }
    
    .back-button {
        top: 15px;
        left: 15px;
    }
}

@media (max-width: 400px) {
    .logo {
        font-size: 1.3rem;
    }
    
    h2 {
        font-size: 1.3rem;
    }
    
    .payment-btn {
        padding: 12px 8px;
    }
    
    .payment-btn i {
        font-size: 20px;
    }
}