/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    overflow-x: hidden;
    color: #fff;
    position: relative;
    min-height: 100vh;
    background: linear-gradient(to bottom, #0f0c29, #302b63, #24243e);
}

/* Night Sky Animation */
.night-sky {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.stars {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><circle cx="20" cy="20" r="0.5" fill="white"/><circle cx="50" cy="30" r="0.8" fill="white"/><circle cx="80" cy="20" r="0.3" fill="white"/><circle cx="10" cy="50" r="0.6" fill="white"/><circle cx="40" cy="60" r="0.4" fill="white"/><circle cx="70" cy="70" r="0.5" fill="white"/><circle cx="90" cy="90" r="0.7" fill="white"/><circle cx="30" cy="80" r="0.3" fill="white"/><circle cx="60" cy="40" r="0.5" fill="white"/></svg>');
    animation: twinkle 5s infinite ease-in-out;
}

@keyframes twinkle {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

.meteor {
    position: absolute;
    top: 0;
    left: 0;
    width: 300px;
    height: 1px;
    background: linear-gradient(to right, rgba(255,255,255,0), rgba(255,255,255,0.8));
    transform: rotate(-45deg);
    transform-origin: left;
    animation: meteor 5s linear infinite;
    opacity: 0;
}

@keyframes meteor {
    0% { 
        transform: translateX(0) translateY(0) rotate(-45deg);
        opacity: 1;
    }
    70% {
        opacity: 1;
    }
    100% { 
        transform: translateX(1000px) translateY(500px) rotate(-45deg);
        opacity: 0;
    }
}

/* Main Content */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    position: relative;
    z-index: 1;
}

header {
    text-align: center;
    margin-bottom: 3rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    background: linear-gradient(to right, #ffffff, #a5b4fc);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.subtitle {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Payment Options */
.payment-options {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.payment-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 1.5rem;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.payment-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    background: rgba(255, 255, 255, 0.15);
}

.payment-header {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.payment-icon {
    width: 50px;
    height: 50px;
    margin-right: 1rem;
    object-fit: contain;
}

.payment-title {
    font-size: 1.3rem;
    font-weight: 600;
}

.payment-description {
    margin-bottom: 1.5rem;
    opacity: 0.8;
    font-size: 0.95rem;
}

.account-info {
    background: rgba(255, 255, 255, 0.1);
    padding: 1rem;
    border-radius: 10px;
    margin-bottom: 1rem;
    position: relative;
    cursor: pointer;
    transition: background 0.2s ease;
}

.account-info:hover {
    background: rgba(255, 255, 255, 0.15);
}

.account-number {
    font-size: 1.1rem;
    font-weight: 500;
    word-break: break-all;
}

.button-group {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.payment-button {
    display: inline-block;
    padding: 0.7rem 1.5rem;
    background: linear-gradient(45deg, #6366f1, #8b5cf6);
    color: white;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    text-decoration: none;
    text-align: center;
    flex: 1;
}

.payment-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(99, 102, 241, 0.4);
}

.whatsapp-button {
    background: linear-gradient(45deg, #25D366, #128C7E);
}

.whatsapp-button:hover {
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.4);
}

.copy-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: rgba(0, 200, 100, 0.9);
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 5px;
    z-index: 1000;
    display: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    animation: fadeInOut 2s ease-in-out;
}

@keyframes fadeInOut {
    0%, 100% { opacity: 0; transform: translateY(-20px); }
    10%, 90% { opacity: 1; transform: translateY(0); }
}

/* QRIS Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 100;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
}

.modal-content {
    background: linear-gradient(135deg, #1e1b4b, #312e81);
    padding: 2rem;
    border-radius: 20px;
    max-width: 500px;
    width: 90%;
    text-align: center;
    position: relative;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 1.5rem;
    cursor: pointer;
    color: rgba(255, 255, 255, 0.6);
    transition: color 0.2s ease;
}

.close-modal:hover {
    color: white;
}

.qris-image {
    width: 250px;
    height: 250px;
    margin: 1rem auto;
    background-color: white;
    padding: 1rem;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.qris-image img {
    max-width: 100%;
    max-height: 100%;
}

.instructions {
    margin-top: 1.5rem;
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Footer */
footer {
    text-align: center;
    margin-top: 4rem;
    padding: 2rem 0;
    font-size: 0.9rem;
    opacity: 0.7;
}

/* Responsive Design */
@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }
    
    .payment-options {
        grid-template-columns: 1fr;
    }
    
    .payment-card {
        padding: 1.2rem;
    }
    
    .button-group {
        flex-direction: column;
    }
}