/* ============================================
   RALLY & ROLL - Board Game Website
   A bold, playful design system
   ============================================ */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Fredoka:wght@400;500;600;700&family=Inter:wght@400;500;600;700&display=swap');

/* ============================================
   CSS Custom Properties
   ============================================ */
:root {
  /* Primary Colors */
  --color-primary: #6B46C1;
  --color-primary-dark: #553C9A;
  --color-primary-light: #9F7AEA;
  
  /* Accent Colors */
  --color-accent: #F6AD55;
  --color-accent-dark: #ED8936;
  --color-accent-light: #FBD38D;
  
  /* Semantic Colors */
  --color-success: #48BB78;
  --color-info: #4299E1;
  --color-warning: #ECC94B;
  --color-danger: #F56565;
  
  /* Neutrals */
  --color-cream: #FFFAF0;
  --color-cream-dark: #FEF3E2;
  --color-navy: #1A202C;
  --color-navy-light: #2D3748;
  --color-gray-100: #F7FAFC;
  --color-gray-200: #EDF2F7;
  --color-gray-300: #E2E8F0;
  --color-gray-400: #CBD5E0;
  --color-gray-500: #A0AEC0;
  --color-gray-600: #718096;
  --color-gray-700: #4A5568;
  
  /* Typography */
  --font-display: 'Fredoka', sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  
  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;
  
  /* Border Radius */
  --radius-sm: 0.375rem;
  --radius-md: 0.75rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;
  --radius-full: 9999px;
  
  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --shadow-glow: 0 0 40px rgba(107, 70, 193, 0.3);
  
  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-slow: 350ms ease;
  
  /* Layout */
  --max-width: 1280px;
  --header-height: 80px;
}

/* ============================================
   Reset & Base Styles
   ============================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--color-navy);
  background-color: var(--color-cream);
  overflow-x: hidden;
}

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

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--color-primary-dark);
}

/* ============================================
   Typography
   ============================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.2;
  color: var(--color-navy);
}

h1 {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 700;
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
}

h4 {
  font-size: clamp(1.25rem, 2vw, 1.5rem);
}

p {
  margin-bottom: var(--space-md);
}

.lead {
  font-size: 1.25rem;
  color: var(--color-gray-600);
  line-height: 1.8;
}

/* ============================================
   Layout Utilities
   ============================================ */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.section {
  padding: var(--space-4xl) 0;
}

.section--tight {
  padding: var(--space-2xl) 0;
}

/* ============================================
   Header & Navigation
   ============================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  background: rgba(255, 250, 240, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  border-bottom: 2px solid var(--color-gray-200);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.header__logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--color-primary);
  text-decoration: none;
}

.header__logo:hover {
  color: var(--color-primary-dark);
}

.header__logo-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  transform: rotate(-5deg);
  transition: transform var(--transition-base);
}

.header__logo:hover .header__logo-icon {
  transform: rotate(5deg) scale(1.05);
}

.nav {
  display: none;
}

@media (min-width: 768px) {
  .nav {
    display: flex;
    align-items: center;
    gap: var(--space-xl);
  }
}

.nav__link {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1rem;
  color: var(--color-navy);
  padding: var(--space-sm) 0;
  position: relative;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 3px;
  background: var(--color-accent);
  border-radius: var(--radius-full);
  transition: width var(--transition-base);
}

.nav__link:hover::after,
.nav__link--active::after {
  width: 100%;
}

.nav__link:hover {
  color: var(--color-primary);
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-sm);
}

@media (min-width: 768px) {
  .menu-toggle {
    display: none;
  }
}

.menu-toggle span {
  width: 24px;
  height: 3px;
  background: var(--color-navy);
  border-radius: var(--radius-full);
  transition: var(--transition-base);
}

/* Mobile Nav */
.mobile-nav {
  display: none;
  position: fixed;
  top: var(--header-height);
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--color-cream);
  padding: var(--space-xl);
  z-index: 999;
}

.mobile-nav.is-open {
  display: block;
}

.mobile-nav__link {
  display: block;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--color-navy);
  padding: var(--space-md) 0;
  border-bottom: 2px solid var(--color-gray-200);
}

.mobile-nav__link:hover {
  color: var(--color-primary);
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--header-height);
  overflow: hidden;
}

