body {
  margin: 0;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  text-align: left;
  background-color: #2e7d88;
  color: #333;
}

*,
::before,
::after {
  box-sizing: border-box;
}

a {
  text-decoration: none;
}

img {
  max-width: 100%;
}


header {
  padding: 0;
  background-color: #303030;
  padding: 5px 0 0px 10px;
  position: sticky;
  top: 0;
  z-index: 1000;
}

@media (max-width:767px) {
  .sitelogo img {
    width: 45px;
    height: auto;
  }
}

header img {
  width: 120px;
  height: auto;
}

header .logobar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  justify-items: center;
  align-items: center;
  padding: 8px 12px;
  max-width: 1440px;
  margin: 0 auto;
  position: relative;
}

main {
  width: 100%;
  margin: 0 auto;

}

@media (min-width: 1440px) {
  main {
    max-width: 1440px;
  }
}

@media (max-width:768px) {
  .menu-top {
    display: none;
  }
}

.nav-toggle {
  display: none;
}

/* Responsive header layout */
header .sitelogo {
  display: flex;
  align-items: center;
}

.sitelogo a {
  display: inline-flex;
  align-items: center;
}

.sitelogo picture {
  display: none;
}

.sitelogo a::before {
  content: "";
  display: inline-block;
  width: 120px;
  height: 45px;
  background: url('/images/logo.svg') no-repeat center / contain;
}

@media (max-width:767px) {
  .sitelogo a::before {
    width: 45px;
    height: 45px;
    background: url('/images/logo-m.svg') no-repeat center / contain;
  }
}

@media (max-width:767px) {
  .sitelogo a { margin-left: 8px; }
}

@media (min-width:1024px) {
  header .logobar {
    gap: 16px;
  }
}

@media (max-width:768px) {
  header .logobar {
    gap: 6px;
    padding-left: 0;
    padding-right: 0;
  }
  header .sitelogo { order: 1; }
  header .menu-top { order: 2; }
  header .userbar { order: 4; margin-left: 6px; }
}

@media (max-width:767px) {
  header { padding-left: 0; }
}

@media (max-width:768px) {
  .menu-top-list {
    gap: 6px;
  }
}

/* Hamburger button */
.hamburger-btn {
  display: none;
  width: 40px;
  height: 40px;
  border: none;
  background: transparent;
  padding: 0;
  cursor: pointer;
  z-index: 1001;
}

.hamburger-btn span {
  display: block;
  height: 2px;
  background: #fff;
  margin: 8px 6px;
  width: 26px;
  border-radius: 2px;
}

@media (max-width:768px) {
  .hamburger-btn { display: inline-flex; align-items: center; justify-content: center; order: 3; margin-left: auto; }
}

.hamburger-btn i { color:#fff; font-size:24px; }
.hamburger-btn .icon-close { display:none; }
#nav-toggle:checked + .hamburger-btn .icon-close { display:inline; }
#nav-toggle:checked + .hamburger-btn .icon-bars { display:none; }

/* Mobile menu panel (not affecting .nav-categories) */
@media (max-width:768px) {
  .nav-toggle:checked ~ .menu-top {
    display: block;
    position: absolute;
    left: 0;
    right: 0;
    width: 100%;
    top: calc(100% + 2px);
    background: #303030;
    padding: 8px 0;
    border-radius: 0;
    box-shadow: 0 6px 16px rgba(0,0,0,0.3);
    z-index: 1002;
  }
  .nav-overlay { display: none; }
  .nav-toggle:checked ~ .nav-overlay {
    display: block;
    position: fixed;
    inset: 0;
    background: transparent;
    z-index: 1001;
  }
}

/* Searchbar below nav */
.searchbar {
  padding: 12px 12px 0px;
  width: 100%;
  margin: 0 auto;
}

.searchbar .gcse-searchbox-only {
  width: 100%;
}

@media (min-width:1440px) {
  .searchbar {
    max-width: 1440px;
  }
}

main > .section:first-of-type {
  margin-top: 4px;
}


.searchbar #___gcse_0 {
  width: 100% !important;
}

