:root {
    --primary-blue: #4090C4;
    --text-white: #ffffff;
    --btn-bg: rgba(0, 0, 0, 0.3);
    --btn-hover: rgba(0, 0, 0, 0.5);
    --font-heading: 'Anton', sans-serif;
    --font-body: 'Inter', sans-serif;
}

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

body {
    font-family: var(--font-body);
    color: var(--text-white);
    background-color: var(--primary-blue);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    overflow-x: hidden;
}

/* Background Collage */
.background-collage {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.collage-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 50vh;
    gap: 0;
    width: 100%;
    height: 100%;
}

.collage-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Make some images span larger areas for a collage feel */
.collage-img:nth-child(1) {
    grid-column: span 2;
}

.collage-img:nth-child(4) {
    grid-column: span 2;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(64, 144, 196, 0.4);
    /* Blue tint from original theme */
    background-image: linear-gradient(to bottom,
            rgba(0, 0, 0, 0.3),
            rgba(64, 144, 196, 0.5),
            rgba(0, 0, 0, 0.6));
    backdrop-filter: blur(2px);
    /* Slight blur to help text readability */
}

/* Responsive Grid */
@media (max-width: 768px) {
    .collage-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 33vh;
    }

    .collage-img:nth-child(n) {
        grid-column: span 1;
    }
}

/* Container */
.container {
    width: 100%;
    max-width: 100%;
    padding: 2rem 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Header */
.header {
    margin-bottom: 2.5rem;
    text-align: center;
    width: 100%;
}

.logo-container {
    width: 100%;
    max-width: 400px;
    /* Adjust based on logo aspect ratio */
    margin: 0 auto 1rem;
}

.logo {
    width: 100%;
    height: auto;
    display: block;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.3));
    mix-blend-mode: screen;
}

.status-text {
    font-family: var(--font-heading);
    font-size: 2rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    /* Mixed case emulation if needed, but font is typically all caps. 
       We can rely on the font's style or use specific HTML for mixed sizing. */
}

.subtitle {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    letter-spacing: 4px;
    margin-top: 0.5rem;
    opacity: 0.9;
    text-transform: uppercase;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Links Grid */
.links-grid {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 1rem;
    margin-bottom: 3rem;
}

.link-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--btn-bg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    padding: 1.2rem;
    border-radius: 8px;
    text-decoration: none;
    color: var(--text-white);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.link-btn:hover {
    background-color: var(--btn-hover);
    transform: scale(1.02);
    border-color: rgba(255, 255, 255, 0.3);
}

.btn-text {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    /* Large and bold details */
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* Footer */
.footer {
    margin-top: auto;
    font-size: 0.8rem;
    opacity: 0.7;
}

.footer a {
    color: var(--text-white);
    text-decoration: none;
}

.footer a:hover {
    text-decoration: underline;
}

/* Responsive Tweaks */
@media (max-width: 480px) {
    .status-text {
        font-size: 1.5rem;
    }

    .subtitle {
        font-size: 1rem;
        letter-spacing: 2px;
    }


    .btn-text {
        font-size: 1.2rem;
    }
}

/* Top Header Menu */
.top-header-menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    padding: 1rem 2rem;
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #87CEEB;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.menu-link {
    font-family: var(--font-heading);
    color: var(--text-white);
    text-decoration: none;
    font-size: 1.2rem;
    letter-spacing: 1px;
    background-color: rgba(0, 0, 0, 0.2);
    padding: 0.5rem 1.5rem;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.menu-link:hover {
    background-color: rgba(0, 0, 0, 0.4);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-1px);
}

@media (max-width: 480px) {
    .top-header-menu {
        padding: 15px;
    }

    .menu-link {
        font-size: 1rem;
        padding: 0.4rem 0.8rem;
    }
}

/* Animations */
@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0px);
    }
}

@keyframes pulse-text {
    0% {
        transform: scale(1);
        text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    }

    50% {
        transform: scale(1.05);
        text-shadow: 0 4px 15px rgba(255, 255, 255, 0.4);
    }

    100% {
        transform: scale(1);
        text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    }
}

@keyframes fade-in-up {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bg-pulse {
    0% {
        background-color: rgba(64, 144, 196, 0.4);
    }

    50% {
        background-color: rgba(64, 144, 196, 0.6);
    }

    100% {
        background-color: rgba(64, 144, 196, 0.4);
    }
}

/* Apply Animations */
.logo {
    animation: float 6s ease-in-out infinite;
}

.status-text {
    animation: pulse-text 3s ease-in-out infinite;
}

.overlay {
    animation: bg-pulse 10s ease-in-out infinite;
}

.links-grid .link-btn {
    animation: fade-in-up 0.6s ease-out backwards;
}

/* Staggered delays for buttons */
.links-grid .link-btn:nth-child(1) {
    animation-delay: 0.1s;
}

.links-grid .link-btn:nth-child(2) {
    animation-delay: 0.2s;
}

.links-grid .link-btn:nth-child(3) {
    animation-delay: 0.3s;
}

.links-grid .link-btn:nth-child(4) {
    animation-delay: 0.4s;
}

.links-grid .link-btn:nth-child(5) {
    animation-delay: 0.5s;
}

.links-grid .link-btn:nth-child(6) {
    animation-delay: 0.6s;
}