* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #1e3a8a;
    --secondary-color: #cab759;
    --accent-color: #d4c270;
    --text-primary: #1f2937;
    --text-secondary: #4b5563;
    --text-light: #9ca3af;
    --bg-light: #f8fafc;
    --bg-white: #ffffff;
    --border-color: #e5e7eb;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(135deg, #f8fafc 0%, #fef9e7 50%, #f8fafc 100%);
    min-height: 100vh;
    color: var(--text-primary);
    overflow-x: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
}

/* Background Overlay Effect */
.background-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 50%, rgba(202, 183, 89, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(30, 58, 138, 0.06) 0%, transparent 50%),
        radial-gradient(circle at 40% 20%, rgba(202, 183, 89, 0.05) 0%, transparent 50%);
    pointer-events: none;
    z-index: 1;
}

.container {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    padding: 40px 20px;
    z-index: 10;
}

.content-wrapper {
    text-align: center;
    max-width: 700px;
    width: 100%;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 60px 40px;
    box-shadow: 
        0 20px 50px rgba(30, 58, 138, 0.12),
        0 0 0 1px rgba(255, 255, 255, 0.8) inset;
    animation: fadeInScale 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.95) translateY(20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.logo-container {
    margin-bottom: 40px;
    position: relative;
}

.logo {
    max-width: 200px;
    height: auto;
    filter: drop-shadow(0 4px 12px rgba(30, 58, 138, 0.15));
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    animation: logoFloat 4s ease-in-out infinite;
}

.logo:hover {
    transform: scale(1.05);
    animation-play-state: paused;
}

@keyframes logoFloat {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    25% {
        transform: translateY(-10px) rotate(1deg);
    }
    75% {
        transform: translateY(-5px) rotate(-1deg);
    }
}

.divider {
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--secondary-color), var(--accent-color));
    margin: 0 auto 40px;
    border-radius: 2px;
    position: relative;
    overflow: hidden;
    animation: dividerExpand 1s ease-out 0.1s backwards;
}

@keyframes dividerExpand {
    from {
        width: 0;
        opacity: 0;
    }
    to {
        width: 80px;
        opacity: 1;
    }
}

.divider::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.8), transparent);
    animation: shimmer 2.5s infinite ease-in-out;
}

@keyframes shimmer {
    0% {
        left: -100%;
    }
    50%, 100% {
        left: 200%;
    }
}

.title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    margin-bottom: 32px;
    color: var(--primary-color);
    letter-spacing: -0.02em;
    line-height: 1.2;
    animation: fadeInText 1s ease-out 0.2s backwards;
}

.description {
    font-size: clamp(1rem, 2.5vw, 1.125rem);
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 40px;
    font-weight: 400;
    max-width: 580px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInText 1s ease-out 0.3s backwards;
}

@keyframes fadeInText {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Floating Shapes Animation */
.floating-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 5;
}

.shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.15;
    animation: floatShape 20s infinite ease-in-out;
}

.shape-1 {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    top: 10%;
    left: 10%;
    animation-duration: 25s;
    animation-delay: 0s;
}

.shape-2 {
    width: 150px;
    height: 150px;
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    top: 60%;
    left: 80%;
    animation-duration: 30s;
    animation-delay: 2s;
}

.shape-3 {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--accent-color), var(--primary-color));
    top: 80%;
    left: 15%;
    animation-duration: 22s;
    animation-delay: 4s;
}

.shape-4 {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    top: 20%;
    left: 85%;
    animation-duration: 28s;
    animation-delay: 1s;
}

.shape-5 {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    top: 70%;
    left: 50%;
    animation-duration: 24s;
    animation-delay: 3s;
}

.shape-6 {
    width: 110px;
    height: 110px;
    background: linear-gradient(135deg, var(--accent-color), var(--secondary-color));
    top: 40%;
    left: 5%;
    animation-duration: 26s;
    animation-delay: 5s;
}

@keyframes floatShape {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg) scale(1);
    }
    25% {
        transform: translate(30px, -30px) rotate(90deg) scale(1.1);
    }
    50% {
        transform: translate(-20px, 20px) rotate(180deg) scale(0.9);
    }
    75% {
        transform: translate(40px, 30px) rotate(270deg) scale(1.05);
    }
}

.thank-you {
    font-size: 0.9375rem;
    color: var(--text-light);
    font-weight: 400;
    font-style: italic;
    margin-top: 0;
    animation: fadeInText 1s ease-out 0.5s backwards;
}

.pulse {
    width: 8px;
    height: 8px;
    background: var(--secondary-color);
    border-radius: 50%;
    position: relative;
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.pulse::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: var(--secondary-color);
    border-radius: 50%;
    animation: ping 2s cubic-bezier(0, 0, 0.2, 1) infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.6;
    }
}

@keyframes ping {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
    75%, 100% {
        transform: translate(-50%, -50%) scale(2.5);
        opacity: 0;
    }
}

.footer {
    text-align: center;
    padding: 24px 20px;
    color: var(--text-light);
    font-size: 0.875rem;
    position: relative;
    z-index: 10;
}

.footer p {
    margin: 0;
    font-weight: 400;
}

/* Subtle Background Animation */
@keyframes gradientMove {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

body {
    background-size: 200% 200%;
    animation: gradientMove 15s ease infinite;
}

/* Responsive Design */
@media (max-width: 768px) {
    .content-wrapper {
        padding: 50px 30px;
        border-radius: 20px;
    }
    
    .logo {
        max-width: 150px;
    }
    
    .title {
        font-size: clamp(1.75rem, 7vw, 2.5rem);
        margin-bottom: 24px;
    }
    
    .description {
        font-size: 1rem;
        margin-bottom: 28px;
    }
    
    .divider {
        margin-bottom: 28px;
    }
    
    .thank-you {
        font-size: 0.875rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 20px 16px;
    }
    
    .content-wrapper {
        padding: 40px 24px;
    }
    
    .logo {
        max-width: 120px;
    }
}