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

:root {
  /* Основные цвета из брендовой палитры */
  --primary-green: #00332a;
  --dark-green: #031a16;
  --accent-green: #00493b;
  --gold: #e5a749;
  --orange: #f2ab47;
  --light-text: #f6f9f9;
  --gray-text: #9ab2ab;
  --card-bg: #00211b;
  --hover-green: #0a3d34;
  
  /* Дополнительные цвета */
  --brand-light: #f9bc5c;
  --brand-dark: #895d25;
  --green-bright: #009926;
  --green-dark: #004c13;
  --yellow-bright: #f79401;
  --yellow-dark: #b26812;
  --neutral-light: #b6c9c6;
  --neutral-medium: #00856b;
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: linear-gradient(180deg, var(--dark-green) 0%, #09080c 100%);
  color: var(--light-text);
  min-height: 100vh;
  overflow-x: hidden;
}

/* Header Styles */
.header {
  background: var(--primary-green);
  border-bottom: 2px solid var(--accent-green);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2rem;
  max-width: 1920px;
  margin: 0 auto;
  gap: 2rem;
}

.logo a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: var(--light-text);
}

.crown-icon {
  font-size: 2rem;
  filter: drop-shadow(0 0 10px var(--gold));
}

.logo-text {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: 2px;
  background: linear-gradient(135deg, var(--gold), var(--orange));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.search-bar {
  flex: 1;
  max-width: 500px;
}

.search-bar input {
  width: 100%;
  padding: 0.75rem 1.5rem;
  background: var(--dark-green);
  border: 2px solid var(--accent-green);
  border-radius: 4px;
  color: var(--light-text);
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.search-bar input:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 15px rgba(229, 167, 73, 0.3);
}

.search-bar input::placeholder {
  color: var(--gray-text);
}

.auth-buttons {
  display: flex;
  gap: 1rem;
}

.btn-login,
.btn-register {
  padding: 0.75rem 2rem;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.btn-login {
  background: transparent;
  color: var(--light-text);
  border: 2px solid var(--accent-green);
}

.btn-login:hover {
  background: var(--accent-green);
  border-color: var(--gold);
  box-shadow: 0 0 20px rgba(229, 167, 73, 0.4);
  transform: translateY(-2px);
}

.btn-register {
  background: linear-gradient(135deg, var(--gold), var(--orange));
  color: var(--dark-green);
  border: 2px solid var(--gold);
  animation: pulse-glow 2s ease-in-out infinite;
}

.btn-register:hover {
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 0 30px rgba(229, 167, 73, 0.6);
}

@keyframes pulse-glow {
  0%,
  100% {
    box-shadow: 0 0 20px rgba(229, 167, 73, 0.5);
  }
  50% {
    box-shadow: 0 0 35px rgba(229, 167, 73, 0.8);
  }
}

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.mobile-menu-toggle span {
  width: 25px;
  height: 3px;
  background: var(--light-text);
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* Main Layout */
.main-layout {
  display: flex;
  max-width: 1920px;
  margin: 0 auto;
}

/* Sidebar */
.sidebar {
  width: 250px;
  background: var(--primary-green);
  border-right: 2px solid var(--accent-green);
  padding: 1.5rem 0;
  position: sticky;
  top: 80px;
  height: calc(100vh - 80px);
  overflow-y: auto;
  transition: transform 0.3s ease;
}

.sidebar::-webkit-scrollbar {
  width: 6px;
}

.sidebar::-webkit-scrollbar-track {
  background: var(--dark-green);
}

.sidebar::-webkit-scrollbar-thumb {
  background: var(--accent-green);
  border-radius: 3px;
}

.sidebar-nav {
  display: flex;
  flex-direction: column;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.875rem 1.5rem;
  color: var(--light-text);
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
}

.nav-item:hover {
  background: var(--hover-green);
  border-left: 4px solid var(--gold);
  padding-left: calc(1.5rem - 4px);
}

.nav-item .icon {
  font-size: 1.25rem;
}

.nav-item.vip {
  background: linear-gradient(90deg, var(--accent-green), var(--primary-green));
  border-top: 1px solid var(--gold);
  border-bottom: 1px solid var(--gold);
  margin: 1rem 0;
}

.badge-new {
  margin-left: auto;
  font-size: 0.7rem;
}

.sidebar-footer {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--accent-green);
}

/* Main Content */
.main-content {
  flex: 1;
  padding: 2rem;
  overflow-x: hidden;
}

/* Hero Banner */
.hero-banner {
  background: linear-gradient(135deg, #895d25 0%, #c98f39 50%, #e5a749 100%);
  border-radius: 4px;
  padding: 3rem;
  margin-bottom: 3rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.hero-banner::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="rgba(255,255,255,0.05)"/></svg>');
  background-size: 100px;
  opacity: 0.3;
  animation: float 20s linear infinite;
}

@keyframes float {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(-100px);
  }
}

.hero-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-text {
  max-width: 600px;
}

.hero-label {
  color: var(--light-text);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 2px;
  margin-bottom: 1rem;
  opacity: 0.9;
}

.hero-title {
  font-size: 3rem;
  font-weight: 800;
  color: var(--light-text);
  margin-bottom: 2rem;
  line-height: 1.2;
  text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
}

.btn-join-now {
  display: inline-block;
  padding: 1.25rem 3.5rem;
  background: linear-gradient(135deg, var(--green-bright), #007a1e);
  color: var(--light-text);
  text-decoration: none;
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: 2px;
  border-radius: 4px;
  border: 3px solid var(--green-bright);
  box-shadow: 0 0 30px rgba(0, 153, 38, 0.6);
  transition: all 0.3s ease;
  animation: join-now-pulse 1.5s ease-in-out infinite;
  position: relative;
  overflow: hidden;
}

.btn-join-now::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.btn-join-now:hover::before {
  width: 300px;
  height: 300px;
}

.btn-join-now:hover {
  transform: translateY(-3px) scale(1.08);
  box-shadow: 0 0 50px rgba(0, 153, 38, 0.9);
  background: linear-gradient(135deg, #40ED00, var(--green-bright));
}

@keyframes join-now-pulse {
  0%,
  100% {
    box-shadow: 0 0 30px rgba(0, 153, 38, 0.6);
    transform: scale(1);
  }
  50% {
    box-shadow: 0 0 50px rgba(0, 153, 38, 0.9);
    transform: scale(1.03);
  }
}

.hero-image {
  width: 300px;
  height: 300px;
  position: relative;
}

.hero-character {
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(229, 167, 73, 0.3), transparent);
  border-radius: 50%;
  animation: character-float 3s ease-in-out infinite;
}

.hero-character-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  animation: character-float 3s ease-in-out infinite;
}

@keyframes character-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20px);
  }
}

