/* JoyfulSphere.org - Split-Screen Sidebar Design */

/* Reset & Typography */
html {
  font-size: 16px !important;
  overflow-wrap: break-word;
  word-wrap: break-word;
  hyphens: auto;
  scroll-behavior: smooth;
}

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

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

/* CSS Variables */
:root {
  --joyfulsphere-primary: #7c3aed;
  --joyfulsphere-primary-dark: #6d28d9;
  --joyfulsphere-primary-light: #8b5cf6;
  --joyfulsphere-secondary: #ec4899;
  --joyfulsphere-accent: #f59e0b;
  --joyfulsphere-success: #10b981;
  --joyfulsphere-warning: #f59e0b;
  --joyfulsphere-error: #ef4444;

  --joyfulsphere-gray-50: #fafaf9;
  --joyfulsphere-gray-100: #f5f5f4;
  --joyfulsphere-gray-200: #e7e5e4;
  --joyfulsphere-gray-300: #d6d3d1;
  --joyfulsphere-gray-400: #a8a29e;
  --joyfulsphere-gray-500: #78716c;
  --joyfulsphere-gray-600: #57534e;
  --joyfulsphere-gray-700: #44403c;
  --joyfulsphere-gray-800: #292524;
  --joyfulsphere-gray-900: #1c1917;

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

  --joyfulsphere-shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --joyfulsphere-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
  --joyfulsphere-shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --joyfulsphere-shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --joyfulsphere-shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);

  --joyfulsphere-gradient-primary: linear-gradient(135deg, #7c3aed 0%, #ec4899 100%);
  --joyfulsphere-gradient-secondary: linear-gradient(135deg, #ec4899 0%, #f59e0b 100%);
  --joyfulsphere-gradient-accent: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);

  --joyfulsphere-border-radius: 12px;
  --joyfulsphere-border-radius-lg: 16px;
  --joyfulsphere-border-radius-xl: 24px;

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

  --joyfulsphere-sidebar-width: 280px;
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  color: var(--joyfulsphere-gray-800);
  background: var(--joyfulsphere-gray-50);
  overflow-x: hidden;
}

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

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

/* Layout Wrapper */
.joyfulsphere-layout-wrapper {
  display: flex;
  min-height: 100vh;
}

/* Sidebar */
.joyfulsphere-sidebar {
  position: fixed;
  left: 0;
  top: 0;
  width: var(--joyfulsphere-sidebar-width);
  height: 100vh;
  background: linear-gradient(180deg, #1c1917 0%, #292524 100%);
  padding: 2rem 0;
  display: flex;
  flex-direction: column;
  z-index: 1000;
  box-shadow: var(--joyfulsphere-shadow-lg);
}

.joyfulsphere-sidebar-header {
  padding: 0 1.5rem 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.joyfulsphere-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--joyfulsphere-white);
  font-size: 1.25rem;
  font-weight: 700;
}

.joyfulsphere-logo-img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.joyfulsphere-logo-text {
  background: var(--joyfulsphere-gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.joyfulsphere-sidebar-nav {
  flex: 1;
  padding: 2rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.joyfulsphere-nav-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.875rem 1.5rem;
  color: var(--joyfulsphere-gray-300);
  font-weight: 500;
  transition: var(--joyfulsphere-transition);
  position: relative;
}

.joyfulsphere-nav-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 0;
  background: var(--joyfulsphere-gradient-primary);
  border-radius: 0 4px 4px 0;
  transition: var(--joyfulsphere-transition);
}

.joyfulsphere-nav-item:hover,
.joyfulsphere-nav-item.joyfulsphere-active {
  color: var(--joyfulsphere-white);
  background: rgba(255, 255, 255, 0.05);
}

.joyfulsphere-nav-item:hover::before,
.joyfulsphere-nav-item.joyfulsphere-active::before {
  height: 70%;
}

.joyfulsphere-nav-item i {
  font-size: 1.125rem;
}

.joyfulsphere-nav-cta {
  margin: 0 1.5rem;
  padding: 0.875rem 1.25rem;
  background: var(--joyfulsphere-gradient-primary);
  color: var(--joyfulsphere-white);
  font-weight: 600;
  border-radius: var(--joyfulsphere-border-radius);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: var(--joyfulsphere-transition);
  box-shadow: var(--joyfulsphere-shadow-md);
}

.joyfulsphere-nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: var(--joyfulsphere-shadow-lg);
}

