/* General styles */
body {
    background-color: #1a1a1a;
    color: #f5f5f5;
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.datetime {
    position: fixed;
    top: 20px;
    left: 20px;
    background: rgba(0, 0, 0, 0.5);
    padding: 10px 15px;
    border-radius: 10px;
    font-size: 14px;
    z-index: 100;
    color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(5px);
    line-height: 1.5;
    text-align: center;
}

.datetime br {
    margin: 5px 0;
}

/* Container styling */
.container {
    width: 80%;
    margin: 0 auto;
    padding: 20px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 15px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

/* Profile Section */
.profile-section {
    text-align: center;
    padding: 20px;
}

.profile-background {
    position: relative;
    width: 100%;
    height: 200px;
    margin: 0 auto;
    background: url('assets/images/bg.png') center center;
    background-size: cover;
    border-radius: 15px;
    overflow: hidden;
}

.avatar-container {
    position: absolute;
    width: 150px;
    height: 150px;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.avatar {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 5px solid;
    animation: borderColor 5s ease infinite;
}

@keyframes borderColor {
    0% { border-color: #ff6b6b; }
    25% { border-color: #4ecdc4; }
    50% { border-color: #45b7d1; }
    75% { border-color: #96ceb4; }
    100% { border-color: #ff6b6b; }
}

/* Name styling */
#name {
    background: linear-gradient(to right, #ff0000, #00ff00, #0000ff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-size: 2em;
    margin: 15px 0;
    background-size: 200% auto;
    animation: gradient 3s linear infinite;
}

@keyframes gradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Typed text styles */
.typed {
    font-size: 0.8rem; /* Chữ nhỏ hơn */
    font-style: italic; /* Chữ nghiêng */
    color: rgba(255, 255, 255, 0.7); /* Màu trắng mờ */
    text-align: center;
    margin: 20px 0;
    display: inline-block;
    font-weight: 300; /* Chữ mỏng hơn */
    opacity: 0.8; /* Độ mờ nhẹ */
}

/* Social Links */
.social-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin: 20px 0;
}

.social-link {
    display: flex;
    align-items: center;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    text-decoration: none;
    color: #fff;
    transition: all 0.3s ease;
    cursor: pointer;
}

.social-link:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.social-link i {
    margin-right: 10px;
    font-size: 20px;
}

.fa-discord { color: #7289DA; }
.fa-github { color: #fff; }
.fa-facebook { color: #1877F2; }
.fa-envelope { color: #EA4335; }
.fa-money-bill { color: #85bb65; }

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 999;
}

.modal-content {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #2a2a2a;
    padding: 15px;
    width: 80%;
    max-width: 300px;
    border-radius: 10px;
    text-align: center;
}

.close-button {
    position: absolute;
    right: 15px;
    top: 10px;
    font-size: 24px;
    cursor: pointer;
    color: #888;
    transition: color 0.3s ease;
}

.close-button:hover {
    color: #fff;
}

/* Payment Container */
.payment-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.bank-info {
    margin-bottom: 10px;
}

.bank-info h3 {
    font-size: 1.2rem;
    margin-bottom: 5px;
    color: #4CAF50;
}

.bank-info p {
    font-size: 1rem;
    margin: 0;
    color: #fff;
}

.qr-code img {
    max-width: 200px;
    width: 100%;
    height: auto;
    border-radius: 5px;
}

.thank-you img {
    max-width: 150px;
    width: 100%;
    height: auto;
    margin-bottom: 10px;
}

/* Spotify section */
.spotify-section {
    margin: 20px auto;
    width: 100%;
    max-width: 600px;
}

/* Creator credit */
.creator-credit {
    text-align: center;
    margin-top: 20px;
    padding: 10px;
}

.creator-credit a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.9rem;
    font-style: italic;
}

.creator-credit a:hover {
    color: #4CAF50;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        width: 95%;
        padding: 10px;
    }

    .social-links {
        gap: 10px;
    }

    .social-link {
        padding: 8px 15px;
        font-size: 0.9rem;
    }

    .typed {
        font-size: 0.8rem;
    }

    #name {
        font-size: 1.5em;
    }
}
