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

:root {
    --neon-green: #00ff88;
    --neon-green-dim: #00cc6a;
    --dark-bg: #0a0a0a;
    --card-bg: rgba(20, 20, 20, 0.8);
    --text-primary: #ffffff;
    --text-secondary: #a0a0a0;
    --border-color: rgba(0, 255, 136, 0.2);
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: var(--dark-bg);
    color: var(--text-primary);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    background-image: 
        radial-gradient(ellipse at top, rgba(0, 255, 136, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse at bottom, rgba(0, 255, 136, 0.05) 0%, transparent 50%);
}

.container {
    max-width: 500px;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.glass-card {
    background: var(--card-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 32px;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(0, 255, 136, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.glass-card:hover {
    transform: translateY(-2px);
    box-shadow: 
        0 12px 40px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(0, 255, 136, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

/* Product Card */
.product-card {
    text-align: center;
}

.product-icon {
    font-size: 64px;
    margin-bottom: 16px;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.product-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 8px;
    background: linear-gradient(135deg, var(--neon-green), #00ffaa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.product-description {
    color: var(--text-secondary);
    font-size: 16px;
    margin-bottom: 20px;
}

.product-price {
    font-size: 48px;
    font-weight: 800;
    color: var(--neon-green);
    margin-bottom: 24px;
    text-shadow: 0 0 20px rgba(0, 255, 136, 0.5);
}

.product-features {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
}

.feature {
    color: var(--text-secondary);
    font-size: 14px;
    padding: 8px 16px;
    background: rgba(0, 255, 136, 0.1);
    border-radius: 20px;
    border: 1px solid rgba(0, 255, 136, 0.2);
}

.whats-included {
    margin-top: 24px;
    text-align: left;
}

.whats-included h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--neon-green);
}

.whats-included ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.whats-included li {
    color: var(--text-secondary);
    font-size: 14px;
    padding: 10px 14px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    border-left: 3px solid var(--neon-green);
    transition: all 0.3s ease;
}

.whats-included li:hover {
    background: rgba(0, 255, 136, 0.1);
    transform: translateX(4px);
}

/* Checkout Card */
.checkout-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 24px;
    color: var(--neon-green);
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-secondary);
}

.form-group input[type="email"],
.form-group input[type="text"] {
    width: 100%;
    padding: 14px 16px;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    color: var(--text-primary);
    font-size: 16px;
    transition: all 0.3s ease;
}

.form-group input[type="email"]:focus,
.form-group input[type="text"]:focus {
    outline: none;
    border-color: var(--neon-green);
    box-shadow: 0 0 0 3px rgba(0, 255, 136, 0.1);
}

.form-group input[type="email"]::placeholder,
.form-group input[type="text"]::placeholder {
    color: var(--text-secondary);
}

/* Crypto Options */
.crypto-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
    gap: 12px;
}

.crypto-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 16px 12px;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.crypto-option:hover {
    border-color: var(--neon-green);
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0, 255, 136, 0.2);
}

.crypto-option.selected {
    background: rgba(0, 255, 136, 0.15);
    border-color: var(--neon-green);
    box-shadow: 0 0 20px rgba(0, 255, 136, 0.3);
}

.crypto-icon {
    font-size: 28px;
    margin-bottom: 8px;
}

.crypto-name {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-secondary);
}

.crypto-option.selected .crypto-name {
    color: var(--neon-green);
}

/* Payment Info */
.payment-info {
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.price-breakdown {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
}

.price-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    font-size: 14px;
    color: var(--text-secondary);
}

.price-row.total {
    border-top: 1px solid var(--border-color);
    margin-top: 8px;
    padding-top: 16px;
    font-size: 18px;
    font-weight: 700;
    color: var(--neon-green);
}

.wallet-address {
    margin-bottom: 20px;
}

.wallet-address label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-secondary);
}

.tx-id-section {
    margin-bottom: 20px;
}

.tx-id-section label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-secondary);
}

.tx-id-section input {
    width: 100%;
    padding: 14px 16px;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    color: var(--text-primary);
    font-size: 14px;
    font-family: 'Courier New', monospace;
    transition: all 0.3s ease;
}

.tx-id-section input:focus {
    outline: none;
    border-color: var(--neon-green);
    box-shadow: 0 0 0 3px rgba(0, 255, 136, 0.1);
}

.tx-id-section input::placeholder {
    color: var(--text-secondary);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.tx-hint {
    font-size: 12px;
    color: var(--text-secondary);
    margin-top: 8px;
    opacity: 0.7;
}

.qr-code-section {
    margin-bottom: 20px;
    text-align: center;
}

.qr-code-section label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-secondary);
}

.qr-code-container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 16px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.qr-code-container img {
    max-width: 200px;
    height: auto;
    border-radius: 8px;
}

.address-container {
    display: flex;
    gap: 8px;
}

.address-container input {
    flex: 1;
    padding: 14px 16px;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    color: var(--text-primary);
    font-size: 14px;
    font-family: 'Courier New', monospace;
}

.copy-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 14px 20px;
    background: rgba(0, 255, 136, 0.1);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    color: var(--neon-green);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.copy-btn:hover {
    background: rgba(0, 255, 136, 0.2);
    border-color: var(--neon-green);
    transform: translateY(-2px);
}

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

.copy-btn.copied {
    background: var(--neon-green);
    color: var(--dark-bg);
}

.paid-btn {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, var(--neon-green), var(--neon-green-dim));
    border: none;
    border-radius: 12px;
    color: var(--dark-bg);
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 255, 136, 0.3);
}

.paid-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(0, 255, 136, 0.4);
}

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

/* Verification Page */
.verification-page {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--dark-bg);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.verification-card {
    text-align: center;
    max-width: 400px;
}

.spinner {
    width: 60px;
    height: 60px;
    margin: 0 auto 32px;
    border: 3px solid rgba(0, 255, 136, 0.1);
    border-top-color: var(--neon-green);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

.verification-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--neon-green);
}

.verification-text {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.verification-subtext {
    font-size: 14px;
    color: var(--text-secondary);
    opacity: 0.7;
}

/* Responsive Design */
@media (max-width: 600px) {
    body {
        padding: 16px;
    }

    .glass-card {
        padding: 24px;
    }

    .product-title {
        font-size: 24px;
    }

    .product-price {
        font-size: 40px;
    }

    .crypto-options {
        grid-template-columns: repeat(3, 1fr);
    }

    .crypto-option {
        padding: 12px 8px;
    }

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

    .crypto-name {
        font-size: 11px;
    }

    .address-container {
        flex-direction: column;
    }

    .copy-btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 400px) {
    .crypto-options {
        grid-template-columns: repeat(2, 1fr);
    }
}
