@import url('https://fonts.googleapis.com/css2?family=Climate+Crisis&display=swap');

.f-climate-crisis {
    font-family: 'Climate Crisis', sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
}

:root {
    --primary-white: #f8f9fa;
    --primary-black: #1a1a1a;
    --primary-dark: #212529;
    --accent-coral: #ff6b6b;
    --accent-peach: #ff9f68;
    --accent-sunset: #ffd93d;
    --accent-mint: #6bcb77;
    --accent-ocean: #4d96ff;
    --bg-gradient-start: #ff9a9e;
    --bg-gradient-end: #fad0c4;
    --filter-purple: #c06cff;
    --filter-blue: #4d96ff;
    --loader-primary: #ff6b6b;
    --loader-secondary: #4d96ff;
    --loader-transparent: #00000000;
    --text-gradient-start: #ffd93d;
    --text-gradient-end: #ff6b6b;
    --footer-bg: #2d3436;
    --footer-text: #dfe6e9;
    --footer-heart: #ff6b6b;
}

body {
    width: 100vw;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
}

hero {
    cursor: default;
    min-height: 100vh;
    background: linear-gradient(135deg, var(--bg-gradient-start), var(--bg-gradient-end));
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.text-container {
    position: relative;
    z-index: 2;
    text-align: center;
}

hero .text-container div {
    font-size: 8rem;
    line-height: 1.2;
    width: 100%;
    text-align: center;
}

hero .main-text {
    display: flex;
    align-items: center;
    justify-content: center;
    text-wrap: nowrap;
    color: transparent;
    background: linear-gradient(45deg, var(--text-gradient-start), var(--text-gradient-end), var(--accent-mint));
    background-clip: text;
    -moz-background-clip: text;
    -webkit-background-clip: text;
    background-size: 200% 200%;
    animation: gradientShift 5s ease infinite;
    font-size: 10rem;
    margin: 20px 0;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

hero .bg-text-1,
hero .bg-text-2 {
    display: flex;
    align-items: center;
    justify-content: center;
    text-wrap: nowrap;
    color: transparent;
    -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.5);
    text-shadow: 0 0 10px rgba(255, 107, 107, 0.3);
    font-size: 7rem;
    opacity: 1;
    transform: translateX(0);
}

hero .bg-text-1 {
    margin-bottom: -20px;
}

hero .bg-text-2 {
    margin-top: -20px;
}

hero .modal model-viewer {
    width: 100%;
    height: 100%;
    pointer-events: none;
    filter: brightness(1.05) contrast(1.1);
    transition: filter 0.3s ease;
}

hero .modal model-viewer:hover {
    filter: brightness(1.1) contrast(1.15);
}

model-viewer::part(default-progress-bar) {
    display: none;
}

hero .filters-1 {
    background: linear-gradient(45deg, var(--filter-purple), var(--filter-blue));
    mix-blend-mode: overlay;
    pointer-events: none;
    opacity: 0.3;
    z-index: 3;
}

hero .filters-2 {
    background: radial-gradient(circle at center, var(--accent-coral), transparent);
    mix-blend-mode: soft-light;
    pointer-events: none;
    opacity: 0.4;
    z-index: 3;
}

.loader-container {
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    pointer-events: none;
    background: rgba(0, 0, 0, 0.2);
    z-index: 9999;
}

.loader {
    width: 45px;
    aspect-ratio: 1;
    --_g: no-repeat radial-gradient(farthest-side, var(--loader-primary) 90%, var(--loader-transparent));
    background: 
        var(--_g) 0 0,
        var(--_g) 100% 0,
        var(--_g) 100% 100%,
        var(--_g) 0 100%;
    background-size: 40% 40%;
    animation: l38 1s infinite;
}

@keyframes l38 {
    0% { 
        background-position: 0 0, 100% 0, 100% 100%, 0 100%;
        transform: rotate(0deg);
    }
    50% {
        transform: rotate(180deg);
        background-color: var(--loader-secondary);
    }
    100% { 
        background-position: 100% 0, 100% 100%, 0 100%, 0 0;
        transform: rotate(360deg);
    }
}

footer {
    background: linear-gradient(to right, var(--footer-bg), #1e272e) !important;
    border-top: 3px solid var(--accent-coral);
    position: relative;
    z-index: 10;
}

footer p {
    font-size: 1.1rem;
    letter-spacing: 0.5px;
}

@media (max-width: 768px) {
    hero .text-container div {
        font-size: 4rem;
    }
    hero .main-text {
        font-size: 5rem;
    }
    hero .bg-text-1,
    hero .bg-text-2 {
        font-size: 3.5rem;
    }
    footer p {
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    hero .text-container div {
        font-size: 2.5rem;
    }
    hero .main-text {
        font-size: 3rem;
    }
    hero .bg-text-1,
    hero .bg-text-2 {
        font-size: 2rem;
    }
}