.hero-dots {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 2rem;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: all 0.3s ease;
}

.dot.active {
  background: var(--light-text);
  width: 30px;
  border-radius: 6px;
}

/* Content Sections */
.content-section {
  margin-bottom: 3rem;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.section-header h2 {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--light-text);
}

.see-all {
  color: var(--gold);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.see-all:hover {
  color: var(--orange);
  transform: translateX(5px);
}

.section-subtitle {
  color: var(--gray-text);
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

/* Game Grid */
.game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 1.25rem;
}

.game-card {
  background: var(--card-bg);
  border-radius: 4px;
  overflow: hidden;
  transition: all 0.3s ease;
  cursor: pointer;
  text-decoration: none;
  color: var(--light-text);
  border: 2px solid transparent;
}

.game-card:hover {
  transform: translateY(-8px);
  border-color: var(--gold);
  box-shadow: 0 10px 30px rgba(229, 167, 73, 0.3);
}

.game-image {
  width: 100%;
  height: 200px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background-position: center;
  background-repeat: no-repeat;
}

.game-overlay {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
  position: relative;
  z-index: 1;
}

.logo-icon {
  filter: drop-shadow(0 0 10px var(--gold));
}

.icon {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.game-title {
  padding: 0.75rem;
  text-align: center;
  font-weight: 600;
  font-size: 0.9rem;
}

.live-badge,
.jackpot-badge,
.sport-badge {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.8);
  color: var(--gold);
  padding: 0.5rem 1rem;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1px;
  border: 1px solid var(--gold);
}

/* Rally Grid */
.rally-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1.5rem;
}

