/* FunMateZone.org - Modern Minimalistic Design */

/* CSS Variables - New Color Scheme */
:root {
  --primary: #06b6d4;
  --primary-dark: #0891b2;
  --secondary: #f97316;
  --accent: #ec4899;
  --success: #10b981;
  --warning: #f59e0b;
  --error: #ef4444;

  --gray-50: #fafafa;
  --gray-100: #f5f5f5;
  --gray-200: #e5e5e5;
  --gray-300: #d4d4d4;
  --gray-400: #a3a3a3;
  --gray-500: #737373;
  --gray-600: #525252;
  --gray-700: #404040;
  --gray-800: #262626;
  --gray-900: #171717;

  --white: #ffffff;
  --black: #000000;

  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
  --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);

  --gradient-primary: linear-gradient(
    135deg,
    var(--primary) 0%,
    var(--secondary) 100%
  );
  --gradient-accent: linear-gradient(
    135deg,
    var(--accent) 0%,
    var(--primary) 100%
  );

  --border-radius: 16px;
  --border-radius-lg: 24px;
  --border-radius-xl: 32px;

  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px !important;
}

@media (max-width: 768px) {
  html {
    font-size: 14px !important;
  }
}

@media (max-width: 480px) {
  html {
    font-size: 13px !important;
  }
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  color: var(--gray-800);
  background-color: var(--white);
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Typography */
h1 {
  font-size: clamp(2rem, 5vw, 2.5rem);
  font-weight: 800;
  line-height: 1.2;
  color: var(--gray-900);
  margin-bottom: 1rem;
}

h2 {
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 700;
  line-height: 1.3;
  color: var(--gray-900);
  margin-bottom: 1rem;
}

h3 {
  font-size: clamp(1.25rem, 3vw, 1.5rem);
  font-weight: 700;
  line-height: 1.4;
  color: var(--gray-900);
  margin-bottom: 0.75rem;
}

h4 {
  font-size: clamp(1rem, 2.5vw, 1.1rem);
  font-weight: 600;
  line-height: 1.4;
  color: var(--gray-800);
  margin-bottom: 0.5rem;
}

p {
  margin-bottom: 1rem;
  color: var(--gray-600);
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: var(--transition);
  display: inline-block;
}

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

/* Layout */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 4rem 0;
}

.section-sm {
  padding: 2.5rem 0;
}

/* Compliance Banner */
.funmatezone-compliance-banner {
  background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
  color: var(--white);
  padding: 0.875rem 0;
  text-align: center;
  font-weight: 600;
  font-size: 0.875rem;
  position: relative;
  z-index: 1001;
}

.funmatezone-compliance-banner p {
  margin: 0;
  color: var(--white);
}

.funmatezone-compliance-banner strong {
  color: var(--white);
  font-weight: 700;
}

/* Navigation */
.funmatezone-navbar {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gray-200);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.funmatezone-navbar-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 0;
}

.funmatezone-navbar-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--gray-900);
  text-decoration: none;
}

.funmatezone-navbar-brand:hover {
  color: var(--primary);
}

.funmatezone-navbar-logo {
  height: 40px;
  width: auto;
}

.funmatezone-navbar-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.funmatezone-navbar-link {
  color: var(--gray-700);
  font-weight: 500;
  font-size: 1rem;
  transition: var(--transition);
  padding: 0.5rem 0;
  position: relative;
}

.funmatezone-navbar-link:hover {
  color: var(--primary);
}

.funmatezone-navbar-link.active {
  color: var(--primary);
}

.funmatezone-navbar-link.active::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--primary);
}

.funmatezone-navbar-cta {
  background: var(--gradient-primary);
  color: var(--white);
  padding: 0.75rem 1.5rem;
  border-radius: var(--border-radius);
  font-weight: 600;
  transition: var(--transition);
  box-shadow: var(--shadow-md);
}

.funmatezone-navbar-cta:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  color: var(--white);
}

.funmatezone-navbar-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 1002;
  position: relative;
  pointer-events: auto;
}

.funmatezone-navbar-toggle-bar {
  width: 28px;
  height: 3px;
  background: var(--gray-800);
  border-radius: 2px;
  transition: var(--transition);
}

