

:root {
  
  --swamp-dark-green: #2D5016;
  --swamp-water: #4A6B3D;
  --swamp-mud: #6B5B4A;
  --swamp-grass: #7A9A6B;
  --swamp-deep: #1A2E1A;
  --swamp-cream: #F5F5DC;
  --swamp-light: #A8C99A;
  --fs-gold: #D4AF37;
  --swamp-accent: #5A7A4D;
  
  
  --text-light: #F5F5DC;
  --text-dark: #1A2E1A;
  --text-muted: #D4C4B0;
}

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

body {
  font-family: 'Georgia', 'Times New Roman', serif;
  background: linear-gradient(135deg, var(--swamp-deep) 0%, var(--swamp-dark-green) 100%);
  color: var(--text-light);
  line-height: 1.6;
  min-height: 100vh;
}


header {
  background: linear-gradient(180deg, var(--swamp-dark-green) 0%, var(--swamp-water) 100%);
  padding: 1.5rem 0;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  position: sticky;
  top: 0;
  z-index: 1000;
}

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

.logo {
  font-size: 2rem;
  font-weight: bold;
  color: var(--fs-gold);
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
}


.menu-toggle {
  display: none;
  flex-direction: column;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  gap: 0.4rem;
  z-index: 1001;
}

.menu-toggle span {
  display: block;
  width: 25px;
  height: 3px;
  background: var(--fs-gold);
  border-radius: 3px;
  transition: all 0.3s ease;
}

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

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

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

.nav-links a {
  color: var(--text-light);
  text-decoration: none;
  font-size: 1.1rem;
  padding: 0.5rem 1rem;
  border-radius: 5px;
  transition: all 0.3s ease;
}

.nav-links a:hover {
  background: var(--swamp-accent);
  color: var(--fs-gold);
  transform: translateY(-2px);
}


main {
  max-width: 1200px;
  margin: 2rem auto;
  padding: 0 2rem;
  min-height: calc(100vh - 300px);
}


.hero {
  text-align: center;
  padding: 4rem 2rem;
  background: linear-gradient(135deg, rgba(74, 107, 61, 0.8) 0%, rgba(45, 80, 22, 0.8) 100%);
  border-radius: 15px;
  margin-bottom: 3rem;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(45, 80, 22, 0.7) 0%, rgba(26, 46, 26, 0.7) 100%);
  border-radius: 15px;
  z-index: 1;
}

.hero > * {
  position: relative;
  z-index: 2;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: var(--fs-gold);
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.hero p {
  font-size: 1.3rem;
  margin-bottom: 2rem;
}


.btn {
  display: inline-block;
  padding: 1rem 2rem;
  background: var(--fs-gold);
  color: var(--text-dark);
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  font-size: 1.1rem;
}

.btn:hover {
  background: #E6C84A;
  transform: translateY(-3px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
  background: var(--swamp-accent);
  color: var(--text-light);
}

.btn-secondary:hover {
  background: var(--swamp-grass);
}


.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

.card {
  background: linear-gradient(135deg, var(--swamp-water) 0%, var(--swamp-mud) 100%);
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
}

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

.card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 1rem;
}


.product-card {
  background: var(--swamp-water);
  border: 2px solid var(--swamp-grass);
  border-radius: 10px;
  padding: 1.5rem;
  text-align: center;
}

.product-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 1rem;
  border: 2px solid var(--swamp-grass);
}

.product-card .price {
  font-size: 1.5rem;
  color: var(--fs-gold);
  font-weight: bold;
  margin: 1rem 0;
}


.article {
  background: rgba(74, 107, 61, 0.6);
  border-radius: 12px;
  padding: 2rem;
  margin-bottom: 2rem;
  border-left: 4px solid var(--fs-gold);
}

