* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Lucida Calligraphy', sans-serif;
    background: url('https://images.pexels.com/photos/2253870/pexels-photo-2253870.jpeg?auto=compress&cs=tinysrgb&w=1260&h=750&dpr=2') no-repeat center center fixed;
    background-size: cover;
    min-height: 100vh;
    margin: 0;
    padding: 0;
    position: relative;
}

body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.container {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    text-align: center;
}

header {
    margin: 50px 0;
}

header h1, header h2 {
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

h1 {
    font-size: 3.5em;
    color: #f4f1f1;
    margin-bottom: 10px;
}

h2 {
    font-size: 3em;
    color: #fcf7f7;
}

.countdown {
    background: rgba(255, 255, 255, 0.75);
    padding: 25px;
    position: relative;
    margin: 15px 0;
    border-radius: 8px;
    border: 1px solid transparent;
    background-clip: padding-box;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.countdown::before {
    content: '';
    position: absolute;
    top: -1px;
    left: -1px;
    right: -1px;
    bottom: -1px;
    background: linear-gradient(
        45deg,
        rgba(255, 215, 0, 0.5) 0%,
        rgba(255, 165, 0, 0.5) 25%,
        rgba(255, 192, 203, 0.5) 50%,
        rgba(255, 165, 0, 0.5) 75%,
        rgba(255, 215, 0, 0.5) 100%
    );
    z-index: -1;
    border-radius: 8px;
    background-size: 200% 200%;
    animation: gradientBorder 3s ease infinite;
}

.countdown::after {
    content: '';
    position: absolute;
    inset: -2px;
    background: linear-gradient(45deg, 
        transparent 40%,
        rgba(255, 255, 255, 0.5) 45%,
        transparent 50%
    );
    border-radius: 8px;
    animation: shine 3s infinite;
    z-index: -1;
}

.countdown h3 {
    font-size: 1.8em;
    color: #010000;
    margin-bottom: 30px;
    font-family: 'Lucida Calligraphy', serif;
}

#timer {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin-top: 20px;
}

#timer div {
    background: #fff;
    padding: 20px 15px;
    border-radius: 10px;
    min-width: 100px;
    border: 1px solid rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

#timer div:hover {
    transform: translateY(-5px);
}

#timer span {
    font-size: 2.5em;
    font-weight: 600;
    color: #ff6b6b;
    display: block;
}

#timer p {
    font-size: 1em;
    color: #666;
    margin-top: 5px;
}

.details {
    background: rgba(255, 255, 255, 0.75);
    padding: 25px;
    position: relative;
    border-radius: 8px;
    border: 1px solid transparent;
    background-clip: padding-box;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.details::before {
    content: '';
    position: absolute;
    top: -1px;
    left: -1px;
    right: -1px;
    bottom: -1px;
    background: linear-gradient(
        45deg,
        rgba(255, 215, 0, 0.5) 0%,
        rgba(255, 165, 0, 0.5) 25%,
        rgba(255, 192, 203, 0.5) 50%,
        rgba(255, 165, 0, 0.5) 75%,
        rgba(255, 215, 0, 0.5) 100%
    );
    z-index: -1;
    border-radius: 8px;
    background-size: 200% 200%;
    animation: gradientBorder 3s ease infinite;
}

.details::after {
    content: '';
    position: absolute;
    inset: -2px;
    background: linear-gradient(45deg, 
        transparent 40%,
        rgba(255, 255, 255, 0.5) 45%,
        transparent 50%
    );
    border-radius: 8px;
    animation: shine 3s infinite;
    z-index: -1;
}

.details h3 {
    font-size: 1.8em;
    color: #333;
    margin-bottom: 30px;
    font-family: 'Lucida Calligraphy', serif;
}

.details-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 10px;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.detail-item:hover {
    transform: translateX(10px);
}

.detail-item i {
    font-size: 1.5em;
    color: #d4af37; /* Warna emas */
    width: 40px;
    text-align: center;
}

.detail-item .detail-text {
    flex: 1;
    text-align: left;
}

.detail-item h4 {
    font-size: 1.1em;
    color: #333;
    margin-bottom: 5px;
    font-weight: 600;
}

.detail-item p {
    font-size: 1em;
    color: #666;
    margin: 0;
    line-height: 1.4;
}

@keyframes borderAnimate {
    0% {
        opacity: 0.6;
    }
    50% {
        opacity: 0.3;
    }
    100% {
        opacity: 0.6;
    }
}

@keyframes gradientBorder {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

@keyframes shine {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

/* Tambahkan corner decorations */
.countdown .corner {
    position: absolute;
    width: 10px;
    height: 10px;
    border: 2px solid rgba(255, 215, 0, 0.5);
}

.countdown .corner-top-left {
    top: 5px;
    left: 5px;
    border-right: 0;
    border-bottom: 0;
}

.countdown .corner-top-right {
    top: 5px;
    right: 5px;
    border-left: 0;
    border-bottom: 0;
}

.countdown .corner-bottom-left {
    bottom: 5px;
    left: 5px;
    border-right: 0;
    border-top: 0;
}

.countdown .corner-bottom-right {
    bottom: 5px;
    right: 5px;
    border-left: 0;
    border-top: 0;
}

/* Corner decorations untuk details */
.details .corner {
    position: absolute;
    width: 10px;
    height: 10px;
    border: 2px solid rgba(255, 215, 0, 0.5);
}

.details .corner-top-left {
    top: 5px;
    left: 5px;
    border-right: 0;
    border-bottom: 0;
}

.details .corner-top-right {
    top: 5px;
    right: 5px;
    border-left: 0;
    border-bottom: 0;
}

.details .corner-bottom-left {
    bottom: 5px;
    left: 5px;
    border-right: 0;
    border-top: 0;
}

.details .corner-bottom-right {
    bottom: 5px;
    right: 5px;
    border-left: 0;
    border-top: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    #timer {
        flex-wrap: wrap;
        gap: 15px;
    }
    
    #timer div {
        min-width: calc(50% - 15px);
    }
    
    .details-content {
        grid-template-columns: 1fr;
    }
    
    .countdown, .details {
        padding: 20px;
    }
}

.digital-envelope {
    background: rgba(255, 255, 255, 0.75); /* Lebih transparan */
    padding: 25px;
    position: relative;
    margin: 20px 0;
    border-radius: 8px;
    border: 1px solid transparent;
    background-clip: padding-box;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08); /* Shadow lebih transparan */
}