.hero__background {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.hero__background img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__background::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(107, 70, 193, 0.9) 0%,
    rgba(107, 70, 193, 0.7) 50%,
    rgba(246, 173, 85, 0.6) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 700px;
  color: white;
  padding: var(--space-3xl) 0;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  padding: var(--space-sm) var(--space-lg);
  border-radius: var(--radius-full);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.875rem;
  margin-bottom: var(--space-lg);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.hero__title {
  color: white;
  margin-bottom: var(--space-lg);
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.hero__title span {
  color: var(--color-accent-light);
}

.hero__description {
  font-size: 1.25rem;
  opacity: 0.95;
  margin-bottom: var(--space-xl);
  line-height: 1.8;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
}

/* ============================================
   Buttons
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  padding: var(--space-md) var(--space-xl);
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  transition: all var(--transition-base);
  text-decoration: none;
}

.btn--primary {
  background: var(--color-accent);
  color: var(--color-navy);
}

.btn--primary:hover {
  background: var(--color-accent-dark);
  color: var(--color-navy);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn--secondary {
  background: white;
  color: var(--color-primary);
}

.btn--secondary:hover {
  background: var(--color-gray-100);
  color: var(--color-primary-dark);
  transform: translateY(-2px);
}

.btn--outline {
  background: transparent;
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.5);
}

.btn--outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: white;
  color: white;
}

.btn--large {
  font-size: 1.125rem;
  padding: var(--space-lg) var(--space-2xl);
}

.btn svg {
  width: 20px;
  height: 20px;
}

/* ============================================
   Section Headers
   ============================================ */
.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto var(--space-3xl);
}

.section-header__label {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--color-primary);
  background: var(--color-primary-light);
  background: linear-gradient(135deg, rgba(107, 70, 193, 0.1), rgba(246, 173, 85, 0.1));
  padding: var(--space-sm) var(--space-lg);
  border-radius: var(--radius-full);
  margin-bottom: var(--space-md);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.section-header__title {
  margin-bottom: var(--space-md);
}

.section-header__description {
  font-size: 1.125rem;
  color: var(--color-gray-600);
}

/* ============================================
   Content Cards - Bento Grid Style
   ============================================ */
.bento-grid {
  display: grid;
  gap: var(--space-lg);
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .bento-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .bento-grid--3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1024px) {
  .bento-grid--featured {
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, auto);
  }
  
  .bento-grid--featured .card:first-child {
    grid-column: span 2;
    grid-row: span 2;
  }
}

.card {
  background: white;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-base);
  position: relative;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.card__image {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
}

.card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.card:hover .card__image img {
  transform: scale(1.05);
}

.card__category {
  position: absolute;
  top: var(--space-md);
  left: var(--space-md);
  background: var(--color-primary);
  color: white;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.75rem;
  padding: var(--space-xs) var(--space-md);
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.card__content {
  padding: var(--space-lg);
}

.card__title {
  font-size: 1.25rem;
  margin-bottom: var(--space-sm);
}

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

.card__title a:hover {
  color: var(--color-primary);
}

.card__excerpt {
  color: var(--color-gray-600);
  font-size: 0.95rem;
  margin-bottom: var(--space-md);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card__meta {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  font-size: 0.875rem;
  color: var(--color-gray-500);
}

.card__meta svg {
  width: 16px;
  height: 16px;
}

/* Featured Card (Large) */
.card--featured .card__image {
  aspect-ratio: 16/9;
}

@media (min-width: 1024px) {
  .card--featured .card__image {
    aspect-ratio: auto;
    height: 100%;
    min-height: 300px;
  }
  
  .card--featured .card__content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    padding: var(--space-2xl);
  }
  
  .card--featured .card__title {
    font-size: 1.75rem;
    color: white;
  }
  
  .card--featured .card__title a {
    color: white;
  }
  
  .card--featured .card__excerpt {
    color: rgba(255, 255, 255, 0.9);
  }
  
  .card--featured .card__meta {
    color: rgba(255, 255, 255, 0.8);
  }
}

/* ============================================
   Category Cards
   ============================================ */
.category-grid {
  display: grid;
  gap: var(--space-lg);
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.category-card {
  position: relative;
  aspect-ratio: 4/3;
  border-radius: var(--radius-xl);
  overflow: hidden;
  cursor: pointer;
}

.category-card__image {
  position: absolute;
  inset: 0;
}

.category-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.category-card:hover .category-card__image img {
  transform: scale(1.1);
}

.category-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(26, 32, 44, 0.9) 0%,
    rgba(107, 70, 193, 0.4) 100%
  );
  transition: background var(--transition-base);
}

