@charset "UTF-8";
/**
 * Skin — 023-k5print
 * Theme: "Fuchsia Learning Hub" — a world-class, top-tier aesthetic.
 * Rich aesthetics, glassmorphism, dynamic micro-animations, modern typography.
 */

:root {
  --ws-ink: var(--site-text);
  --ws-muted: var(--site-text-muted);
  --ws-bg: var(--site-background);
  --ws-surface: var(--site-surface);
  --ws-primary: var(--site-primary);
  --ws-primary-dark: var(--site-primary-dark);
  --ws-accent: var(--site-accent);
  --ws-line: color-mix(in srgb, var(--ws-primary) 20%, transparent);
  --ws-line-soft: color-mix(in srgb, var(--ws-primary) 10%, transparent);
  --ws-shadow: 0 20px 40px rgba(217, 70, 239, 0.12);
  --ws-shadow-hover: 0 30px 60px rgba(217, 70, 239, 0.2);
  --ws-shadow-soft: 0 10px 24px rgba(217, 70, 239, 0.08);
}

::selection {
  background: color-mix(in srgb, var(--ws-primary) 25%, white);
  color: var(--ws-primary-dark);
}

body {
  background: 
    radial-gradient(1200px 800px at 0% 0%, color-mix(in srgb, var(--ws-primary) 12%, transparent), transparent),
    radial-gradient(1000px 800px at 100% 100%, color-mix(in srgb, var(--ws-accent) 8%, transparent), transparent),
    var(--ws-bg);
  color: var(--ws-ink);
  font-family: var(--font-body);
  overflow-x: hidden;
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  letter-spacing: -0.02em;
}

@media print {
  body { background: white !important; }
}

/* Header / Nav */
.site-header, [class*="site-header"], header[role="banner"] {
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 4px 30px rgba(217, 70, 239, 0.05);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
}

.main-nav a {
  padding: 0.5rem 1rem;
  border-radius: var(--radius-button);
  font-weight: 700;
  font-family: var(--font-heading);
  color: var(--ws-muted);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.main-nav a:hover {
  background: var(--ws-surface);
  color: var(--ws-primary);
  box-shadow: 0 4px 12px rgba(217, 70, 239, 0.1);
  transform: translateY(-1px);
}

/* Typography & Elements */
.eyebrow, .ws-eyebrow, [class*="eyebrow"] {
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 800;
  font-family: var(--font-heading);
  background: linear-gradient(135deg, var(--ws-primary), var(--ws-accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 0.85rem;
  margin-bottom: 1rem;
  display: inline-block;
}

.btn, .ws-btn, button[type="submit"], a.button-primary {
  appearance: none;
  border: 1px solid var(--ws-line);
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  color: var(--ws-primary-dark);
  padding: 0.85rem 1.4rem;
  border-radius: var(--radius-button);
  font-weight: 700;
  font-family: var(--font-heading);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  box-shadow: var(--ws-shadow-soft);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
}

.btn:hover, .ws-btn:hover, button[type="submit"]:hover, a.button-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--ws-shadow);
  border-color: var(--ws-primary);
  background: var(--ws-surface);
  color: var(--ws-primary);
  text-decoration: none;
}

.btn-primary, .ws-btn-primary, .button-primary {
  background: linear-gradient(135deg, var(--ws-primary), var(--ws-primary-dark));
  color: white !important;
  border: none;
  box-shadow: 0 10px 20px rgba(217, 70, 239, 0.3);
}

.btn-primary:hover, .ws-btn-primary:hover, .button-primary:hover {
  background: linear-gradient(135deg, var(--ws-primary-dark), var(--ws-primary));
  color: white !important;
  box-shadow: 0 15px 30px rgba(217, 70, 239, 0.4);
  transform: translateY(-3px);
}

.badge, .ws-badge, .variant-chip, .stat-item {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.8rem;
  border-radius: 20px;
  background: color-mix(in srgb, var(--ws-primary) 10%, white);
  color: var(--ws-primary-dark);
  font-weight: 700;
  font-size: 0.85rem;
  border: 1px solid color-mix(in srgb, var(--ws-primary) 20%, transparent);
  box-shadow: 0 4px 10px rgba(217, 70, 239, 0.05);
}

/* Hero Sections */
.hero, .ws-hero, .intro-section, [class*="-hero"] {
  position: relative;
  padding: 3rem 0 2.5rem;
  display: flex;
  align-items: center;
}

.hero-inner, .ws-hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.hero h1, .ws-hero h1, .intro-section h1, [class*="-hero"] h1 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.1;
  font-weight: 800;
  color: var(--ws-ink);
  margin-bottom: 1rem;
  text-wrap: balance;
}

