* {
  box-sizing: border-box;
  user-select: none;
}

body {
  margin: 0;
  padding: 0;
  background: #181926;
  overflow: auto;
}

ul,
ol {
  margin: 0;
  padding: 0;
}

a {
  text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
  font-feature-settings: "liga" off, "clig" off;
  font-family: Inter;
  font-style: normal;
  margin: 0;
  padding: 0;
}

.fixed-price-icon {
  position: fixed;
  bottom: 40px;
  right: 40px;
  z-index: 1000;
  transition: transform 0.2s ease;
  cursor: pointer;
}

.priceIconLottie {
  width: 100px;
  height: 100px;
}

.fixed-price-icon:hover {
  transform: scale(1.1);
}

.fixed-price-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.fixed-price-icon a {
  display: block;
  width: 100%;
  height: 100%;
}

.layout {
  display: flex;
  min-height: 100vh;
}
main {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  overflow-y: auto;
}
.sidebar {
  width: 256px;
  background: #131420;
  box-shadow: -1px 0px 0px 0px rgba(228, 228, 228, 0.1) inset;
  padding: 30px 24px;
  max-height: 100vh;
  overflow-y: auto;
  position: sticky;
  top: 0;
  height: 100vh;
  z-index: 1000;
}
.logo {
  display: flex;
  justify-content: center;
  cursor: pointer;
}