.funmatezone-navbar-toggle.active .funmatezone-navbar-toggle-bar:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}

.funmatezone-navbar-toggle.active .funmatezone-navbar-toggle-bar:nth-child(2) {
  opacity: 0;
}

.funmatezone-navbar-toggle.active .funmatezone-navbar-toggle-bar:nth-child(3) {
  transform: rotate(-45deg) translate(8px, -8px);
}

/* Mobile Navigation */
@media (max-width: 768px) {
  .funmatezone-navbar-toggle {
    display: flex;
    position: relative;
    z-index: 1002;
    min-width: 44px;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    cursor: pointer;
  }

  .funmatezone-navbar-menu {
    position: fixed;
    top: -100vh;
    left: 0;
    width: 100%;
    max-width: none;
    height: auto;
    max-height: 100vh;
    background: var(--white);
    flex-direction: column;
    align-items: center;
    padding: 2rem 1.5rem 2rem;
    box-shadow: var(--shadow-xl);
    transition: top 0.3s ease;
    gap: 0;
    overflow-y: auto;
    z-index: 1001;
  }

  .funmatezone-navbar-menu.active {
    top: 78px;
  }

  .funmatezone-navbar-link {
    width: 100%;
    padding: 1rem 0;
    border-bottom: 1px solid var(--gray-200);
    font-size: 1.1rem;
    min-height: 44px;
    display: flex;
    align-items: center;
  }

  .funmatezone-navbar-cta {
    width: 100%;
    text-align: center;
    margin-top: 1rem;
    padding: 1rem;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

/* Hero Section */
.funmatezone-hero {
  background: linear-gradient(135deg, #e0f2fe 0%, #fef3c7 100%);
  padding: 6rem 0;
  position: relative;
  overflow: hidden;
}

.funmatezone-hero::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(
    circle,
    rgba(6, 182, 212, 0.1) 0%,
    transparent 70%
  );
  border-radius: 50%;
}

.funmatezone-hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.funmatezone-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--white);
  padding: 0.5rem 1.25rem;
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-md);
}

.funmatezone-hero-title {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 900;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1.5rem;
  line-height: 1.1;
}

.funmatezone-hero-subtitle {
  font-size: clamp(1.125rem, 2vw, 1.25rem);
  color: var(--gray-600);
  margin-bottom: 2rem;
  line-height: 1.6;
}

.funmatezone-hero-cta {
  display: inline-block;
  background: var(--gradient-primary);
  color: var(--white);
  padding: 1rem 2.5rem;
  border-radius: var(--border-radius);
  font-weight: 700;
  font-size: 1.125rem;
  transition: var(--transition);
  box-shadow: var(--shadow-lg);
}

.funmatezone-hero-cta:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-xl);
  color: var(--white);
}

/* Cards */
.funmatezone-card {
  background: var(--white);
  border-radius: var(--border-radius);
  padding: 2rem;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border: 1px solid var(--gray-200);
}

.funmatezone-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

/* Game Cards */
.funmatezone-game-card {
  background: var(--white);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  border: 1px solid var(--gray-200);
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
}

.funmatezone-game-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: var(--primary);
}

.funmatezone-game-image {
  width: 100%;
  height: 240px;
  object-fit: cover;
  background: linear-gradient(135deg, var(--gray-100) 0%, var(--gray-200) 100%);
  position: relative;
  overflow: hidden;
  display: block;
}

.funmatezone-game-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.funmatezone-game-card:hover .funmatezone-game-image img {
  transform: scale(1.05);
}

.funmatezone-game-content {
  padding: 1.75rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.funmatezone-game-title {
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 0;
  line-height: 1.3;
}

.funmatezone-game-desc {
  color: var(--gray-600);
  margin-bottom: 0;
  flex: 1;
  line-height: 1.6;
  font-size: 0.9375rem;
}

.funmatezone-game-play {
  background: var(--gradient-primary);
  color: var(--white);
  border: none;
  padding: 1rem 1.75rem;
  border-radius: var(--border-radius);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  width: 100%;
  font-size: 1rem;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}

.funmatezone-game-play::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  transition: left 0.5s;
}

.funmatezone-game-play:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  color: var(--white);
  text-decoration: none;
}

.funmatezone-game-play:hover::before {
  left: 100%;
}