.joyfulsphere-mobile-toggle {
  display: none;
  position: fixed;
  top: 1rem;
  right: 1rem;
  width: 50px;
  height: 50px;
  background: var(--joyfulsphere-primary);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  z-index: 1100;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  box-shadow: var(--joyfulsphere-shadow-lg);
}

.joyfulsphere-toggle-bar {
  width: 24px;
  height: 3px;
  background: var(--joyfulsphere-white);
  border-radius: 2px;
  transition: var(--joyfulsphere-transition);
}

/* Main Content */
.joyfulsphere-main-content {
  margin-left: var(--joyfulsphere-sidebar-width);
  flex: 1;
  width: calc(100% - var(--joyfulsphere-sidebar-width));
  min-height: 100vh;
}

.joyfulsphere-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  width: 100%;
}

/* Hero Split */
.joyfulsphere-hero-split {
  min-height: 600px;
  background: var(--joyfulsphere-gradient-primary);
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.joyfulsphere-hero-visual {
  width: 100%;
  min-height: 600px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 2rem;
}

.joyfulsphere-hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 50%, rgba(236, 72, 153, 0.3) 0%, transparent 50%),
              radial-gradient(circle at 70% 50%, rgba(124, 58, 237, 0.3) 0%, transparent 50%);
}

.joyfulsphere-hero-text-content {
  position: relative;
  z-index: 10;
  max-width: 700px;
  text-align: center;
  color: var(--joyfulsphere-white);
}

.joyfulsphere-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.25rem;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.joyfulsphere-hero-text-content h1 {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.joyfulsphere-hero-text-content p {
  font-size: 1.25rem;
  line-height: 1.7;
  opacity: 0.95;
  margin-bottom: 2rem;
}

.joyfulsphere-hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

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

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

.joyfulsphere-btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: var(--joyfulsphere-shadow-lg);
  color: var(--joyfulsphere-primary-dark);
}

.joyfulsphere-btn-outline {
  background: transparent;
  color: var(--joyfulsphere-primary);
  border: 2px solid var(--joyfulsphere-primary);
}

.joyfulsphere-btn-outline:hover {
  background: var(--joyfulsphere-primary);
  color: var(--joyfulsphere-white);
}

.joyfulsphere-btn-full {
  width: 100%;
  justify-content: center;
}

/* Section Intro */
.joyfulsphere-section-intro {
  text-align: center;
  margin-bottom: 3rem;
}

.joyfulsphere-section-intro h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--joyfulsphere-gray-900);
  margin-bottom: 1rem;
}

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

/* Benefits Section */
.joyfulsphere-benefits {
  padding: 6rem 0;
}

.joyfulsphere-benefits-masonry {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.joyfulsphere-benefit-item {
  background: var(--joyfulsphere-white);
  padding: 2rem;
  border-radius: var(--joyfulsphere-border-radius-lg);
  box-shadow: var(--joyfulsphere-shadow);
  transition: var(--joyfulsphere-transition);
}

.joyfulsphere-benefit-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--joyfulsphere-shadow-lg);
}

.joyfulsphere-benefit-item i {
  font-size: 2.5rem;
  background: var(--joyfulsphere-gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1rem;
}

.joyfulsphere-benefit-item h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--joyfulsphere-gray-900);
  margin-bottom: 0.75rem;
}

.joyfulsphere-benefit-item p {
  color: var(--joyfulsphere-gray-600);
  line-height: 1.7;
}

.joyfulsphere-benefit-large {
  grid-column: span 2;
}

.joyfulsphere-benefit-wide {
  grid-column: span 2;
}

/* Featured Games */
.joyfulsphere-featured-games {
  padding: 6rem 0;
  background: var(--joyfulsphere-white);
}

.joyfulsphere-game-showcase {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.joyfulsphere-game-card-modern {
  background: var(--joyfulsphere-gray-50);
  border-radius: var(--joyfulsphere-border-radius-lg);
  overflow: hidden;
  box-shadow: var(--joyfulsphere-shadow);
  transition: var(--joyfulsphere-transition);
}

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

.joyfulsphere-game-thumbnail {
  width: 100%;
  height: 220px;
  overflow: hidden;
  background: var(--joyfulsphere-gradient-primary);
}

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

.joyfulsphere-game-card-modern:hover .joyfulsphere-game-thumbnail img {
  transform: scale(1.05);
}

.joyfulsphere-game-info {
  padding: 1.5rem;
}

.joyfulsphere-game-info h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--joyfulsphere-gray-900);
  margin-bottom: 0.75rem;
}

