:root { --dc-accent: #ff6b35; --dc-accent-2: #4a90e2; }
.midasbuy-exact-page { background: var(--bg2); position: relative; }
.midasbuy-exact-page::before { content: ""; position: fixed; inset: 0; background: radial-gradient(1200px 600px at 80% 10%, rgba(74,144,226,.08), transparent 60%), radial-gradient(900px 500px at 10% 30%, rgba(255,107,53,.06), transparent 55%); pointer-events: none; z-index: 0; }
.midasbuy-container { max-width: 1320px; padding: 0 clamp(16px, 3vw, 32px); }
.banner-slider { --banner-h: clamp(340px, 45vw, 560px); height: var(--banner-h); }
.banner-zoom-70 { height: calc(var(--banner-h) * .7); }
.banner-zoom-70 .banner-content { padding: clamp(18px, 3vw, 44px) clamp(18px, 4vw, 56px); }
.banner-zoom-70 .banner-main-text { font-size: clamp(1.6rem, 3.5vw, 2.6rem); }
.banner-zoom-70 .banner-top-text { font-size: 1rem; }
.banner-zoom-70 .banner-event-text { font-size: .9rem; }
.banner-slide { transition: transform .9s cubic-bezier(.2,.8,.2,1), opacity .9s cubic-bezier(.2,.8,.2,1); }
.banner-slide.active { transform: scale(1) translateZ(0); }
.banner-slide:not(.active) { transform: scale(.98); }
.banner-overlay { background: linear-gradient(180deg, rgba(0,0,0,.15) 0%, rgba(0,0,0,.65) 100%); }
.banner-badge-top { background: linear-gradient(135deg, var(--dc-accent), var(--dc-accent-2)); box-shadow: 0 6px 22px rgba(74,144,226,.35); }
.banner-content { padding: clamp(28px, 4vw, 64px) clamp(24px, 5vw, 80px); }
.banner-top-text { letter-spacing: 1.5px; }
.banner-event-text { opacity: .9; }
.banner-main-text { font-size: clamp(2rem, 5vw, 3.6rem); text-shadow: 0 3px 24px rgba(0,0,0,.45), 0 0 36px rgba(74,144,226,.25); }
.banner-pagination { gap: 10px; }
.banner-point { width: 10px; height: 10px; border-radius: 50px; background: rgba(255,255,255,.35); box-shadow: 0 2px 8px rgba(0,0,0,.25); }
.banner-point.active { width: 28px; border-radius: 6px; background: linear-gradient(90deg, var(--dc-accent), var(--dc-accent-2)); box-shadow: 0 4px 16px rgba(74,144,226,.35); }
.banner-nav { width: 56px; height: 56px; border: 2px solid rgba(255,255,255,.25); background: linear-gradient(135deg, rgba(0,0,0,.4), rgba(0,0,0,.55)); backdrop-filter: blur(12px); }
.banner-nav i { font-size: 1rem; }
.announcement-bar { background: linear-gradient(90deg, rgba(74,144,226,.08), rgba(255,107,53,.08)); border-top: 1px solid rgba(255,255,255,.08); border-bottom: 1px solid rgba(255,255,255,.08); }
.announcement-go-btn { background: linear-gradient(135deg, var(--dc-accent), var(--dc-accent-2)); color: #fff; border-radius: 12px; padding: 10px 18px; font-weight: 800; box-shadow: 0 10px 24px rgba(74,144,226,.25); transition: transform .2s ease, filter .2s ease; }
.announcement-go-btn:hover { transform: translateY(-2px); filter: brightness(1.05); }
.section-title-box { display: flex; justify-content: space-between; align-items: center; }
.section-title { background-image: linear-gradient(90deg, #fff, rgba(255,255,255,.8)); -webkit-background-clip: text; background-clip: text; color: transparent; letter-spacing: .5px; }
.tencent-badge { display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px; border-radius: 12px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15); backdrop-filter: blur(8px); }
.tencent-badge i { color: var(--dc-accent-2); }
.midasbuy-search-section { padding: clamp(20px, 4vw, 44px) 0; background: rgba(255,255,255,.04); border-bottom: 1px solid rgba(255,255,255,.08); }
.search-form { margin-bottom: 12px; display: flex; justify-content: center; }
.search-wrapper { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 12px; background: rgba(255,255,255,.12); border-radius: 16px; padding: 10px; border: 2px solid rgba(255,255,255,.22); transition: all .25s ease; width: clamp(280px, 48vw, 520px); margin: 0 auto; }
.search-wrapper:focus-within { border-color: var(--dc-accent); box-shadow: 0 0 0 6px rgba(255,107,53,.18); }
.search-icon-btn { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 12px; border: 0; color: #fff; background: linear-gradient(135deg, var(--dc-accent), var(--dc-accent-2)); box-shadow: 0 10px 24px rgba(74,144,226,.25); cursor: pointer; transition: transform .2s ease, filter .2s ease, box-shadow .2s ease; }
.search-icon-btn:hover { transform: translateY(-2px) scale(1.03); filter: brightness(1.06); box-shadow: 0 16px 36px rgba(74,144,226,.32); }
.search-icon-btn:active { transform: translateY(0) scale(.98); filter: brightness(.98); }
.search-icon-btn i { font-size: 1.15rem; }
.search-wrapper input { background: transparent; border: 0; outline: 0; color: #fff; font-size: 1.05rem; padding: 12px 0; }
.search-wrapper input::placeholder { color: rgba(255,255,255,.6); }
/* removed wide search button in favor of icon button */
.games-list-tile { padding: clamp(8px, 2vw, 16px) 0; }
.games-list { grid-template-columns: repeat(auto-fill, minmax(clamp(200px, 18vw, 280px), 1fr)); gap: clamp(16px, 2vw, 28px); }
.games-list .game-item { animation: gameCardEnter 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) backwards; transform-style: preserve-3d; }
@keyframes gameCardEnter { from { opacity: 0; transform: translateY(40px) scale(0.85) rotateX(15deg); filter: blur(8px); } to { opacity: 1; transform: translateY(0) scale(1) rotateX(0deg); filter: blur(0); } }
.game-item { border-radius: 18px; border: none !important; background: transparent !important; box-shadow: none !important; transition: transform .35s cubic-bezier(.34,1.56,.64,1), box-shadow .25s ease; }
.game-item::before { content: ""; position: absolute; inset: 0; border-radius: 18px; padding: 0; background: transparent !important; background-size: 0; -webkit-mask: none; mask: none; opacity: 0; transition: opacity .5s ease; z-index: 1; pointer-events: none; animation: none; }
.game-item:hover::before { opacity: 1; animation: gradientRotate 3s ease infinite; }
@keyframes gradientRotate { 0% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } 100% { background-position: 0% 50%; } }
.game-item:hover { transform: translateY(-10px) scale(1.03); box-shadow: none !important; border: none !important; }
.game-img-box { aspect-ratio: 1/1; border-radius: 14px 14px 0 0; background: linear-gradient(135deg, rgba(30,35,55,.9), rgba(20,24,43,.95)); position: relative; overflow: hidden; }
.game-img-box::before { content: ""; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(255,107,53,.22), transparent 35%, transparent 65%, rgba(74,144,226,.22)); opacity: 0; transition: opacity .35s ease; z-index: 2; mix-blend-mode: overlay; }
.@keyframes gradientSweep { 0% { transform: translateX(-100%); } 50% { transform: translateX(0); } 100% { transform: translateX(100%); } }
.game-item:hover .game-img-box::before { opacity: 1; }
.hot-game-img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; transition: transform .5s cubic-bezier(.34,1.56,.64,1), filter .35s ease; filter: brightness(.96) contrast(1.06); }
.game-item:hover .hot-game-img { transform: scale(1.12); filter: brightness(1.08) contrast(1.12) saturate(1.12); }
.game-label { top: 12px; left: 12px; display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 8px; font-size: .78rem; font-weight: 800; line-height: 1; z-index: 3; backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,.26); box-shadow: 0 2px 10px rgba(0,0,0,.25); }
.game-label.orange { background: linear-gradient(135deg, var(--dc-accent), #ff884f); color: #fff; }
.game-label.green { background: linear-gradient(135deg, #28dd7a, #00d567); color: #fff; }
.game-label.red { background: linear-gradient(135deg, #e94356, #cf142c); color: #fff; }
.game-label.blue { background: linear-gradient(135deg, #3166ff, #1b56ff); color: #fff; }
.game-label i.fa-fire { animation: flame-pulse 2s ease-in-out infinite; }
.game-label i.fa-star { animation: star-twinkle 3s ease-in-out infinite; }
@keyframes flame-pulse { 0% { transform: scale(1); filter: brightness(1); } 50% { transform: scale(1.1); filter: brightness(1.15); } 100% { transform: scale(1); filter: brightness(1); } }
@keyframes star-twinkle { 0% { opacity: .9; } 50% { opacity: 1; } 100% { opacity: .9; } }
.game-name { background: linear-gradient(180deg, rgba(26,31,53,.95), rgba(20,24,43,.98)); border-top: 1px solid rgba(255,255,255,.12); padding: 16px; min-height: 62px; display: flex; align-items: center; justify-content: center; }
.game-name-text { font-size: 1.08rem; font-weight: 800; color: rgba(var(--text-color), .92); text-shadow: 0 1px 2px rgba(0,0,0,.3); transition: color .2s ease, transform .2s ease; letter-spacing: .3px; }
.game-item:hover .game-name-text { color: var(--dc-accent); transform: translateY(-1px); }
.games-category-section { position: relative; }
.games-category-section::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(255,255,255,.03), transparent 60%); pointer-events: none; }
.category-title { display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px; border-radius: 12px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); }
.category-title i { color: var(--dc-accent-2); }
.light-theme .midasbuy-exact-page::before { background: radial-gradient(1200px 600px at 80% 10%, rgba(74,144,226,.12), transparent 60%), radial-gradient(900px 500px at 10% 30%, rgba(255,107,53,.1), transparent 55%); }
.light-theme .announcement-bar { background: linear-gradient(90deg, rgba(74,144,226,.06), rgba(255,107,53,.06)); }
.light-theme .search-wrapper { background: #fff; border-color: rgba(0,0,0,.1); box-shadow: 0 4px 14px rgba(0,0,0,.06); }
.light-theme .search-icon { color: rgba(0,0,0,.6); }
.light-theme .search-wrapper input { color: #222; }
.light-theme .game-item { background: linear-gradient(135deg, rgba(255,255,255,.98), rgba(250,252,255,.95)); border-color: rgba(0,0,0,.08); box-shadow: 0 8px 28px rgba(0,0,0,.12), 0 4px 16px rgba(0,0,0,.08), inset 0 1px 0 rgba(255,255,255,.82); }
.light-theme .game-name { background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(250,250,252,.95)); border-top-color: rgba(0,0,0,.08); }
.light-theme .game-name-text { color: #1a1f35; text-shadow: none; }
@media (max-width: 1024px) { .banner-slider { height: clamp(300px, 48vw, 440px); } .midasbuy-container { max-width: 1080px; } }
@media (max-width: 768px) { .games-list { grid-template-columns: repeat(3, 1fr); } .search-wrapper { grid-template-columns: auto 1fr; gap: 10px; } }
@media (max-width: 480px) { .banner-slider { height: clamp(240px, 56vw, 360px); } .game-name-text { font-size: 1rem; } .games-list { grid-template-columns: repeat(3, 1fr); } }

/* Mobile typography tightening */
@media (max-width: 768px) {
  .section-title { font-size: clamp(1.6rem, 5vw, 2rem); }
  .banner-main-text { font-size: clamp(1.4rem, 4.6vw, 2.2rem); }
  .banner-top-text { font-size: 1rem; }
  .banner-event-text { font-size: 0.9rem; }
}

@media (max-width: 480px) {
  .section-title { font-size: clamp(1.4rem, 5.2vw, 1.8rem); }
  .banner-main-text { font-size: clamp(1.2rem, 4.2vw, 1.8rem); }
  .banner-top-text { font-size: 0.95rem; }
  .banner-event-text { font-size: 0.85rem; }
  .game-name-text { font-size: 0.92rem; }
}