.logo img {
  max-width: 100%;
  height: auto;
  object-fit: contain;
}
.games-title {
  color: #808191;
  font-size: 12px;
  font-weight: 500;
  padding-left: 8px;
  margin-top: 32px;
  margin-bottom: 16px;
}
.sidebar-menu {
  display: flex;
  flex-direction: column;
  padding: 0px;
  list-style: none;
  color: var(--Dark-dark-300, #66686a);
  font-family: SFProDisplay-SemiBold;
  font-size: 14px;
  font-weight: 600;
  line-height: 20px; /* 142.857% */
}

.sidebar-item {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 16px 8px;
  transition: transform 0.3s ease, color 0.3s ease;
  cursor: pointer;
}

.sidebar-item:hover {
  transform: scale(1.05);
  color: #fff;
}

.sidebar-item.active:hover,
.sidebar-item:first-of-type:hover {
  transform: scale(1.05);
}

.sidebar-divider {
  width: 176px;
  height: 1px;
  flex-shrink: 0;
  opacity: 0.1;
  background: var(--grey, #e4e4e4);
  padding-left: 16px;
  margin-top: 32px;
  margin-bottom: 48px;
}

.header {
  display: flex;
  align-items: center;
  width: 100%;
  height: 80px;
  flex-shrink: 0;
  background: #131420;
  backdrop-filter: blur(10px);
}

.max-width {
  width: 100%;
  max-width: 1164px;
  padding: 0 30px;
  margin: 0 auto;
}
.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.header-left {
  display: flex;
  align-items: center;
  gap: 8px;
}
.finance-card {
  display: inline-flex;
  height: 48px;
  padding: 12px 12px 12px 5px;
  justify-content: center;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.finance-text {
  color: var(--Secondary-Light, #eaeff0);
  font-family: SFProDisplay-SemiBold;
  font-size: var(--Font-size-text-sm, 14px);
  font-weight: 600;
}
.green-secondary {
  display: flex;
  width: 38px;
  height: 38px;
  padding: 4px;
  justify-content: center;
  align-items: center;
  gap: 10px;
  border-radius: 8px;
  background: rgba(59, 251, 130, 0.1);
}

.green-btn {
  display: inline-flex;
  height: 48px;
  padding: 12px;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  border-radius: 12px;
  background: var(--Primary-Green-Normal, #3bfb82);
  cursor: pointer;
}

.viewPromotions {
  color: var(--Secondary-Darker, #0f2124);
  font-family: SFProDisplay-semiBold;
  font-size: 16px;
  font-weight: 600;
  line-height: 24px; /* 150% */
}

.header-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.header-logo-mobile {
  display: none;
  cursor: pointer;
}

.btn-secondary {
  display: flex;
  width: 48px;
  height: 48px;
  padding: 12px;
  align-items: center;
  flex-shrink: 0;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.tabs {
  display: flex;
}
.tab {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 24px 16px;
  border-bottom: 2px solid transparent;

  color: var(--Grey, #808792);
  font-family: SFProDisplay-Medium;
  font-size: 14px;
  font-style: normal;
  font-weight: 500;
  line-height: 24px; /* 171.429% */
}
.tab span {
  margin-left: 24px;
}
.active-tab {
  color: var(--Primary-Green-Normal, #3bfb82);
  border-bottom: 2px solid var(--Primary-Green-Normal, #3bfb82);
}

.games {
  width: 100%;
}

.swiper-games-main .swiper-slide {
  width: 358px !important; /* Match game-item width */
}

.game-item {
  width: 100%;
  height: 154px;
  flex-shrink: 0;
  cursor: pointer;
}

.game-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
}
/* Limit swiper container width to its content */
.swiper-container {
  overflow: hidden;
  width: auto;
}

/* Each slide set to 170px */
.swiper-slide {
  width: auto !important;
  flex-shrink: 0;
}

/* Ensure images fit within their slide */
.swiper-slide img {
  width: 100%; /* Ensure image takes the full width of the slide */
  height: auto;
}

/* Style for custom navigation buttons container */
.custom-swiper-buttons {
  position: relative;
  display: flex;
  gap: 8px;
  width: 100%;
}

/* Style for previous button (positioned at top or left as preferred) */
.custom-swiper-button-prev,
.custom-swiper-button-next {
  /* position: absolute; */
  display: flex;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  z-index: 10;
}

/* Position buttons outside the swiper; adjust as needed */
.custom-swiper-button-prev {
  top: -50px; /* Adjust vertical position */
  left: 20px; /* Adjust horizontal position */
  transform: rotate(180deg);
}

.custom-swiper-button-next {
  top: -50px; /* Adjust vertical position */
  right: 20px; /* Adjust horizontal position */
}

/* Optional: style for icons */
.custom-swiper-button-prev span,
.custom-swiper-button-next span {
  font-size: 20px;
  color: #fff;
}

/* Add these styles to landing.css */
.custom-swiper-button-prev.swiper-button-disabled svg rect,
.custom-swiper-button-next.swiper-button-disabled svg rect {
  fill: #21474d;
}

.custom-swiper-button-prev.swiper-button-disabled,
.custom-swiper-button-next.swiper-button-disabled {
  opacity: 1; /* Override Swiper's default opacity */
  pointer-events: none;
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  margin-top: 34px;
}

.allGames {
  display: flex;
  padding: 0px 8px;
  justify-content: center;
  align-items: center;
  gap: 8px;
  border-radius: 4px;
  background: rgba(235, 255, 243, 0.05);
  color: var(--Primary-Green-Normal, #3bfb82);

  font-family: SFProDisplay-Medium;
  font-size: 12px;
  font-weight: 500;
  font-size: 12px;
  font-style: normal;
  line-height: 24px; /* 200% */
  white-space: nowrap;
}

.section-header-right {
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer {
  background: #131420;
  padding: 64px 16px;
  margin-top: 160px;
}

.footer-content {
  display: flex;
  flex-direction: column;
}

.footer-columns {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 32px;
}

.footer-logo-column {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-logo {
  height: 48px;
  width: auto;
}

.footer-curacac {
  height: 40px;
  width: auto;
}

.footer-column {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.footer-title {
  color: #3bfb82;
  font-family: Inter;
  font-size: 14px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  text-transform: capitalize;
}

.footer-list {
  display: flex;
  flex-direction: column;

  gap: 24px;
  list-style: none;
}

.footer-list li {
  display: flex;
  align-items: center;
  gap: 4px;
  color: rgba(255, 255, 255, 0.6);
  font-family: Inter;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  text-transform: capitalize;
}

.footer-divider {
  width: 100%;
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
  margin: 42px 0;
}

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

.footer-text,
.footer-copyright {
  color: rgba(255, 255, 255, 0.6);
  font-family: "Open Sans";
  font-size: 14px;
  font-weight: 400;
}

.footer-copyright {
  margin-top: 16px;
}

.banner-container {
  position: relative;
  width: 100%;
  max-width: 1164px;
  margin: 16px auto;
}

/* Banner navigation (same pattern as other custom swiper arrows) */
.banner-navigation {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  pointer-events: none;
  z-index: 20;
}

.banner-navigation .custom-swiper-button-prev,
.banner-navigation .custom-swiper-button-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: auto;
}

.banner-navigation .custom-swiper-button-prev {
  left: 20px;
  transform: translateY(-50%) rotate(180deg);
}

.banner-navigation .custom-swiper-button-next {
  right: 20px;
}

.swiper-banner {
  width: 100%;
  height: 328px;
  cursor: pointer;
}

.swiper-banner .swiper-slide {
  width: 100% !important;
  height: 328px;
}

.swiper-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
}

/* Pagination Styles */
.banner-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  width: 100%;
}

.banner-pagination .swiper-pagination-bullet {
  width: 4px;
  height: 4px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 2px;
  display: block;
  cursor: pointer;
  transition: all 0.3s ease;
  opacity: 1;
}

.banner-pagination .swiper-pagination-bullet-active {
  background: #3bfb82;
  width: 40px;
  box-shadow: 0 0 8px rgba(59, 251, 130, 0.4);
}

.sidebar-promotion {
  width: 100%;
  margin: 16px 0;
  overflow: hidden;
  cursor: pointer;
}

.sidebar-playnow {
  width: calc(100% + 48px); /* Extend beyond sidebar padding */
  margin: 32px -24px 16px -24px; /* Negative margins to remove sidebar padding, more top margin */
  overflow: hidden;
  cursor: default; /* Changed from pointer since iframe handles interaction */
}

.sidebar-promotion {
  margin-top: 24px;
  margin-bottom: 24px;
}

.sidebar-promotion img,
.sidebar-playnow img {
  width: 100%;
  height: auto;
  display: block;
}

/* Wrapper to contain the scaled iframe */
.sidebar-playnow-wrapper {
  width: 100%;
  height: 500px; /* Display height */
  position: relative;
  overflow: hidden;
  padding: 0 8px; /* Add horizontal padding so iframe doesn't touch edges */
  box-sizing: border-box;
}

/* Iframe rendered at higher resolution and scaled down */
.sidebar-playnow-iframe {
  width: calc((100% - 16px) * 1.2); /* Account for padding and scale up (1 / 0.8333) */
  height: 600px; /* Render at 600px height for better quality */
  display: block;
  border: none;
  border-radius: 8px;
  transform: scale(0.8333); /* Scale down to fit (500 / 600 = 0.8333) */
  transform-origin: top left; /* Scale from top-left corner */
  position: absolute;
  top: 0;
  left: 8px; /* Account for wrapper padding */
}

.sidebar-promotion a,
.sidebar-playnow a {
  display: block;
  width: 100%;
  transition: transform 0.2s ease;
}

.sidebar-promotion a:hover,
.sidebar-playnow a:hover {
  transform: scale(1.02);
}

/* Mobile navbar and menu styles */
.mobile-navbar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 88px;
  background: #131420;
  display: none;
  justify-content: space-around;
  align-items: center;
  padding: 8px 16px;
  padding-bottom: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  z-index: 1000;
}

.mobile-navbar::after {
  content: "";
  position: absolute;
  bottom: 13px;
  left: 50%;
  right: 0;
  width: 134px;
  height: 5px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
  transform: translateX(-50%);
}

.mobile-navbar-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  cursor: pointer;
}

.mobile-navbar-item img {
  width: 24px;
  height: 24px;
}

.mobile-navbar-item span {
  color: #a6a6a6;
  text-align: center;
  font-family: Lato;
  font-size: 12px;
  font-style: normal;
  font-weight: 500;
  line-height: 135%; /* 16.2px */
}

.mobile-menu-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2000;
}

.mobile-menu-content {
  position: fixed;
  left: 0;
  top: 0;
  bottom: 0;
  width: 100%; /* Full width */
  background: #131420;
  padding: 24px;
  overflow-y: auto;
  height: 100vh;
  animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
  from {
    transform: translateX(-100%);
  }
  to {
    transform: translateX(0);
  }
}

.mobile-menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.close-menu {
  background: none;
  border: none;
  color: #fff;
  font-size: 24px;
  cursor: pointer;
}

.mobile-menu-body {
  display: flex;
  flex-direction: column;
}

.mobile-menu-items {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.mobile-menu-list {
  list-style: none;
  padding: 0;
}

.mobile-menu-item {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 16px 8px;
  color: #66686a;
  font-size: 14px;
  font-weight: 600;
}

.item-active {
  color: var(--White, #fff);
}

.user-data {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  flex-shrink: 0;
  border-radius: 12px;
  background: #181926;
  padding: 12px;
  cursor: pointer;
}

.user-data-info {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.user-data-info p {
  color: var(--Secondary-Light, #eaeff0);
  font-family: SFProDisplay-SemiBold;
  font-size: 14px;
  font-weight: 600;
}

.user-data-info .user-data-info-num {
  font-size: 12px;
  font-weight: 400;
  opacity: 0.6;
}

.w-full {
  width: 100%;
}

.flex {
  display: flex;
}

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

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

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

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

.gap-4 {
  gap: 4px;
}

.gap-8 {
  gap: 8px;
}

.mt-4 {
  margin-top: 4px;
}

.mb-8 {
  margin-bottom: 8px;
}

.goldBig {
  color: var(--text-text, #fff);
  font-family: SFProDisplay-SemiBold;
  font-size: 16px;
  font-weight: 600;
  line-height: 24px; /* 150% */
}

.text-sm-white {
  color: var(--text-text, #fff);
  font-family: SFProDisplay-Bold;
  font-size: 12px;
  font-weight: 700;
  line-height: 16px; /* 133.333% */
}

.RankSm {
  width: 16px;
  height: 16px;
}

.progressTrack {
  border-radius: 100px;
  background: rgba(79, 75, 97, 0.4);
  height: 8px;
  width: 100%;
}

.progress {
  height: 100%;
  width: 25px;
  border-radius: 100px 4px 4px 100px;
  border: 0.5px solid var(--success-80, rgba(0, 195, 62, 0.8));
  background: linear-gradient(90deg, #00c33e 0%, #005d1e 100%);
}

.mobile-center-bar {
  display: none;
  position: relative;
}

.mobile-center-bar img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 0;
}

.mobile-center-bar a {
  display: block;
  width: 100%;
  transition: transform 0.2s ease;
}

/* Only show margins when image exists and has a src */
.mobile-center-bar img[src]:not([src=""]) {
  margin: 32px 0;
}

/* Update in landing.css */
.iframe-container {
  display: none;
  width: 100%;
  height: calc(100vh - 80px); /* viewport height minus header */
  background: #181926;
  position: relative;
  iframe {
    display: block;
  }
}

.iframe-container.active {
  display: block;
}

.game-iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.iframe-back-button {
  position: absolute;
  top: 20px;
  left: 20px;
  z-index: 1001;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(19, 20, 32, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  color: white;
  font-family: SFProDisplay-Medium;
  font-size: 14px;
  cursor: pointer;
}

.rank-wrapper {
  cursor: pointer;
}

/* Add at the beginning of landing.css */
.loader-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #181926;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  opacity: 1;
  transition: opacity 0.3s ease-out;
}

.loader-overlay.hidden {
  opacity: 0;
  pointer-events: none;
}

#lottie-container {
  width: 200px;
  height: 200px;
}

/* View Promotions responsive styles - clean implementation */
.viewPromotions .desktop-text {
  display: inline;
}

.viewPromotions .mobile-text {
  display: none;
}

/* Tablet size (iPad) - show "Promos" text */
@media screen and (max-width: 1024px) {
  .viewPromotions .desktop-text {
    display: none;
  }

  .viewPromotions .mobile-text {
    display: inline;
  }
}

/* Mobile size - show only icon */
@media screen and (max-width: 768px) {
  .viewPromotions {
    display: none;
  }

  #headerViewPromotions {
    padding: 8px;
    width: 40px;
    height: 40px;
    min-width: auto;
    justify-content: center;
  }
  .layout {
    padding-left: 0;
  }
}

@media screen and (max-width: 768px) {
  .mobile-center-bar {
    display: block;
  }
  .iframe-container {
    height: calc(100vh - 168px);
  }
  .swiper-banner,
  .swiper-banner .swiper-slide {
    height: 174px;
  }
  .banner-container {
    margin-bottom: 8px;
  }
  .sidebar {
    display: none;
  }

  .mobile-navbar {
    display: flex;
  }

  /* Mobile menu playnow iframe - extend beyond padding */
  .mobile-menu-body .sidebar-playnow {
    width: calc(100% + 48px);
    margin: 32px -24px 16px -24px;
  }

  /* Mobile playnow wrapper and iframe with higher resolution */
  .mobile-menu-body .sidebar-playnow-wrapper {
    height: 500px;
    padding: 0 8px;
  }

  .mobile-menu-body .sidebar-playnow-iframe {
    width: calc((100% - 16px) * 1.3);
    height: 600px;
    transform: scale(0.7692);
    transform-origin: top left;
    position: absolute;
    top: 0;
    left: 8px;
    border-radius: 8px;
  }

  main {
    padding-bottom: 64px;
  }

  .layout {
    flex-direction: column;
  }

  .header {
    position: sticky;
    top: 0;
    z-index: 100;
  }
  .header-right .btn-secondary {
    display: none;
  }

  .header-right {
    gap: 8px;
  }

  .rank-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
  }
  .rank-details {
    display: none !important;
  }

  .finance-card {
    height: 40px;
  }

  .green-btn {
    width: 40px;
    height: 40px;
    padding: 8px;
  }

  .green-secondary {
    width: 32px;
    height: 32px;
  }

  .header-logo-mobile {
    width: 48px;
    height: 30px;
    display: flex;
  }

  .header-content {
    justify-content: space-between;
  }
  .fixed-price-icon {
    position: fixed;
    bottom: 96px;
    right: 8px;
  }

  .games-column {
    display: none;
  }

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

  .footer-logo-column {
    align-items: center;
    width: 100%;
  }

  .footer-text,
  .footer-copyright {
    text-align: center;
  }
  .swiper-games-main .swiper-slide {
    width: 280px !important; /* Smaller width for mobile */
  }
}

@media screen and (max-width: 480px) {
  .max-width {
    padding: 0 16px;
  }
  .mobile-center-bar {
    width: calc(100% + 32px);
    margin-left: -16px;
    margin-right: -16px;
  }
}

@media (max-width: 375px) {
  #headerViewPromotions {
    padding: 8px;
    min-width: auto;
  }
}

.pointer {
  cursor: pointer;
}

.sidebar-mobile-center-bar img {
  width: 100%;
}

.swiper-original .game-lottie-container {
  width: 174px; /* Increased from 170px to compensate for animation rendering */
  height: 245px; /* Increased from 230px to compensate for animation rendering */
  background: none; /* Removed gradient as requested */
  border-radius: 12px;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: visible; /* Changed from hidden to allow animations to extend beyond container */
  cursor: pointer;
  box-sizing: border-box;
  transition: transform 0.3s ease; /* Added smooth transition */
}

.swiper-original .game-lottie-container:hover {
  transform: scale(1.05);
}

.swiper-original .game-lottie {
  width: 100%;
  height: 100%;
}

.swiper-original .swiper-slide {
  width: 174px !important; /* Match the container width */
  height: 245px;
  padding: 0;
  margin: 0;
}

/* Sidebar Lottie animation styles */
.sidebar-lottie-container {
  width: 24px;
  height: 24px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  flex-shrink: 0;
}

.sidebar-lottie {
  width: 100%;
  height: 100%;
}

/* Mobile menu Lottie styles - same dimensions */
.mobile-menu-item .sidebar-lottie-container {
  width: 24px;
  height: 24px;
}

/* Custom scrollbar for sidebar - cross-browser */
.sidebar {
  scrollbar-width: thin; /* Firefox: thin scrollbar */
  scrollbar-color: rgba(59, 251, 130, 0.5) #181926; /* Firefox: thumb color and track color */
}

/* WebKit (Chrome, Safari) specific scrollbar styles */
.sidebar::-webkit-scrollbar {
  width: 6px; /* Thin width */
}

.sidebar::-webkit-scrollbar-track {
  background: #181926; /* Dark track matching design */
  border-radius: 3px;
}

.sidebar::-webkit-scrollbar-thumb {
  background: rgba(59, 251, 130, 0.5); /* Subtle green thumb */
  border-radius: 3px;
}

.sidebar::-webkit-scrollbar-thumb:hover {
  background: rgba(59, 251, 130, 0.8); /* Brighter on hover */
}

/* Custom scrollbar for sidebar - cross-browser */
.sidebar {
  scrollbar-width: thin; /* Firefox: thin scrollbar */
  scrollbar-color: rgba(59, 251, 130, 0.5) #181926; /* Firefox: thumb color and track color */
}

/* WebKit (Chrome, Safari) specific scrollbar styles */
.sidebar::-webkit-scrollbar {
  width: 6px; /* Thin width */
}

.sidebar::-webkit-scrollbar-track {
  background: #181926; /* Dark track matching design */
  border-radius: 3px;
}

.sidebar::-webkit-scrollbar-thumb {
  background: rgba(59, 251, 130, 0.5); /* Subtle green thumb */
  border-radius: 3px;
}

.sidebar::-webkit-scrollbar-thumb:hover {
  background: rgba(59, 251, 130, 0.8); /* Brighter on hover */
}

html {
  scrollbar-width: thin; /* Firefox: thin scrollbar */
  scrollbar-color: rgba(59, 251, 130, 0.5) #181926; /* Firefox: thumb color and track color */
}

html::-webkit-scrollbar {
  width: 6px; /* Thin width */
}

html::-webkit-scrollbar-track {
  background: #181926; /* Dark track matching design */
  border-radius: 3px;
}

html::-webkit-scrollbar-thumb {
  background: rgba(59, 251, 130, 0.5); /* Subtle green thumb */
  border-radius: 3px;
}

html::-webkit-scrollbar-thumb:hover {
  background: rgba(59, 251, 130, 0.8); /* Brighter on hover */
}

/* Price Icon Modal Popup Styles */
.price-icon-modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.75);
  z-index: 3000;
  justify-content: center;
  align-items: center;
  animation: fadeIn 0.2s ease-out;
}

.price-icon-modal-overlay.active {
  display: flex;
}

.price-icon-modal-overlay.closing {
  animation: fadeOut 0.2s ease-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes fadeOut {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}

.price-icon-modal-content {
  position: relative;
  width: 340px;
  height: 560px;
  background: #131420;
  border-radius: 16px;
  overflow: hidden;
  animation: scaleIn 0.2s ease-out;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.price-icon-modal-overlay.closing .price-icon-modal-content {
  animation: scaleOut 0.2s ease-out;
}

@keyframes scaleIn {
  from {
    transform: scale(0.9);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes scaleOut {
  from {
    transform: scale(1);
    opacity: 1;
  }
  to {
    transform: scale(0.9);
    opacity: 0;
  }
}

.price-icon-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  border-radius: 8px;
  color: #fff;
  font-size: 20px;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}

.price-icon-modal-close:hover {
  background: rgba(255, 255, 255, 0.2);
}

.price-icon-modal-iframe-wrapper {
  width: 100%;
  height: 560px;
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
}

.price-icon-modal-iframe {
  width: calc(100% * 1.2);
  height: 680px;
  display: block;
  border: none;
  transform: scale(0.8333);
  transform-origin: top left;
  position: absolute;
  top: 0;
  left: 0;
}

/* Mobile responsive styles for price icon modal */
@media screen and (max-width: 768px) {
  .price-icon-modal-content {
    width: 90%;
    max-width: 400px;
    height: 560px;
  }

  .price-icon-modal-iframe-wrapper {
    height: 560px;
  }

  .price-icon-modal-iframe {
    width: calc(100% * 1.2);
    height: 680px;
    transform: scale(0.8333);
  }
}

@media screen and (max-width: 480px) {
  .price-icon-modal-content {
    width: 90%;
    height: 70vh;
    max-height: 560px;
  }

  .price-icon-modal-iframe-wrapper {
    height: 100%;
  }

  .price-icon-modal-iframe {
    width: calc(100% * 1.2);
    height: calc(100% * 1.2 + 1px);
    transform: scale(0.8333);
  }
}

/* Snow Animation Overlay */
#snowContainer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 100;
  overflow: hidden;
}

#snowCanvas {
  display: block;
  width: 100%;
  height: 100%;
}