table.gsc-search-box td.gsc-input {
  padding-right: 0 !important;
}

td .gsc-input-box {
  border-radius: 5px 0 0 5px;
  padding: 0 !important;
}

td .gsc-search-button {
  height: 35px;
  border-radius: 0 5px 5px 0;
}

.gsc-search-button-v2 {
  margin-left: 2px !important;
}

.menu-top-list {
  display: flex;
  list-style: none;
  color: #fff;
  gap: 20px;
  padding-left: 0%;
  margin-left: 0;
}

.menu-top-list a {
  color: #fff;
}

.menu-top-list a:hover {
  background-color: #EE4222;
}

.menu-top-list a {
  border: 1px solid #333;
  border-radius: 10px;
  font-size: 16px;
  line-height: 36px;
  padding: 0 10px;
}

/*----------Christmas Special Button----------*/
.menu-top-list a[href*="christmas"] {
  background: linear-gradient(135deg, #c41e3a 0%, #8b0000 100%);
  border: 2px solid #ffd700;
  border-radius: 25px;
  color: #fff;
  font-weight: bold;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
  box-shadow: 0 4px 15px rgba(196, 30, 58, 0.4);
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  animation: christmasGlow 2s ease-in-out infinite alternate;
  padding: 0 35px;
}

.menu-top-list a[href*="christmas"]:hover {
  background: linear-gradient(135deg, #dc143c 0%, #a52a2a 100%);
  border-color: #ffed4e;
  box-shadow: 0 6px 20px rgba(220, 20, 60, 0.6);
  transform: translateY(-2px);
}

.menu-top-list a[href*="christmas"]:before {
  content: "🎄";
  position: absolute;
  left: 8px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 18px;
  animation: christmasTree 1.5s ease-in-out infinite alternate;
}

.menu-top-list a[href*="christmas"]:after {
  content: "✨";
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 16px;
  animation: christmasStar 2s ease-in-out infinite alternate;
}

@keyframes christmasGlow {
  0% {
    box-shadow: 0 4px 15px rgba(196, 30, 58, 0.4), 0 0 10px rgba(255, 215, 0, 0.3);
  }
  100% {
    box-shadow: 0 4px 20px rgba(196, 30, 58, 0.6), 0 0 20px rgba(255, 215, 0, 0.5);
  }
}

@keyframes christmasTree {
  0% {
    transform: translateY(-50%) scale(1);
  }
  100% {
    transform: translateY(-50%) scale(1.1);
  }
}

@keyframes christmasStar {
  0% {
    transform: translateY(-50%) rotate(0deg) scale(1);
  }
  100% {
    transform: translateY(-50%) rotate(180deg) scale(1.2);
  }
}

@media (max-width: 768px) {
}

/*----------google account----------*/

.google-sign-in-btn {
  display: flex;
  align-items: center;
  background: #fff;
  color: #333;
  border: 1px solid #ddd;
  border-radius: 4px;
  padding: 8px 12px;
  margin-right: 10px;
  font-size: 14px;
  cursor: pointer;
  transition: background-color 0.3s;
  pointer-events: auto;
  position: relative;
  z-index: 1003;
}

.google-sign-in-btn:hover {
  background: #e2e1e1;
}

.google-logo {
  width: 18px;
  height: 18px;
  margin-right: 8px;
}

.userbar {
  position: relative;
  margin-left: 0;
  padding-left: 0;
}

#auth-container {
  opacity: 1 !important;
  transition: opacity .2s;
}

/*-----avatar-----*/
.avatar-wrapper {
  cursor: pointer;
  width: 48px;
  height: 48px;
  margin-right: 10px;
  position: relative;
  border-radius: 50%;
  overflow: visible;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.25);
  background: linear-gradient(135deg, rgba(255,255,255,0.15), rgba(255,255,255,0));
}

.avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  grid-area: 1/1;
  margin: 0;
  align-self: center;
  justify-self: center;
  border: 2px solid rgba(255,255,255,0.9);
  box-shadow: 0 0 0 2px rgba(0,0,0,0.08) inset;
}

