/**
 * PhotoBooth Fun - Main Stylesheet
 *
 * @package PhotoBooth_Fun
 */

/* ==========================================================================
   Fonts
   ========================================================================== */

@font-face {
    font-family: 'Shrikhand';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/Shrikhand-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: 'Shrikhand';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/Shrikhand-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: 'Satoshi';
    src: url('../fonts/Satoshi-Variable.woff2') format('woff2'),
         url('../fonts/Satoshi-Variable.woff') format('woff');
    font-weight: 300 900;
    font-display: swap;
}

/* ==========================================================================
   CSS Variables
   ========================================================================== */

:root {
    /* Brand Colors */
    --pink: #f8c8dc;
    --blue: #a7d5f5;
    --purple: #c8b8e8;
    --yellow: #f9e784;
    --green: #b8e0d8;
    --orange: #ffd4a3;

    /* Semantic Colors */
    --background: 0 0% 100%;
    --foreground: 0 0% 0%;
    --primary: 336 78% 88%;
    --secondary: 200 80% 81%;
    --accent: 260 50% 82%;
    --muted: 240 4.8% 95.9%;
    --muted-foreground: 240 3.8% 46.1%;
    --border: 0 0% 0%;
    --radius: 0.625rem;

    /* Animation Easings */
    --ease-bounce-soft: cubic-bezier(0.34, 1.56, 0.64, 1);
    --ease-elastic: cubic-bezier(0.68, -0.55, 0.265, 1.55);
    --ease-smooth-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-dramatic: cubic-bezier(0.87, 0, 0.13, 1);
    --ease-playful: cubic-bezier(0.175, 0.885, 0.32, 1.275);
    --ease-spring: cubic-bezier(0.5, 1.8, 0.3, 0.8);

    /* Transform Composition */
    --pbf-transform: translateX(var(--pbf-tx, 0)) translateY(var(--pbf-ty, 0)) rotate(var(--pbf-rotate, 0deg)) scaleX(var(--pbf-scale-x, 1)) scaleY(var(--pbf-scale-y, 1));
}

/* ==========================================================================
   Base Styles
   ========================================================================== */

*,
*::before,
*::after {
    box-sizing: border-box;
    border-color: hsl(var(--border));
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background-color: white;
    color: black;
    font-family: 'Satoshi', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Shrikhand', serif;
    letter-spacing: -0.02em;
    margin: 0;
}

p {
    margin: 0;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

ul, ol {
    list-style: none;
    margin: 0;
    padding: 0;
}

/* ==========================================================================
   Typography Utilities
   ========================================================================== */

.font-display {
    font-family: 'Shrikhand', serif;
}

.font-body {
    font-family: 'Satoshi', sans-serif;
}

.text-balance {
    text-wrap: balance;
}

/* Font Sizes */
.text-xs { font-size: 0.75rem; line-height: 1rem; }
.text-sm { font-size: 0.875rem; line-height: 1.25rem; }
.text-base { font-size: 1rem; line-height: 1.5rem; }
.text-lg { font-size: 1.125rem; line-height: 1.75rem; }
.text-xl { font-size: 1.25rem; line-height: 1.75rem; }
.text-2xl { font-size: 1.5rem; line-height: 2rem; }
.text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
.text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
.text-5xl { font-size: 3rem; line-height: 1.16; }
.text-6xl { font-size: 3.75rem; line-height: 1.1; }
.text-7xl { font-size: 4.5rem; line-height: 1.05; }

.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }

.leading-tight { line-height: 1.25; }
.leading-relaxed { line-height: 1.625; }

.text-center { text-align: center; }
.text-left { text-align: left; }

/* ==========================================================================
   Color Utilities
   ========================================================================== */

.bg-white { background-color: white; }
.bg-black { background-color: black; }
.bg-transparent { background-color: transparent; }

.bg-brand-pink { background-color: var(--pink); }
.bg-brand-blue { background-color: var(--blue); }
.bg-brand-purple { background-color: var(--purple); }
.bg-brand-yellow { background-color: var(--yellow); }
.bg-brand-green { background-color: var(--green); }
.bg-brand-orange { background-color: var(--orange); }

.text-white { color: white; }
.text-black { color: black; }
.text-black\/60 { color: rgba(0, 0, 0, 0.6); }
.text-black\/70 { color: rgba(0, 0, 0, 0.7); }
.text-black\/80 { color: rgba(0, 0, 0, 0.8); }

.text-brand-pink { color: var(--pink); }
.text-brand-blue { color: var(--blue); }
.text-brand-purple { color: var(--purple); }
.text-brand-yellow { color: var(--yellow); }
.text-brand-green { color: var(--green); }
.text-brand-orange { color: var(--orange); }

.border-black { border-color: black; }
.border-white { border-color: white; }
.border-black\/10 { border-color: rgba(0, 0, 0, 0.1); }

.border-brand-pink { border-color: var(--pink); }
.border-brand-blue { border-color: var(--blue); }
.border-brand-purple { border-color: var(--purple); }
.border-brand-yellow { border-color: var(--yellow); }
.border-brand-green { border-color: var(--green); }
.border-brand-orange { border-color: var(--orange); }

/* Opacity utilities */
.opacity-0 { opacity: 0; }
.opacity-30 { opacity: 0.3; }
.opacity-50 { opacity: 0.5; }
.opacity-60 { opacity: 0.6; }
.opacity-100 { opacity: 1; }

/* ==========================================================================
   Layout Utilities
   ========================================================================== */

.min-h-screen { min-height: 100vh; }
.h-full { height: 100%; }
.w-full { width: 100%; }
.h-1 { height: 0.25rem; }
.h-0\.5 { height: 0.125rem; }
.max-h-0 { max-height: 0; }

.max-w-container { max-width: 1440px; }
.max-w-\[1200px\] { max-width: 1200px; }
.max-w-\[1000px\] { max-width: 1000px; }
.max-w-\[700px\] { max-width: 700px; }
.max-w-lg { max-width: 32rem; }
.max-w-xl { max-width: 36rem; }
.max-w-2xl { max-width: 42rem; }
.max-w-xs { max-width: 20rem; }