/* Grids */
.funmatezone-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.funmatezone-games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.875rem 2rem;
  border-radius: var(--border-radius);
  font-weight: 600;
  text-align: center;
  transition: var(--transition);
  cursor: pointer;
  border: none;
  font-size: 1rem;
}

.btn-primary {
  background: var(--gradient-primary);
  color: var(--white);
  box-shadow: var(--shadow-md);
}

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

.btn-secondary {
  background: var(--gray-100);
  color: var(--gray-800);
  border: 1px solid var(--gray-300);
}

.btn-secondary:hover {
  background: var(--gray-200);
  color: var(--gray-900);
}

/* Forms */
.funmatezone-form-group {
  margin-bottom: 1.5rem;
}

.funmatezone-form-label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--gray-700);
  font-size: 0.875rem;
}

.funmatezone-form-control {
  width: 100%;
  padding: 0.875rem 1.25rem;
  border: 2px solid var(--gray-300);
  border-radius: var(--border-radius);
  font-size: 1rem;
  transition: var(--transition);
  background: var(--white);
  color: var(--gray-800);
}

.funmatezone-form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(6, 182, 212, 0.1);
}

textarea.funmatezone-form-control {
  resize: vertical;
  min-height: 120px;
}

/* Modal */
.funmatezone-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.75);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.funmatezone-modal.active {
  display: flex;
}

.funmatezone-modal-content {
  background: var(--white);
  border-radius: var(--border-radius-lg);
  max-width: 1200px;
  width: 100%;
  max-height: 90vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-xl);
}

.funmatezone-modal-header {
  padding: 1.5rem;
  border-bottom: 1px solid var(--gray-200);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.funmatezone-modal-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gray-900);
  margin: 0;
}

.funmatezone-modal-close {
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--gray-500);
  cursor: pointer;
  line-height: 1;
  padding: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: var(--transition);
}

.funmatezone-modal-close:hover {
  background: var(--gray-100);
  color: var(--gray-900);
}

.funmatezone-modal-body {
  flex: 1;
  overflow: auto;
  padding: 0;
}

.funmatezone-modal-iframe {
  width: 100%;
  height: 70vh;
  border: none;
  display: block;
}

/* Cookie Popup */
.funmatezone-cookie-popup {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--white);
  border-top: 3px solid var(--primary);
  box-shadow: var(--shadow-xl);
  z-index: 1500;
  padding: 1.5rem;
}

.funmatezone-cookie-popup.active {
  display: block;
}

.funmatezone-cookie-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.funmatezone-cookie-text {
  flex: 1;
  min-width: 250px;
}

.funmatezone-cookie-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 0.5rem;
}

.funmatezone-cookie-desc {
  color: var(--gray-600);
  font-size: 0.875rem;
  margin: 0;
}

.funmatezone-cookie-buttons {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.funmatezone-cookie-accept {
  background: var(--gradient-primary);
  color: var(--white);
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: var(--border-radius);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  font-size: 0.875rem;
}

.funmatezone-cookie-accept:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.funmatezone-cookie-policy {
  color: var(--primary);
  font-weight: 600;
  font-size: 0.875rem;
}

.funmatezone-cookie-policy:hover {
  color: var(--primary-dark);
}

@media (max-width: 768px) {
  .funmatezone-cookie-content {
    flex-direction: column;
    text-align: center;
  }

  .funmatezone-cookie-buttons {
    width: 100%;
    justify-content: center;
  }
}

/* Footer */
.funmatezone-footer {
  background: var(--gray-900);
  color: var(--gray-300);
  padding: 3rem 0 1.5rem;
}

.funmatezone-footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.funmatezone-footer-section h3 {
  color: var(--white);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.funmatezone-footer-section p {
  color: var(--gray-400);
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
}

.funmatezone-footer-section a {
  color: var(--gray-400);
  transition: var(--transition);
}

.funmatezone-footer-section a:hover {
  color: var(--primary);
}

.funmatezone-footer-disclaimer {
  background: rgba(255, 255, 255, 0.05);
  padding: 1.5rem;
  border-radius: var(--border-radius);
  margin-bottom: 2rem;
}

.funmatezone-footer-disclaimer p {
  color: var(--gray-300);
  font-size: 0.875rem;
  line-height: 1.6;
  margin-bottom: 0.75rem;
}

.funmatezone-footer-disclaimer strong {
  color: var(--white);
}

.funmatezone-footer-bottom {
  text-align: center;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--gray-400);
  font-size: 0.875rem;
}

/* Alerts */
.alert {
  padding: 1rem 1.5rem;
  border-radius: var(--border-radius);
  margin-bottom: 1rem;
}

.alert-info {
  background: #e0f2fe;
  color: var(--gray-800);
}

.alert-success {
  background: #d1fae5;
  color: var(--gray-800);
}

.alert-danger {
  background: #fee2e2;
  color: var(--gray-800);
}

/* Utility Classes */
.text-center {
  text-align: center;
}

.mb-3 {
  margin-bottom: 1rem;
}

.mb-4 {
  margin-bottom: 1.5rem;
}

.mb-5 {
  margin-bottom: 2rem;
}

.mt-3 {
  margin-top: 1rem;
}

.mt-4 {
  margin-top: 1.5rem;
}

.mt-5 {
  margin-top: 2rem;
}

/* Contact Page Styles */
.funmatezone-contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 3rem;
  align-items: start;
}