.avatar-wrapper:hover {
  background: #323344;
}

/* 下拉面板 */
.dropdown-panel {
  position: absolute;
  top: 52px;
  right: 8px;
  width: 240px;
  background: rgba(255,255,255,0.95);
  border-radius: 12px;
  box-shadow: 0 10px 24px rgba(0,0,0,0.25);
  border: 1px solid rgba(0,0,0,0.06);
  backdrop-filter: blur(8px);
  opacity: 0;
  transform: translateY(-10px);
  transition: all 0.2s ease;
  pointer-events: none;
  z-index: 100;
  display: none;
}

.dropdown-panel a {
  color: #333;
}

.dropdown-panel a:hover {
  display: block;
  color: #fff;
  background: #EE4222;
}

.user-menu.active .dropdown-panel {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
  display: block;
}

/* 菜单列表 */
.user-menu-list {
  list-style: none;
  padding: 0;
  margin: 0;
  line-height: 44px;
}

.user-info {
  display: flex;
  align-items: center;
  padding: 12px 16px 8px;
}

.nickname {
  margin-left: 12px;
  color: #333;
  font-weight: 600;
}

/* 菜单项 */
.menu-item {
  width: 100%;
  background: transparent;
  border: none;
  color: #333;
  text-align: left;
  padding: 12px 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  transition: background 0.2s;
}

.menu-item:hover {
  background: rgba(255, 255, 255, 0.1);
}

.menu-item .icon {
  margin-right: 8px;
}

.divider {
  height: 1px;
  background: rgba(0,0,0,0.08);
  margin: 6px 0;
}

.menu-list {
  padding-left: 20px;
  padding-top: 10px;
}

/*----------end google account--------*/

/*-------------------nav top------------------*/
.nav-categories {
  box-shadow: 0 4px 12px 0 rgba(37, 37, 37, 0.3);
  padding: 5px;
  white-space: nowrap;
  display: flex;
}

/*.nav-categories .gamecard .listblock i {
  display: none;
}*/

.nav-categories .gamecard {
  margin: 0;
  border-radius: 10px;
  background-color: transparent;
}

.nav-categories a {
  color: #fff;
}

.nav-logo ul {
  display: flex;
  list-style-type: none;
  margin: 10px;
  padding: 0;
  max-height: 1lh;
  line-height: 40px;
  gap: 10px
}

.nav-logo li:nth-of-type(1) {
  background-color: #8330b3;
  border-radius: 15px;
  padding: 0 16px;
}

.list-categories {
  list-style-type: none;
  margin: 10px;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  max-height: 1lh;
  overflow: hidden;
  line-height: 40px;
}

.list-categories li {
  /*float: left;
  display: block;*/
  text-align: center;
  padding: 0 16px;
  border-radius: 15px;
}

.list-categories li {
  background-color: #075482;
}

.list-categories li:hover,
.nav-logo li:nth-of-type(1):hover {
  background-color: #FF5722;
  font-weight: bold;
}

/*--------------------aboutindex-------------------*/
.aboutindex {
  background: #eee;
  margin: 10px;
  padding: 10px;
  border-radius: 10px;
}

.aboutindex h2 {
  font-size: 16px;
  background-color: #cfe1e4;
  line-height: 35px;
  border-radius: 5px;
  padding-left: 5px;
}

.cta-box {
  border-left: 6px solid #FF6B00;
  padding: 1px 0 1px 15px;
}

/*====================gameinfo page====================*/
.container {
  display: flex;
  gap: 10px;
  margin: 0 auto;
  padding: 10px;
}