.category-card:hover .category-card__overlay {
  background: linear-gradient(
    to top,
    rgba(107, 70, 193, 0.95) 0%,
    rgba(107, 70, 193, 0.7) 100%
  );
}

.category-card__content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--space-xl);
  color: white;
  z-index: 1;
}

.category-card__icon {
  width: 48px;
  height: 48px;
  background: var(--color-accent);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-md);
  transition: transform var(--transition-base);
}

.category-card:hover .category-card__icon {
  transform: scale(1.1) rotate(5deg);
}

.category-card__icon svg {
  width: 24px;
  height: 24px;
  color: var(--color-navy);
}

.category-card__title {
  font-size: 1.5rem;
  color: white;
  margin-bottom: var(--space-sm);
}

.category-card__count {
  font-size: 0.875rem;
  opacity: 0.8;
}

/* ============================================
   Page Header
   ============================================ */
.page-header {
  position: relative;
  padding: calc(var(--header-height) + var(--space-3xl)) 0 var(--space-3xl);
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
  color: white;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 60%;
  height: 200%;
  background: var(--color-accent);
  opacity: 0.1;
  border-radius: 50%;
  transform: rotate(-15deg);
}

.page-header__content {
  position: relative;
  z-index: 1;
}

.page-header__breadcrumb {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: 0.875rem;
  opacity: 0.8;
  margin-bottom: var(--space-lg);
}

.page-header__breadcrumb a {
  color: white;
  opacity: 0.8;
}

.page-header__breadcrumb a:hover {
  opacity: 1;
}

.page-header__breadcrumb svg {
  width: 16px;
  height: 16px;
}

.page-header__title {
  color: white;
  margin-bottom: var(--space-md);
}

.page-header__subtitle {
  font-size: 1.25rem;
  opacity: 0.9;
  max-width: 600px;
}

/* With Hero Image */
.page-header--hero {
  min-height: 50vh;
  display: flex;
  align-items: flex-end;
  padding-bottom: var(--space-3xl);
}

.page-header--hero .page-header__background {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.page-header--hero .page-header__background img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-header--hero .page-header__background::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(26, 32, 44, 0.95) 0%,
    rgba(107, 70, 193, 0.6) 100%
  );
}

/* ============================================
   Article Content
   ============================================ */
.article {
  padding: var(--space-3xl) 0;
}

.article__container {
  display: grid;
  gap: var(--space-3xl);
  grid-template-columns: 1fr;
}

@media (min-width: 1024px) {
  .article__container {
    grid-template-columns: 1fr 300px;
  }
}

.article__content {
  max-width: 100%;
}

.article__content h2 {
  margin-top: var(--space-2xl);
  margin-bottom: var(--space-md);
  padding-bottom: var(--space-sm);
  border-bottom: 3px solid var(--color-accent);
}

.article__content h3 {
  margin-top: var(--space-xl);
  margin-bottom: var(--space-md);
}

.article__content p {
  margin-bottom: var(--space-lg);
}

.article__content ul, 
.article__content ol {
  margin-bottom: var(--space-lg);
  padding-left: var(--space-xl);
}

.article__content li {
  margin-bottom: var(--space-sm);
}

.article__content blockquote {
  margin: var(--space-xl) 0;
  padding: var(--space-lg) var(--space-xl);
  background: linear-gradient(135deg, rgba(107, 70, 193, 0.1), rgba(246, 173, 85, 0.1));
  border-left: 4px solid var(--color-primary);
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
  font-size: 1.125rem;
  font-style: italic;
}

.article__content img {
  border-radius: var(--radius-lg);
  margin: var(--space-xl) 0;
  box-shadow: var(--shadow-lg);
}

/* Info Box */
.info-box {
  background: var(--color-cream-dark);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  margin: var(--space-xl) 0;
  border: 2px solid var(--color-gray-200);
}