.funmatezone-contact-info-item {
  display: flex;
  gap: 1rem;
}

.funmatezone-contact-icon-wrapper {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: var(--gray-100);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.funmatezone-contact-icon-wrapper i {
  color: var(--primary);
  font-size: 1.5rem;
}

.funmatezone-contact-detail h4 {
  margin: 0 0 0.5rem 0;
}

.funmatezone-contact-detail p {
  margin: 0;
  color: var(--gray-600);
}

.funmatezone-hero-icon-large {
  font-size: 4rem;
  color: var(--primary);
  margin-bottom: 1rem;
}

.funmatezone-icon-large {
  font-size: 3rem;
  color: var(--primary);
  margin-bottom: 1rem;
  text-align: center;
}

.funmatezone-icon-secondary {
  font-size: 3rem;
  color: var(--secondary);
  margin-bottom: 1rem;
  text-align: center;
}

.funmatezone-icon-accent {
  font-size: 3rem;
  color: var(--accent);
  margin-bottom: 1rem;
  text-align: center;
}

.funmatezone-icon-2-5 {
  font-size: 2.5rem;
  color: var(--secondary);
  margin-bottom: 1rem;
  text-align: center;
}

.funmatezone-icon-5 {
  font-size: 5rem;
  color: white;
  margin-bottom: 1rem;
}

.funmatezone-stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 0.5rem;
}

.funmatezone-stat-label {
  color: var(--gray-600);
}