.col-m {
  flex: 2;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.gametit {
  background-color: #03adb3;
  font-weight: bold;
  font-size: 18pt;
  color: #fff;
  line-height: 50px;
  border-radius: 10px;
  text-align: center;
}

.game-area {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.bg-blur {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  filter: blur(20px);
  z-index: 1;
}

.game-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  text-align: center;
}

.gameicon img {
  width: 240px;
  height: 240px;
  border-radius: 20px;
  border: 3px solid #fff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/*=====================gameinfo========================*/
.gameinfo {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-template-rows: auto auto auto auto;
  gap: 10px;
  position: relative;
}

.info-comm {
  border-radius: 5px;
  overflow: hidden;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  position: relative;
  background: #fff;
}

.info-comm h3 {
  background-color: #f8f8f8;
  color: #333;
  padding: 10px;
  margin: 0;
  font-size: 18px;
  font-weight: 600;
}

.info-comm p {
  padding: 0 5px;
  color: #666;
  font-size: 1.2rem;
  font-weight: normal;
}

.info-instructions {
  grid-column: 1 / -1;
  grid-row: 1;
}

.info-description {
  grid-column: 1 / -1;
  grid-row: 3;
}

.info-agegroup {
  grid-column: 1 / 4;
  grid-row: 2;
  display: flex;
  flex-direction: column;
}

.info-gender {
  grid-column: 4 / 7;
  grid-row: 2;
  display: flex;
  flex-direction: column;
}

.info-genres {
  grid-column: 1 / 3;
  grid-row: 4;
  display: flex;
  flex-direction: column;
}

.info-tags {
  grid-column: 3 / 7;
  grid-row: 4;
  display: flex;
  flex-direction: column;
}

.info-comments {
  grid-column: 1 / -1;
}

#cm-root {
  margin: 0 10px;
}

#cm-root #cm-input,
#cm-root #cm-list {
  padding: 10px;
}

#cm-root .cm-item { 
  padding: 10px; 
  border-top: 1px solid #eee; 
}

#cm-root textarea { 
  width: 100%; 
  min-height: 80px;
  max-height: 180px;
  resize: vertical;
  border: 1px solid #dcdcdc;
  border-radius: 8px;
}

#cm-root .cm-content {
  background: #f7fafc;
  border: 1px solid #edf2f7;
  border-radius: 8px;
  padding: 10px;
}

#cm-root .cm-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 0;
  margin-left: auto;
}

#cm-root .cm-login-hint {
  margin-top: 8px;
  color: #6b7280;
  font-size: 14px;
}

#cm-root .cm-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-top: 8px;
}

#cm-root .cm-more-wrap {
  text-align: center;
  margin-top: 10px;
}

#cm-root .cm-more-link {
  color: #2caefa;
  cursor: pointer;
}
#cm-root .cm-more-link:hover { color: #f39057; }

#cm-root .cm-empty {
  text-align: center;
  color: #94a3b8;
  padding: 12px 0;
}

.cm-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 14px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  font-weight: 600;
  transition: all .2s ease;
}

