:root {
    --bg-color: #0a0a0c;
    --text-color: #ffffff;
    --accent-color: #ff3b3b; /* Rose Red */
    --highlight-color: #d4af37; /* Gold */
    --secondary-bg: rgba(255, 255, 255, 0.03);
    --font-main: 'Outfit', sans-serif;
    --font-display: 'Outfit', sans-serif; /* Updated to Outfit for a premium sans-serif look */
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-main);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    position: relative;
}

.background-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(rgba(10, 10, 12, 0.5), rgba(10, 10, 12, 0.8)), /* Made background more visible */
        url('background.png');
    background-size: cover;
    background-position: center;
    z-index: -1;
    filter: brightness(0.65) contrast(1.05);
}

.mouse-glow {
    position: fixed;
    top: 0;
    left: 0;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.03) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
    transform: translate(-50%, -50%);
    transition: opacity 0.5s ease;
}

.container {
    text-align: center;
    padding: 2rem;
    max-width: 1100px;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.headline-top, .headline-bottom {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 4.5vw, 3.2rem); /* Slightly more compact for sans-serif */
    line-height: 1;
    font-weight: 900; /* Ultra Bold as requested */
    margin: 0;
    text-transform: uppercase;
    letter-spacing: -0.02em; /* Tighter tracking for bold sans-serif */
}

.headline-top {
    background: linear-gradient(135deg, var(--highlight-color), #f9e29b);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.5));
    margin-bottom: 0.5rem;
}

.headline-bottom {
    background: linear-gradient(135deg, var(--accent-color), #ff8a8a);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.5));
    margin-top: 0.5rem;
}

.subheadline {
    font-size: clamp(0.9rem, 1.2vw, 1.1rem);
    color: rgba(255, 255, 255, 0.7);
    font-weight: 300;
    max-width: 600px;
    margin-top: 1rem;
    letter-spacing: 0.08em;
    line-height: 1.6;
}

.subheadline a {
    color: var(--highlight-color);
    text-decoration: none;
    position: relative;
    font-weight: 500;
    transition: color 0.3s ease;
    display: inline-block;
    margin-top: 0.5rem;
}

.subheadline a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 1px;
    background: var(--highlight-color);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s cubic-bezier(0.19, 1, 0.22, 1);
}

.subheadline a:hover {
    color: #fff;
}

.subheadline a:hover::after {
    transform: scaleX(1);
    transform-origin: left;
    background: #fff;
}

.logo-wrapper {
    perspective: 1000px;
    padding: 0.75rem 0;
}

#main-logo {
    width: clamp(140px, 25vw, 240px);
    height: auto;
    border-radius: 20px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.7);
    transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.footer {
    position: absolute;
    bottom: 2rem;
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.25);
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

/* Animations - refined for smoother entry */
.fade-in {
    opacity: 0;
    animation: fadeIn 1.5s ease-out forwards;
}

.fade-in-up {
    opacity: 0;
    transform: translateY(15px);
    animation: fadeInUp 0.8s ease-out forwards;
    animation-delay: 0.2s;
}

.fade-in-up-delay {
    opacity: 0;
    transform: translateY(15px);
    animation: fadeInUp 0.8s ease-out forwards;
    animation-delay: 0.5s;
}

.fade-in-up-delay-extra {
    opacity: 0;
    transform: translateY(10px);
    animation: fadeInUp 1s ease-out forwards;
    animation-delay: 0.8s;
}

.fade-in-slow {
    opacity: 0;
    animation: fadeIn 2s ease-out forwards;
    animation-delay: 1.2s;
}

@keyframes fadeIn {
    to { opacity: 1; }
}

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

@media (max-width: 600px) {
    .container {
        padding: 1rem;
        gap: 0.5rem;
    }
    .background-overlay {
        filter: brightness(0.6);
    }
}