.article h2 {
  color: var(--fs-gold);
  margin-bottom: 1rem;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.article-meta {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}


.game-container {
  background: linear-gradient(135deg, var(--swamp-deep) 0%, var(--swamp-dark-green) 100%);
  border-radius: 15px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
}

.game-score {
  font-size: 2rem;
  color: var(--fs-gold);
  margin: 1rem 0;
  font-weight: bold;
}

.game-area {
  background: rgba(168, 201, 154, 0.2);
  border: 3px solid var(--swamp-grass);
  border-radius: 10px;
  padding: 2rem;
  margin: 2rem 0;
  min-height: 400px;
  position: relative;
  overflow: hidden;
}

.fish {
  position: absolute;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.fish:hover {
  transform: scale(1.1);
}

.fish img {
  width: 80px;
  height: 80px;
}

.game-controls {
  margin: 2rem 0;
}


footer {
  background: linear-gradient(180deg, var(--swamp-dark-green) 0%, var(--swamp-deep) 100%);
  padding: 4rem 2rem 1rem;
  margin-top: 4rem;
  border-top: 3px solid var(--swamp-grass);
}

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

.footer-section {
  min-width: 200px;
}

.footer-section h3 {
  color: var(--fs-gold);
  margin-bottom: 1.2rem;
  font-size: 1.2rem;
  border-bottom: 2px solid var(--swamp-grass);
  padding-bottom: 0.5rem;
}

.footer-section h4 {
  color: var(--swamp-light);
  margin-bottom: 0.8rem;
  font-size: 1rem;
  margin-top: 1rem;
}

.footer-section p {
  color: var(--text-light);
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
  line-height: 1.6;
}

.footer-section a {
  color: var(--text-light);
  text-decoration: none;
  display: block;
  margin-bottom: 0.6rem;
  transition: all 0.3s ease;
  font-size: 0.95rem;
}

.footer-section a:hover {
  color: var(--fs-gold);
  padding-left: 5px;
}

.footer-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-section ul li {
  margin-bottom: 0.5rem;
  color: var(--text-light);
  font-size: 0.9rem;
}

.fs-explanation {
  background: rgba(212, 175, 55, 0.1);
  border-left: 4px solid var(--fs-gold);
  padding: 1rem;
  border-radius: 5px;
  margin-top: 1rem;
  font-size: 0.85rem;
}

.fs-explanation strong {
  color: var(--fs-gold);
}

.fs-explanation ul {
  list-style: none;
  padding-left: 0;
  margin-top: 0.5rem;
}

.footer-info-box {
  background: rgba(74, 107, 61, 0.3);
  padding: 1rem;
  border-radius: 8px;
  margin-top: 1rem;
  border: 1px solid var(--swamp-grass);
}

.footer-info-box p {
  margin-bottom: 0.4rem;
  font-size: 0.85rem;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 2px solid var(--swamp-water);
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-bottom p {
  margin-bottom: 0.5rem;
}



@media (max-width: 768px) {
  
  .menu-toggle {
    display: flex;
  }
  
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: linear-gradient(180deg, var(--swamp-dark-green) 0%, var(--swamp-water) 100%);
    flex-direction: column;
    gap: 0;
    padding: 5rem 0 2rem 0;
    box-shadow: -4px 0 8px rgba(0, 0, 0, 0.3);
    transition: right 0.3s ease;
    z-index: 1000;
    overflow-y: auto;
  }
  
  .nav-links.active {
    right: 0;
  }
  
  .nav-links li {
    width: 100%;
    border-bottom: 1px solid rgba(122, 154, 107, 0.3);
  }
  
  .nav-links a {
    display: block;
    padding: 1.2rem 2rem;
    width: 100%;
    border-radius: 0;
    font-size: 1.1rem;
  }
  
  .nav-links a:hover {
    background: var(--swamp-accent);
    transform: none;
  }
  
  body.menu-open {
    overflow: hidden;
  }
  
  body.menu-open::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
  }
  
  .hero h1 {
    font-size: 2rem;
    line-height: 1.2;
    word-wrap: break-word;
  }
  
  .hero p {
    font-size: 1.1rem;
    line-height: 1.4;
  }
  
  h1 {
    font-size: 1.8rem !important;
    line-height: 1.3;
    word-wrap: break-word;
  }
  
  h2 {
    font-size: 1.5rem !important;
    line-height: 1.3;
    word-wrap: break-word;
    margin-bottom: 1rem !important;
  }
  
  h3 {
    font-size: 1.3rem !important;
    line-height: 1.3;
    word-wrap: break-word;
  }
  
  .card-grid {
    grid-template-columns: 1fr;
  }
  
  main {
    padding: 0 1rem;
    overflow-x: hidden;
    max-width: 100%;
  }
  
  
  .table-wrapper {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 1.5rem 0;
    display: block;
    position: relative;
    max-width: 100%;
  }
  
  
  .article,
  section {
    overflow-x: visible;
    position: relative;
  }
  
  
  .data-table,
  .comparison-table {
    overflow-x: auto !important;
    overflow-y: visible !important;
    -webkit-overflow-scrolling: touch;
    display: block;
    width: 100%;
    max-width: 100vw;
    margin-left: -1rem;
    margin-right: -1rem;
    padding-left: 1rem;
    padding-right: 1rem;
  }
  
  .data-table table,
  .comparison-table {
    display: table;
    width: 100%;
    min-width: 600px;
    margin: 0;
    border-collapse: collapse;
  }
  
  .data-table thead,
  .data-table tbody,
  .data-table tr,
  .comparison-table thead,
  .comparison-table tbody,
  .comparison-table tr {
    display: table-row;
  }
  
  .data-table th,
  .data-table td,
  .comparison-table th,
  .comparison-table td {
    display: table-cell;
    padding: 0.6rem 0.5rem;
    font-size: 0.85rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
    white-space: normal;
    min-width: 80px;
  }
  
  .data-table th,
  .comparison-table th {
    font-size: 0.9rem;
    padding: 0.7rem 0.5rem;
    white-space: normal;
    word-wrap: break-word;
  }
  
  
  .article,
  main {
    overflow-x: hidden;
    max-width: 100%;
    width: 100%;
  }
  
  
  section {
    overflow-x: visible;
    max-width: 100%;
    width: 100%;
  }
  
  
  .article {
    padding: 1.5rem 1rem;
  }
  
  .article h2 {
    font-size: 1.5rem !important;
    margin-bottom: 1rem !important;
  }
  
  .article h3 {
    font-size: 1.3rem !important;
    margin-top: 1.5rem !important;
  }
  
  
  .card {
    padding: 1.5rem 1rem;
  }
  
  .card h3 {
    font-size: 1.3rem !important;
  }
  
  
  .product-card {
    padding: 1.5rem 1rem;
  }
  
  .product-card h3 {
    font-size: 1.2rem !important;
  }
  
  
  .hero {
    padding: 2.5rem 1rem;
    min-height: auto;
  }
  
  
  .btn {
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
    display: block;
    width: 100%;
    margin-bottom: 0.5rem;
    text-align: center;
  }
  
  .btn-secondary {
    margin-top: 0.5rem;
  }
}


.accordion {
  background: rgba(74, 107, 61, 0.6);
  border-radius: 10px;
  margin: 1.5rem 0;
  overflow: hidden;
  border: 2px solid var(--swamp-grass);
}

.accordion-item {
  border-bottom: 1px solid var(--swamp-grass);
}

.accordion-item:last-child {
  border-bottom: none;
}

.accordion-header {
  background: var(--swamp-water);
  padding: 1.2rem 1.5rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s ease;
  font-weight: bold;
  color: var(--text-light);
}

.accordion-header:hover {
  background: var(--swamp-accent);
  color: var(--fs-gold);
}

.accordion-header::after {
  content: '+';
  font-size: 1.5rem;
  font-weight: bold;
  transition: transform 0.3s ease;
  color: var(--fs-gold);
}

.accordion-header.active::after {
  content: '−';
  transform: rotate(180deg);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 1.5rem;
}

.accordion-content.active {
  max-height: 1000px;
  padding: 1.5rem;
}

.accordion-content p {
  margin-bottom: 1rem;
}

.accordion-content ul {
  margin-left: 2rem;
  margin-top: 0.5rem;
}


.table-wrapper {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 1.5rem 0;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  background: rgba(74, 107, 61, 0.3);
  border-radius: 10px;
  overflow: hidden;
  margin: 1.5rem 0;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  display: table;
  table-layout: auto;
}

@media (max-width: 768px) {
  .data-table {
    overflow-x: auto;
    overflow-y: visible;
    display: block;
    -webkit-overflow-scrolling: touch;
  }
  
  .data-table table {
    display: table;
    width: 100%;
    min-width: 600px;
  }
}

.data-table thead {
  background: var(--swamp-water);
}

.data-table th {
  padding: 1rem;
  text-align: left;
  color: var(--fs-gold);
  font-weight: bold;
  border-bottom: 2px solid var(--swamp-grass);
}

.data-table td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--swamp-grass);
  color: var(--text-light);
}