.info-box__title {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: var(--space-md);
}

.info-box__title svg {
  width: 24px;
  height: 24px;
}

/* Game Stats */
.game-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: var(--space-md);
  background: white;
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  margin: var(--space-xl) 0;
  box-shadow: var(--shadow-md);
}

.game-stat {
  text-align: center;
  padding: var(--space-md);
}

.game-stat__icon {
  width: 40px;
  height: 40px;
  margin: 0 auto var(--space-sm);
  background: linear-gradient(135deg, var(--color-primary-light), var(--color-accent-light));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary-dark);
}

.game-stat__icon svg {
  width: 20px;
  height: 20px;
}

.game-stat__value {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--color-navy);
}

.game-stat__label {
  font-size: 0.75rem;
  color: var(--color-gray-500);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ============================================
   Sidebar
   ============================================ */
.sidebar {
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
}

.sidebar__widget {
  background: white;
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  box-shadow: var(--shadow-md);
}

.sidebar__title {
  font-size: 1.125rem;
  margin-bottom: var(--space-md);
  padding-bottom: var(--space-sm);
  border-bottom: 2px solid var(--color-gray-200);
}

.sidebar__list {
  list-style: none;
}

.sidebar__list li {
  margin-bottom: var(--space-sm);
}

.sidebar__list a {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-sm);
  border-radius: var(--radius-md);
  color: var(--color-gray-700);
  transition: all var(--transition-fast);
}

.sidebar__list a:hover {
  background: var(--color-cream);
  color: var(--color-primary);
}

.sidebar__list a svg {
  width: 18px;
  height: 18px;
  color: var(--color-gray-400);
}

/* Author Card */
.author-card {
  text-align: center;
}

.author-card__avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin: 0 auto var(--space-md);
  overflow: hidden;
  border: 3px solid var(--color-accent);
}

.author-card__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.author-card__name {
  font-family: var(--font-display);
  font-weight: 600;
  margin-bottom: var(--space-xs);
}

.author-card__bio {
  font-size: 0.875rem;
  color: var(--color-gray-600);
}

/* ============================================
   CTA Section
   ============================================ */
.cta {
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
  border-radius: var(--radius-xl);
  padding: var(--space-3xl);
  text-align: center;
  color: white;
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -30%;
  width: 80%;
  height: 200%;
  background: var(--color-accent);
  opacity: 0.1;
  border-radius: 50%;
}

.cta__content {
  position: relative;
  z-index: 1;
  max-width: 600px;
  margin: 0 auto;
}

.cta__title {
  color: white;
  margin-bottom: var(--space-md);
}

.cta__description {
  font-size: 1.125rem;
  opacity: 0.9;
  margin-bottom: var(--space-xl);
}

/* ============================================
   Footer
   ============================================ */
.footer {
  background: var(--color-navy);
  color: white;
  padding: var(--space-3xl) 0 var(--space-xl);
}

.footer__grid {
  display: grid;
  gap: var(--space-2xl);
  grid-template-columns: 1fr;
  margin-bottom: var(--space-2xl);
}

@media (min-width: 768px) {
  .footer__grid {
    grid-template-columns: 2fr 1fr 1fr 1fr;
  }
}

.footer__brand {
  max-width: 300px;
}

.footer__logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: white;
  margin-bottom: var(--space-md);
}

.footer__logo-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--color-primary-light), var(--color-accent));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer__description {
  color: var(--color-gray-400);
  font-size: 0.95rem;
  line-height: 1.7;
}

.footer__title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: white;
  margin-bottom: var(--space-lg);
}

.footer__links {
  list-style: none;
}

.footer__links li {
  margin-bottom: var(--space-sm);
}

.footer__links a {
  color: var(--color-gray-400);
  transition: color var(--transition-fast);
}

.footer__links a:hover {
  color: var(--color-accent);
}

.footer__bottom {
  padding-top: var(--space-xl);
  border-top: 1px solid var(--color-navy-light);
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  align-items: center;
  text-align: center;
}

@media (min-width: 768px) {
  .footer__bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

.footer__copyright {
  color: var(--color-gray-500);
  font-size: 0.875rem;
}

.footer__social {
  display: flex;
  gap: var(--space-md);
}

.footer__social a {
  width: 40px;
  height: 40px;
  background: var(--color-navy-light);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-gray-400);
  transition: all var(--transition-fast);
}

