:root {
    --primary-color: #d4af37; /* Gold */
    --bg-color: #2b1055;
    --text-light: #ffffff;
    --text-muted: #d0c0e0;
}

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

body, html {
    min-height: 100vh;
    font-family: 'Cairo', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-light);
    overflow-x: hidden;
}

body {
    display: flex;
    justify-content: center;
    align-items: center;
    background: radial-gradient(circle at center, #3b1b6d 0%, #1a0a33 100%);
    position: relative;
    padding: 2rem 1rem;
}

/* Subtle pattern overlay */
.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI0IiBoZWlnaHQ9IjQiPgo8cmVjdCB3aWR0aD0iNCIgaGVpZ2h0PSI0IiBmaWxsPSIjZmZmIiBmaWxsLW9wYWNpdHk9IjAuMDUiLz4KPC9zdmc+') repeat;
    opacity: 0.5;
    pointer-events: none;
    z-index: 1;
}

.container {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    padding: 4rem 3rem;
    background: rgba(25, 25, 25, 0.6);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), inset 0 0 0 1px rgba(255, 255, 255, 0.05);
    animation: fadeIn 1.5s ease-out forwards;
}

.logo-container {
    margin-bottom: 2.5rem;
    min-height: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
}

#logo {
    max-width: 250px;
    max-height: 150px;
    object-fit: contain;
    filter: drop-shadow(0 4px 10px rgba(212, 175, 55, 0.2));
    animation: float 6s ease-in-out infinite;
}

.title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 2rem;
    background: linear-gradient(45deg, #ffffff 30%, var(--primary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: 1px;
}

.content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.content p {
    font-size: 1.25rem;
    line-height: 1.8;
    color: var(--text-muted);
}

.content .date-highlight {
    font-size: 1.4rem;
    color: var(--text-light);
    margin-top: 1rem;
    padding: 1.5rem;
    background: rgba(212, 175, 55, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(212, 175, 55, 0.1);
}

.date {
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.8rem;
    padding: 0 10px;
    display: inline-block;
    text-shadow: 0 0 15px rgba(212, 175, 55, 0.3);
}

.thank-you {
    margin-top: 1.5rem;
    font-size: 1.15rem;
    color: #888;
}

/* Loader */
.loader {
    margin-top: 3.5rem;
    display: flex;
    justify-content: center;
    gap: 12px;
}

.dot {
    width: 12px;
    height: 12px;
    background-color: var(--primary-color);
    border-radius: 50%;
    animation: pulse 1.5s infinite ease-in-out;
}

.dot:nth-child(2) {
    animation-delay: 0.2s;
}

.dot:nth-child(3) {
    animation-delay: 0.4s;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

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

@keyframes pulse {
    0%, 100% {
        transform: scale(0.8);
        opacity: 0.5;
    }
    50% {
        transform: scale(1.3);
        opacity: 1;
        box-shadow: 0 0 15px var(--primary-color);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .container {
        padding: 2rem 1rem;
        margin: 0;
        width: 100%;
    }
    
    .logo-container {
        margin-bottom: 1.5rem;
        min-height: 80px;
    }

    #logo {
        max-width: 200px;
        max-height: 120px;
    }

    .title {
        font-size: 1.8rem;
        margin-bottom: 1.5rem;
    }
    
    .content p {
        font-size: 1rem;
    }
    
    .date {
        font-size: 1.2rem;
        display: block;
        margin-top: 0.5rem;
    }

    .content .date-highlight {
        padding: 1rem;
    }
}