.data-table tbody tr {
  transition: background 0.3s ease;
}

.data-table tbody tr:hover {
  background: rgba(168, 201, 154, 0.2);
}

.data-table tbody tr:last-child td {
  border-bottom: none;
}


.info-box {
  background: rgba(212, 175, 55, 0.1);
  border-left: 4px solid var(--fs-gold);
  padding: 1.5rem;
  border-radius: 8px;
  margin: 1.5rem 0;
}

.info-box h4 {
  color: var(--fs-gold);
  margin-bottom: 0.5rem;
}

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

.stat-card {
  background: linear-gradient(135deg, var(--swamp-water) 0%, var(--swamp-mud) 100%);
  padding: 1.5rem;
  border-radius: 10px;
  text-align: center;
  border: 2px solid var(--swamp-grass);
}

.stat-card .number {
  font-size: 2.5rem;
  font-weight: bold;
  color: var(--fs-gold);
  display: block;
  margin-bottom: 0.5rem;
}

.stat-card .label {
  color: var(--text-light);
  font-size: 1rem;
}


.comparison-table {
  width: 100%;
  border-collapse: collapse;
  margin: 0;
  background: rgba(74, 107, 61, 0.3);
  border-radius: 10px;
  display: table;
  overflow: hidden;
  table-layout: auto;
}