.joyfulsphere-game-info p {
  color: var(--joyfulsphere-gray-600);
  margin-bottom: 1.25rem;
  line-height: 1.6;
}

.joyfulsphere-game-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--joyfulsphere-primary);
  font-weight: 600;
  transition: var(--joyfulsphere-transition-fast);
}

.joyfulsphere-game-link:hover {
  gap: 0.75rem;
}

/* How It Works Timeline */
.joyfulsphere-how-it-works {
  padding: 6rem 0;
  background: var(--joyfulsphere-gray-100);
}

.joyfulsphere-steps-timeline {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  max-width: 800px;
  margin: 0 auto;
}

.joyfulsphere-step-card {
  display: flex;
  gap: 2rem;
  background: var(--joyfulsphere-white);
  padding: 2rem;
  border-radius: var(--joyfulsphere-border-radius-lg);
  box-shadow: var(--joyfulsphere-shadow);
  position: relative;
}

.joyfulsphere-step-card::before {
  content: '';
  position: absolute;
  left: 45px;
  top: 80px;
  width: 2px;
  height: calc(100% + 2rem);
  background: var(--joyfulsphere-gray-200);
}

.joyfulsphere-step-card:last-child::before {
  display: none;
}

.joyfulsphere-step-number {
  width: 60px;
  height: 60px;
  background: var(--joyfulsphere-gradient-primary);
  color: var(--joyfulsphere-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  flex-shrink: 0;
  box-shadow: var(--joyfulsphere-shadow-md);
  position: relative;
  z-index: 10;
}

.joyfulsphere-step-content h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--joyfulsphere-gray-900);
  margin-bottom: 0.75rem;
}

.joyfulsphere-step-content p {
  color: var(--joyfulsphere-gray-600);
  line-height: 1.7;
}

/* Community Stats */
.joyfulsphere-community-stats {
  padding: 6rem 0;
  background: var(--joyfulsphere-gradient-primary);
  color: var(--joyfulsphere-white);
  text-align: center;
}

.joyfulsphere-community-stats h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 3rem;
}

.joyfulsphere-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
}

.joyfulsphere-stat-box {
  padding: 2rem;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: var(--joyfulsphere-border-radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.joyfulsphere-stat-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  opacity: 0.9;
}

.joyfulsphere-stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  display: block;
  margin-bottom: 0.5rem;
}

.joyfulsphere-stat-label {
  font-size: 1rem;
  opacity: 0.9;
}

/* Page Header */
.joyfulsphere-page-header {
  background: var(--joyfulsphere-gradient-primary);
  color: var(--joyfulsphere-white);
  padding: 4rem 0;
  text-align: center;
}

.joyfulsphere-page-header h1 {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.joyfulsphere-page-header p {
  font-size: 1.25rem;
  opacity: 0.95;
}

/* Games Library */
.joyfulsphere-games-library {
  padding: 4rem 0;
}

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

.joyfulsphere-game-tile {
  background: var(--joyfulsphere-white);
  border-radius: var(--joyfulsphere-border-radius-lg);
  overflow: hidden;
  box-shadow: var(--joyfulsphere-shadow);
  transition: var(--joyfulsphere-transition);
}

.joyfulsphere-game-tile:hover {
  transform: translateY(-6px);
  box-shadow: var(--joyfulsphere-shadow-xl);
}

.joyfulsphere-game-image-wrap {
  width: 100%;
  height: 200px;
  overflow: hidden;
  background: var(--joyfulsphere-gray-100);
}

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

.joyfulsphere-game-tile:hover .joyfulsphere-game-image-wrap img {
  transform: scale(1.1);
}

.joyfulsphere-game-details {
  padding: 1.5rem;
}

.joyfulsphere-game-details h3 {
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--joyfulsphere-gray-900);
  margin-bottom: 0.75rem;
}

.joyfulsphere-game-details p {
  color: var(--joyfulsphere-gray-600);
  margin-bottom: 1rem;
  line-height: 1.6;
}

.joyfulsphere-play-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: var(--joyfulsphere-gradient-primary);
  color: var(--joyfulsphere-white);
  font-weight: 600;
  border-radius: var(--joyfulsphere-border-radius);
  transition: var(--joyfulsphere-transition);
}

.joyfulsphere-play-btn:hover {
  transform: translateX(4px);
}

/* Game Categories */
.joyfulsphere-game-categories {
  padding: 4rem 0;
  background: var(--joyfulsphere-gray-100);
}