.footer__social a:hover {
  background: var(--color-primary);
  color: white;
  transform: translateY(-2px);
}

.footer__social svg {
  width: 20px;
  height: 20px;
}

/* ============================================
   Contact Form
   ============================================ */
.contact-grid {
  display: grid;
  gap: var(--space-2xl);
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.contact-info {
  background: white;
  border-radius: var(--radius-xl);
  padding: var(--space-xl);
  box-shadow: var(--shadow-md);
}

.contact-item {
  display: flex;
  gap: var(--space-md);
  margin-bottom: var(--space-xl);
}

.contact-item:last-child {
  margin-bottom: 0;
}

.contact-item__icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--color-primary-light), var(--color-accent-light));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-item__icon svg {
  width: 24px;
  height: 24px;
  color: var(--color-primary);
}

.contact-item__title {
  font-family: var(--font-display);
  font-weight: 600;
  margin-bottom: var(--space-xs);
}

.contact-item__text {
  color: var(--color-gray-600);
  font-size: 0.95rem;
}

.contact-form {
  background: white;
  border-radius: var(--radius-xl);
  padding: var(--space-xl);
  box-shadow: var(--shadow-md);
}

.form-group {
  margin-bottom: var(--space-lg);
}

.form-label {
  display: block;
  font-family: var(--font-display);
  font-weight: 500;
  margin-bottom: var(--space-sm);
  color: var(--color-navy);
}

.form-input,
.form-textarea {
  width: 100%;
  padding: var(--space-md);
  border: 2px solid var(--color-gray-200);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: border-color var(--transition-fast);
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--color-primary);
}

.form-textarea {
  min-height: 150px;
  resize: vertical;
}

/* ============================================
   About Page
   ============================================ */
.about-content {
  display: grid;
  gap: var(--space-3xl);
  grid-template-columns: 1fr;
  align-items: center;
}

@media (min-width: 768px) {
  .about-content {
    grid-template-columns: 1fr 1fr;
  }
  
  .about-content--reverse {
    direction: rtl;
  }
  
  .about-content--reverse > * {
    direction: ltr;
  }
}

.about-image {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  transform: rotate(-2deg);
}

.about-content--reverse .about-image {
  transform: rotate(2deg);
}

.about-text h2 {
  margin-bottom: var(--space-lg);
}

.about-text p {
  color: var(--color-gray-700);
  margin-bottom: var(--space-md);
}

/* Stats Row */
.stats-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: var(--space-lg);
  margin: var(--space-3xl) 0;
}

.stat-item {
  text-align: center;
  padding: var(--space-xl);
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.stat-item__number {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1;
}

.stat-item__label {
  font-size: 0.875rem;
  color: var(--color-gray-600);
  margin-top: var(--space-sm);
}

/* ============================================
   Utilities
   ============================================ */
.text-center { text-align: center; }
.text-primary { color: var(--color-primary); }
.text-accent { color: var(--color-accent); }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: var(--space-md); }
.mt-2 { margin-top: var(--space-xl); }
.mt-3 { margin-top: var(--space-2xl); }
.mt-4 { margin-top: var(--space-3xl); }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: var(--space-md); }
.mb-2 { margin-bottom: var(--space-xl); }
.mb-3 { margin-bottom: var(--space-2xl); }
.mb-4 { margin-bottom: var(--space-3xl); }

/* Main content offset for fixed header */
main {
  padding-top: var(--header-height);
}

/* Remove padding when hero is present */
.has-hero main {
  padding-top: 0;
}

/* Dice decoration */
.dice-decoration {
  position: absolute;
  width: 60px;
  height: 60px;
  background: var(--color-accent);
  border-radius: var(--radius-md);
  opacity: 0.1;
  transform: rotate(15deg);
}

/* Link arrow animation */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--color-primary);
}

.link-arrow svg {
  width: 20px;
  height: 20px;
  transition: transform var(--transition-fast);
}

.link-arrow:hover svg {
  transform: translateX(4px);
}

/* ============================================
   Animations
   ============================================ */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.animate-float {
  animation: float 3s ease-in-out infinite;
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