.digital-envelope::before {
    content: '';
    position: absolute;
    top: -1px;
    left: -1px;
    right: -1px;
    bottom: -1px;
    background: linear-gradient(
        45deg,
        rgba(255, 215, 0, 0.5) 0%, /* Lebih transparan */
        rgba(255, 165, 0, 0.5) 25%,
        rgba(255, 192, 203, 0.5) 50%,
        rgba(255, 165, 0, 0.5) 75%,
        rgba(255, 215, 0, 0.5) 100%
    );
    z-index: -1;
    border-radius: 8px;
    background-size: 200% 200%;
    animation: gradientBorder 3s ease infinite;
}

.digital-envelope::after {
    content: '';
    position: absolute;
    inset: -2px;
    background: linear-gradient(45deg, 
        transparent 40%,
        rgba(255, 255, 255, 0.5) 45%, /* Lebih transparan */
        transparent 50%
    );
    border-radius: 8px;
    animation: shine 3s infinite;
    z-index: -1;
}

/* Corner decorations untuk amplop digital */
.digital-envelope .corner {
    position: absolute;
    width: 10px;
    height: 10px;
    border: 2px solid rgba(255, 215, 0, 0.5); /* Lebih transparan */
}

.digital-envelope .corner-top-left {
    top: 5px;
    left: 5px;
    border-right: 0;
    border-bottom: 0;
}

.digital-envelope .corner-top-right {
    top: 5px;
    right: 5px;
    border-left: 0;
    border-bottom: 0;
}

.digital-envelope .corner-bottom-left {
    bottom: 5px;
    left: 5px;
    border-right: 0;
    border-top: 0;
}

.digital-envelope .corner-bottom-right {
    bottom: 5px;
    right: 5px;
    border-left: 0;
    border-top: 0;
}

/* Style untuk amplop digital */
.envelope-content {
    padding: 20px;
    text-align: center;
}

.envelope-content p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
    font-size: 1.1em;
}

.bank-details {
    background: rgba(255, 255, 255, 0.7);
    padding: 25px;
    border-radius: 12px;
    margin: 25px auto;
    max-width: 400px;
    position: relative;
    transition: transform 0.3s ease;
    border: 1px solid rgba(255, 215, 0, 0.3);
}

.bank-details:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.bank-details p {
    margin: 10px 0;
}

.bank-details strong {
    font-size: 1.5em;
    color: #333;
    display: block;
    margin-bottom: 15px;
    font-family: 'Montserrat', sans-serif;
}

.bank-details .copy-button {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 215, 0, 0.2);
    border: none;
    padding: 8px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.bank-details .copy-button:hover {
    background: rgba(255, 215, 0, 0.4);
}

.payment-links {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 25px;
    flex-wrap: wrap;
}

.payment-links a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 25px;
    background: linear-gradient(45deg, #ff6b6b, #ff8e8e);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.2);
}

.payment-links a:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 107, 107, 0.3);
}

.payment-links a i {
    font-size: 1.2em;
}

/* Animasi untuk copy success */
@keyframes copySuccess {
    0% { transform: scale(1); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

.copy-success {
    animation: copySuccess 0.3s ease;
}