.joyfulsphere-game-categories h2 {
  font-size: 2rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 2rem;
}

.joyfulsphere-categories-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.joyfulsphere-category-box {
  background: var(--joyfulsphere-white);
  padding: 2rem;
  border-radius: var(--joyfulsphere-border-radius-lg);
  box-shadow: var(--joyfulsphere-shadow);
  text-align: center;
  transition: var(--joyfulsphere-transition);
}

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

.joyfulsphere-category-box i {
  font-size: 2.5rem;
  background: var(--joyfulsphere-gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1rem;
}

.joyfulsphere-category-box h3 {
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--joyfulsphere-gray-900);
  margin-bottom: 0.75rem;
}

.joyfulsphere-category-box p {
  color: var(--joyfulsphere-gray-600);
  line-height: 1.6;
}

/* Contact Section */
.joyfulsphere-contact-section {
  padding: 4rem 0;
}

.joyfulsphere-contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 3rem;
}

.joyfulsphere-contact-info-panel {
  background: var(--joyfulsphere-gradient-primary);
  color: var(--joyfulsphere-white);
  padding: 3rem;
  border-radius: var(--joyfulsphere-border-radius-lg);
}

.joyfulsphere-contact-info-panel h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.joyfulsphere-contact-info-panel > p {
  margin-bottom: 2rem;
  opacity: 0.95;
  line-height: 1.7;
}

.joyfulsphere-contact-method {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.joyfulsphere-contact-method:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.joyfulsphere-method-icon {
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.joyfulsphere-method-icon i {
  font-size: 1.25rem;
}

.joyfulsphere-method-text h4 {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.joyfulsphere-method-text p,
.joyfulsphere-method-text a {
  color: var(--joyfulsphere-white);
  opacity: 0.95;
  line-height: 1.6;
}

.joyfulsphere-method-text small {
  display: block;
  opacity: 0.8;
  margin-top: 0.25rem;
}

.joyfulsphere-contact-form-panel {
  background: var(--joyfulsphere-white);
  padding: 3rem;
  border-radius: var(--joyfulsphere-border-radius-lg);
  box-shadow: var(--joyfulsphere-shadow);
}

.joyfulsphere-contact-form-panel h3 {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--joyfulsphere-gray-900);
  margin-bottom: 0.75rem;
}

.joyfulsphere-contact-form-panel > p {
  color: var(--joyfulsphere-gray-600);
  margin-bottom: 2rem;
}

/* Form Styles */
.joyfulsphere-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.joyfulsphere-form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.joyfulsphere-form-group label {
  font-weight: 600;
  color: var(--joyfulsphere-gray-800);
}

.joyfulsphere-input,
.joyfulsphere-textarea {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 2px solid var(--joyfulsphere-gray-200);
  border-radius: var(--joyfulsphere-border-radius);
  font-size: 1rem;
  font-family: inherit;
  transition: var(--joyfulsphere-transition-fast);
  background: var(--joyfulsphere-white);
}

.joyfulsphere-input:focus,
.joyfulsphere-textarea:focus {
  outline: none;
  border-color: var(--joyfulsphere-primary);
  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.1);
}

.joyfulsphere-textarea {
  resize: vertical;
  min-height: 120px;
}

/* Support Features */
.joyfulsphere-support-features {
  padding: 4rem 0;
  background: var(--joyfulsphere-gray-100);
}

.joyfulsphere-features-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.joyfulsphere-support-feature {
  text-align: center;
  padding: 2rem;
  background: var(--joyfulsphere-white);
  border-radius: var(--joyfulsphere-border-radius-lg);
  box-shadow: var(--joyfulsphere-shadow);
}

.joyfulsphere-support-feature i {
  font-size: 2.5rem;
  background: var(--joyfulsphere-gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1rem;
}

.joyfulsphere-support-feature h4 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--joyfulsphere-gray-900);
  margin-bottom: 0.5rem;
}

.joyfulsphere-support-feature p {
  color: var(--joyfulsphere-gray-600);
  line-height: 1.6;
}

/* Legal Content */
.joyfulsphere-legal-content {
  padding: 4rem 0;
  background: var(--joyfulsphere-white);
}

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

.joyfulsphere-legal-section {
  margin-bottom: 3rem;
}

.joyfulsphere-legal-section h2 {
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--joyfulsphere-gray-900);
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--joyfulsphere-primary);
}

