/* =================================== */
/* ==      Global Styles & Theme    == */
/* =================================== */

:root {
    --bg-dark-navy: #121828;
    --bg-card-dark: #1c253c;
    --text-light: #e0e0e0;
    --text-gray: #a0aec0;
    --accent-primary: #4f46e5;
    --accent-secondary: #c026d3;
    --accent-cyan: #67e8f9;
}

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

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--bg-dark-navy);
    color: var(--text-light);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 2rem;
    background-image: radial-gradient(circle at top, #2a3a5a, var(--bg-dark-navy) 60%);
}

/* =================================== */
/* ==   Page Load Animations        == */
/* =================================== */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

#main-content {
    opacity: 1; /* Keep it visible after animation */
}

/* Hide elements initially */
#main-content.hidden .page-container > * {
    opacity: 0;
}

/* Staggered animation for each child element */
#main-content.visible .page-container > * {
    animation: fadeInUp 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

/* Add delays to each child for the staggered effect */
#main-content.visible .page-container > *:nth-child(1) { animation-delay: 0.1s; }
#main-content.visible .page-container > *:nth-child(2) { animation-delay: 0.3s; }
#main-content.visible .page-container > *:nth-child(3) { animation-delay: 0.5s; }
#main-content.visible .page-container > *:nth-child(4) { animation-delay: 0.7s; }
#main-content.visible .page-container > *:nth-child(5) { animation-delay: 0.9s; }


/* =================================== */
/* ==      Main Content & Card      == */
/* =================================== */

.page-container {
    background-color: var(--bg-card-dark);
    padding: 3rem 4rem;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
    max-width: 800px;
    width: 100%;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-header h1 {
    font-size: 3rem;
    font-weight: 800;
    background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.5rem;
}

.page-header .subtitle {
    font-size: 1.2rem;
    color: var(--text-gray);
    font-weight: 400;
}

.quote-section {
    margin: 2.5rem 0;
    border-left: 4px solid var(--accent-primary);
    padding-left: 1.5rem;
    text-align: left;
}

.quote-section blockquote p {
    font-size: 1.1rem;
    font-style: italic;
    color: var(--text-light);
    line-height: 1.7;
}

.quote-section blockquote footer {
    margin-top: 1rem;
    font-weight: 600;
    color: var(--accent-cyan);
    text-align: right;
}

.links-bar {
    margin: 2.5rem 0;
}

.action-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: #fff;
    text-decoration: none;
    border-radius: 50px;
    background: linear-gradient(45deg, var(--accent-primary), var(--accent-secondary));
    background-size: 200% 200%;
    transition: all 0.4s ease-in-out;
    box-shadow: 0 5px 15px rgba(138, 43, 226, 0.3);
}

.action-button:hover {
    background-position: 100% 100%;
    transform: scale(1.05);
    box-shadow: 0 10px 25px rgba(79, 70, 229, 0.5);
}

.thank-you-message {
    line-height: 1.8;
    color: var(--text-gray);
}

.final-message {
    font-size: 2rem;
    margin-top: 1rem;
}


/* =================================== */
/* ==  Developer's Credit Section   == */
/* =================================== */

.dev-credit-section {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

@keyframes blink {
    50% { opacity: 0; }
}

.dev-title {
    font-family: 'Courier New', Courier, monospace;
    font-size: 1.2rem;
    color: var(--accent-cyan);
    font-weight: 500;
    margin-bottom: 1.5rem;
    display: inline-block; /* Needed for the blinking cursor */
    position: relative;
}

/* The blinking cursor effect */
.dev-title::after {
    content: '_';
    position: absolute;
    right: -12px;
    animation: blink 1s step-start infinite;
}

.dev-message {
    max-width: 600px;
    margin: 0 auto 0.5rem auto;
    line-height: 1.7;
    color: var(--text-gray);
    font-size: 0.95rem;
}

.dev-collab {
    font-weight: 500;
    color: var(--text-light);
    margin-bottom: 2rem;
    font-size: 1rem;
}

.dev-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.dev-links a {
    font-size: 2.2rem;
    color: var(--text-gray);
    transition: all 0.3s ease-in-out;
}

.dev-links a:hover {
    color: #fff; /* Brighten the icon itself */
    transform: translateY(-5px) scale(1.1);
    /* A cool glow effect using text-shadow */
    text-shadow: 0 0 15px var(--accent-primary), 0 0 25px var(--accent-secondary);
}