.funmatezone-hero-gradient {
  background: linear-gradient(135deg, #e0f2fe 0%, #fef3c7 100%);
}

.funmatezone-hero-center {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.funmatezone-hero-center-700 {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.funmatezone-hero-subtitle-large {
  font-size: 1.125rem;
  color: var(--gray-600);
  margin-top: 1rem;
}

.funmatezone-hero-date {
  color: var(--gray-500);
  margin-top: 0.5rem;
}

.funmatezone-stats-flex {
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.funmatezone-stat-item {
  text-align: center;
}

.funmatezone-stat-item-number {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
  display: block;
}

.funmatezone-stat-item-label {
  font-size: 0.875rem;
  color: var(--gray-600);
}

.funmatezone-badge-popular {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--secondary);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  z-index: 1;
}

.funmatezone-badge-trending {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--accent);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  z-index: 1;
}

.funmatezone-badge-new {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--primary);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  z-index: 1;
}

.funmatezone-game-image-wrapper {
  position: relative;
}

.funmatezone-game-stats {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 1rem;
  font-size: 0.875rem;
  color: var(--gray-600);
}

.funmatezone-tag {
  background: var(--gray-100);
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.875rem;
}

.funmatezone-tags-container {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-top: 1rem;
}

.funmatezone-highlight-stats {
  display: flex;
  justify-content: space-around;
  margin-top: 1.5rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.funmatezone-highlight-stat {
  font-size: 0.875rem;
  color: var(--gray-600);
}

.funmatezone-testimonial-content {
  margin-bottom: 1.5rem;
}

.funmatezone-testimonial-text {
  font-style: italic;
  color: var(--gray-700);
}

.funmatezone-testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.funmatezone-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

.funmatezone-avatar-secondary {
  background: var(--secondary);
}

.funmatezone-avatar-accent {
  background: var(--accent);
}

.funmatezone-author-name {
  margin: 0;
  color: var(--gray-900);
}

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

.funmatezone-about-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 4rem;
  align-items: center;
}

.funmatezone-about-text {
  font-size: 1.125rem;
  line-height: 1.8;
  color: var(--gray-700);
}

.funmatezone-gradient-card {
  padding: 3rem;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  text-align: center;
}

.funmatezone-gradient-card h3 {
  color: white;
  margin: 0;
}

.funmatezone-cta-center {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.funmatezone-cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.funmatezone-form-description {
  color: var(--gray-600);
  margin-bottom: 2rem;
  font-size: 0.875rem;
}

.funmatezone-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.funmatezone-section-title-icon {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.funmatezone-section-title-icon i {
  color: var(--primary);
}

/* Utility Classes for Inline Style Replacement */

/* Background Utilities */
.bg-gradient-hero {
  background: linear-gradient(135deg, #e0f2fe 0%, #fef3c7 100%);
}

.bg-gray-50 {
  background: var(--gray-50);
}

/* Layout Utilities */
.text-center {
  text-align: center;
}

.max-w-800 {
  max-width: 800px;
  margin: 0 auto;
}

.max-w-700 {
  max-width: 700px;
  margin: 0 auto;
}

.max-w-600 {
  max-width: 600px;
  margin: 0 auto;
}

/* Flexbox Utilities */
.flex {
  display: flex;
}

.flex-wrap {
  flex-wrap: wrap;
}

.flex-col {
  flex-direction: column;
}

.items-center {
  align-items: center;
}

.justify-center {
  justify-content: center;
}

.justify-around {
  justify-content: space-around;
}

.gap-1 {
  gap: 1rem;
}

.gap-1-5 {
  gap: 1.5rem;
}

.gap-3 {
  gap: 3rem;
}

/* Grid Utilities */
.grid-2-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.grid-about {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 4rem;
  align-items: center;
}

.grid-contact {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 3rem;
  align-items: start;
}

/* Icon Sizes */
.icon-3rem {
  font-size: 3rem;
  color: var(--primary);
  margin-bottom: 1rem;
  text-align: center;
}

.icon-3rem-secondary {
  font-size: 3rem;
  color: var(--secondary);
  margin-bottom: 1rem;
  text-align: center;
}

.icon-3rem-accent {
  font-size: 3rem;
  color: var(--accent);
  margin-bottom: 1rem;
  text-align: center;
}

.icon-2-5rem {
  font-size: 2.5rem;
  color: var(--secondary);
  margin-bottom: 1rem;
  text-align: center;
}

.icon-4rem {
  font-size: 4rem;
  color: var(--primary);
  margin-bottom: 1rem;
}

.icon-5rem {
  font-size: 5rem;
  color: white;
  margin-bottom: 1rem;
}

.icon-3rem-stat {
  font-size: 3rem;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

/* Text Utilities */
.text-lg {
  font-size: 1.125rem;
  color: var(--gray-600);
  margin-top: 1rem;
}

.text-gray-600 {
  color: var(--gray-600);
}

.text-gray-700 {
  color: var(--gray-700);
}

.text-gray-500 {
  color: var(--gray-500);
}

.text-italic {
  font-style: italic;
}

/* Stat Numbers */
.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 0.5rem;
}

.stat-number-lg {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
  display: block;
}

.stat-label {
  color: var(--gray-600);
}

.stat-label-sm {
  font-size: 0.875rem;
  color: var(--gray-600);
}

/* Badge Styles */
.game-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  z-index: 1;
}

.game-badge-popular {
  background: var(--secondary);
}

.game-badge-trending {
  background: var(--accent);
}

.game-badge-new {
  background: var(--primary);
}

/* Tag/Pill Styles */
.tag {
  background: var(--gray-100);
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.875rem;
}

.tags-container {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-top: 1rem;
}

/* Stats Container */
.stats-flex {
  display: flex;
  justify-content: center;
  gap: 3rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.stats-flex-around {
  display: flex;
  justify-content: space-around;
  margin-top: 1.5rem;
  flex-wrap: wrap;
  gap: 1rem;
}

/* Testimonial Styles */
.testimonial-content {
  margin-bottom: 1.5rem;
}

.testimonial-text {
  font-style: italic;
  color: var(--gray-700);
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

.avatar-primary {
  background: var(--primary);
}

.avatar-secondary {
  background: var(--secondary);
}

.avatar-accent {
  background: var(--accent);
}

.author-name {
  margin: 0;
  color: var(--gray-900);
}

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

/* Game Stats Row */
.game-stats-row {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 1rem;
  font-size: 0.875rem;
  color: var(--gray-600);
}

/* Contact Info Item */
.contact-info-item {
  display: flex;
  gap: 1rem;
}

.contact-icon-wrapper {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: var(--gray-100);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-icon-wrapper i {
  color: var(--primary);
  font-size: 1.5rem;
}

.contact-detail h4 {
  margin: 0 0 0.5rem 0;
}

.contact-detail p {
  margin: 0;
  color: var(--gray-600);
}

/* Hero Stats */
.hero-stats {
  display: flex;
  justify-content: center;
  gap: 3rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.hero-stat-item {
  text-align: center;
}

/* Gradient Card */
.gradient-card {
  padding: 3rem;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  text-align: center;
}

.gradient-card h3 {
  color: white;
  margin: 0;
}

/* Position Utilities */
.relative {
  position: relative;
}

/* CTA Buttons Container */
.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.cta-buttons-inline {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Form Utilities */
.form-group-no-margin {
  margin-bottom: 0;
}

/* Width Utilities */
.w-full {
  width: 100%;
}

/* Margin Utilities */
.mb-4 {
  margin-bottom: 2rem;
}

/* Responsive */
@media (max-width: 768px) {
  .section {
    padding: 3rem 0;
  }

  .funmatezone-games-grid {
    grid-template-columns: 1fr;
  }

  .funmatezone-grid {
    grid-template-columns: 1fr;
  }

  .funmatezone-contact-grid {
    grid-template-columns: 1fr;
  }

  .funmatezone-about-grid {
    grid-template-columns: 1fr;
  }

  .funmatezone-form-row {
    grid-template-columns: 1fr;
  }

  .grid-about {
    grid-template-columns: 1fr;
  }

  .grid-contact {
    grid-template-columns: 1fr;
  }

  .grid-2-col {
    grid-template-columns: 1fr;
  }
}

/* Contact Page Styles */
.contact-hero-gradient {
  background: linear-gradient(135deg, #e0f2fe 0%, #fef3c7 100%);
}

.contact-hero-content {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.contact-hero-icon {
  font-size: 4rem;
  color: var(--primary);
  margin-bottom: 1rem;
}

.contact-hero-subtitle {
  font-size: 1.125rem;
  color: var(--gray-600);
  margin-top: 1rem;
}

.contact-hero-note {
  color: var(--gray-500);
  margin-top: 0.5rem;
}

.contact-feature-icon {
  font-size: 3rem;
  color: var(--primary);
  margin-bottom: 1rem;
}

.contact-info-header {
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.contact-info-header i {
  color: var(--primary);
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-info-row {
  display: flex;
  gap: 1rem;
}

.contact-form-header {
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.contact-form-header i {
  color: var(--primary);
}

.contact-form-intro {
  color: var(--gray-600);
  margin-bottom: 2rem;
  font-size: 0.875rem;
}

.contact-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.contact-cta-content {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.contact-cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

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

  .contact-hero-icon {
    font-size: 3rem;
  }

  .contact-feature-icon {
    font-size: 2.5rem;
  }
}

/* Mobile word break for long words */
@media (max-width: 480px) {
  h1,
  h2,
  h3,
  h4 {
    word-break: break-word;
    hyphens: auto;
  }

  .funmatezone-navbar-link {
    font-size: 1rem;
    padding: 0.75rem 1rem;
    min-height: 44px;
    display: flex;
    align-items: center;
  }

  .funmatezone-navbar-cta {
    font-size: 0.95rem;
    padding: 0.75rem 1.25rem;
    min-height: 44px;
    display: flex;
    align-items: center;
  }
}

/* ============================================
   Legal Pages Redesign (Privacy, Terms, Cookies)
   ============================================ */

/* Hero Sections */
.legal-hero {
  background: linear-gradient(135deg, #e0f2fe 0%, #f0f9ff 50%, #fef3c7 100%);
  padding: 5rem 0 4rem;
  position: relative;
  overflow: hidden;
}

.legal-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(6,182,212,0.05)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
  opacity: 0.3;
}

.legal-hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.legal-hero-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: var(--white);
  box-shadow: var(--shadow-lg);
}

.legal-hero h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  margin-bottom: 1rem;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.legal-hero-subtitle {
  font-size: 1.25rem;
  color: var(--gray-600);
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.legal-hero-date {
  font-size: 0.875rem;
  color: var(--gray-500);
  margin: 0;
}

/* Overview Cards */
.legal-overview {
  padding: 3rem 0;
  background: var(--white);
}

.legal-overview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.legal-overview-card {
  background: var(--white);
  border: 2px solid var(--gray-200);
  border-radius: var(--border-radius-lg);
  padding: 2rem;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.legal-overview-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transition: var(--transition);
}

.legal-overview-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.legal-overview-card:hover::before {
  transform: scaleX(1);
}

.legal-overview-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(
    135deg,
    rgba(6, 182, 212, 0.1),
    rgba(249, 115, 22, 0.1)
  );
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  color: var(--primary);
  margin-bottom: 1.5rem;
}

.legal-overview-card h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  color: var(--gray-900);
}

.legal-overview-card p {
  color: var(--gray-600);
  line-height: 1.7;
  margin-bottom: 0;
}

.legal-overview-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.legal-overview-card ul li {
  padding: 0.5rem 0;
  padding-left: 1.5rem;
  position: relative;
  color: var(--gray-600);
  line-height: 1.6;
}

.legal-overview-card ul li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--success);
  font-weight: 700;
}

/* Main Content Sections */
.legal-content {
  padding: 4rem 0;
  background: var(--gray-50);
}

.legal-content-wrapper {
  max-width: 900px;
  margin: 0 auto;
}

.legal-section {
  background: var(--white);
  border-radius: var(--border-radius-lg);
  padding: 2.5rem;
  margin-bottom: 2rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
}

.legal-section h2 {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 1.75rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--gray-200);
}

.legal-section h2 i {
  color: var(--primary);
  font-size: 1.5rem;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(6, 182, 212, 0.1);
  border-radius: 10px;
}

.legal-section p {
  color: var(--gray-700);
  line-height: 1.8;
  margin-bottom: 1.25rem;
  font-size: 1rem;
}

.legal-section p:last-child {
  margin-bottom: 0;
}

/* Info Grids */
.legal-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.legal-info-card {
  background: var(--gray-50);
  border-radius: var(--border-radius);
  padding: 1.5rem;
  border-left: 4px solid var(--primary);
}

.legal-info-card h3 {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.125rem;
  margin-bottom: 1rem;
  color: var(--gray-900);
}

.legal-info-card h3 i {
  color: var(--primary);
}

.legal-info-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.legal-info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem;
  background: var(--white);
  border-radius: var(--border-radius);
  border: 1px solid var(--gray-200);
  transition: var(--transition);
}

.legal-info-item:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-sm);
}

.legal-info-item i {
  color: var(--primary);
  font-size: 1.25rem;
  margin-top: 0.25rem;
  flex-shrink: 0;
}

.legal-info-item span {
  color: var(--gray-700);
  line-height: 1.6;
}

/* Category Cards */
.legal-category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.legal-category-card {
  background: var(--white);
  border: 2px solid var(--gray-200);
  border-radius: var(--border-radius-lg);
  padding: 2rem;
  transition: var(--transition);
}

.legal-category-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.legal-category-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--gray-200);
}

.legal-category-header i {
  font-size: 1.75rem;
  color: var(--primary);
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(6, 182, 212, 0.1);
  border-radius: 12px;
}

.legal-category-header h3 {
  margin: 0;
  font-size: 1.25rem;
  color: var(--gray-900);
}

.legal-category-card p {
  color: var(--gray-600);
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.legal-category-examples h4 {
  font-size: 1rem;
  color: var(--gray-800);
  margin-bottom: 0.75rem;
  font-weight: 600;
}

.legal-category-examples ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.legal-category-examples ul li {
  padding: 0.5rem 0;
  padding-left: 1.5rem;
  position: relative;
  color: var(--gray-600);
  line-height: 1.6;
}

.legal-category-examples ul li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 700;
  font-size: 1.25rem;
}

/* Timeline/Process */
.legal-timeline {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin: 2rem 0;
}

.legal-timeline-item {
  display: flex;
  gap: 1.5rem;
  position: relative;
}

.legal-timeline-item:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 20px;
  top: 60px;
  width: 2px;
  height: calc(100% + 1rem);
  background: var(--gray-300);
}

.legal-timeline-dot {
  width: 40px;
  height: 40px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 700;
  flex-shrink: 0;
  box-shadow: var(--shadow-md);
  position: relative;
  z-index: 1;
}

.legal-timeline-content {
  flex: 1;
  background: var(--white);
  border-radius: var(--border-radius);
  padding: 1.5rem;
  border: 1px solid var(--gray-200);
}

.legal-timeline-content h4 {
  margin-bottom: 0.5rem;
  color: var(--gray-900);
}

.legal-timeline-content p {
  margin: 0;
  color: var(--gray-600);
}

/* Contact Methods */
.legal-contact-grid {
  display: grid;
  grid-template-columns: repeat(1fr);
  gap: 1.5rem;
  margin: 2rem 0;
}

.legal-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.5rem;
  background: var(--white);
  border-radius: var(--border-radius);
  border: 1px solid var(--gray-200);
  transition: var(--transition);
}

.legal-contact-item:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}