.rally-card {
  background: var(--card-bg);
  border-radius: 4px;
  overflow: hidden;
  text-decoration: none;
  color: var(--light-text);
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.rally-card:hover {
  transform: translateY(-5px);
  border-color: var(--gold);
  box-shadow: 0 10px 30px rgba(229, 167, 73, 0.3);
}

.rally-image {
  width: 100%;
  height: 150px;
}

.rally-info {
  padding: 1rem;
}

.rally-info h4 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.rally-time {
  color: var(--gray-text);
  font-size: 0.85rem;
  margin-bottom: 1rem;
}

.rally-time span {
  color: var(--gold);
  font-weight: 700;
}

.btn-opt-in {
  width: 100%;
  padding: 0.75rem;
  background: var(--accent-green);
  color: var(--light-text);
  border: 2px solid var(--gold);
  border-radius: 4px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-opt-in:hover {
  background: var(--gold);
  color: var(--dark-green);
  transform: scale(1.05);
}

/* Specials Grid */
.specials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}

.special-card {
  background: var(--card-bg);
  border-radius: 4px;
  overflow: hidden;
  text-decoration: none;
  color: var(--light-text);
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.special-card:hover {
  transform: translateY(-5px);
  border-color: var(--gold);
  box-shadow: 0 10px 30px rgba(229, 167, 73, 0.3);
}

.special-image {
  width: 100%;
  height: 180px;
}

.special-content {
  padding: 1.5rem;
}

.special-content h3 {
  font-size: 1.1rem;
  margin-bottom: 1rem;
  line-height: 1.4;
}

.special-link {
  color: var(--gold);
  font-weight: 600;
  font-size: 0.9rem;
}

/* Footer Info */
.footer-info {
  background: var(--card-bg);
  border-radius: 4px;
  padding: 2rem;
  margin-top: 3rem;
  text-align: center;
}

.footer-info h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--gold);
}

