/* ============================================
   Bloom - あなたらしく咲く毎日を
   Modern Lifestyle Website
   ============================================ */

/* ---------- Skip Link ---------- */
.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  background: var(--gradient-1);
  color: #fff;
  padding: 12px 24px;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 400;
  z-index: 10000;
  transition: top 0.3s ease;
}

.skip-link:focus {
  top: 0;
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --pink: #f7a8b8;
  --lavender: #c4b1e0;
  --peach: #fdd6ef;
  --coral: #ffb7ba;
  --mint: #b4f0f7;
  --gold: #fff3e0;
  --white: #ffffff;
  --dark: #5c5c6e;
  --gray: #9b9faa;
  --light-gray: #faf8fc;
  --gradient-1: linear-gradient(135deg, #f7a8b8 0%, #ffcfd5 100%);
  --gradient-2: linear-gradient(135deg, #c4b1e0 0%, #fdd6ef 100%);
  --gradient-3: linear-gradient(135deg, #fde4d8 0%, #ffd9f5 100%);
  --gradient-hero: linear-gradient(135deg, #fde4d8 0%, #fdd6ef 50%, #c4b1e0 100%);
  --shadow-sm: 0 2px 12px rgba(200, 180, 220, 0.12);
  --shadow-md: 0 8px 32px rgba(200, 180, 220, 0.15);
  --shadow-lg: 0 20px 60px rgba(200, 180, 220, 0.18);
  --radius: 24px;
  --radius-sm: 16px;
  --transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Zen Maru Gothic', 'Noto Sans JP', sans-serif;
  font-weight: 300;
  color: var(--dark);
  background: var(--white);
  overflow-x: hidden;
  line-height: 1.9;
  letter-spacing: 0.06em;
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

img {
  max-width: 100%;
  display: block;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 120px 0;
  position: relative;
}

/* ---------- Glass Effect ---------- */
.glass {
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.5);
}

/* ---------- Particles ---------- */
.particles {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.particle {
  position: absolute;
  border-radius: 50%;
  opacity: 0.1;
  animation: floatParticle linear infinite;
}

@keyframes floatParticle {
  0% {
    transform: translateY(100vh) rotate(0deg);
    opacity: 0;
  }
  10% {
    opacity: 0.15;
  }
  90% {
    opacity: 0.15;
  }
  100% {
    transform: translateY(-100px) rotate(720deg);
    opacity: 0;
  }
}

/* ---------- Navigation ---------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 20px 0;
  transition: var(--transition);
}

.nav.scrolled {
  padding: 12px 0;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Dancing Script', cursive;
  font-size: 1.8rem;
  font-weight: 700;
  z-index: 1001;
}

.logo-icon {
  font-size: 1.4rem;
  animation: spin 8s linear infinite;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.logo-text {
  background: var(--gradient-1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  position: relative;
  color: var(--dark);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-1);
  transition: var(--transition);
}

.nav-link:hover::after {
  width: 100%;
}

.nav-link.active::after {
  width: 100%;
}

.nav-link.active {
  color: var(--pink);
}

.nav-link-cta {
  background: var(--gradient-1);
  color: white !important;
  padding: 10px 24px;
  border-radius: 50px;
  font-weight: 400;
}

.nav-link-cta::after {
  display: none;
}

.nav-link-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(247, 168, 184, 0.3);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1001;
  padding: 4px;
}

.hamburger span {
  width: 24px;
  height: 2px;
  background: var(--dark);
  transition: var(--transition);
  border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 6px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -6px);
}

/* ---------- Hero Section ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: var(--gradient-hero);
  opacity: 0.35;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 24px;
}

.hero-subtitle {
  font-family: 'Dancing Script', cursive;
  font-size: 1.3rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--gray);
  margin-bottom: 24px;
}

.hero-title {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(2.5rem, 7vw, 5rem);
  font-weight: 300;
  line-height: 1.3;
  margin-bottom: 24px;
}

.hero-line {
  display: block;
}

.hero-line.accent {
  background: var(--gradient-1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-desc {
  font-size: 1rem;
  color: var(--gray);
  max-width: 500px;
  margin: 0 auto 40px;
  font-weight: 300;
  line-height: 2;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 80px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 36px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  transition: var(--transition);
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--gradient-1);
  color: white;
  box-shadow: 0 8px 30px rgba(247, 168, 184, 0.25);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(247, 168, 184, 0.3);
}

.btn-outline {
  background: transparent;
  color: var(--dark);
  border: 2px solid rgba(0, 0, 0, 0.1);
}

.btn-outline:hover {
  border-color: var(--pink);
  color: var(--pink);
  transform: translateY(-2px);
}

/* Scroll Indicator */
.scroll-indicator {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--gray);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  font-weight: 300;
}

.scroll-mouse {
  width: 24px;
  height: 38px;
  border: 2px solid rgba(0, 0, 0, 0.15);
  border-radius: 12px;
  display: flex;
  justify-content: center;
  padding-top: 8px;
}

.scroll-dot {
  width: 4px;
  height: 8px;
  background: var(--pink);
  border-radius: 4px;
  animation: scrollDot 2s ease-in-out infinite;
}

@keyframes scrollDot {
  0%, 100% { transform: translateY(0); opacity: 1; }
  50% { transform: translateY(10px); opacity: 0.3; }
}

/* Hero Shapes */
.hero-shapes {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.12;
}

.shape-1 {
  width: 400px;
  height: 400px;
  background: var(--gradient-1);
  top: -100px;
  right: -100px;
  animation: float1 20s ease-in-out infinite;
}

.shape-2 {
  width: 300px;
  height: 300px;
  background: var(--gradient-2);
  bottom: -50px;
  left: -80px;
  animation: float2 25s ease-in-out infinite;
}

.shape-3 {
  width: 200px;
  height: 200px;
  background: linear-gradient(135deg, #89f7fe, #66a6ff);
  top: 30%;
  left: 10%;
  animation: float3 18s ease-in-out infinite;
}

.shape-4 {
  width: 150px;
  height: 150px;
  background: var(--gradient-3);
  bottom: 20%;
  right: 15%;
  animation: float1 22s ease-in-out infinite reverse;
}

@keyframes float1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -30px) scale(1.05); }
  66% { transform: translate(-20px, 20px) scale(0.95); }
}

@keyframes float2 {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  50% { transform: translate(40px, -40px) rotate(180deg); }
}

@keyframes float3 {
  0%, 100% { transform: translate(0, 0); }
  25% { transform: translate(20px, 30px); }
  50% { transform: translate(-10px, 50px); }
  75% { transform: translate(-30px, 20px); }
}

/* ---------- Section Header ---------- */
.section-header {
  text-align: center;
  margin-bottom: 80px;
}

.section-tag {
  font-family: 'Dancing Script', cursive;
  font-size: 1.1rem;
  letter-spacing: 0.05em;
  color: var(--pink);
  font-weight: 400;
  display: block;
  margin-bottom: 16px;
}

.section-title {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 300;
  line-height: 1.4;
  margin-bottom: 20px;
}

.section-line {
  width: 50px;
  height: 2px;
  background: var(--gradient-1);
  margin: 0 auto;
  border-radius: 2px;
}

/* ---------- About Section ---------- */
.about {
  background: var(--light-gray);
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.about-card {
  padding: 48px 36px;
  border-radius: var(--radius);
  text-align: center;
  transition: var(--transition);
}

.about-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.about-icon {
  font-size: 3rem;
  margin-bottom: 24px;
  display: inline-block;
  animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}

.about-card h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 1.3rem;
  font-weight: 300;
  margin-bottom: 16px;
}

.about-card p {
  font-size: 0.9rem;
  color: var(--gray);
  line-height: 1.9;
}

/* ---------- Features Section ---------- */
.features-grid {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.feature-card {
  display: flex;
  align-items: center;
  gap: 40px;
  padding: 48px;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid rgba(200, 180, 220, 0.12);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.feature-card:hover .feature-circle {
  transform: scale(1.2);
}

.feature-number {
  font-family: 'Dancing Script', cursive;
  font-size: 4rem;
  font-weight: 700;
  background: var(--gradient-1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  flex-shrink: 0;
  line-height: 1;
}

.feature-content {
  flex: 1;
}

.feature-content h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 1.3rem;
  font-weight: 300;
  margin-bottom: 12px;
}

.feature-content p {
  font-size: 0.9rem;
  color: var(--gray);
  line-height: 1.9;
  margin-bottom: 16px;
}

.feature-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.tag {
  font-size: 0.75rem;
  padding: 4px 14px;
  border-radius: 50px;
  background: linear-gradient(135deg, rgba(247, 168, 184, 0.12), rgba(196, 177, 224, 0.12));
  color: var(--pink);
  font-weight: 400;
  letter-spacing: 0.05em;
}

.feature-visual {
  flex-shrink: 0;
}

.feature-circle {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: var(--gradient-3);
  opacity: 0.6;
  transition: var(--transition);
}

.feature-card:nth-child(2) .feature-circle {
  background: var(--gradient-2);
}

.feature-card:nth-child(3) .feature-circle {
  background: linear-gradient(135deg, #89f7fe, #66a6ff);
}

/* ---------- Lifestyle Section ---------- */
.lifestyle {
  background: var(--light-gray);
}

.lifestyle-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 24px;
}

.lifestyle-card {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
  transition: var(--transition);
  cursor: pointer;
}

.lifestyle-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.lifestyle-card.large {
  grid-column: 1;
  grid-row: 1 / 3;
  display: flex;
  flex-direction: column;
}

.lifestyle-card-bg {
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.lifestyle-card.large .lifestyle-card-bg {
  flex: 1;
  min-height: 200px;
}

.lifestyle-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.lifestyle-card:hover .lifestyle-card-img {
  transform: scale(1.08);
}

.lifestyle-card-content {
  padding: 28px;
}

.lifestyle-category {
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--pink);
  margin-bottom: 12px;
  display: block;
}

.lifestyle-card-content h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 1.2rem;
  font-weight: 300;
  line-height: 1.5;
  margin-bottom: 12px;
}

.lifestyle-card-content p {
  font-size: 0.85rem;
  color: var(--gray);
  line-height: 1.8;
  margin-bottom: 16px;
}

.read-more {
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--pink);
  transition: var(--transition);
}

.read-more:hover {
  letter-spacing: 0.1em;
}

/* ---------- Gallery Section ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.gallery-item {
  aspect-ratio: 1;
  border-radius: var(--radius);
  position: relative;
  overflow: hidden;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.gallery-item:hover .gallery-img {
  transform: scale(1.1);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
}

.gallery-overlay span {
  color: white;
  font-family: 'Dancing Script', cursive;
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 0.05em;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

/* ---------- Testimonials Section ---------- */
.testimonials {
  background: var(--light-gray);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.testimonial-card {
  padding: 40px 32px;
  border-radius: var(--radius);
  transition: var(--transition);
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.testimonial-stars {
  color: #fbbf24;
  font-size: 1rem;
  letter-spacing: 0.1em;
  margin-bottom: 20px;
}

.star-half {
  display: inline-block;
  overflow: hidden;
  width: 0.55em;
  line-height: 1;
  vertical-align: baseline;
}

.testimonial-text {
  font-size: 0.95rem;
  line-height: 2;
  color: var(--dark);
  margin-bottom: 28px;
  font-weight: 300;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 600;
  font-size: 1.1rem;
}

.testimonial-author strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 500;
}

.testimonial-author span {
  font-size: 0.8rem;
  color: var(--gray);
}

/* ---------- Stats Section ---------- */
.stats {
  background: var(--gradient-hero);
  padding: 80px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  text-align: center;
}

.stat-number {
  font-family: 'Dancing Script', cursive;
  font-size: 3.2rem;
  font-weight: 700;
  color: var(--dark);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--gray);
  font-weight: 400;
}

/* ---------- Newsletter Section ---------- */
.newsletter-inner {
  max-width: 600px;
  margin: 0 auto;
  padding: 64px 48px;
  border-radius: var(--radius);
  text-align: center;
  background: rgba(255, 255, 255, 0.75);
}

.newsletter-inner h2 {
  font-family: 'Poppins', sans-serif;
  font-size: 1.8rem;
  font-weight: 300;
  margin-bottom: 16px;
  line-height: 1.5;
}

.newsletter-inner > p {
  font-size: 0.9rem;
  color: var(--gray);
  margin-bottom: 32px;
}

.newsletter-form {
  display: flex;
  gap: 12px;
  max-width: 440px;
  margin: 0 auto;
}

.newsletter-form input {
  flex: 1;
  padding: 14px 20px;
  border: 2px solid rgba(200, 180, 220, 0.15);
  border-radius: 50px;
  font-size: 0.9rem;
  font-family: inherit;
  outline: none;
  transition: var(--transition);
  background: rgba(255, 255, 255, 0.8);
}

.newsletter-form input:focus {
  border-color: var(--pink);
  box-shadow: 0 0 0 4px rgba(247, 168, 184, 0.12);
}

.newsletter-note {
  font-size: 0.75rem;
  color: var(--gray);
  margin-top: 16px;
}

/* ---------- Footer ---------- */
.footer {
  background: #6e6583;
  color: rgba(255, 255, 255, 0.75);
  padding: 80px 0 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 60px;
}

.footer-brand .logo {
  margin-bottom: 16px;
}

.footer-brand .logo-text {
  -webkit-text-fill-color: white;
}

.footer-brand .logo-icon {
  color: var(--pink);
}

.footer-brand p {
  font-size: 0.9rem;
  margin-bottom: 24px;
}

.social-links {
  display: flex;
  gap: 16px;
}

.social-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.social-link:hover {
  background: var(--gradient-1);
  border-color: transparent;
  transform: translateY(-2px);
}

.footer-links h4 {
  font-family: 'Poppins', sans-serif;
  color: white;
  font-size: 0.9rem;
  font-weight: 300;
  margin-bottom: 20px;
  letter-spacing: 0.05em;
}

.footer-links a {
  display: block;
  font-size: 0.85rem;
  padding: 6px 0;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--pink);
  padding-left: 8px;
}

.footer-bottom {
  text-align: center;
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.8rem;
}

/* ---------- Section CTA ---------- */
.section-cta {
  text-align: center;
  margin-top: 56px;
}

/* ---------- Reveal Animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1s ease, transform 1s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .about-grid,
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .feature-card {
    padding: 36px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 80px 0;
  }

  .hamburger {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    gap: 24px;
    transition: var(--transition);
  }

  .nav-links.open {
    right: 0;
  }

  .nav-link {
    font-size: 1.2rem;
  }

  .about-grid,
  .testimonials-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .lifestyle-grid {
    grid-template-columns: 1fr;
  }

  .lifestyle-card.large {
    grid-column: 1;
    grid-row: auto;
  }

  .lifestyle-card.large .lifestyle-card-bg {
    min-height: 200px;
  }

  .feature-card {
    flex-direction: column;
    text-align: center;
    padding: 32px 24px;
    gap: 20px;
  }

  .feature-number {
    font-size: 3rem;
  }

  .feature-tags {
    justify-content: center;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }

  .newsletter-form {
    flex-direction: column;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .hero-actions {
    margin-bottom: 60px;
  }

  .section-header {
    margin-bottom: 48px;
  }
}

@media (max-width: 480px) {
  html {
    font-size: 14px;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ---------- Custom Cursor (desktop only) ---------- */
@media (hover: hover) {
  .cursor-dot {
    width: 8px;
    height: 8px;
    background: var(--pink);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    transition: width 0.3s, height 0.3s, background 0.3s;
    transform: translate(-50%, -50%);
    mix-blend-mode: difference;
  }

  .cursor-ring {
    width: 36px;
    height: 36px;
    border: 2px solid rgba(247, 168, 184, 0.3);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9998;
    transition: width 0.3s, height 0.3s, border-color 0.3s;
    transform: translate(-50%, -50%);
  }
}

/* ---------- Selection ---------- */
::selection {
  background: rgba(247, 168, 184, 0.25);
  color: var(--dark);
}

/* ---------- Focus Visible ---------- */
:focus-visible {
  outline: 3px solid var(--pink);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- Active Nav Link ---------- */


/* ---------- Back to Top Button ---------- */
.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gradient-1);
  color: #fff;
  font-size: 1.2rem;
  border: none;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition: opacity 0.4s ease, visibility 0.4s ease, transform 0.4s ease;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

/* ---------- Reduced Motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.15s !important;
  }

  html {
    scroll-behavior: auto;
  }

  .particle,
  .logo-icon,
  .scroll-dot,
  .shape,
  .about-icon {
    animation: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ---------- Smooth scroll offset for fixed nav ---------- */
[id] {
  scroll-margin-top: 80px;
}