.cm-btn-primary {
  background: #70af1e;
  color: #fff;
  box-shadow: none;
  border: 1px solid #dddddd;
  padding: 12px 20px;
  font-size: 15px;
  text-transform: uppercase;
}
.cm-btn-primary:hover { background:#61bde7; }
.cm-btn-primary:active { background:#f08d0c; }

.cm-btn-danger {
  background: linear-gradient(135deg, #aaaaaa, #bbbbbb);
  color: #fff;
  box-shadow: 0 4px 12px rgba(221, 219, 219, 0.3);
}
.cm-btn-danger:hover { filter: brightness(1.05); transform: translateY(-1px); }
.cm-btn-danger:active { transform: scale(.98); }

.tag-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 10px;
}

.tag-group span {
  background-color: #f0f0f0;
  padding: 8px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
  transition: all 0.2s ease;
}

.tag-group span:nth-child(6n+1) {
  background-color: #FF9AA2;
  color: #c02734;
}

.tag-group span:nth-child(6n+2) {
  background-color: #8bc0f1;
  color: #2368a8;
}

.tag-group span:nth-child(6n+3) {
  background-color: #FFDAC1;
  color: #ad612e;
}

.tag-group span:nth-child(6n+4) {
  background-color: #E2F0CB;
  color: #6f9b29;
}

.tag-group span:nth-child(6n+5) {
  background-color: #B5EAD7;
  color: #289e73;
}

.tag-group span:nth-child(6n+6) {
  background-color: #e8f0b9;
  color: #899b24;
}

@media (max-width: 768px) {
  .gameinfo {
    grid-template-columns: 1fr;
  }

  .info-instructions,
  .info-description,
  .info-agegroup,
  .info-gender,
  .info-genres,
  .info-tags {
    grid-column: 1;
  }

  .info-agegroup {
    grid-row: 2;
    }

  .info-gender {
    grid-row: 4;
  }

  .info-genres {
    grid-row: 5;
  }

  .info-tags {
    grid-row: 6;
  }
}

.col-l,
.col-r {
  flex: 1;
}

.section-title {
  font-size: 18px;
  color: #333;
  font-weight: bold;
  background: #ddd;
  text-align: center;
  margin: 0 auto;
  border-radius: 10px 10px 0 0;
  line-height: 35px;
}

/* 左侧游戏卡片样式 - 精准对齐方案 */
.col-l .game-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  background-color: #EDE7F0;
  border-radius: 0 0 10px 10px;
  padding: 5px 0;
}

.col-l .game-card {
  display: flex;
  gap: 15px;
  padding: 10px;
  border-radius: 8px;
  background: #f8f9fa;
  transition: all 0.3s ease;
  position: relative;
  /* 为精准对齐添加定位上下文 */
}

.col-l .game-card:hover {
  background: #e9ecef;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* 游戏图片容器 */
.col-l .game-thumb-container {
  position: relative;
  width: 100px;
  height: 100px;
}

.col-l .game-thumb {
  width: 100%;
  height: 100%;
  border-radius: 8px;
  object-fit: cover;
}

/* 精准对齐的游戏信息区域 */
.col-l .game-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  /* 关键：固定高度实现完美对齐 */
  height: 100px;
}

/* 标题区域 - 顶部对齐 */
.col-l .game-title-wrapper {
  margin-top: 0;
  /* 去除顶部间距 */
  padding-top: 0;
  /* 去除顶部内边距 */
}

.col-l .game-title {
  font-size: 16px;
  font-weight: 600;
  color: #333;
  margin: 0;
  /* 关键：去除所有外边距 */
  padding: 0;
  /* 关键：去除所有内边距 */
  line-height: 1.3;
}

/* 标签区域 - 底部对齐 */
.col-l .game-tags {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
  margin-top: auto;
  /* 关键：将标签推到底部 */
}

.col-l .game-tags span {
  background: #e9e9e9;
  color: #333;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 12px;
}


/* 右侧游戏卡片样式 */
.col-r .game-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  background-color: #EDE7F0;
  border-radius: 0 0 10px 10px;
  padding: 5px;
}

.col-r .game-card-small {
  background: #f8f9fa;
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  margin-bottom: 10px;
}

.col-r .game-card-small:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.col-r .game-thumb {
  width: 100%;
  height: 90px;
  border-radius: 8px 8px 0 0;
  object-fit: cover;
}

.col-r .game-title {
  font-size: 16px;
  font-weight: 600;
  color: #333;
  margin: 0 0 5px 5px;
}

.col-r .game-tags {
  display: flex;
  gap: 4px;
  margin-left: 5px;
  margin-top: auto;
  flex-wrap: nowrap;
  overflow: hidden;
}

.col-r .game-tags span {
  background: #e9e9e9;
  color: #333;
  padding: 3px 6px;
  border-radius: 4px;
  font-size: 12px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: inline-block;
}

/* 独家游戏标签样式 */
.game-thumb-container {
  position: relative;
  flex-shrink: 0;
}


/*==================Play Button Styles=================*/
.play-btn {
  --primary: #e63c09;
  --accent: #e73eec;
  padding: 12px 60px;
  font: 900 28px/1.2 system-ui;
  letter-spacing: 0.05em;
  color: white;
  text-align: center;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 10px;
  cursor: pointer;
  user-select: none;
  touch-action: manipulation;
  transition:
    transform 0.2s ease,
    filter 0.2s ease,
    box-shadow 0.2s ease;
  box-shadow: 0 4px 12px rgba(248, 244, 4, 0.3);
  border: 2px solid transparent;
}

.play-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(243, 227, 5, 0.8);
  filter: brightness(1.05);
}