.hero-lede, .ws-hero-lede, .hero p, [class*="-hero"] p {
  font-size: 1.1rem;
  color: var(--ws-muted);
  margin-bottom: 1.5rem;
  max-width: 90%;
}

/* Cards & Components */
.card, .topic-card, .ws-topic-card, .category-card, .subcategory-card, .worksheet-card, .tool-card, .detail-card, .content-panel {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.9) !important;
  border-radius: var(--radius-card);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: var(--ws-shadow-soft);
  position: relative;
  overflow: hidden;
}

.card::before, .topic-card::before, .ws-topic-card::before, .category-card::before {
  content: '';
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  background: linear-gradient(135deg, transparent, rgba(255,255,255,0.4), transparent);
  transform: translateX(-100%);
  transition: transform 0.6s ease;
  pointer-events: none;
}

.card:hover, .topic-card:hover, .ws-topic-card:hover, .category-card:hover, .subcategory-card:hover, .worksheet-card:hover, .tool-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--ws-shadow-hover);
  background: white;
  text-decoration: none;
}

.card:hover::before, .topic-card:hover::before, .ws-topic-card:hover::before, .category-card:hover::before {
  transform: translateX(100%);
}

.card-mark, .topic-mark, .ws-topic-mark, .icon-container {
  font-size: 2.5rem;
  background: color-mix(in srgb, var(--ws-primary) 8%, white);
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 20px;
  margin-bottom: 1.5rem;
  border: 1px solid color-mix(in srgb, var(--ws-primary) 15%, transparent);
  box-shadow: inset 0 0 20px rgba(255,255,255,0.5);
  transition: transform 0.3s ease;
}

.card:hover .card-mark, .topic-card:hover .topic-mark, .ws-topic-card:hover .ws-topic-mark, .category-card:hover .icon-container {
  transform: scale(1.1) rotate(5deg);
  background: color-mix(in srgb, var(--ws-primary) 15%, white);
}

.card-title, .topic-title, .ws-topic-title, .category-card h3 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--ws-ink);
  margin-bottom: 0.8rem;
}

.card-desc, .topic-desc, .ws-topic-desc, .category-card p {
  color: var(--ws-muted);
  font-size: 1rem;
  line-height: 1.5;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

/* Puzzle Grids & Content */
.puzzle-grid, .sudoku-grid, .worksheet-grid, table[class*="grid"] {
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--ws-shadow-soft);
  border: 2px solid var(--ws-line);
}

.ws-demo-card {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 24px;
  padding: 2rem;
  box-shadow: 
    0 20px 50px rgba(217, 70, 239, 0.15),
    inset 0 0 0 1px rgba(255, 255, 255, 0.5);
}

.ws-tile {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: white;
  border-radius: 10px;
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--ws-muted);
  box-shadow: 0 4px 10px rgba(217, 70, 239, 0.05);
  transition: all 0.3s ease;
}

.ws-tile:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 15px rgba(217, 70, 239, 0.15);
  color: var(--ws-primary);
}

/* Breadcrumb */
.breadcrumb, .ws-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  padding: 1rem 1.5rem;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.9);
  box-shadow: 0 4px 15px rgba(217, 70, 239, 0.05);
  margin-bottom: 2rem;
}

.breadcrumb a, .ws-breadcrumb a {
  color: var(--ws-muted);
  font-weight: 700;
  text-decoration: none;
  padding: 0.3rem 0.8rem;
  border-radius: 100px;
  transition: all 0.2s ease;
}

.breadcrumb a:hover, .ws-breadcrumb a:hover {
  background: var(--ws-primary);
  color: white;
}

/* Stats */
.ws-stat, .stat-item {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(15px);
  padding: 2rem;
  border-radius: var(--radius-card);
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 1);
  box-shadow: var(--ws-shadow-soft);
  transition: transform 0.3s ease;
}

.ws-stat:hover, .stat-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--ws-shadow);
}

/* Footer */
.site-footer {
  background: white;
  border-top: 1px solid var(--site-border);
  padding: 4rem 0 2rem;
  margin-top: 6rem;
}