.mx-auto { margin-left: auto; margin-right: auto; }
.ml-2 { margin-left: 0.5rem; }
.ml-3 { margin-left: 0.75rem; }
.mr-2 { margin-right: 0.5rem; }
.mr-3 { margin-right: 0.75rem; }
.mt-3 { margin-top: 0.75rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.mt-12 { margin-top: 3rem; }
.mt-16 { margin-top: 4rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-10 { margin-bottom: 2.5rem; }
.mb-16 { margin-bottom: 4rem; }

.p-2 { padding: 0.5rem; }
.p-4 { padding: 1rem; }
.p-8 { padding: 2rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.px-8 { padding-left: 2rem; padding-right: 2rem; }
.px-10 { padding-left: 2.5rem; padding-right: 2.5rem; }
.py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.py-5 { padding-top: 1.25rem; padding-bottom: 1.25rem; }
.py-12 { padding-top: 3rem; padding-bottom: 3rem; }
.py-16 { padding-top: 4rem; padding-bottom: 4rem; }
.py-20 { padding-top: 5rem; padding-bottom: 5rem; }
.py-24 { padding-top: 6rem; padding-bottom: 6rem; }
.pt-8 { padding-top: 2rem; }
.pt-20 { padding-top: 5rem; }
.pt-28 { padding-top: 7rem; }
.pt-32 { padding-top: 8rem; }
.pb-4 { padding-bottom: 1rem; }
.pb-24 { padding-bottom: 6rem; }

/* Flexbox */
.flex { display: flex; }
.inline-flex { display: inline-flex; }
.flex-col { flex-direction: column; }
.flex-shrink-0 { flex-shrink: 0; }
.items-center { align-items: center; }
.items-start { align-items: start; }
.items-end { align-items: end; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-1 { gap: 0.25rem; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }
.gap-12 { gap: 3rem; }

/* Grid */
.grid { display: grid; }
.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }

/* Display */
.hidden { display: none; }
.block { display: block; }
.inline-block { display: inline-block; }

/* Position */
.relative { position: relative; }
.absolute { position: absolute; }
.fixed { position: fixed; }
.inset-0 { top: 0; right: 0; bottom: 0; left: 0; }
.top-0 { top: 0; }
.left-0 { left: 0; }
.right-0 { right: 0; }
.bottom-0 { bottom: 0; }
.z-10 { z-index: 10; }
.z-20 { z-index: 20; }
.z-50 { z-index: 50; }

/* Overflow */
.overflow-hidden { overflow: hidden; }

/* Pointer */
.pointer-events-none { pointer-events: none; }
.cursor-pointer { cursor: pointer; }

/* ==========================================================================
   Border & Radius Utilities
   ========================================================================== */

.border { border-width: 1px; }
.border-2 { border-width: 2px; }
.border-4 { border-width: 4px; }
.border-t-2 { border-top-width: 2px; }

.rounded-full { border-radius: 9999px; }
.rounded-lg { border-radius: var(--radius); }
.rounded-xl { border-radius: calc(var(--radius) + 4px); }
.rounded-2xl { border-radius: 1rem; }
.rounded-3xl { border-radius: 1.5rem; }

/* ==========================================================================
   Shadow Utilities
   ========================================================================== */

.shadow-card { box-shadow: 4px 4px 0 black; }
.shadow-card-hover { box-shadow: 2px 2px 0 black; }
.shadow-lg { box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1); }
.shadow-xl { box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1); }
.shadow-2xl { box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25); }
.shadow-glow { box-shadow: 0 0 20px rgba(248, 200, 220, 0.5); }
.shadow-glow-blue { box-shadow: 0 0 20px rgba(167, 213, 245, 0.5); }
.shadow-glow-purple { box-shadow: 0 0 20px rgba(200, 184, 232, 0.5); }

/* ==========================================================================
   Transform Utilities (Composable via CSS Custom Properties)

   Multiple transform utilities can coexist on one element. Each sets its
   sub-property and references --pbf-transform which composes them all.
   ========================================================================== */

/* Translate Y */
.translate-y-0 { --pbf-ty: 0; transform: var(--pbf-transform); }
.translate-y-5 { --pbf-ty: 1.25rem; transform: var(--pbf-transform); }
.translate-y-8 { --pbf-ty: 2rem; transform: var(--pbf-transform); }
.translate-y-10 { --pbf-ty: 2.5rem; transform: var(--pbf-transform); }
.translate-y-12 { --pbf-ty: 3rem; transform: var(--pbf-transform); }
.translate-y-16 { --pbf-ty: 4rem; transform: var(--pbf-transform); }
.translate-y-full { --pbf-ty: 100%; transform: var(--pbf-transform); }
.-translate-y-1\/2 { --pbf-ty: -50%; transform: var(--pbf-transform); }
.-translate-y-2 { --pbf-ty: -0.5rem; transform: var(--pbf-transform); }

/* Translate X */
.-translate-x-1\/2 { --pbf-tx: -50%; transform: var(--pbf-transform); }
.translate-x-1\/2 { --pbf-tx: 50%; transform: var(--pbf-transform); }
.translate-x-1 { --pbf-tx: 0.25rem; transform: var(--pbf-transform); }
.translate-x-2 { --pbf-tx: 0.5rem; transform: var(--pbf-transform); }
.-translate-x-5 { --pbf-tx: -1.25rem; transform: var(--pbf-transform); }

/* Scale (uniform) */
.scale-0 { --pbf-scale-x: 0; --pbf-scale-y: 0; transform: var(--pbf-transform); }
.scale-50 { --pbf-scale-x: 0.5; --pbf-scale-y: 0.5; transform: var(--pbf-transform); }
.scale-90 { --pbf-scale-x: 0.9; --pbf-scale-y: 0.9; transform: var(--pbf-transform); }
.scale-100 { --pbf-scale-x: 1; --pbf-scale-y: 1; transform: var(--pbf-transform); }
.scale-105 { --pbf-scale-x: 1.05; --pbf-scale-y: 1.05; transform: var(--pbf-transform); }
.scale-110 { --pbf-scale-x: 1.1; --pbf-scale-y: 1.1; transform: var(--pbf-transform); }
.scale-125 { --pbf-scale-x: 1.25; --pbf-scale-y: 1.25; transform: var(--pbf-transform); }