.play-btn:active {
  transform: scale(0.96);
  filter: brightness(1.1) contrast(1.2);
}

@media (max-width: 1024px) {
  .container {
    flex-direction: column;
  }

  .col-l,
  .col-r {
    min-height: auto;
  }

  .game-area {
    height: 350px;
  }

  .col-l,
  .col-r {
    display: none;
  }
}

@media (max-width: 768px) {
  .game-area {
    height: 300px;
  }

  .gameicon img {
    width: 100px;
    height: 100px;
  }

  .play-btn {
    padding: 10px 50px;
    font-size: 24px;
  }

  .col-l,
  .col-r {
    display: none;
  }
}

@media (max-width: 480px) {
  .game-area {
    height: 250px;
  }

  .gametit {
    font-size: 16px;
  }

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

  .gameinfo {
    font-size: 16px;
    padding: 10px;
  }

  .play-btn {
    padding: 8px 40px;
    font-size: 20px;
  }
}

/*====================single pages====================*/
.single-container {
  background: #ede7f0;
  margin: 10px;
  border-radius: 10px;
  padding: 10px;
  color: #333;
}

.single-container .about-block1 img {
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.single-container h1 {
  font-size: 24px;
}

.single-container .about-block1 {
  margin-bottom: 50px;
  font-size: 18px;
  padding: 20px;
}

.single-container .about-block1 h1 {
  text-align: center;
}

.single-container .about-block {
  display: flex;
  gap: 20px;
  font-size: 18px;
  align-items: center;
  padding: 20px;
  margin-bottom: 20px;
}

.single-container .about-block-l img {
  border-radius: 50px 0 0 50px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.single-container .about-block-r img {
  border-radius: 0px 50px 50px 0px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.single-container .about-block .about-block-l {
  flex: 1;
}

.single-container .about-block .about-block-r {
  flex: 1;
}

.single-container .about-block img {
  width: 100%;
  height: auto;
}

.single-container .about-block-b {
  background-color: #d398eb;
  border-radius: 10px;
  padding: 20px;
}

@media (max-width: 768px) {
  .single-container .about-block {
    flex-direction: column;
  }
}

.single-container .single-title {
  text-align: center;
}

.single-container .single-content {
  padding: 20px;
}

.single-container .single-content h2 {
  font-size: 16px;
}

.single-container .single-content p {
 padding-left: 20px;
}

/* Footer Styles - New Modern Layout */
footer {
  width: 100%;
  margin: 0;
  background: linear-gradient(180deg, #1F2030 0%, #191a28 100%);
  border-top: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 -8px 24px rgba(0,0,0,0.3);
  color: #fff;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  position: relative;
  overflow: hidden;
}

footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
}

.footer-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 40px 20px 20px;
  position: relative;
  z-index: 1;
}

footer a {
  color: #fff;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

footer a:hover {
  color: #fa8f03;
  transform: translateX(2px);
}

/* Optimized Main Footer Grid - 2 Column Layout */
.footer-main {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 40px;
  margin-top: 0;
  margin-bottom: 12px;
  position: relative;
  align-items: start;
}

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

.footer-column h3,
.footer-column h4 {
  margin: 0;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.footer-column h3 {
  font-size: 24px;
  background: linear-gradient(135deg, #fa8f03, #ff6b35);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 8px;
}

.footer-column h4 {
  font-size: 16px;
  color: rgba(255,255,255,0.9);
  margin-bottom: 8px;
  position: relative;
  padding-bottom: 8px;
}

.footer-column h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: linear-gradient(90deg, #fa8f03, #ff6b35);
  border-radius: 1px;
}

/* Enhanced Brand Column */
.footer-logo {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
}

.footer-logo-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.footer-logo-img {
  width: 140px;
  height: auto;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.3));
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.footer-logo-img:hover {
  filter: drop-shadow(0 4px 16px rgba(250,143,3,0.4));
  transform: translateY(-2px);
}

.footer-logo p {
  margin: 0;
  color: rgba(255,255,255,0.85);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  text-shadow: 0 1px 2px rgba(0,0,0,0.3);
  max-width: 280px;
}

/* Links Styling */
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  color: rgba(255,255,255,0.8);
  font-size: 14px;
  font-weight: 400;
  position: relative;
  padding-left: 0;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.footer-links a::before {
  content: '→';
  position: absolute;
  left: -15px;
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  color: #fa8f03;
}

.footer-links a:hover::before {
  left: -20px;
  opacity: 1;
}

.footer-links a:hover {
  color: #fff;
  padding-left: 5px;
}

/* Social Icons - Enhanced for 2-column layout */
.footer-brand .social-icons {
  display: flex;
  gap: 10px;
  margin-top: 12px;
}

.social-icons a {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.social-icons a::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  transition: left 0.6s ease;
}

.social-icons a:hover::before {
  left: 100%;
}

.social-icons a:hover {
  background: rgba(250,143,3,0.15);
  border-color: rgba(250,143,3,0.4);
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 20px rgba(250,143,3,0.25);
}

.social-icons img {
  width: 14px;
  height: 14px;
  opacity: 0.85;
  transition: all 0.3s ease;
}

.social-icons a:hover img {
  opacity: 1;
  transform: scale(1.1);
}

/* Partner Logos - Enhanced for 2-column layout */
.footer-partners h4 {
  color: rgba(255,255,255,0.9);
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 8px;
  position: relative;
  display: inline-block;
}

.footer-partners h4::after {
  display: none;
}

.partner-logos {
  display: flex;
  flex-direction: row;
  gap: 8px;
  flex-wrap: nowrap;
  justify-content: flex-start;
  width: auto;
}

/* Group title and logos to align left edges while right-aligning block */
.partners-group {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: auto;
  margin-left: auto;
}
.partners-group h4 {
  text-align: left;
}

/* Tighten spacing between title and partner logos */
.footer-column.footer-partners {
  gap: 8px;
}

.partner-logos .partner {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 120px;
  height: 36px;
  padding: 0;
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}

.partner-logos .partner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(250,143,3,0.15), rgba(255,107,53,0.15));
  opacity: 0;
  transition: opacity 0.4s ease;
}

.partner-logos .partner:hover::before {
  opacity: 1;
}

.partner-logos .partner:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(250,143,3,0.4);
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.25);
}