.footer-info p {
  color: var(--gray-text);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.show-more {
  background: transparent;
  color: var(--gold);
  border: 2px solid var(--gold);
  padding: 0.75rem 2rem;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
}

.show-more:hover {
  background: var(--gold);
  color: var(--dark-green);
}

/* Footer */
.footer {
  background: var(--primary-green);
  border-top: 2px solid var(--accent-green);
  padding: 3rem 2rem 2rem;
  margin-top: 4rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  max-width: 1920px;
  margin: 0 auto 2rem;
}

.footer-column h4 {
  color: var(--gold);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 1rem;
}

.footer-column a {
  display: block;
  color: var(--gray-text);
  text-decoration: none;
  padding: 0.5rem 0;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.footer-column a:hover {
  color: var(--light-text);
  padding-left: 0.5rem;
}

.footer-payments {
  max-width: 1920px;
  margin: 0 auto 2rem;
  padding: 2rem 0;
  border-top: 1px solid var(--accent-green);
}

.footer-payments h4 {
  color: var(--gold);
  margin-bottom: 1rem;
}

.payment-methods {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

.payment-icon {
  background: var(--card-bg);
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  font-size: 0.9rem;
  border: 1px solid var(--accent-green);
  max-height: 40px;
  object-fit: contain;
}

.payment-icon img {
  max-height: 30px;
  width: auto;
}

.footer-bottom {
  max-width: 1920px;
  margin: 0 auto;
  padding: 2rem 0;
  border-top: 1px solid var(--accent-green);
  text-align: center;
}

.age-restriction {
  display: inline-block;
  width: 50px;
  height: 50px;
  background: var(--gold);
  color: var(--dark-green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.25rem;
  margin: 0 auto 1rem;
}

.footer-license {
  color: var(--gold);
  margin-bottom: 1rem;
  cursor: pointer;
}

.footer-text,
.footer-copyright {
  color: var(--gray-text);
  font-size: 0.85rem;
  line-height: 1.6;
  margin-bottom: 0.5rem;
}

.footer-actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}

.footer-btn {
  padding: 0.75rem 2rem;
  background: var(--accent-green);
  color: var(--light-text);
  text-decoration: none;
  border-radius: 4px;
  font-weight: 600;
  transition: all 0.3s ease;
  border: 2px solid var(--accent-green);
}

.footer-btn:hover {
  background: var(--gold);
  color: var(--dark-green);
  border-color: var(--gold);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .game-grid {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  }

  .hero-title {
    font-size: 2.25rem;
  }

  .hero-image {
    width: 200px;
    height: 200px;
  }
}

@media (max-width: 768px) {
  .header-container {
    padding: 1rem;
  }

  .search-bar {
    display: none;
  }

  .auth-buttons {
    display: none;
  }

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

  .sidebar {
    position: fixed;
    left: 0;
    top: 70px;
    transform: translateX(-100%);
    z-index: 999;
    width: 280px;
    box-shadow: 5px 0 20px rgba(0, 0, 0, 0.5);
  }

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

  .main-content {
    padding: 1rem;
  }

  .hero-banner {
    padding: 2rem 1.5rem;
  }

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

  .hero-title {
    font-size: 1.75rem;
  }

  .hero-image {
    width: 150px;
    height: 150px;
    margin-top: 1rem;
  }

  .btn-join-now {
    padding: 1rem 2.5rem;
    font-size: 1rem;
  }

  .game-grid {
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 1rem;
  }

  .game-image {
    height: 150px;
  }

  .rally-grid,
  .specials-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 480px) {
  .logo-text {
    font-size: 1.25rem;
  }

  .crown-icon {
    font-size: 1.5rem;
  }

  .hero-title {
    font-size: 1.5rem;
  }

  .section-header h2 {
    font-size: 1.35rem;
  }

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

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

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

/* Animations */
@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.content-section {
  animation: slideIn 0.6s ease-out;
}

/* Rich Text Typography Styles */
.content-section h1 {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--light-text);
  margin: 2rem 0 1.5rem 0;
  line-height: 1.2;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
}

.content-section h2 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold);
  margin: 2rem 0 1.25rem 0;
  line-height: 1.3;
  border-bottom: 2px solid var(--accent-green);
  padding-bottom: 0.5rem;
}

.content-section h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--light-text);
  margin: 1.5rem 0 1rem 0;
  line-height: 1.4;
}

.content-section h4 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--gold);
  margin: 1.25rem 0 0.75rem 0;
  line-height: 1.4;
}

.content-section h5 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--light-text);
  margin: 1rem 0 0.5rem 0;
  line-height: 1.4;
}

.content-section h6 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--gray-text);
  margin: 1rem 0 0.5rem 0;
  line-height: 1.4;
}

.content-section p {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--light-text);
  margin: 0 0 1.25rem 0;
  text-align: justify;
}

.content-section strong {
  font-weight: 700;
  color: var(--gold);
}

.content-section em {
  font-style: italic;
  color: var(--gray-text);
}

.content-section ul {
  margin: 1rem 0 1.5rem 0;
  padding-left: 2rem;
  list-style-type: none;
}

.content-section ul li {
  position: relative;
  margin: 0.75rem 0;
  padding-left: 1.5rem;
  line-height: 1.6;
  color: var(--light-text);
}

.content-section ul li::before {
  content: "🎰";
  position: absolute;
  left: 0;
  top: 0;
  font-size: 1rem;
}

