/*
Theme Name: Aura Bloom
Theme URI: https://github.com/think-build-repeat/aura-bloom
Author: Junie Studio
Author URI: https://github.com/think-build-repeat
Description: A modern, aesthetic girl's tech & life WordPress blog theme featuring WebGL interactive 3D background, GSAP silky-smooth animations, and Tailwind CSS. Built for creators who live by "记录知识,分享乐趣, think,build and repeat."
Version: 1.0.0
Requires at least: 5.8
Tested up to: 6.6
Requires PHP: 7.4
License: MIT
Text Domain: aura-bloom
Tags: blog, clean, grid-layout, two-columns, custom-colors, custom-logo, custom-menu, featured-images, theme-options, translation-ready
*/

:root {
  --color-peach-light: #fff5ee;
  --color-peach-base: #fec4a4;
  --color-peach-gold: #fdd9a7;
  --color-peach-accent: #f28557;
  --color-matcha-light: #f0fbe8;
  --color-matcha-base: #8ede58;
  --color-matcha-dark: #6ab835;
  --color-rose-light: #fcf1f2;
  --color-rose-base: #e7bdbe;
  --color-slate-indigo: #4e5d7a;
  --color-slate-deep: #2c384e;
  --bg-warm: #fffbf7;
  --card-bg: rgba(255, 255, 255, 0.85);
  --card-glass: rgba(255, 255, 255, 0.68);
  --card-border: rgba(254, 196, 164, 0.35);
  --shadow-warm: 0 10px 30px -10px rgba(242, 133, 87, 0.12), 0 4px 12px -2px rgba(78, 93, 122, 0.06);
  --shadow-hover: 0 20px 40px -15px rgba(242, 133, 87, 0.2), 0 8px 20px -4px rgba(142, 222, 88, 0.15);
}

/* Base resets & smooth scrolling */
html {
  scroll-behavior: smooth;
  font-feature-settings: "cv02", "cv03", "cv04", "cv11";
}

body {
  background-color: var(--bg-warm);
  color: var(--color-slate-deep);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  overflow-x: hidden;
  min-height: 100vh;
}

/* Glassmorphism elements */
.glass-panel {
  background: var(--card-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--card-border);
  box-shadow: var(--shadow-warm);
}

.glass-panel-hover {
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.glass-panel-hover:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(242, 133, 87, 0.45);
}

/* Glowing text and gradient badges */
.gradient-text {
  background: linear-gradient(135deg, #f28557 0%, #e7bdbe 50%, #4e5d7a 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gradient-badge-peach {
  background: linear-gradient(135deg, #fff2e8 0%, #fdd9a7 100%);
  color: #c45b2b;
}

.gradient-badge-matcha {
  background: linear-gradient(135deg, #f0fbe8 0%, #c9f5a4 100%);
  color: #4b8822;
}

.gradient-badge-rose {
  background: linear-gradient(135deg, #fdf2f3 0%, #f5d1d3 100%);
  color: #9e4f5a;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: #fbf5ee;
}
::-webkit-scrollbar-thumb {
  background: #fdd9a7;
  border-radius: 9999px;
  border: 2px solid #fbf5ee;
}
::-webkit-scrollbar-thumb:hover {
  background: #fec4a4;
}

/* WebGL Background Canvas */
#webgl-bg-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  pointer-events: none;
  opacity: 0.85;
}

/* Reading Progress Bar */
#reading-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, #fec4a4, #8ede58, #f28557);
  z-index: 100;
  width: 0%;
  transition: width 0.1s ease-out;
}