.joyfulsphere-legal-section h3 {
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--joyfulsphere-gray-900);
  margin: 1.5rem 0 1rem;
}

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

.joyfulsphere-legal-list {
  list-style: none;
  padding-left: 0;
  margin: 1rem 0;
}

.joyfulsphere-legal-list li {
  color: var(--joyfulsphere-gray-700);
  line-height: 1.8;
  margin-bottom: 0.75rem;
  padding-left: 1.5rem;
  position: relative;
}

.joyfulsphere-legal-list li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--joyfulsphere-primary);
  font-weight: 700;
  font-size: 1.25rem;
}

/* CTA Section */
.joyfulsphere-cta-section {
  padding: 4rem 0;
  background: var(--joyfulsphere-gray-100);
}

.joyfulsphere-cta-box {
  background: var(--joyfulsphere-white);
  padding: 3rem;
  border-radius: var(--joyfulsphere-border-radius-lg);
  text-align: center;
  box-shadow: var(--joyfulsphere-shadow);
}

.joyfulsphere-cta-box h2 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--joyfulsphere-gray-900);
  margin-bottom: 1rem;
}

.joyfulsphere-cta-box p {
  color: var(--joyfulsphere-gray-600);
  font-size: 1.125rem;
  margin-bottom: 2rem;
  line-height: 1.7;
}

/* Footer */
.joyfulsphere-footer {
  background: var(--joyfulsphere-gray-900);
  color: var(--joyfulsphere-gray-300);
  padding: 4rem 0 2rem;
  margin-left: var(--joyfulsphere-sidebar-width);
  width: calc(100% - var(--joyfulsphere-sidebar-width));
}

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

.joyfulsphere-footer-col h4 {
  color: var(--joyfulsphere-white);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
}

.joyfulsphere-footer-col p {
  line-height: 1.7;
  margin-bottom: 1rem;
  color: var(--joyfulsphere-gray-300);
}

.joyfulsphere-footer-contact {
  margin-top: 1.5rem;
}

.joyfulsphere-footer-contact p {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  color: var(--joyfulsphere-gray-300);
}

.joyfulsphere-footer-contact i {
  color: var(--joyfulsphere-primary-light);
  width: 20px;
  flex-shrink: 0;
  margin-top: 0.25rem;
}

.joyfulsphere-footer-contact a {
  color: var(--joyfulsphere-gray-300);
  text-decoration: none;
  transition: var(--joyfulsphere-transition-fast);
}

.joyfulsphere-footer-contact a:hover {
  color: var(--joyfulsphere-white);
}

.joyfulsphere-footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.joyfulsphere-footer-links li {
  margin-bottom: 0.875rem;
}

.joyfulsphere-footer-links a {
  color: var(--joyfulsphere-gray-300);
  text-decoration: none;
  transition: var(--joyfulsphere-transition-fast);
  display: inline-block;
}

.joyfulsphere-footer-links a:hover {
  color: var(--joyfulsphere-white);
  transform: translateX(4px);
}

.joyfulsphere-footer-disclaimer {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  margin-bottom: 2rem;
}

.joyfulsphere-footer-disclaimer p {
  font-size: 0.875rem;
  line-height: 1.8;
  margin-bottom: 1rem;
  color: var(--joyfulsphere-gray-300);
}

.joyfulsphere-footer-disclaimer a {
  color: var(--joyfulsphere-primary-light);
  text-decoration: underline;
}

.joyfulsphere-footer-disclaimer a:hover {
  color: var(--joyfulsphere-white);
}

.joyfulsphere-footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  text-align: center;
}

.joyfulsphere-footer-bottom p {
  font-size: 0.875rem;
  color: var(--joyfulsphere-gray-400);
}

.joyfulsphere-footer-bottom a {
  color: var(--joyfulsphere-primary-light);
  text-decoration: none;
  margin-right: 0.5rem;
}

.joyfulsphere-footer-bottom a:hover {
  color: var(--joyfulsphere-white);
  text-decoration: underline;
}

/* Cookie Banner */
#joyfulsphere-cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--joyfulsphere-gray-900);
  color: var(--joyfulsphere-white);
  padding: 1.5rem;
  box-shadow: var(--joyfulsphere-shadow-xl);
  z-index: 9999;
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

#joyfulsphere-cookie-banner.joyfulsphere-active {
  transform: translateY(0);
}

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

.joyfulsphere-cookie-text {
  flex: 1;
}

