:root {
    --primary: #4361ee;
    --secondary: #3a0ca3;
    --success: #4cc9f0;
    --danger: #f72585;
    --warning: #fca311;
    --light: #f8f9fa;
    --dark: #212529;
    --dana: #0fb56d;
    --ovo: #4c2b87;
    --gopay: #00aae7;
    --shopeepay: #e52c32;
    --gray: #6c757d;
    --border-radius: 16px;
    --box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: var(--dark);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    line-height: 1.6;
}

.container {
    width: 100%;
    max-width: 900px;
    background: white;
    border-radius: 20px;
    box-shadow: var(--box-shadow);
    overflow: hidden;
    animation: fadeIn 0.8s ease;
}

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

.header {
    background: var(--primary);
    color: white;
    padding: 25px 30px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.header::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    transform: rotate(30deg);
}

.header-content {
    position: relative;
    z-index: 1;
}

.header h1 {
    font-size: 32px;
    margin-bottom: 10px;
    font-weight: 700;
}

.header p {
    font-size: 16px;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

.logo {
    font-weight: 700;
    color: white;
    font-size: 24px;
    letter-spacing: 1px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.logo-icon {
    background: white;
    color: var(--primary);
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.payment-container {
    padding: 30px;
}

.section-title {
    font-size: 22px;
    color: var(--primary);
    margin-bottom: 25px;
    text-align: center;
    font-weight: 600;
}

.payment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.payment-option {
    background: white;
    border: 2px solid #eaeaea;
    border-radius: var(--border-radius);
    padding: 20px;
    transition: var(--transition);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.payment-option::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.payment-option:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
    box-shadow: 0 15px 25px rgba(0, 0, 0, 0.1);
}

.payment-option:hover::before {
    transform: scaleX(1);
}

.payment-option.selected {
    border-color: var(--primary);
    background: rgba(67, 97, 238, 0.05);
    transform: scale(1.02);
    box-shadow: 0 10px 20px rgba(67, 97, 238, 0.15);
}

.payment-option.selected::before {
    transform: scaleX(1);
}

.payment-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.payment-icon {
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 12px;
    margin-right: 15px;
    font-size: 24px;
    color: white;
    transition: var(--transition);
}

.payment-option.selected .payment-icon {
    transform: scale(1.1);
}

.dana { background: var(--dana); }
.ovo { background: var(--ovo); }
.gopay { background: var(--gopay); }
.shopeepay { background: var(--shopeepay); }

.payment-header h3 {
    font-size: 18px;
    color: var(--dark);
    font-weight: 600;
}

.account-details {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease;
}

.payment-option.selected .account-details {
    max-height: 200px;
}

.account-number {
    background: var(--light);
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    animation: fadeIn 0.5s ease;
}

.number {
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 1px;
    font-family: monospace;
}

.copy-btn {
    background: var(--primary);
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 6px;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 14px;
}

.copy-btn:hover {
    background: var(--secondary);
    transform: scale(1.05);
}

.payment-info {
    color: var(--gray);
    font-size: 14px;
    margin-top: 10px;
    animation: fadeIn 0.5s ease;
}

.instructions {
    background: var(--light);
    padding: 25px;
    border-radius: var(--border-radius);
}

.instructions h2 {
    color: var(--primary);
    margin-bottom: 15px;
    font-size: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.instructions ol {
    padding-left: 20px;
}

.instructions li {
    margin-bottom: 10px;
    line-height: 1.8;
}

.footer {
    text-align: center;
    padding: 20px;
    background: var(--light);
    color: var(--gray);
    font-size: 14px;
}

.notification {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: var(--success);
    color: white;
    padding: 15px 25px;
    border-radius: 8px;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    opacity: 0;
    transform: translateY(20px);
    z-index: 1000;
    display: flex;
    align-items: center;
    gap: 10px;
}

.notification.show {
    opacity: 1;
    transform: translateY(0);
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.pulse {
    animation: pulse 0.5s ease;
}

@media (max-width: 768px) {
    .payment-grid {
        grid-template-columns: 1fr;
    }
    
    .header h1 {
        font-size: 28px;
    }
}