body {
    background-image: url('https://images.pexels.com/photos/167092/pexels-photo-167092.jpeg?auto=compress&cs=tinysrgb&w=1260&h=750&dpr=1');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: #e0e0e0;
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0; /* Remove padding from body as container will handle it */
    display: flex;
    flex-direction: column;
    min-height: 100vh;
  }
  header {
    background-color: rgba(10, 0, 10, 0.95);
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.5);
  }
  .contact-link {
    color: #ff69b4;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: color 0.3s ease;
  }
  .contact-link:hover {
    color: #00ffff;
  }
  .container {
    display: flex;
    flex: 1;
    padding: 2rem;
    gap: 2rem;
  }
  .main-content {
    flex: 3;
  }
  .sidebar {
    flex: 1;
    background-color: rgba(10, 0, 10, 0.95);
    border-radius: 25px;
    padding: 1.5rem;
    box-shadow: 0 15px 30px rgba(0,0,0,0.7);
    height: fit-content; /* Adjust height to content */
    position: sticky;
    top: 2rem; /* Stick below the header */
  }
  .sidebar h2 {
    color: #ff69b4;
    text-shadow: 0 0 10px #ff69b4;
    margin-top: 0;
    font-size: 1.8rem;
  }
  .sidebar ul {
    list-style: none;
    padding: 0;
  }
  .sidebar li {
    margin-bottom: 1rem;
  }
  .sidebar a {
    color: #00ffff;
    text-decoration: none;
    font-weight: 400;
    transition: color 0.3s ease;
  }
  .sidebar a:hover {
    color: #ff69b4;
  }
  h1 {
    text-align: center;
    font-size: clamp(2rem, 5vw, 3.2rem);
    color: #ff69b4; /* Hot Pink */
    text-shadow: 0 0 20px #ff69b4, 0 0 40px #ff69b4;
  }
  table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 1rem;
    margin-top: 2rem;
    background-color: rgba(10, 0, 10, 0.95); /* Even darker, almost black */
    border-radius: 25px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.7); /* More pronounced 3D effect */
  }
  th, td {
    padding: 1.8rem;
    text-align: left;
  }
  th {
    background-color: rgba(30, 0, 30, 0.95); /* Darker header */
    color: #ff69b4; /* Hot Pink */
    font-weight: 700;
    font-size: 1.3rem;
    border-bottom: 3px solid #8a2be2; /* Blue Violet for separation */
    position: sticky;
    top: 0;
    z-index: 100;
  }
  tr:nth-child(odd) td {
    background-color: rgba(30, 0, 30, 0.8); /* Darker purple for odd rows */
    border-left: 1px solid rgba(255,255,255,0.15);
    border-right: 1px solid rgba(255,255,255,0.15);
  }
  tr:nth-child(even) td {
    background-color: rgba(40, 0, 40, 0.8); /* Slightly lighter purple for even rows */
    border-left: 1px solid rgba(255,255,255,0.15);
    border-right: 1px solid rgba(255,255,255,0.15);
  }
  tr {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  tr:hover {
    transform: translateY(-10px); /* Even more pronounced lift */
    box-shadow: 0 20px 40px rgba(0,0,0,0.8); /* Stronger shadow on hover */
  }
  td:first-child {
    border-top-left-radius: 20px;
    border-bottom-left-radius: 20px;
  }
  td:last-child {
    border-top-right-radius: 20px;
    border-bottom-right-radius: 20px;
  }
  th:first-child {
    border-top-left-radius: 20px;
  }
  th:last-child {
    border-top-right-radius: 20px;
  }
  footer {
    background-color: rgba(10, 0, 10, 0.95);
    padding: 1rem 2rem;
    text-align: center;
    margin-top: 2rem;
    box-shadow: 0 -5px 15px rgba(0,0,0,0.5);
  }
  .nested-table {
    width: 100%;
    margin-top: 1rem;
    border-collapse: collapse;
    background-color: transparent;
    box-shadow: none;
    border-radius: 0;
  }
  .nested-table tr:hover {
    transform: none;
    box-shadow: none;
  }
  .nested-table td {
    padding: 0.5rem;
    text-align: left;
    border: none;
    background-color: transparent !important; /* Override parent styles */
    border-radius: 0;
  }
  .nested-table td:first-child {
    font-weight: bold;
    color: #ff69b4; /* Hot Pink to match headers */
  }
  .store-name {
    font-size: 1.5rem;
    font-weight: bold;
  }

  @media (max-width: 768px) {
    .container {
      flex-direction: column;
    }
    .sidebar {
      position: static;
      width: 100%;
    }
    table {
      display: none; /* Hide table on mobile */
    }
    .store-cards-container {
      display: block; /* Show cards on mobile */
    }
    .store-card-mobile {
      background-color: rgba(10, 0, 10, 0.95);
      border-radius: 25px;
      box-shadow: 0 20px 40px rgba(0,0,0,0.7);
      margin-bottom: 2rem;
      padding: 1.5rem;
    }
    .store-card-mobile h3 {
      font-size: 1.8rem;
      color: #ff69b4;
      text-shadow: 0 0 10px #ff69b4;
      margin-top: 0;
    }
    .store-card-mobile p {
      margin: 0.5rem 0;
    }
    .store-card-mobile .label {
      font-weight: bold;
      color: #ff69b4;
    }
  }

  @media (min-width: 769px) {
    .store-cards-container {
      display: none; /* Hide cards on desktop */
    }
  }
  .icon-legend {
    background-color: rgba(10, 0, 10, 0.95);
    border-radius: 25px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 15px 30px rgba(0,0,0,0.7);
  }

  .icon-legend h2 {
    color: #ff69b4;
    text-shadow: 0 0 10px #ff69b4;
    margin-top: 0;
    font-size: 1.8rem;
    text-align: center;
  }

  .icon-legend ul {
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }

  .icon-legend li {
    display: flex;
    align-items: center;
    margin: 0.5rem 1rem;
    font-size: 1.1rem;
  }

  .icon-legend .feature-icon {
    margin-right: 0.5rem;
  }

  .country-cell {
    display: flex;
    align-items: center;
  }

  .country-map-svg {
    width: 100px;
    height: auto;
    margin-right: 1rem;
    fill: #ff69b4;
  }

  .fi {
    font-size: 3rem;
    margin-right: 1rem;
  }

  .country-title {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
  }

  .country-title h2 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    color: #333;
    margin: 0;
  }

  .country-container ul li a {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(1.0rem, 8vw, 1.5rem);
    color: #333;
    margin: 0;
  }

  .country-container {
    background-color: #fff;
    padding: 2rem;
    border-radius: 25px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  }

  .country-panels {
    display: grid;
    gap: 2rem;
    grid-template-columns: 1fr;
  }

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

  @media (min-width: 1200px) {
    .country-panels {
      grid-template-columns: repeat(3, 1fr);
    }
  }

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

  .controls {
    background-color: rgba(30, 0, 30, 0.95);
    padding: 1.5rem;
    border-radius: 25px;
    margin-bottom: 2rem;
    display: flex;
    gap: 1rem;
  }

  .controls input,
  .controls select {
    width: 100%;
    padding: 0.8rem;
    border-radius: 15px;
    border: 1px solid #8a2be2;
    background-color: rgba(10, 0, 10, 0.95);
    color: #e0e0e0;
    font-size: 1rem;
  }

  /* New Index Page Styles */
  .hero {
    background-image: url('https://images.pexels.com/photos/374710/pexels-photo-374710.jpeg?auto=compress&cs=tinysrgb&w=1260&h=750&dpr=1');
    background-size: cover;
    background-position: center;
    color: #fff;
    text-align: center;
    padding: 4rem 2rem;
  }

  .hero h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
    text-shadow: 0 0 20px #000, 0 0 40px #000;
  }

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

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

  .state-card {
    background-color: rgba(10, 0, 10, 0.95);
    border-radius: 25px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.7);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }

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

  .state-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
  }

  .state-card-content {
    padding: 1.5rem;
  }

  .state-card h2 {
    font-size: 1.8rem;
    margin-top: 0;
    margin-bottom: 1rem;
    color: #ff69b4;
    text-shadow: 0 0 10px #ff69b4;
  }

  .state-card a {
    color: #00ffff;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
  }

  .state-card a:hover {
    color: #ff69b4;
  }

  #back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: none;
    background-color: #ff69b4;
    color: white;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 24px;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0,0,0,0.5);
    transition: background-color 0.3s;
  }

  #back-to-top:hover {
    background-color: #00ffff;
  }
  .contact-link, .sidebar a {
    padding: 0.5em; /* Increased touch target size */
  }
  .hamburger-menu {
    display: none;
  }
  .nav-links {
    display: flex;
  }
  @media (max-width: 768px) {
    .nav-links {
      display: none;
      flex-direction: column;
      position: absolute;
      top: 60px;
      right: 0;
      background-color: rgba(10, 0, 10, 0.95);
      width: 100%;
      text-align: center;
    }
    .nav-links.active {
      display: flex;
    }
    .hamburger-menu {
      display: block;
      cursor: pointer;
    }
    .countries-grid {
      grid-template-columns: 1fr;
    }
  }