.joyfulsphere-cookie-title {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.joyfulsphere-cookie-desc {
  font-size: 0.875rem;
  opacity: 0.9;
  line-height: 1.6;
}

.joyfulsphere-cookie-buttons {
  display: flex;
  gap: 1rem;
  flex-shrink: 0;
}

.joyfulsphere-cookie-accept {
  padding: 0.75rem 2rem;
  background: var(--joyfulsphere-primary);
  color: var(--joyfulsphere-white);
  border: none;
  border-radius: var(--joyfulsphere-border-radius);
  font-weight: 600;
  cursor: pointer;
  transition: var(--joyfulsphere-transition);
}

.joyfulsphere-cookie-accept:hover {
  background: var(--joyfulsphere-primary-dark);
}

.joyfulsphere-cookie-policy {
  padding: 0.75rem 1.5rem;
  color: var(--joyfulsphere-white);
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--joyfulsphere-border-radius);
  font-weight: 600;
  transition: var(--joyfulsphere-transition);
}

.joyfulsphere-cookie-policy:hover {
  background: rgba(255, 255, 255, 0.1);
}

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

.joyfulsphere-mt-4 {
  margin-top: 2rem;
}

.joyfulsphere-mt-6 {
  margin-top: 3rem;
}

/* Alert Messages */
.joyfulsphere-alert {
  padding: 1rem 1.25rem;
  border-radius: var(--joyfulsphere-border-radius);
  margin-bottom: 1rem;
}

.joyfulsphere-alert-success {
  background: #d1fae5;
  color: #065f46;
  border: 1px solid #10b981;
}

.joyfulsphere-alert-danger {
  background: #fee2e2;
  color: #991b1b;
  border: 1px solid #ef4444;
}

/* Loading State */
.joyfulsphere-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Mobile Menu Overlay */
.joyfulsphere-mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: var(--joyfulsphere-transition);
}

.joyfulsphere-mobile-overlay.joyfulsphere-active {
  opacity: 1;
  visibility: visible;
}

/* Responsive Design */
@media (max-width: 1024px) {
  :root {
    --joyfulsphere-sidebar-width: 240px;
  }

  .joyfulsphere-hero-text-content h1 {
    font-size: 2.5rem;
  }

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

  .joyfulsphere-benefit-large,
  .joyfulsphere-benefit-wide {
    grid-column: span 1;
  }
}

@media (max-width: 768px) {
  .joyfulsphere-sidebar {
    width: 85%;
    max-width: 320px;
    transform: translateX(-100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
  }

  .joyfulsphere-sidebar.joyfulsphere-active {
    transform: translateX(0);
  }

  .joyfulsphere-main-content {
    margin-left: 0;
    width: 100%;
  }

  .joyfulsphere-footer {
    margin-left: 0;
    width: 100%;
  }

  .joyfulsphere-mobile-toggle {
    display: flex;
  }

  .joyfulsphere-mobile-toggle.joyfulsphere-active {
    background: var(--joyfulsphere-primary-dark);
  }

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

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

  .joyfulsphere-mobile-toggle.joyfulsphere-active .joyfulsphere-toggle-bar:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
  }

  .joyfulsphere-hero-text-content h1 {
    font-size: 2rem;
  }

  .joyfulsphere-hero-text-content p {
    font-size: 1rem;
  }

  .joyfulsphere-section-intro h2 {
    font-size: 1.875rem;
  }

  .joyfulsphere-benefits-masonry,
  .joyfulsphere-games-grid {
    grid-template-columns: 1fr;
  }

  .joyfulsphere-game-showcase {
    grid-template-columns: 1fr;
  }

  .joyfulsphere-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .joyfulsphere-cookie-content {
    flex-direction: column;
    text-align: center;
  }

  .joyfulsphere-cookie-buttons {
    flex-direction: column;
    width: 100%;
  }

  .joyfulsphere-cookie-accept,
  .joyfulsphere-cookie-policy {
    width: 100%;
  }

  .joyfulsphere-page-header h1 {
    font-size: 2rem;
  }

  .joyfulsphere-footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .joyfulsphere-container {
    padding: 0 1rem;
  }

  .joyfulsphere-hero-visual {
    padding: 3rem 1rem;
  }

  .joyfulsphere-stats-grid {
    grid-template-columns: 1fr;
  }

  .joyfulsphere-contact-info-panel,
  .joyfulsphere-contact-form-panel {
    padding: 2rem 1.5rem;
  }

  .joyfulsphere-legal-section h2 {
    font-size: 1.5rem;
  }
}