/* Scale X only */
.scale-x-0 { --pbf-scale-x: 0; transform: var(--pbf-transform); }
.scale-x-100 { --pbf-scale-x: 1; transform: var(--pbf-transform); }

/* Rotate */
.rotate-12 { --pbf-rotate: 12deg; transform: var(--pbf-transform); }
.-rotate-180 { --pbf-rotate: -180deg; transform: var(--pbf-transform); }

/* GPU acceleration */
.transform-gpu { transform: var(--pbf-transform) translateZ(0); }

/* ==========================================================================
   Transition Utilities
   ========================================================================== */

.transition-all { transition-property: all; }
.transition-colors { transition-property: color, background-color, border-color; }
.transition-transform { transition-property: transform; }

.duration-200 { transition-duration: 200ms; }
.duration-250 { transition-duration: 250ms; }
.duration-300 { transition-duration: 300ms; }
.duration-400 { transition-duration: 400ms; }
.duration-500 { transition-duration: 500ms; }
.duration-600 { transition-duration: 600ms; }
.duration-700 { transition-duration: 700ms; }
.duration-800 { transition-duration: 800ms; }
.duration-1000 { transition-duration: 1000ms; }

.ease-smooth-out { transition-timing-function: var(--ease-smooth-out); }
.ease-elastic { transition-timing-function: var(--ease-elastic); }
.ease-bounce-soft { transition-timing-function: var(--ease-bounce-soft); }
.ease-playful { transition-timing-function: var(--ease-playful); }

/* ==========================================================================
   Keyframe Animations
   ========================================================================== */

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
}

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

@keyframes spin-slow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes pulse-glow {
    0%, 100% { opacity: 0.6; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.1); }
}

@keyframes twinkle {
    0%, 100% { opacity: 0.3; transform: scale(0.8); }
    50% { opacity: 1; transform: scale(1.2); }
}

@keyframes mesh-shift {
    0%, 100% { background-position: 0% 0%; }
    25% { background-position: 100% 0%; }
    50% { background-position: 100% 100%; }
    75% { background-position: 0% 100%; }
}

@keyframes border-flow {
    0% { background-position: 0% 50%; }
    100% { background-position: 300% 50%; }
}