.legal-contact-item i {
  font-size: 1.5rem;
  color: var(--primary);
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(6, 182, 212, 0.1);
  border-radius: 12px;
  flex-shrink: 0;
}

.legal-contact-item div {
  flex: 1;
}

.legal-contact-item h4 {
  margin-bottom: 0.5rem;
  color: var(--gray-900);
}

.legal-contact-item p {
  margin: 0;
  color: var(--gray-600);
}

.legal-contact-item a {
  color: var(--primary);
  font-weight: 500;
}

/* CTA Section */
.legal-cta {
  padding: 3rem 0;
  background: var(--white);
  text-align: center;
}

.legal-cta-content {
  max-width: 600px;
  margin: 0 auto;
}

.legal-cta h2 {
  margin-bottom: 1rem;
}

.legal-cta p {
  color: var(--gray-600);
  margin-bottom: 2rem;
  font-size: 1.125rem;
}

.legal-cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Disclaimer Section */
.legal-disclaimer {
  padding: 2rem 0;
  background: var(--gray-50);
}

.legal-disclaimer-content {
  max-width: 900px;
  margin: 0 auto;
}

.legal-disclaimer .alert {
  border-left: 4px solid var(--primary);
  background: var(--white);
  border-radius: var(--border-radius);
}

.legal-disclaimer .alert h4 {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  color: var(--gray-900);
}

.legal-disclaimer .alert h4 i {
  color: var(--primary);
}

.legal-disclaimer .alert p {
  margin-bottom: 0.75rem;
  color: var(--gray-700);
}

.legal-disclaimer .alert p:last-child {
  margin-bottom: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
  .legal-hero {
    padding: 3rem 0 2.5rem;
  }

  .legal-hero-icon {
    width: 60px;
    height: 60px;
    font-size: 2rem;
  }

  .legal-overview-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .legal-section {
    padding: 1.5rem;
  }

  .legal-section h2 {
    font-size: 1.5rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }

  .legal-info-grid,
  .legal-category-grid,
  .legal-contact-grid {
    grid-template-columns: 1fr;
  }

  .legal-timeline-item {
    flex-direction: column;
  }

  .legal-timeline-item:not(:last-child)::after {
    display: none;
  }
}

@media (max-width: 480px) {
  .legal-hero h1 {
    font-size: 1.75rem;
  }

  .legal-hero-subtitle {
    font-size: 1rem;
  }

  .legal-overview-card,
  .legal-section,
  .legal-category-card {
    padding: 1.25rem;
  }
}