.partner-logos .partner img {
  height: 24px;
  width: auto;
  opacity: 0.85;
  filter: brightness(1.1);
  transition: all 0.4s ease;
  position: relative;
  z-index: 1;
}

.partner-logos .partner:hover img {
  opacity: 1;
  filter: brightness(1.3);
}

/* Footer Bottom */
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 16px;
  margin-top: 6px;
}

.footer-bottom-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.copyright {
  color: rgba(255,255,255,0.6);
  font-size: 13px;
  font-weight: 300;
}

.footer-bottom-links {
  display: flex;
  gap: 24px;
}

.footer-bottom-links a {
  color: rgba(255,255,255,0.6);
  font-size: 13px;
  font-weight: 300;
  transition: all 0.3s ease;
}

.footer-bottom-links a:hover {
  color: #fa8f03;
}

footer a:focus-visible {
  outline: 2px solid #fa8f03;
  outline-offset: 2px;
  border-radius: 6px;
}

/* Mobile Responsive Styles - Enhanced for 2-column layout */
@media (max-width: 1024px) {
  .footer-main {
    grid-template-columns: 1fr 1fr;
    gap: 50px 40px;
  }
  
  .footer-column {
    gap: 16px;
  }
  
  .footer-column h4 {
    margin-bottom: 16px;
    font-size: 17px;
  }
  
  .footer-logo-img {
    width: 120px;
  }
  
  .footer-logo p {
    font-size: 15px;
    max-width: 250px;
  }
  
  .footer-logo-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
  
  .social-icons a {
    width: 32px;
    height: 32px;
  }
  
  .social-icons img {
    width: 14px;
    height: 14px;
  }
  
  .partner-logos {
    gap: 8px;
    justify-content: flex-start;
    flex-wrap: wrap;
  }
  
  .partner-logos .partner {
    width: 120px;
    height: 36px;
    padding: 0;
  }
  
  .partner-logos .partner img {
    height: 24px;
  }
}