.content-section ol {
  margin: 1rem 0 1.5rem 0;
  padding-left: 2rem;
  counter-reset: custom-counter;
}

.content-section ol li {
  counter-increment: custom-counter;
  margin: 0.75rem 0;
  padding-left: 1.5rem;
  line-height: 1.6;
  color: var(--light-text);
  position: relative;
}

.content-section ol li::before {
  content: counter(custom-counter) ".";
  position: absolute;
  left: 0;
  top: 0;
  font-weight: 700;
  color: var(--gold);
  min-width: 1.5rem;
}

.content-section blockquote {
  margin: 1.5rem 0;
  padding: 1.5rem 2rem;
  background: var(--card-bg);
  border-left: 4px solid var(--gold);
  border-radius: 0 4px 4px 0;
  font-style: italic;
  color: var(--gray-text);
  position: relative;
}

.content-section blockquote::before {
  content: "\201C";
  font-size: 3rem;
  color: var(--gold);
  position: absolute;
  top: -0.5rem;
  left: 1rem;
  opacity: 0.3;
}

.content-section table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  background: var(--card-bg);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.content-section table th {
  background: var(--accent-green);
  color: var(--light-text);
  font-weight: 700;
  padding: 1rem;
  text-align: left;
  border-bottom: 2px solid var(--gold);
}

.content-section table td {
  padding: 1rem;
  border-bottom: 1px solid var(--primary-green);
  color: var(--light-text);
  line-height: 1.5;
}

.content-section table tr:hover {
  background: var(--hover-green);
}

.content-section table tr:last-child td {
  border-bottom: none;
}

.content-section a {
  color: var(--gold);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: all 0.3s ease;
}

.content-section a:hover {
  color: var(--orange);
  border-bottom-color: var(--orange);
}

.content-section code {
  background: var(--dark-green);
  color: var(--gold);
  padding: 0.25rem 0.5rem;
  border-radius: 3px;
  font-family: 'Courier New', monospace;
  font-size: 0.9rem;
  border: 1px solid var(--accent-green);
}

.content-section pre {
  background: var(--dark-green);
  color: var(--light-text);
  padding: 1.5rem;
  border-radius: 4px;
  overflow-x: auto;
  margin: 1rem 0;
  border: 1px solid var(--accent-green);
  font-family: 'Courier New', monospace;
  font-size: 0.9rem;
  line-height: 1.5;
}

.content-section hr {
  border: none;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  margin: 2rem 0;
}

.content-section img {
  max-width: 100%;
  height: auto;
  border-radius: 4px;
  margin: 1rem 0;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.content-section .highlight {
  background: linear-gradient(120deg, var(--gold) 0%, var(--orange) 100%);
  color: var(--dark-green);
  padding: 0.25rem 0.5rem;
  border-radius: 3px;
  font-weight: 600;
}

/* Responsive Typography */
@media (max-width: 768px) {
  .content-section h1 {
    font-size: 2rem;
    margin: 1.5rem 0 1rem 0;
  }
  
  .content-section h2 {
    font-size: 1.75rem;
    margin: 1.5rem 0 1rem 0;
  }
  
  .content-section h3 {
    font-size: 1.35rem;
    margin: 1.25rem 0 0.75rem 0;
  }
  
  .content-section p {
    font-size: 0.95rem;
    margin: 0 0 1rem 0;
  }
  
  .content-section table {
    font-size: 0.9rem;
  }
  
  .content-section table th,
  .content-section table td {
    padding: 0.75rem 0.5rem;
  }
}

@media (max-width: 480px) {
  .content-section h1 {
    font-size: 1.75rem;
  }
  
  .content-section h2 {
    font-size: 1.5rem;
  }
  
  .content-section h3 {
    font-size: 1.25rem;
  }
  
  .content-section ul,
  .content-section ol {
    padding-left: 1.5rem;
  }
  
  .content-section blockquote {
    padding: 1rem 1.5rem;
    margin: 1rem 0;
  }
}

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