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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #0a0a0a;
    color: #ffffff;
    min-height: 100vh;
    padding: 20px;
}

.container {
    max-width: 400px;
    margin: 0 auto;
}

.header {
    text-align: center;
    padding: 30px 0;
}

.logo {
    font-size: 32px;
    font-weight: 700;
    letter-spacing: 4px;
    margin-bottom: 8px;
}

.greeting {
    color: #888;
    font-size: 14px;
}

.buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 30px;
}

.btn {
    background: #1a1a1a;
    border: none;
    border-radius: 12px;
    padding: 20px;
    color: #fff;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 12px;
}

.btn:active {
    background: #252525;
}

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

.btn-pay {
    background: linear-gradient(135deg, #6366f1, #4f46e5);
}

/* Модалка */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #0a0a0a;
    padding: 20px;
    overflow-y: auto;
}

.modal.active {
    display: block;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.modal-title {
    font-size: 20px;
    font-weight: 600;
}

.modal-close {
    background: #1a1a1a;
    border: none;
    color: #fff;
    font-size: 24px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
}

.order-item {
    display: flex;
    justify-content: space-between;
    padding: 15px 0;
    border-bottom: 1px solid #1a1a1a;
}

.item-name {
    flex: 1;
    margin-right: 10px;
}

.item-price {
    color: #6366f1;
    font-weight: 600;
}

.order-total {
    display: flex;
    justify-content: space-between;
    padding: 20px 0;
    font-size: 20px;
    font-weight: 700;
}

.total-sum {
    color: #22c55e;
}

.btn-pay-now {
    width: 100%;
    background: linear-gradient(135deg, #22c55e, #16a34a);
    border: none;
    border-radius: 12px;
    padding: 18px;
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 20px;
}

.btn-pay-now:disabled {
    background: #333;
    cursor: not-allowed;
}

.loading {
    text-align: center;
    padding: 40px;
    color: #888;
}

.error {
    text-align: center;
    padding: 40px;
    color: #ef4444;
}

.success {
    text-align: center;
    padding: 40px;
    color: #22c55e;
}