@media (max-width: 768px) {
  .footer-inner {
    padding: 30px 20px 20px;
  }
  
  .footer-main {
    grid-template-columns: 1.5fr 1fr;
    gap: 30px;
    margin-bottom: 12px;
  }
  
  .footer-column {
    text-align: right;
    align-items: flex-end;
  }
  
  .footer-partners {
    text-align: right;
    align-items: flex-end;
  }
  
  .footer-partners h4::after {
    left: 0;
    transform: none;
  }
  
  .footer-column h4::after {
    left: 0;
    transform: none;
  }
  
  .footer-logo {
    align-items: flex-start;
    text-align: left;
  }
  
  .footer-logo-content {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }
  
  .footer-logo-img {
    width: 130px;
  }
  
  .footer-logo p {
    font-size: 16px;
    max-width: 300px;
  }
  
  .footer-brand .social-icons {
    justify-content: flex-end;
  }
  
  .footer-brand .social-icons a {
    width: 32px;
    height: 32px;
  }
  
  .footer-brand .social-icons img {
    width: 14px;
    height: 14px;
  }
  
  .partner-logos {
    justify-content: flex-start;
    gap: 8px;
    flex-wrap: wrap;
  }
  
  .partner-logos .partner {
    width: 120px;
    height: 36px;
    padding: 0;
  }
  
  .partner-logos .partner img {
    height: 24px;
  }
  
  .footer-bottom-content {
    flex-direction: row;
    text-align: left;
    gap: 12px;
  }
  
  .footer-bottom-links {
    justify-content: flex-start;
  }
}

@media (max-width: 480px) {
  .footer-inner {
    padding: 24px 16px 16px;
  }
  
  .footer-main {
    gap: 20px;
    margin-bottom: 12px;
  }
  
  .footer-column h3 {
    font-size: 20px;
  }

  .footer-logo-img {
    width: 110px;
  }
  
  .footer-logo-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    text-align: left;
  }

  .footer-logo p {
    font-size: 14px;
    max-width: 260px;
  }

  .footer-partners h4 {
    display: block;
    margin-bottom: 8px;
  }
  
  .footer-partners {
    text-align: right;
    align-items: flex-end;
  }

  .footer-brand .social-icons {
    gap: 10px;
    margin-top: 14px;
    justify-content: flex-start;
  }

  .footer-brand .social-icons a {
    width: 32px;
    height: 32px;
  }

  .footer-brand .social-icons img {
    width: 14px;
    height: 14px;
  }

  .partner-logos {
    gap: 8px;
    flex-wrap: wrap;
    justify-content: flex-end;
    overflow-x: visible;
    padding-bottom: 6px;
  }

  .partner-logos .partner {
    width: 120px;
    height: 36px;
    padding: 0;
    flex-shrink: 0;
  }

  .partner-logos .partner img {
    height: 24px;
  }

  .copyright {
    font-size: 12px;
  }

  .footer-bottom-links {
    gap: 16px;
  }

  .footer-bottom-links a {
    font-size: 12px;
  }

  .footer-bottom {
    padding-top: 16px;
  }
}
/* Toast notifications */
.toast-container {
  position: fixed;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  gap: 8px;
  z-index: 2000;
  pointer-events: none;
}
.toast {
  min-width: 240px;
  max-width: 520px;
  padding: 10px 14px;
  border-radius: 12px;
  color: #fff;
  background: rgba(0, 0, 0, 0.8);
  box-shadow: 0 10px 24px rgba(0,0,0,0.25);
  backdrop-filter: blur(6px);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .2s ease, transform .2s ease;
  pointer-events: auto;
}
.toast.show { opacity: 1; transform: translateY(0); }
.toast.success { background: rgba(0, 0, 0, 0.8); }
.toast.error { background: rgba(0, 0, 0, 0.8); }
.toast.warning { background: rgba(0, 0, 0, 0.8); }
.toast.info { background: rgba(0, 0, 0, 0.8); }
