body {
    font-family: 'Quicksand', sans-serif;
    background: linear-gradient(-45deg, #fff4e6, #ffe8cc, #ffd4a3, #ffb366);
    background-size: 400% 400%;
    animation: gradientBG 18s ease infinite;
    position: relative;
    min-height: 100vh;
    overflow-x: hidden;
}

body.is-loading {
    overflow: hidden;
}

.page-loader {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: grid;
    place-items: center;
    background: rgba(255, 248, 237, 0.94);
    backdrop-filter: blur(8px);
    transition: opacity 0.35s ease, visibility 0.35s ease;
}

.loader-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.loader-fox {
    font-size: 2.75rem;
    line-height: 1;
    animation: loaderBounce 1s ease-in-out infinite;
}

.loader-text {
    margin: 0;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: #9a3412;
}

body.page-ready .page-loader {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

@keyframes gradientBG {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes loaderBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px) scale(1.06); }
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.18;
    background-image: url('data:image/svg+xml;utf8,<svg width="96" height="96" viewBox="0 0 96 96" xmlns="http://www.w3.org/2000/svg"><text x="18" y="62" font-size="44">🦊</text></svg>');
    background-size: 96px 96px;
    pointer-events: none;
}

.bg-shape {
    position: fixed;
    border-radius: 50%;
    filter: blur(80px);
    z-index: -2;
    opacity: 0.55;
    animation: float 10s ease-in-out infinite;
}

.shape1 {
    width: 30vw;
    height: 30vw;
    min-width: 300px;
    min-height: 300px;
    background-color: rgba(234, 88, 12, 0.28);
    top: -10%;
    left: -10%;
}

.shape2 {
    width: 40vw;
    height: 40vw;
    min-width: 400px;
    min-height: 400px;
    background-color: rgba(251, 146, 60, 0.35);
    bottom: -10%;
    right: -10%;
    animation-delay: -5s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(28px, 26px); }
}

.fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
    opacity: 0;
    transform: translateY(20px);
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.link-btn {
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(234, 88, 12, 0.12);
    position: relative;
    overflow: hidden;
}

.link-btn:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 15px rgba(234, 88, 12, 0.22);
}

.link-btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.35) 50%, rgba(255,255,255,0) 100%);
    transform: skewX(-25deg);
    transition: all 0.5s ease;
}

.link-btn:hover::after {
    left: 150%;
}

.avatar-ring {
    background: linear-gradient(45deg, #ea580c, #fb923c, #fdba74);
    padding: 4px;
    border-radius: 50%;
}

@keyframes fall {
    to {
        transform: translateY(110vh) rotate(360deg);
    }
}

@media (prefers-reduced-motion: reduce) {
    body {
        animation: none;
    }

    .bg-shape,
    .fade-in-up,
    .loader-fox {
        animation: none;
    }
}
