/* ============================================
   PRETTY LIAR — Custom Styles
   Burgundy + Blush · Vibrant Modern
   ============================================ */

/* --- Reset & Base --- */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    overflow-x: hidden;
}

img, svg {
    display: block;
    max-width: 100%;
}

/* --- Selection --- */
::selection {
    background: #ff7a8f;
    color: #fff;
}

/* --- Header Scroll State --- */
#site-header.scrolled {
    background: rgba(255, 248, 240, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 1px 20px rgba(90, 20, 20, 0.08);
}

/* --- Mobile Menu --- */
.mobile-link {
    display: block;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(168, 47, 47, 0.08);
}

.mobile-link:last-child {
    border-bottom: none;
}

/* --- Geometric Hero Shapes --- */
.geo-shape {
    position: absolute;
    opacity: 0.12;
    pointer-events: none;
}

.shape-circle-1 {
    width: 420px;
    height: 420px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    top: -80px;
    right: -100px;
    animation: float-slow 20s ease-in-out infinite;
}

.shape-circle-2 {
    width: 200px;
    height: 200px;
    background: rgba(255, 173, 185, 0.25);
    border-radius: 50%;
    bottom: 15%;
    left: 5%;
    animation: float-slow 15s ease-in-out infinite reverse;
}

.shape-circle-3 {
    width: 100px;
    height: 100px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    top: 40%;
    right: 10%;
    animation: float-slow 12s ease-in-out infinite;
}

.shape-square-1 {
    width: 120px;
    height: 120px;
    background: rgba(255, 122, 143, 0.2);
    border-radius: 24px;
    top: 20%;
    left: 8%;
    transform: rotate(15deg);
    animation: float-slow 18s ease-in-out infinite;
}

.shape-square-2 {
    width: 80px;
    height: 80px;
    border: 2px solid rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    bottom: 25%;
    right: 6%;
    transform: rotate(-30deg);
    animation: float-slow 14s ease-in-out infinite reverse;
}

.shape-triangle-1 {
    width: 0;
    height: 0;
    border-left: 60px solid transparent;
    border-right: 60px solid transparent;
    border-bottom: 104px solid rgba(255, 255, 255, 0.08);
    top: 60%;
    left: 15%;
    animation: float-slow 16s ease-in-out infinite;
}

.shape-ring-1 {
    width: 160px;
    height: 160px;
    border: 3px solid rgba(255, 214, 222, 0.2);
    border-radius: 50%;
    top: 10%;
    left: 30%;
    animation: float-slow 22s ease-in-out infinite reverse;
}

@keyframes float-slow {
    0%, 100% { transform: translateY(0px) rotate(var(--rotate, 0deg)); }
    50% { transform: translateY(-20px) rotate(var(--rotate, 0deg)); }
}

.shape-square-1 { --rotate: 15deg; }
.shape-square-2 { --rotate: -30deg; }

/* --- Scroll Reveal --- */
.reveal-up {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-up.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger children */
.reveal-up:nth-child(2) { transition-delay: 0.1s; }
.reveal-up:nth-child(3) { transition-delay: 0.2s; }
.reveal-up:nth-child(4) { transition-delay: 0.3s; }

/* --- Reduced Motion --- */
@media (prefers-reduced-motion: reduce) {
    .reveal-up {
        opacity: 1;
        transform: none;
        transition: none;
    }
    .geo-shape {
        animation: none;
    }
    html {
        scroll-behavior: auto;
    }
}

/* --- Responsive --- */
@media (max-width: 640px) {
    .shape-circle-1 {
        width: 240px;
        height: 240px;
    }
    .shape-circle-2 {
        width: 120px;
        height: 120px;
    }
    .shape-square-1 {
        width: 70px;
        height: 70px;
    }
    .shape-square-2 {
        width: 50px;
        height: 50px;
    }
    .shape-triangle-1 {
        border-left-width: 35px;
        border-right-width: 35px;
        border-bottom-width: 60px;
    }
    .shape-ring-1 {
        width: 90px;
        height: 90px;
    }
}