.comparison-table th,
.comparison-table td {
  padding: 1rem;
  text-align: left;
  border: 1px solid var(--swamp-grass);
}

.comparison-table th {
  background: var(--swamp-water);
  color: var(--fs-gold);
  font-weight: bold;
}

.comparison-table td {
  color: var(--text-light);
}

.comparison-table tr:nth-child(even) {
  background: rgba(168, 201, 154, 0.1);
}


.feature-list {
  list-style: none;
  padding: 0;
}

.feature-list li {
  padding: 0.75rem 0;
  padding-left: 2rem;
  position: relative;
  color: var(--text-light);
}

.feature-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--fs-gold);
  font-weight: bold;
  font-size: 1.2rem;
}


.cart-items {
  margin: 2rem 0;
}

.cart-item {
  margin-bottom: 1.5rem;
  padding: 1.5rem;
}

.cart-summary {
  margin-top: 3rem;
  max-width: 400px;
  margin-left: auto;
}

.quantity-btn {
  background: var(--swamp-water);
  border: 2px solid var(--swamp-grass);
  color: var(--text-light);
  width: 35px;
  height: 35px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 1.2rem;
  font-weight: bold;
  transition: all 0.3s ease;
}

.quantity-btn:hover {
  background: var(--swamp-accent);
  color: var(--fs-gold);
  transform: scale(1.1);
}

.quantity-btn:active {
  transform: scale(0.95);
}

#cartCount {
  background: var(--fs-gold);
  color: var(--text-dark);
  padding: 0.2rem 0.5rem;
  border-radius: 12px;
  font-size: 0.9rem;
  font-weight: bold;
  margin-left: 0.3rem;
}


.checkout-form {
  max-width: 100%;
}

.checkout-form label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--text-light);
  font-weight: 500;
}

.checkout-form input[type="text"],
.checkout-form input[type="email"],
.checkout-form input[type="tel"],
.checkout-form textarea {
  width: 100%;
  padding: 0.75rem;
  background: rgba(74, 107, 61, 0.4);
  border: 2px solid var(--swamp-grass);
  border-radius: 8px;
  color: var(--text-light);
  font-size: 1rem;
  font-family: inherit;
  transition: all 0.3s ease;
}

.checkout-form input:focus,
.checkout-form textarea:focus {
  outline: none;
  border-color: var(--fs-gold);
  background: rgba(74, 107, 61, 0.6);
}

.checkout-form input:read-only {
  background: rgba(74, 107, 61, 0.2);
  cursor: not-allowed;
}

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

.delivery-options {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.delivery-option {
  transition: all 0.3s ease;
}

.delivery-option:hover {
  background: rgba(168, 201, 154, 0.2) !important;
}

.delivery-option input[type="radio"] {
  width: 20px;
  height: 20px;
  cursor: pointer;
}

.delivery-option label {
  cursor: pointer;
  margin: 0;
}

.checkout-form input[type="checkbox"] {
  width: 20px;
  height: 20px;
  cursor: pointer;
  accent-color: var(--fs-gold);
}

.checkout-form input[type="password"] {
  width: 100%;
  padding: 0.75rem;
  background: rgba(74, 107, 61, 0.4);
  border: 2px solid var(--swamp-grass);
  border-radius: 8px;
  color: var(--text-light);
  font-size: 1rem;
  font-family: inherit;
  transition: all 0.3s ease;
}

.checkout-form input[type="password"]:focus {
  outline: none;
  border-color: var(--fs-gold);
  background: rgba(74, 107, 61, 0.6);
}

.checkout-container {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 2rem;
  margin: 2rem 0;
}

@media (max-width: 968px) {
  .checkout-container {
    grid-template-columns: 1fr;
  }
  
  .checkout-container > div:last-child {
    order: -1;
  }
}


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

.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }

