/* Godly / Awwwards Aesthetics */
:root {
    --bg-light: #F5F2EB;
    --bg-dark: #E0DCD3;
    --text-main: #2C2C2C; /* Charcoal */
    --text-serif: #4A4036; /* Deep Bronze */
    --accent: #CCA470; /* Copper/Champagne */
    --font-serif: 'Playfair Display', 'Times New Roman', serif;
    --font-sans: 'Inter', system-ui, sans-serif;
}

*, *::before, *::after {
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    background: radial-gradient(circle at center, var(--bg-light), var(--bg-dark));
    color: var(--text-main);
    font-family: var(--font-sans);
    margin: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
    line-height: 1.6;
}

/* Canvas Background */
#canvas-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0.35; /* Subtle */
    /* Mix blend mode to make the lines feel like they are drawn ON the paper */
    mix-blend-mode: multiply; 
    pointer-events: none;
}

.content-wrapper {
    position: relative;
    z-index: 10;
    text-align: center;
    width: 90%;
    max-width: 1400px;
    padding: 2rem;
    animation: fadeUp 1.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    opacity: 0;
    transform: translateY(40px);
}

/* Hero Section */
.hero-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 2rem;
}

.main-logo-link {
    display: inline-block;
    transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
    cursor: pointer;
    text-decoration: none;
    border: none;
    outline: none;
}

.main-logo-link:hover {
    transform: scale(1.02);
}

.main-logo {
    width: 320px;
    max-width: 80vw;
    height: auto;
    margin-bottom: 2.5rem;
    filter: drop-shadow(0 15px 40px rgba(74, 64, 54, 0.08));
    /* Logo protection */
    -webkit-user-drag: none;
    user-select: none;
    pointer-events: none; /* Let the link handle click */
}

.headline {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 5vw, 2.8rem);
    font-weight: 400;
    letter-spacing: 0.08em;
    color: var(--text-serif);
    margin: 0 0 0.8rem 0;
    text-transform: uppercase;
    line-height: 1.2;
}

.subline {
    font-family: var(--font-sans);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    color: rgba(44, 44, 44, 0.55); /* Muted charcoal */
    margin: 0 0 3.5rem 0;
    font-weight: 500;
}

/* Loading Badge */
.loading-badge {
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(204, 164, 112, 0.2); /* Subtle copper border */
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-family: var(--font-sans);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--text-serif);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: default;
    box-shadow: 0 4px 20px rgba(0,0,0,0.02);
    transition: all 0.4s ease;
}

.loading-dots span {
    animation: blink 1.4s infinite both;
}
.loading-dots span:nth-child(2) { animation-delay: 0.2s; }
.loading-dots span:nth-child(3) { animation-delay: 0.4s; }

/* Partner Section */
.partner-section {
    position: relative;
    padding-top: 3rem;
    margin-bottom: 3rem;
    width: 100%;
}

.partner-section::before {
    content: "";
    display: block;
    width: 1px;
    height: 50px;
    background: linear-gradient(to bottom, rgba(44,44,44,0.05), rgba(44,44,44,0.2));
    margin: 0 auto 3rem auto;
}

.partner-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 3.5rem;
}

.partner-link {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.55;
    transition: all 0.5s cubic-bezier(0.22, 1, 0.36, 1);
    /* No underline on images */
    text-decoration: none; 
}

.partner-link:hover {
    opacity: 1;
    transform: translateY(-4px);
}

.partner-logo {
    height: 38px;
    width: auto;
    object-fit: contain;
    /* Force logos to monochrome for consistency on light background */
    filter: grayscale(100%) contrast(1.1); 
    /* Logo protection */
    -webkit-user-drag: none;
    user-select: none;
}

/* Special fix for logos that might be white or too light */
.dark-force {
    filter: brightness(0) opacity(0.8);
}
.partner-link:hover .dark-force {
    filter: brightness(0) opacity(1);
}

/* Footer */
footer {
    border-top: 1px solid rgba(0,0,0,0.03);
    padding-top: 2rem;
    margin-top: 2rem;
}

.footer-content {
    font-family: var(--font-sans);
    font-size: 0.7rem;
    color: rgba(44, 44, 44, 0.4);
    letter-spacing: 0.06em;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    line-height: 1.5;
}

.footer-content p {
    margin: 0;
}

.creator-link {
    color: var(--accent);
    text-decoration: none;
    font-style: italic;
    font-family: var(--font-serif);
    position: relative;
    transition: color 0.3s ease;
}
.creator-link:hover {
    color: var(--text-serif);
}

/* Animations */
@keyframes fadeUp {
    from { 
        opacity: 0; 
        transform: translateY(40px); 
    }
    to { 
        opacity: 1; 
        transform: translateY(0); 
    }
}

@keyframes blink {
    0% { opacity: 0.2; }
    20% { opacity: 1; }
    100% { opacity: 0.2; }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .partner-grid {
        gap: 2rem;
    }
    .partner-logo {
        height: 30px;
    }
    .main-logo {
        width: 260px;
    }
    .headline {
        font-size: 1.8rem;
    }
    body {
        /* Enable scroll on small screens if content overflows */
        height: auto;
        min-height: 100vh;
        overflow-y: auto;
        padding: 2rem 0;
    }
    .partner-section::before {
        height: 30px;
        margin-bottom: 2rem;
    }
}