@keyframes slide-up {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes slide-down {
    from { opacity: 0; transform: translateY(-30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes scale-in {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

@keyframes bounce-in {
    0% { opacity: 0; transform: scale(0.3); }
    50% { transform: scale(1.05); }
    70% { transform: scale(0.9); }
    100% { opacity: 1; transform: scale(1); }
}

@keyframes wiggle {
    0%, 100% { transform: rotate(-3deg); }
    50% { transform: rotate(3deg); }
}

@keyframes fade-in {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Animation Classes */
.animate-float { animation: float 6s ease-in-out infinite; }
.animate-float-slow { animation: float-slow 8s ease-in-out infinite; }
.animate-spin-slow { animation: spin-slow 20s linear infinite; }
.animate-pulse-glow { animation: pulse-glow 3s ease-in-out infinite; }
.animate-twinkle { animation: twinkle 4s ease-in-out infinite; }
.animate-mesh-shift { animation: mesh-shift 15s ease infinite; background-size: 200% 200%; }
.animate-border-flow { animation: border-flow 8s linear infinite; background-size: 300% 100%; }
.animate-slide-up { animation: slide-up 0.6s var(--ease-smooth-out) forwards; }
.animate-slide-down { animation: slide-down 0.6s var(--ease-smooth-out) forwards; }
.animate-scale-in { animation: scale-in 0.5s var(--ease-smooth-out) forwards; }
.animate-bounce-in { animation: bounce-in 0.7s var(--ease-elastic) forwards; }
.animate-wiggle { animation: wiggle 0.5s ease-in-out; }
.animate-fade-in { animation: fade-in 0.3s ease forwards; }

/* ==========================================================================
   Button Styles
   ========================================================================== */

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    font-size: 1.125rem;
    font-family: 'Shrikhand', serif;
    background-color: var(--pink);
    color: black;
    border: 2px solid black;
    border-radius: 9999px;
    transition: all 200ms;
    box-shadow: 4px 4px 0 black;
}

.btn-primary:hover {
    transform: translate(2px, 2px);
    box-shadow: 2px 2px 0 black;
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    font-size: 1.125rem;
    font-family: 'Shrikhand', serif;
    background-color: white;
    color: black;
    border: 2px solid black;
    border-radius: 9999px;
    transition: all 200ms;
    box-shadow: 4px 4px 0 black;
}

.btn-secondary:hover {
    transform: translate(2px, 2px);
    box-shadow: 2px 2px 0 black;
    background-color: #f9fafb;
}

/* ==========================================================================
   Card Styles
   ========================================================================== */

.card-feature {
    background-color: white;
    border: 2px solid black;
    border-radius: 1.5rem;
    padding: 2rem;
    transition: all 300ms;
}

.card-feature:hover {
    transform: perspective(1000px) rotateX(5deg) rotateY(-5deg) scale(1.03);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* ==========================================================================
   Glass Effect
   ========================================================================== */

.glass {
    backdrop-filter: blur(20px) saturate(180%);
    background: rgba(255, 255, 255, 0.85);
}

/* ==========================================================================
   Navigation Styles
   ========================================================================== */

.nav-scrolled {
    backdrop-filter: blur(20px) saturate(180%);
    background: rgba(255, 255, 255, 0.85);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
}

.nav-link {
    position: relative;
    font-family: 'Satoshi', sans-serif;
    font-size: 0.875rem;
    font-weight: 500;
    color: rgba(0, 0, 0, 0.8);
    transition: color 200ms;
}

.nav-link:hover {
    color: black;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -0.25rem;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: var(--pink);
    transition: all 250ms var(--ease-smooth-out);
}

.nav-link:hover::after {
    width: 100%;
    left: 0;
}

/* Mobile Menu */
.mobile-menu a {
    display: block;
    padding: 0.75rem 1rem;
    font-family: 'Satoshi', sans-serif;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 0.5rem;
    transition: background-color 200ms;
}

.mobile-menu a:hover {
    background-color: rgba(248, 200, 220, 0.2);
}

/* Footer Links */
.footer-links a {
    font-family: 'Satoshi', sans-serif;
    color: rgba(0, 0, 0, 0.7);
    transition: all 200ms;
    position: relative;
    display: inline-block;
}

.footer-links a:hover {
    color: black;
    transform: translateX(0.25rem);
}

.footer-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--pink);
    transition: width 200ms;
}

.footer-links a:hover::after {
    width: 100%;
}

.legal-links a {
    font-family: 'Satoshi', sans-serif;
    font-size: 0.875rem;
    color: rgba(0, 0, 0, 0.6);
    transition: color 200ms;
}

.legal-links a:hover {
    color: black;
}

/* ==========================================================================
   Section Styles
   ========================================================================== */

/* Hero Section */
.hero-gradient {
    background: linear-gradient(to bottom right, white, rgba(248, 200, 220, 0.1), rgba(167, 213, 245, 0.1));
}

/* Mesh Gradient Background */
.mesh-gradient {
    background:
        radial-gradient(at 40% 20%, rgba(248, 200, 220, 0.8) 0px, transparent 50%),
        radial-gradient(at 80% 0%, rgba(167, 213, 245, 0.8) 0px, transparent 50%),
        radial-gradient(at 0% 50%, rgba(200, 184, 232, 0.8) 0px, transparent 50%),
        radial-gradient(at 80% 50%, rgba(249, 231, 132, 0.8) 0px, transparent 50%),
        radial-gradient(at 0% 100%, rgba(184, 224, 216, 0.8) 0px, transparent 50%);
    background-size: 200% 200%;
}

/* Mesh gradient background on all pages except homepage */
body:not(.home)::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(at 40% 20%, rgba(248, 200, 220, 0.35) 0px, transparent 50%),
        radial-gradient(at 80% 0%, rgba(167, 213, 245, 0.35) 0px, transparent 50%),
        radial-gradient(at 0% 50%, rgba(200, 184, 232, 0.35) 0px, transparent 50%),
        radial-gradient(at 80% 50%, rgba(249, 231, 132, 0.35) 0px, transparent 50%),
        radial-gradient(at 0% 100%, rgba(184, 224, 216, 0.35) 0px, transparent 50%);
    background-size: 200% 200%;
    animation: mesh-shift 15s ease infinite;
}

/* Scroll-to-top button */
.pbf-scroll-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 40;
    width: 2.75rem;
    height: 2.75rem;
    background: var(--pink);
    border: 2px solid black;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 3px 3px 0 black;
    opacity: 0;
    transform: translateY(1rem);
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease, background 0.2s ease;
}

.pbf-scroll-top.is-visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.pbf-scroll-top:hover {
    background: var(--purple);
    transform: translateY(-2px);
}

.pbf-scroll-top:active {
    box-shadow: 1px 1px 0 black;
    transform: translateY(0);
}

/* Progress Line Gradient */
.progress-gradient {
    background: linear-gradient(90deg, #f8c8dc 0%, #a7d5f5 33%, #c8b8e8 66%, #f9e784 100%);
}

/* Number Badge Gradient */
.badge-gradient {
    background: linear-gradient(135deg, #f8c8dc 0%, #a7d5f5 100%);
}

/* Author Avatar Gradient */
.avatar-gradient {
    background: linear-gradient(to bottom right, var(--pink), var(--blue));
}

/* ==========================================================================
   Testimonials Carousel
   ========================================================================== */

.testimonial-card {
    background-color: white;
    border-radius: 1.5rem;
    border: 2px solid black;
    padding: 2rem;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.testimonial-active {
    transform: translateX(0) translateZ(0) rotateY(0deg) scale(1.1);
    opacity: 1;
    z-index: 10;
}

.testimonial-next {
    transform: translateX(120%) translateZ(-200px) rotateY(-25deg) scale(0.85);
    opacity: 0.6;
    z-index: 5;
}

.testimonial-prev {
    transform: translateX(-120%) translateZ(-200px) rotateY(25deg) scale(0.85);
    opacity: 0.6;
    z-index: 5;
}

.testimonial-hidden {
    transform: translateX(0) translateZ(-400px) scale(0.5);
    opacity: 0;
    z-index: 0;
}

/* ==========================================================================
   Gallery Lightbox
   ========================================================================== */

.lightbox-overlay {
    position: fixed;
    inset: 0;
    z-index: 50;
    display: none;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 0, 0, 0.9);
    padding: 1rem;
}

.lightbox-overlay:not(.hidden) {
    display: flex;
}

.lightbox-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 3rem;
    height: 3rem;
    background-color: white;
    border-radius: 9999px;
    border: 2px solid black;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 200ms;
}

.lightbox-close:hover {
    background-color: var(--pink);
}

/* ==========================================================================
   Pricing Cards
   ========================================================================== */

.pricing-featured {
    margin-top: -2rem;
}

.pricing-card {
    background-color: white;
    border: 2px solid black;
    border-radius: 1.5rem;
    padding: 2rem;
    transition: box-shadow 300ms;
}

.pricing-card:hover {
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

/* ==========================================================================
   Animation States (controlled by JS)
   ========================================================================== */

[data-animate] .animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s var(--ease-smooth-out), transform 0.6s var(--ease-smooth-out);
}

[data-animate].is-visible .animate-on-scroll {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered animation delays */
[data-delay="100"] { transition-delay: 100ms; }
[data-delay="200"] { transition-delay: 200ms; }
[data-delay="300"] { transition-delay: 300ms; }
[data-delay="400"] { transition-delay: 400ms; }
[data-delay="500"] { transition-delay: 500ms; }
[data-delay="600"] { transition-delay: 600ms; }
[data-delay="700"] { transition-delay: 700ms; }
[data-delay="800"] { transition-delay: 800ms; }
[data-delay="900"] { transition-delay: 900ms; }
[data-delay="1000"] { transition-delay: 1000ms; }

/* ==========================================================================
   Scrollbar Styling
   ========================================================================== */

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--pink);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #e8b5cc;
}

/* ==========================================================================
   Selection
   ========================================================================== */

::selection {
    background: var(--pink);
    color: black;
}

/* ==========================================================================
   Screen Reader Only
   ========================================================================== */

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* ==========================================================================
   Fill Classes for SVG Icons
   ========================================================================== */

.fill-brand-pink { fill: var(--pink); }
.fill-brand-blue { fill: var(--blue); }
.fill-brand-purple { fill: var(--purple); }
.fill-brand-yellow { fill: var(--yellow); }
.fill-brand-green { fill: var(--green); }
.fill-brand-orange { fill: var(--orange); }
.fill-white { fill: white; }
.fill-black { fill: black; }
.fill-current { fill: currentColor; }

/* ==========================================================================
   Responsive Utilities
   ========================================================================== */

/* Small screens (640px and up) */
@media (min-width: 640px) {
    .sm\:block { display: block; }
    .sm\:hidden { display: none; }
    .sm\:flex-row { flex-direction: row; }
    .sm\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .sm\:text-5xl { font-size: 3rem; line-height: 1.16; }
    .sm\:text-xl { font-size: 1.25rem; line-height: 1.75rem; }
}

/* Medium screens (768px and up) */
@media (min-width: 768px) {
    .md\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .md\:-mt-8 { margin-top: -2rem; }
}

/* Large screens (1024px and up) */
@media (min-width: 1024px) {
    .lg\:block { display: block; }
    .lg\:hidden { display: none; }
    .lg\:flex { display: flex; }
    .lg\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .lg\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .lg\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .lg\:gap-8 { gap: 2rem; }
    .lg\:px-12 { padding-left: 3rem; padding-right: 3rem; }
    .lg\:py-0 { padding-top: 0; padding-bottom: 0; }
    .lg\:py-20 { padding-top: 5rem; padding-bottom: 5rem; }
    .lg\:py-32 { padding-top: 8rem; padding-bottom: 8rem; }
    .lg\:text-left { text-align: left; }
    .lg\:text-6xl { font-size: 3.75rem; line-height: 1.1; }
    .lg\:mx-0 { margin-left: 0; margin-right: 0; }
    .lg\:justify-start { justify-content: flex-start; }
}

/* Extra large screens (1280px and up) */
@media (min-width: 1280px) {
    .xl\:text-7xl { font-size: 4.5rem; line-height: 1.05; }
}

/* ==========================================================================
   Sizing Utilities
   ========================================================================== */

.w-0 { width: 0; }
.w-3 { width: 0.75rem; }
.w-4 { width: 1rem; }
.w-5 { width: 1.25rem; }
.w-6 { width: 1.5rem; }
.w-7 { width: 1.75rem; }
.w-8 { width: 2rem; }
.w-10 { width: 2.5rem; }
.w-12 { width: 3rem; }
.w-14 { width: 3.5rem; }
.w-16 { width: 4rem; }
.w-20 { width: 5rem; }
.w-24 { width: 6rem; }
.w-32 { width: 8rem; }
.w-36 { width: 9rem; }
.w-40 { width: 10rem; }
.w-44 { width: 11rem; }
.w-48 { width: 12rem; }
.w-56 { width: 14rem; }
.w-\[800px\] { width: 800px; }

.h-auto { height: auto; }
.h-3 { height: 0.75rem; }
.h-4 { height: 1rem; }
.h-5 { height: 1.25rem; }
.h-6 { height: 1.5rem; }
.h-7 { height: 1.75rem; }
.h-8 { height: 2rem; }
.h-10 { height: 2.5rem; }
.h-12 { height: 3rem; }
.h-14 { height: 3.5rem; }
.h-16 { height: 4rem; }
.h-20 { height: 5rem; }
.h-24 { height: 6rem; }
.h-32 { height: 8rem; }
.h-\[400px\] { height: 400px; }
.h-\[500px\] { height: 500px; }
.h-\[600px\] { height: 600px; }

.aspect-square { aspect-ratio: 1 / 1; }
.aspect-\[3\/4\] { aspect-ratio: 3 / 4; }

/* ==========================================================================
   Position Offset Utilities
   ========================================================================== */

.top-8 { top: 2rem; }
.top-10 { top: 2.5rem; }
.top-20 { top: 5rem; }
.top-32 { top: 8rem; }
.top-40 { top: 10rem; }
.top-1\/2 { top: 50%; }
.top-1\/3 { top: 33.333333%; }
.top-1\/4 { top: 25%; }

.bottom-10 { bottom: 2.5rem; }
.bottom-20 { bottom: 5rem; }
.bottom-32 { bottom: 8rem; }
.bottom-40 { bottom: 10rem; }
.bottom-1\/4 { bottom: 25%; }

.left-1\/2 { left: 50%; }

/* Arbitrary position values */
.top-\[5\%\] { top: 5%; }
.top-\[10\%\] { top: 10%; }
.top-\[25\%\] { top: 25%; }
.top-\[45\%\] { top: 45%; }
.top-\[60\%\] { top: 60%; }

.left-\[5\%\] { left: 5%; }
.left-\[8\%\] { left: 8%; }
.left-\[10\%\] { left: 10%; }
.left-\[15\%\] { left: 15%; }
.left-\[20\%\] { left: 20%; }

.right-\[5\%\] { right: 5%; }
.right-\[8\%\] { right: 8%; }
.right-\[10\%\] { right: 10%; }
.right-\[12\%\] { right: 12%; }
.right-\[15\%\] { right: 15%; }
.right-\[20\%\] { right: 20%; }
.right-\[25\%\] { right: 25%; }

.bottom-\[15\%\] { bottom: 15%; }
.bottom-\[20\%\] { bottom: 20%; }
.bottom-\[25\%\] { bottom: 25%; }

/* Negative offsets */
.-top-2 { top: -0.5rem; }
.-top-4 { top: -1rem; }
.-bottom-0\.5 { bottom: -0.125rem; }
.-bottom-1 { bottom: -0.25rem; }
.-bottom-2 { bottom: -0.5rem; }
.-bottom-3 { bottom: -0.75rem; }
.-right-2 { right: -0.5rem; }
.-right-3 { right: -0.75rem; }
.-left-2 { left: -0.5rem; }
.-left-4 { left: -1rem; }

/* ==========================================================================
   Background Colors with Opacity
   ========================================================================== */

/* Brand colors */
.bg-brand-pink\/10 { background-color: rgba(248, 200, 220, 0.1); }
.bg-brand-pink\/20 { background-color: rgba(248, 200, 220, 0.2); }
.bg-brand-pink\/30 { background-color: rgba(248, 200, 220, 0.3); }

.bg-brand-blue\/10 { background-color: rgba(167, 213, 245, 0.1); }
.bg-brand-blue\/20 { background-color: rgba(167, 213, 245, 0.2); }
.bg-brand-blue\/30 { background-color: rgba(167, 213, 245, 0.3); }

.bg-brand-purple\/20 { background-color: rgba(200, 184, 232, 0.2); }
.bg-brand-purple\/30 { background-color: rgba(200, 184, 232, 0.3); }
.bg-brand-purple\/40 { background-color: rgba(200, 184, 232, 0.4); }

.bg-brand-yellow\/30 { background-color: rgba(249, 231, 132, 0.3); }
.bg-brand-yellow\/40 { background-color: rgba(249, 231, 132, 0.4); }

.bg-brand-green\/20 { background-color: rgba(184, 224, 216, 0.2); }
.bg-brand-green\/30 { background-color: rgba(184, 224, 216, 0.3); }
.bg-brand-green\/40 { background-color: rgba(184, 224, 216, 0.4); }

.bg-brand-orange\/20 { background-color: rgba(255, 212, 163, 0.2); }
.bg-brand-orange\/30 { background-color: rgba(255, 212, 163, 0.3); }

/* Base colors with opacity */
.bg-white\/10 { background-color: rgba(255, 255, 255, 0.1); }
.bg-white\/15 { background-color: rgba(255, 255, 255, 0.15); }
.bg-white\/20 { background-color: rgba(255, 255, 255, 0.2); }
.bg-black\/0 { background-color: rgba(0, 0, 0, 0); }
.bg-black\/30 { background-color: rgba(0, 0, 0, 0.3); }
.bg-black\/50 { background-color: rgba(0, 0, 0, 0.5); }
.bg-black\/90 { background-color: rgba(0, 0, 0, 0.9); }

/* Grays */
.bg-gray-50 { background-color: #f9fafb; }
.bg-gray-800 { background-color: #1f2937; }

/* Text colors with opacity */
.text-black\/30 { color: rgba(0, 0, 0, 0.3); }
.text-white\/40 { color: rgba(255, 255, 255, 0.4); }
.text-white\/50 { color: rgba(255, 255, 255, 0.5); }
.text-white\/60 { color: rgba(255, 255, 255, 0.6); }

/* Fill with opacity */
.fill-white\/40 { fill: rgba(255, 255, 255, 0.4); }
.fill-white\/50 { fill: rgba(255, 255, 255, 0.5); }

/* ==========================================================================
   Gradient Utilities
   ========================================================================== */

.bg-gradient-to-b {
    background-image: linear-gradient(to bottom, var(--pbf-gradient-stops, transparent, transparent));
}

.bg-gradient-to-br {
    background-image: linear-gradient(to bottom right, var(--pbf-gradient-stops, transparent, transparent));
}

.from-white {
    --pbf-gradient-from: white;
    --pbf-gradient-stops: var(--pbf-gradient-from), var(--pbf-gradient-to, transparent);
}

.from-brand-pink\/10 {
    --pbf-gradient-from: rgba(248, 200, 220, 0.1);
    --pbf-gradient-stops: var(--pbf-gradient-from), var(--pbf-gradient-to, transparent);
}

.from-brand-pink\/30 {
    --pbf-gradient-from: rgba(248, 200, 220, 0.3);
    --pbf-gradient-stops: var(--pbf-gradient-from), var(--pbf-gradient-to, transparent);
}

.to-brand-pink\/10 { --pbf-gradient-to: rgba(248, 200, 220, 0.1); }
.to-brand-blue\/10 { --pbf-gradient-to: rgba(167, 213, 245, 0.1); }
.to-brand-blue\/30 { --pbf-gradient-to: rgba(167, 213, 245, 0.3); }

/* ==========================================================================
   Spacing Extras
   ========================================================================== */

.space-y-3 > * + * { margin-top: 0.75rem; }
.space-y-4 > * + * { margin-top: 1rem; }

.py-1 { padding-top: 0.25rem; padding-bottom: 0.25rem; }
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.mt-0\.5 { margin-top: 0.125rem; }

/* ==========================================================================
   Hover State Utilities
   ========================================================================== */

.hover\:bg-brand-pink:hover { background-color: var(--pink); }
.hover\:bg-brand-pink\/20:hover { background-color: rgba(248, 200, 220, 0.2); }
.hover\:bg-brand-pink\/50:hover { background-color: rgba(248, 200, 220, 0.5); }
.hover\:bg-gray-50:hover { background-color: #f9fafb; }
.hover\:bg-gray-800:hover { background-color: #1f2937; }
.hover\:text-black:hover { color: black; }
.hover\:underline:hover { text-decoration: underline; }

.hover\:scale-105:hover {
    --pbf-scale-x: 1.05;
    --pbf-scale-y: 1.05;
    transform: var(--pbf-transform);
}

.hover\:scale-110:hover {
    --pbf-scale-x: 1.1;
    --pbf-scale-y: 1.1;
    transform: var(--pbf-transform);
}

.hover\:rotate-12:hover {
    --pbf-rotate: 12deg;
    transform: var(--pbf-transform);
}

.hover\:translate-x-1:hover {
    --pbf-tx: 0.25rem;
    transform: var(--pbf-transform);
}

.hover\:shadow-2xl:hover {
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

/* Active State */
.active\:scale-95:active {
    --pbf-scale-x: 0.95;
    --pbf-scale-y: 0.95;
    transform: var(--pbf-transform);
}

/* ==========================================================================
   Group Hover Utilities
   ========================================================================== */

.group:hover .group-hover\:rotate-12 {
    --pbf-rotate: 12deg;
    transform: var(--pbf-transform);
}

.group:hover .group-hover\:translate-x-1 {
    --pbf-tx: 0.25rem;
    transform: var(--pbf-transform);
}

.group:hover .group-hover\:translate-x-2 {
    --pbf-tx: 0.5rem;
    transform: var(--pbf-transform);
}

.group:hover .group-hover\:-translate-y-2 {
    --pbf-ty: -0.5rem;
    transform: var(--pbf-transform);
}

.group:hover .group-hover\:translate-y-0 {
    --pbf-ty: 0;
    transform: var(--pbf-transform);
}

.group:hover .group-hover\:scale-110 {
    --pbf-scale-x: 1.1;
    --pbf-scale-y: 1.1;
    transform: var(--pbf-transform);
}

.group:hover .group-hover\:scale-150 {
    --pbf-scale-x: 1.5;
    --pbf-scale-y: 1.5;
    transform: var(--pbf-transform);
}

.group:hover .group-hover\:bg-black\/30 {
    background-color: rgba(0, 0, 0, 0.3);
}

.group:hover .group-hover\:w-full {
    width: 100%;
}

.group:hover .group-hover\:left-0 {
    left: 0;
}

/* ==========================================================================
   Additional Responsive Utilities
   ========================================================================== */

@media (min-width: 640px) {
    .sm\:h-\[350px\] { height: 350px; }
}

@media (min-width: 1024px) {
    .lg\:w-44 { width: 11rem; }
    .lg\:w-48 { width: 12rem; }
    .lg\:w-56 { width: 14rem; }
    .lg\:h-\[600px\] { height: 600px; }
}

/* ==========================================================================
   WordPress Specific
   ========================================================================== */

/* Editor alignment */
.alignwide {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.alignfull {
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
}

/* Admin bar adjustment */
.admin-bar #site-navigation {
    top: 32px;
}

@media screen and (max-width: 782px) {
    .admin-bar #site-navigation {
        top: 46px;
    }
}

/* Block spacing (front page: no gaps between full-width blocks) */
.front-page .entry-content > * + * {
    margin-top: 0;
}

/* ==========================================================================
   Prose / Content Typography
   ========================================================================== */

.prose {
    font-family: 'Satoshi', sans-serif;
    font-size: 1.125rem;
    line-height: 1.8;
    color: rgba(0, 0, 0, 0.85);
}

.prose > * + * {
    margin-top: 1.5em;
}

.prose h1, .prose h2, .prose h3, .prose h4, .prose h5, .prose h6 {
    font-family: 'Shrikhand', serif;
    letter-spacing: -0.02em;
    line-height: 1.3;
    color: black;
}

.prose h1 { font-size: 2.25rem; margin-top: 0; }
.prose h2 { font-size: 1.875rem; margin-top: 2.5em; }
.prose h3 { font-size: 1.5rem; margin-top: 2em; }
.prose h4 { font-size: 1.25rem; margin-top: 1.5em; }

.prose p {
    margin-top: 1.25em;
    margin-bottom: 0;
}

.prose a {
    color: black;
    text-decoration: underline;
    text-decoration-color: var(--pink);
    text-underline-offset: 3px;
    text-decoration-thickness: 2px;
    transition: text-decoration-color 0.2s;
}

.prose a:hover {
    text-decoration-color: black;
}

.prose strong {
    font-weight: 700;
}

.prose blockquote {
    border-left: 4px solid var(--pink);
    padding: 1rem 1.5rem;
    margin: 2em 0;
    font-style: italic;
    background: rgba(248, 200, 220, 0.1);
    border-radius: 0 0.75rem 0.75rem 0;
}

.prose blockquote p {
    margin-top: 0;
}

.prose ul, .prose ol {
    padding-left: 1.5em;
    margin-top: 1.25em;
}

.prose ul {
    list-style-type: disc;
}

.prose ol {
    list-style-type: decimal;
}

.prose li {
    margin-top: 0.5em;
}

.prose li::marker {
    color: var(--pink);
}

.prose img {
    max-width: 100%;
    height: auto;
    border-radius: 1rem;
    border: 2px solid black;
    margin: 2em 0;
}

.prose figure {
    margin: 2em 0;
}

.prose figcaption {
    font-size: 0.875rem;
    color: rgba(0, 0, 0, 0.5);
    text-align: center;
    margin-top: 0.75em;
}

.prose pre {
    background: #1a1a1a;
    color: #e5e5e5;
    padding: 1.25rem 1.5rem;
    border-radius: 0.75rem;
    border: 2px solid black;
    overflow-x: auto;
    font-size: 0.875rem;
    line-height: 1.7;
    margin: 2em 0;
}

.prose code {
    font-family: 'SF Mono', 'Fira Code', monospace;
    font-size: 0.875em;
}

.prose :not(pre) > code {
    background: rgba(0, 0, 0, 0.06);
    padding: 0.2em 0.4em;
    border-radius: 0.25rem;
}

.prose hr {
    border: none;
    height: 2px;
    background: linear-gradient(90deg, var(--pink), var(--blue), var(--purple));
    margin: 3em 0;
    border-radius: 1px;
}

.prose table {
    width: 100%;
    border-collapse: collapse;
    margin: 2em 0;
    font-size: 0.95rem;
}

.prose th, .prose td {
    border: 2px solid rgba(0, 0, 0, 0.1);
    padding: 0.75rem 1rem;
    text-align: left;
}

.prose th {
    background: var(--pink);
    font-weight: 700;
    font-family: 'Shrikhand', serif;
    font-size: 0.875rem;
    letter-spacing: 0.02em;
}

.prose tbody tr:nth-child(even) {
    background: rgba(0, 0, 0, 0.02);
}

/* Line clamp utility for archive excerpts */
.line-clamp-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ==========================================================================
   WordPress Pagination
   ========================================================================== */

.nav-links {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'Satoshi', sans-serif;
}

.nav-links a, .nav-links span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.5rem;
    height: 2.5rem;
    padding: 0 0.75rem;
    border: 2px solid black;
    border-radius: 0.75rem;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.2s;
}

.nav-links a {
    background: white;
    color: black;
}

.nav-links a:hover {
    background: var(--pink);
    transform: translateY(-2px);
}

.nav-links .current {
    background: black;
    color: white;
}

/* WordPress tag links */
.tag-links a {
    display: inline-block;
    font-family: 'Satoshi', sans-serif;
    font-size: 0.8rem;
    background: white;
    border: 2px solid black;
    border-radius: 9999px;
    padding: 0.25rem 0.75rem;
    color: black;
    text-decoration: none;
    transition: all 0.2s;
}

.tag-links a:hover {
    background: var(--pink);
}

/* WordPress category links in post meta */
.cat-links a {
    text-decoration: none;
    color: inherit;
}

.cat-links a:hover {
    color: var(--pink);
}

/* ==========================================================================
   WordPress Accordion Block
   ========================================================================== */

.wp-block-accordion {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* --- Item card --- */

.wp-block-accordion-item {
    background: white;
    border: 2px solid black;
    border-radius: 1.5rem;
    box-shadow: 4px 4px 0 black;
    overflow: hidden;
    transition: box-shadow 0.3s var(--ease-smooth-out),
                transform 0.3s var(--ease-smooth-out),
                border-color 0.3s;
}

.wp-block-accordion-item:hover {
    transform: translate(2px, 2px);
    box-shadow: 2px 2px 0 black;
}

.wp-block-accordion-item.is-open {
    border-color: var(--pink);
    box-shadow: 4px 4px 0 var(--pink);
}

.wp-block-accordion-item.is-open:hover {
    box-shadow: 2px 2px 0 var(--pink);
}

/* --- Heading --- */

.wp-block-accordion-heading {
    margin: 0;
}

/* Override any WP preset background on the heading */
.wp-block-accordion-heading.has-background,
.wp-block-accordion-heading[class*="-background-color"] {
    background: transparent !important;
}

/* --- Toggle button --- */

.wp-block-accordion-heading__toggle {
    font-family: 'Shrikhand', serif;
    font-size: 1.125rem;
    letter-spacing: -0.02em;
    padding: 1.25rem 1.5rem !important;
    gap: 1rem;
    transition: color 0.2s;
}

.wp-block-accordion-heading__toggle:hover .wp-block-accordion-heading__toggle-title {
    text-decoration: none !important;
}

.wp-block-accordion-item:hover .wp-block-accordion-heading__toggle {
    color: var(--pink);
}

.wp-block-accordion-item.is-open .wp-block-accordion-heading__toggle {
    color: black;
}

/* --- Toggle icon (pink circle with +) --- */

.wp-block-accordion-heading__toggle-icon {
    width: 2rem;
    height: 2rem;
    background: var(--pink);
    border: 2px solid black;
    border-radius: 9999px;
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1;
    flex-shrink: 0;
    transition: transform 0.35s var(--ease-bounce-soft),
                background-color 0.3s;
}

.wp-block-accordion-item.is-open .wp-block-accordion-heading__toggle-icon {
    background: var(--yellow);
}

/* --- Panel content --- */

.wp-block-accordion-panel {
    font-family: 'Satoshi', sans-serif;
    font-size: 1rem;
    line-height: 1.75;
    color: rgba(0, 0, 0, 0.75);
    padding: 0 1.5rem 1.5rem !important;
}

.wp-block-accordion-panel::before {
    content: '';
    display: block;
    height: 2px;
    background: linear-gradient(90deg, var(--pink), var(--blue), var(--purple));
    border-radius: 1px;
    margin-bottom: 1.25rem;
    opacity: 0.5;
}

.wp-block-accordion-panel p {
    margin-top: 0;
    margin-bottom: 0.75em;
}

.wp-block-accordion-panel p:last-child {
    margin-bottom: 0;
}

/* Entrance animation for panel content */
@media (prefers-reduced-motion: no-preference) {
    .wp-block-accordion-item.is-open > .wp-block-accordion-panel {
        animation: accordion-reveal 0.4s var(--ease-smooth-out) both;
    }

    @keyframes accordion-reveal {
        from {
            opacity: 0;
            transform: translateY(-0.5rem);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    /* Override WP icon transition with bouncier easing */
    .wp-block-accordion-heading__toggle-icon {
        transition: transform 0.35s var(--ease-bounce-soft),
                    background-color 0.3s !important;
    }
}

/* --- Alternating accent colors for variety --- */

.wp-block-accordion-item:nth-child(6n+2).is-open {
    border-color: var(--blue);
    box-shadow: 4px 4px 0 var(--blue);
}
.wp-block-accordion-item:nth-child(6n+2).is-open:hover {
    box-shadow: 2px 2px 0 var(--blue);
}
.wp-block-accordion-item:nth-child(6n+2) .wp-block-accordion-heading__toggle-icon {
    background: var(--blue);
}

.wp-block-accordion-item:nth-child(6n+3).is-open {
    border-color: var(--purple);
    box-shadow: 4px 4px 0 var(--purple);
}
.wp-block-accordion-item:nth-child(6n+3).is-open:hover {
    box-shadow: 2px 2px 0 var(--purple);
}
.wp-block-accordion-item:nth-child(6n+3) .wp-block-accordion-heading__toggle-icon {
    background: var(--purple);
}

.wp-block-accordion-item:nth-child(6n+4).is-open {
    border-color: var(--yellow);
    box-shadow: 4px 4px 0 var(--yellow);
}
.wp-block-accordion-item:nth-child(6n+4).is-open:hover {
    box-shadow: 2px 2px 0 var(--yellow);
}
.wp-block-accordion-item:nth-child(6n+4) .wp-block-accordion-heading__toggle-icon {
    background: var(--yellow);
}

.wp-block-accordion-item:nth-child(6n+5).is-open {
    border-color: var(--green);
    box-shadow: 4px 4px 0 var(--green);
}
.wp-block-accordion-item:nth-child(6n+5).is-open:hover {
    box-shadow: 2px 2px 0 var(--green);
}
.wp-block-accordion-item:nth-child(6n+5) .wp-block-accordion-heading__toggle-icon {
    background: var(--green);
}

.wp-block-accordion-item:nth-child(6n+6).is-open {
    border-color: var(--orange);
    box-shadow: 4px 4px 0 var(--orange);
}
.wp-block-accordion-item:nth-child(6n+6).is-open:hover {
    box-shadow: 2px 2px 0 var(--orange);
}
.wp-block-accordion-item:nth-child(6n+6) .wp-block-accordion-heading__toggle-icon {
    background: var(--orange);
}

/* Open state icon color always yellow for contrast */
.wp-block-accordion-item.is-open .wp-block-accordion-heading__toggle-icon {
    background: var(--yellow);
}
