/* CSS Reset and Variable Tokens */

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

  body {
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }

  img, picture, video, canvas, svg {
    display: block;
    max-width: 100%;
    height: auto;
  }

  input, button, textarea, select {
    font: inherit;
  }

  a {
    text-decoration: none;
    color: inherit;
  }

  ul, ol {
    list-style: none;
  }



  :root {
    /* Design Tokens - Tier 1 & 2 */
    --color-primary: #0f62fe;
    --color-primary-dark: #0043ce;
    --color-primary-light: #e8f1ff;
    --color-accent: #20d4ff;
    --color-accent-dark: #008eb3;
    --color-bg-start: #f4f8fd;
    --color-bg-end: #e2edf9;
    --color-text-main: #1c2434;
    --color-text-muted: #64748b;
    --color-white: #ffffff;
    --color-warning: #ff3b30;
    
    /* UI Tokens - Tier 3 */
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-bg-subtle: rgba(255, 255, 255, 0.45);
    --glass-bg-heavy: rgba(255, 255, 255, 0.88);
    --glass-border: rgba(255, 255, 255, 0.55);
    --glass-border-subtle: rgba(255, 255, 255, 0.3);
    
    --shadow-soft: 0 8px 32px 0 rgba(15, 98, 254, 0.05);
    --shadow-heavy: 0 24px 64px 0 rgba(0, 0, 0, 0.08);
    --shadow-card-hover: 0 20px 40px 0 rgba(15, 98, 254, 0.1);
    
    --radius-xl: 32px;
    --radius-lg: 24px;
    --radius-md: 16px;
    --radius-sm: 12px;
    
    --font-sans: 'Outfit', 'Noto Sans SC', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  }

  html {
    scroll-behavior: smooth;
    font-size: 16px;
  }

  body {
    font-family: var(--font-sans);
    color: var(--color-text-main);
    background: linear-gradient(180deg, var(--color-bg-start) 0%, var(--color-bg-end) 100%);
    background-attachment: fixed;
    min-height: 100vh;
    overflow-x: hidden;
  }
  
  /* Scrollbar Customization */
  ::-webkit-scrollbar {
    width: 10px;
  }
  ::-webkit-scrollbar-track {
    background: var(--color-bg-start);
  }
  ::-webkit-scrollbar-thumb {
    background: rgba(15, 98, 254, 0.2);
    border-radius: 5px;
    border: 2px solid var(--color-bg-start);
  }
  ::-webkit-scrollbar-thumb:hover {
    background: rgba(15, 98, 254, 0.4);
  }



  /* Common Grid & Flex Utilities */
  .section-container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
  }

  .section-heading {
    font-size: clamp(1.75rem, 1.5rem + 1vw, 2.25rem);
    font-weight: 700;
    margin-bottom: 32px;
    color: var(--color-text-main);
    position: relative;
    padding-left: 16px;
    display: flex;
    align-items: center;
  }
  
  .section-heading::before {
    content: '';
    position: absolute;
    left: 0;
    top: 15%;
    height: 70%;
    width: 6px;
    background: linear-gradient(180deg, var(--color-primary) 0%, var(--color-accent) 100%);
    border-radius: 4px;
  }



  /* ------------------- HEADER ------------------- */
  .global-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 88px;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    z-index: 100;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.02);
  }

  .header-container {
    max-width: 1280px;
    height: 100%;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
  }

  /* Logo Area */
  .logo-area {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
  }

  .logo-icon {
    width: 44px;
    height: 44px;
    object-fit: contain;
    filter: drop-shadow(0 4px 8px rgba(15, 98, 254, 0.15));
    transition: transform 0.3s ease;
  }

  .logo-area:hover .logo-icon {
    transform: rotate(10deg) scale(1.05);
  }

  .logo-text {
    display: flex;
    flex-direction: column;
  }

  .brand-name {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--color-primary);
    letter-spacing: 0.5px;
    white-space: nowrap;
  }

  .brand-domain {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--color-text-muted);
    letter-spacing: 1px;
    margin-top: -2px;
  }

  /* Navigation */
  .main-nav ul {
    display: flex;
    align-items: center;
    gap: 4px;
    max-width: 100%;
    overflow-x: auto;
    scrollbar-width: none;
  }
  .main-nav ul::-webkit-scrollbar { display: none; }

  .nav-item {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-text-main);
    padding: 9px 10px;
    border-radius: var(--radius-sm);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    white-space: nowrap;
  }

  .nav-item:hover {
    background: rgba(15, 98, 254, 0.08);
    color: var(--color-primary);
  }

  .nav-item.active {
    background: var(--color-primary-light);
    color: var(--color-primary);
    font-weight: 600;
  }

  /* User Panel */
  .user-panel-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
  }

  .user-info-card {
    background: var(--color-white);
    border: 1px solid var(--glass-border);
    padding: 10px 18px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-soft);
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    min-width: 168px;
  }

  .user-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
  }

  .username {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--color-text-main);
    white-space: nowrap;
  }

  .vip-badge {
    flex-shrink: 0;
    font-size: 0.65rem;
    font-weight: 800;
    background: linear-gradient(90deg, #2f80ed 0%, var(--color-primary) 100%);
    color: var(--color-white);
    padding: 2px 9px;
    border-radius: 10px;
    letter-spacing: 0.5px;
    white-space: nowrap;
  }

  .balance-container {
    display: flex;
    align-items: center;
    gap: 6px;
  }

  .currency-symbol {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    border-radius: 50%;
    background: #26a17b;
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    line-height: 1;
  }

  .balance-amount {
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: 0.5px;
  }

  .toggle-visibility-btn {
    background: none;
    border: none;
    color: var(--color-text-muted);
    cursor: pointer;
    display: flex;
    align-items: center;
    padding: 2px;
    border-radius: 4px;
    transition: color 0.2s;
  }

  .toggle-visibility-btn:hover {
    color: var(--color-primary);
  }

  .eye-icon {
    width: 14px;
    height: 14px;
  }

  .quick-actions {
    display: flex;
    align-items: center;
    gap: 6px;
  }

  .action-btn {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 10px 12px;
    border-radius: var(--radius-md);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 4px;
    box-shadow: var(--shadow-soft);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--color-text-main);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    white-space: nowrap;
  }

  .action-btn:hover {
    background: var(--color-white);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(15, 98, 254, 0.08);
    border-color: rgba(15, 98, 254, 0.3);
  }

  .action-btn.primary {
    background: linear-gradient(135deg, #2f80ed 0%, var(--color-primary) 100%);
    border: none;
    color: var(--color-white);
  }

  .action-btn.primary:hover {
    background: linear-gradient(135deg, #3b8efc 0%, var(--color-primary-dark) 100%);
    box-shadow: 0 10px 25px rgba(15, 98, 254, 0.25);
  }

  .action-icon {
    width: 16px;
    height: 16px;
  }

  /* Intermediate Responsive scaling for Header */
  @media (max-width: 1300px) and (min-width: 769px) {
    .nav-item {
      font-size: 0.825rem;
      padding: 8px 10px;
    }
    .main-nav ul {
      gap: 2px;
    }
    .brand-name {
      font-size: 1.1rem;
    }
    .brand-domain {
      font-size: 0.7rem;
    }
    .user-info-card {
      min-width: 120px;
      padding: 6px 12px;
    }
    .action-btn {
      padding: 8px 10px;
      font-size: 0.75rem;
    }
  }

  /* ------------------- HERO SECTION ------------------- */
  .hero-section {
    padding-top: 148px;
    padding-bottom: 40px;
    position: relative;
    overflow: hidden;
  }

  .hero-container {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 48px;
    align-items: center;
  }

  .hero-content {
    z-index: 2;
  }

  .hero-title {
    font-size: clamp(2.5rem, 2rem + 2vw, 4rem);
    line-weight: 1.15;
    font-weight: 900;
    letter-spacing: -1px;
    color: var(--color-text-main);
    margin-bottom: 20px;
  }

  .hero-title .accent-text {
    background: linear-gradient(135deg, var(--color-primary) 30%, var(--color-accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
  }

  .hero-subtitle {
    font-size: clamp(1rem, 0.95rem + 0.3vw, 1.25rem);
    line-height: 1.6;
    color: var(--color-text-muted);
    margin-bottom: 40px;
    font-weight: 400;
  }

  .hero-buttons {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
  }

  .btn {
    border-radius: var(--radius-md);
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    border: none;
    text-decoration: none;
  }

  .btn-large {
    padding: 16px 32px;
    font-size: 1.05rem;
  }

  .btn-block {
    width: 100%;
    padding: 14px 24px;
    font-size: 1rem;
  }

  .btn-primary {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    color: var(--color-white);
    box-shadow: 0 12px 30px rgba(15, 98, 254, 0.25);
  }

  .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 35px rgba(15, 98, 254, 0.35);
  }

  .btn-secondary {
    background: var(--color-white);
    border: 1px solid var(--glass-border);
    color: var(--color-primary);
    box-shadow: var(--shadow-soft);
  }

  .btn-secondary:hover {
    background: var(--color-primary-light);
    transform: translateY(-3px);
    box-shadow: var(--shadow-card-hover);
    border-color: rgba(15, 98, 254, 0.2);
  }

  .hero-features {
    display: flex;
    gap: 32px;
  }

  .feat-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-text-main);
  }

  .feat-icon {
    width: 20px;
    height: 20px;
    color: var(--color-primary);
  }

  /* Hero Graphic */
  .hero-graphic {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .graphic-backdrop {
    position: absolute;
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, rgba(15, 98, 254, 0.15) 0%, rgba(32, 212, 255, 0.05) 50%, rgba(255, 255, 255, 0) 70%);
    z-index: 0;
    animation: pulse 8s infinite alternate ease-in-out;
  }

  .hero-img {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 480px;
    mix-blend-mode: multiply;
    animation: float 6s infinite ease-in-out;
  }

  /* Keyframe Animations */
  @keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
  }

  @keyframes pulse {
    0% { transform: scale(0.9); opacity: 0.7; }
    100% { transform: scale(1.1); opacity: 1; }
  }

  /* ------------------- NOTICE TICKER ------------------- */
  .notice-bar-section {
    padding: 12px 0;
  }

  .notice-bar-glass {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    padding: 14px 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: var(--shadow-soft);
  }

  .notice-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--color-primary);
    white-space: nowrap;
    flex-shrink: 0;
  }

  .notice-icon {
    width: 18px;
    height: 18px;
    animation: ring 2s infinite ease;
  }

  @keyframes ring {
    0%, 100% { transform: rotate(0); }
    10%, 30%, 50% { transform: rotate(10deg); }
    20%, 40% { transform: rotate(-10deg); }
    60% { transform: rotate(0); }
  }

  .notice-ticker-wrapper {
    overflow: hidden;
    width: 100%;
    position: relative;
  }

  .notice-ticker-content {
    display: inline-block;
    white-space: nowrap;
    padding-left: 100%;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-text-main);
    animation: marquee 25s linear infinite;
  }

  @keyframes marquee {
    0% { transform: translate3d(0, 0, 0); }
    100% { transform: translate3d(-100%, 0, 0); }
  }

  .notice-ticker-wrapper:hover .notice-ticker-content {
    animation-play-state: paused;
  }

  /* ------------------- GAME CATEGORIES GRID ------------------- */
  .game-categories-section {
    padding: 60px 0;
  }

  .categories-layout {
    display: grid;
    grid-template-columns: 4.2fr 5.8fr;
    gap: 24px;
    margin-bottom: 24px;
  }

  /* Category Card Styling */
  .category-card {
    position: relative;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    overflow: hidden;
    display: flex;
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  }

  .category-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-card-hover);
    border-color: rgba(15, 98, 254, 0.35);
  }

  .card-bg-glow {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 80% 20%, rgba(15, 98, 254, 0.08) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
  }

  .category-card:hover .card-bg-glow {
    opacity: 1;
  }

  /* Card Large specific */
  .card-large {
    flex-direction: column;
    justify-content: space-between;
    height: 480px;
  }

  .card-large .card-img-wrapper {
    width: 100%;
    height: 320px;
    overflow: hidden;
    position: relative;
  }

  .card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
  }

  .category-card:hover .card-img {
    transform: scale(1.05);
  }

  .card-info {
    padding: 24px 32px;
    z-index: 2;
  }

  .card-tag {
    position: absolute;
    top: 24px;
    right: 24px;
    background: var(--color-warning);
    color: var(--color-white);
    font-size: 0.75rem;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 20px;
    box-shadow: 0 4px 12px rgba(255, 59, 48, 0.2);
  }

  .card-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--color-text-main);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .card-title span {
    color: var(--color-primary);
    font-weight: 900;
    font-size: 1.7rem;
    line-height: 1;
  }

  .card-desc {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    font-weight: 500;
  }

  /* Right Stack */
  .right-stack {
    display: grid;
    grid-template-rows: 1fr 1fr;
    gap: 24px;
  }

  .card-horizontal {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    height: 228px;
  }

  .card-horizontal .card-info {
    width: 55%;
    padding: 32px;
  }

  .card-horizontal .card-img-wrapper {
    width: 45%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-right: 16px;
  }

  .card-horizontal .card-img {
    max-height: 90%;
    max-width: 90%;
    object-fit: contain;
  }

  /* Bottom Row Sub Categories */
  .bottom-categories-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }

  .sub-category-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: var(--shadow-soft);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  }

  .sub-category-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-card-hover);
    border-color: rgba(15, 98, 254, 0.3);
  }

  .sub-card-bg-glow {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 10% 10%, rgba(15, 98, 254, 0.05) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.3s ease;
  }

  .sub-category-card:hover .sub-card-bg-glow {
    opacity: 1;
  }

  .sub-card-icon-wrapper {
    width: 52px;
    height: 52px;
    background: var(--color-primary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    flex-shrink: 0;
    transition: all 0.3s ease;
  }

  .sub-category-card:hover .sub-card-icon-wrapper {
    background: var(--color-primary);
    color: var(--color-white);
    transform: scale(1.05);
  }

  .sub-card-icon {
    width: 24px;
    height: 24px;
  }

  .sub-card-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--color-text-main);
    margin-bottom: 2px;
  }

  .sub-card-desc {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    font-weight: 500;
  }

  /* ------------------- GAME LOBBY SECTION ------------------- */
  .game-lobby-section {
    padding: 60px 0 80px 0;
  }

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

  .lobby-header .section-heading {
    margin-bottom: 0;
  }

  .lobby-tabs {
    background: rgba(15, 98, 254, 0.05);
    border: 1px solid rgba(15, 98, 254, 0.1);
    padding: 6px;
    border-radius: var(--radius-md);
    display: flex;
    gap: 4px;
  }

  .lobby-tab-btn {
    background: none;
    border: none;
    padding: 10px 20px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--color-text-muted);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  }

  .lobby-tab-btn:hover {
    color: var(--color-primary);
  }

  .lobby-tab-btn.active {
    background: var(--color-white);
    color: var(--color-primary);
    box-shadow: 0 4px 15px rgba(15, 98, 254, 0.08);
  }

  .lobby-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 24px;
  }

  .lobby-item-card {
    position: relative;
    height: 180px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    box-shadow: var(--shadow-soft);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  }

  /* When filtered out, cards fade and scale away */
  .lobby-item-card.hidden {
    display: none;
  }

  .lobby-item-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.12);
  }

  .lobby-card-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    transition: transform 0.5s ease;
  }

  .lobby-item-card:hover .lobby-card-bg {
    transform: scale(1.08);
  }

  .lobby-card-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, 0.6) 100%);
  }

  /* 彩票图标卡：图片自带标题，去掉压暗遮罩 */
  .lobby-item-card--img .lobby-card-bg::after {
    display: none;
  }

  /* 优惠活动横幅卡 */
  .promo-img-card {
    display: block;
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(15, 98, 254, 0.06);
    transition: transform 0.2s, box-shadow 0.2s;
  }
  .promo-img-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(15, 98, 254, 0.16);
  }
  .promo-img-card img {
    width: 100%;
    height: auto;
    display: block;
  }

  .lobby-card-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--color-white);
    font-size: 0.7rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 6px;
    z-index: 2;
  }

  .lobby-game-title {
    color: var(--color-white);
    font-size: 1.25rem;
    font-weight: 800;
    z-index: 2;
    margin-bottom: 4px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
  }

  .lobby-game-type {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 2;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
  }

  .lobby-play-btn {
    position: absolute;
    bottom: 24px;
    right: 24px;
    background: var(--color-white);
    border: none;
    color: var(--color-primary);
    font-size: 0.8rem;
    font-weight: 700;
    padding: 8px 14px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    opacity: 0;
    transform: translateY(10px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    z-index: 2;
  }

  .lobby-item-card:hover .lobby-play-btn {
    opacity: 1;
    transform: translateY(0);
  }

  .lobby-play-btn:hover {
    background: var(--color-primary);
    color: var(--color-white);
  }

  /* ------------------- RECHARGE MODAL ------------------- */
  .recharge-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 30, 54, 0.25);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 200;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
  }

  .recharge-modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
  }

  .recharge-modal-glass {
    background: var(--glass-bg-heavy);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: var(--radius-xl);
    width: 620px;
    max-width: 95%;
    box-shadow: var(--shadow-heavy);
    position: relative;
    padding: 40px;
    transform: scale(0.95);
    transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  }

  .recharge-modal-overlay.active .recharge-modal-glass {
    transform: scale(1);
  }

  .modal-close-btn {
    position: absolute;
    top: 24px;
    right: 24px;
    background: var(--color-primary-light);
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    cursor: pointer;
    transition: all 0.2s;
  }

  .modal-close-btn:hover {
    background: var(--color-primary);
    color: var(--color-white);
  }

  .modal-close-btn svg {
    width: 18px;
    height: 18px;
  }

  .modal-header {
    margin-bottom: 28px;
  }

  .modal-title-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 6px;
  }

  .usdt-icon {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--color-white);
    background: #00c6ff;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
  }

  .modal-title-wrapper h3 {
    font-size: 1.35rem;
    font-weight: 800;
  }

  .modal-subtitle {
    font-size: 0.85rem;
    color: var(--color-text-muted);
  }

  .form-section {
    margin-bottom: 24px;
  }

  .form-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--color-text-main);
    margin-bottom: 10px;
  }

  .network-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .network-tab-btn {
    background: var(--glass-bg-subtle);
    border: 1px solid var(--glass-border-subtle);
    padding: 12px;
    border-radius: var(--radius-md);
    font-weight: 700;
    color: var(--color-text-muted);
    cursor: pointer;
    transition: all 0.3s;
  }

  .network-tab-btn:hover {
    border-color: rgba(15, 98, 254, 0.2);
    color: var(--color-primary);
  }

  .network-tab-btn.active {
    background: var(--color-primary-light);
    border-color: var(--color-primary);
    color: var(--color-primary);
  }

  /* QR Code Section */
  .qr-address-section {
    display: flex;
    gap: 24px;
    background: rgba(15, 98, 254, 0.03);
    border: 1px solid rgba(15, 98, 254, 0.08);
    border-radius: var(--radius-lg);
    padding: 24px;
    margin-bottom: 28px;
    align-items: center;
  }

  .qr-code-wrapper {
    width: 120px;
    height: 120px;
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    background: var(--color-white);
    padding: 8px;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    flex-shrink: 0;
  }

  .qr-code-svg {
    width: 100%;
    height: 100%;
  }

  .qr-scan-line {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent 10%, var(--color-primary) 50%, transparent 90%);
    box-shadow: 0 0 8px var(--color-primary);
    animation: scan 3s infinite linear;
  }

  @keyframes scan {
    0% { top: 0%; }
    50% { top: 100%; }
    100% { top: 0%; }
  }

  .address-details {
    flex-grow: 1;
  }

  .address-copy-container {
    display: flex;
    background: var(--color-white);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    padding: 4px;
    box-shadow: var(--shadow-soft);
    margin-bottom: 10px;
  }

  .address-input {
    border: none;
    background: none;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 8px 12px;
    width: 100%;
    color: var(--color-text-main);
    font-family: monospace;
    outline: none;
  }

  .copy-btn {
    background: var(--color-primary);
    border: none;
    color: var(--color-white);
    font-weight: 700;
    font-size: 0.8rem;
    padding: 0 16px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: background 0.2s;
  }

  .copy-btn:hover {
    background: var(--color-primary-dark);
  }

  .address-tip {
    font-size: 0.75rem;
    color: var(--color-text-muted);
    line-height: 1.4;
  }

  .warning-tag {
    color: var(--color-warning);
    font-weight: 700;
  }

  /* Form */
  .recharge-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }

  .form-row {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 16px;
  }

  .input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
  }

  .input-wrapper input, .form-field input[type="text"] {
    width: 100%;
    background: var(--color-white);
    border: 1px solid var(--glass-border);
    padding: 12px 16px;
    border-radius: var(--radius-md);
    outline: none;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--color-text-main);
    box-shadow: var(--shadow-soft);
    transition: border-color 0.2s;
  }

  .input-wrapper input:focus, .form-field input[type="text"]:focus {
    border-color: var(--color-primary);
  }

  .input-wrapper input {
    padding-right: 36px;
  }

  .input-suffix {
    position: absolute;
    right: 16px;
    font-weight: 700;
    color: #00c6ff;
  }

  .amount-presets {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 8px;
    margin-bottom: 8px;
  }

  .preset-btn {
    background: var(--color-white);
    border: 1px solid var(--glass-border);
    padding: 10px;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--color-text-main);
    cursor: pointer;
    box-shadow: var(--shadow-soft);
    transition: all 0.2s;
  }

  .preset-btn:hover {
    background: var(--color-primary-light);
    border-color: rgba(15, 98, 254, 0.2);
    color: var(--color-primary);
  }

  /* ------------------- FLOATING SIDEBAR ------------------- */
  .floating-sidebar {
    position: fixed;
    bottom: 40px;
    right: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 90;
  }

  .float-item {
    width: 54px;
    height: 54px;
    background: var(--glass-bg-heavy);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(0,0,0,0.06);
    position: relative;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  }

  .float-item:hover {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: var(--color-white);
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(15, 98, 254, 0.2);
  }

  .float-icon {
    width: 20px;
    height: 20px;
  }

  .float-text {
    font-size: 0.6rem;
    font-weight: 700;
    margin-top: 2px;
  }

  /* QR Code Popup on Float Sidebar */
  .qrcode-download .qrcode-popup-panel {
    position: absolute;
    bottom: 0;
    right: 66px;
    background: var(--color-white);
    border: 1px solid var(--glass-border);
    padding: 16px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-heavy);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    width: 140px;
    opacity: 0;
    pointer-events: none;
    transform: translateX(10px);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  }

  .qrcode-download:hover .qrcode-popup-panel {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(0);
  }

  .mini-qr {
    width: 108px;
    height: 108px;
  }

  .qrcode-popup-panel p {
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--color-text-main);
    text-align: center;
    white-space: nowrap;
  }

  /* Back to top visibility */
  .back-to-top-btn {
    opacity: 0;
    pointer-events: none;
    transform: scale(0.8);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  }

  .back-to-top-btn.visible {
    opacity: 1;
    pointer-events: auto;
    transform: scale(1);
  }

  /* ------------------- FOOTER ------------------- */
  .global-footer {
    background: #111827;
    color: var(--color-white);
    padding: 80px 0 40px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
  }

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

  .footer-top {
    display: grid;
    grid-template-columns: 1.2fr 1.8fr;
    gap: 60px;
    margin-bottom: 48px;
  }

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

  .footer-brand .logo-icon {
    width: 52px;
    height: 52px;
  }

  .text-white .brand-name {
    color: var(--color-white);
    font-size: 1.5rem;
  }

  .text-white .brand-domain {
    color: rgba(255, 255, 255, 0.6);
  }

  .brand-slogan {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.6;
  }

  .footer-links-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
  }

  .links-col h5 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: 0.5px;
  }

  .links-col ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  .links-col a {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.55);
    font-weight: 500;
    transition: color 0.2s;
  }

  .links-col a:hover {
    color: var(--color-primary);
  }

  .footer-divider {
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    margin-bottom: 32px;
  }

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

  .security-badges {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
  }

  .security-badges .badge {
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.7rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 6px;
  }

  .badge-payment {
    background: rgba(15, 98, 254, 0.15);
    color: #20d4ff;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 6px;
    border: 1px solid rgba(32, 212, 255, 0.2);
  }

  .copyright {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.4);
  }


/* ------------------- RESPONSIVE DESIGN (MEDIA QUERIES) ------------------- */
@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-features {
    justify-content: center;
  }

  .hero-img {
    max-width: 380px;
  }

  .categories-layout {
    grid-template-columns: 1fr;
  }

  .card-large {
    height: 420px;
  }

  .card-large .card-img-wrapper {
    height: 280px;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .header-container {
    justify-content: center;
    flex-direction: column;
    height: auto;
    padding: 16px 24px;
    gap: 16px;
  }

  .global-header {
    height: auto;
    position: relative;
  }

  .hero-section {
    padding-top: 40px;
  }

  .main-nav {
    overflow-x: auto;
    width: 100%;
    padding-bottom: 4px;
  }

  .main-nav ul {
    justify-content: flex-start;
  }

  .user-panel-wrapper {
    width: 100%;
    justify-content: space-between;
  }

  .card-horizontal {
    flex-direction: column;
    height: auto;
  }

  .card-horizontal .card-info {
    width: 100%;
  }

  .card-horizontal .card-img-wrapper {
    width: 100%;
    padding: 24px;
  }

  .bottom-categories-row {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }
}

/* --------------------------------------------------------------------------
   SDYL unified visual language (2026-07)
   Keep the desktop information architecture, but share the mobile app's
   midnight-blue surfaces, warm-gold accent and tighter card rhythm.
   -------------------------------------------------------------------------- */
:root {
  --color-primary: #d6ad4b;
  --color-primary-dark: #a87918;
  --color-primary-light: rgba(214, 173, 75, 0.14);
  --color-accent: #6f9dff;
  --color-accent-dark: #4779e8;
  --color-bg-start: #000b14;
  --color-bg-end: #061827;
  --color-text-main: #f7f3e8;
  --color-text-muted: #9eb2c8;
  --color-white: #0b2135;
  --glass-bg: rgba(11, 33, 53, 0.82);
  --glass-bg-subtle: rgba(11, 33, 53, 0.58);
  --glass-bg-heavy: rgba(11, 33, 53, 0.96);
  --glass-border: rgba(175, 198, 255, 0.14);
  --glass-border-subtle: rgba(175, 198, 255, 0.09);
  --shadow-soft: 0 12px 34px rgba(0, 0, 0, 0.26);
  --shadow-heavy: 0 24px 64px rgba(0, 0, 0, 0.42);
  --shadow-card-hover: 0 18px 42px rgba(0, 0, 0, 0.38), 0 0 0 1px rgba(214, 173, 75, 0.25);
  --radius-xl: 22px;
  --radius-lg: 18px;
  --radius-md: 14px;
  --radius-sm: 10px;
}

body {
  background:
    radial-gradient(circle at 80% 6%, rgba(70, 117, 201, 0.18), transparent 32rem),
    radial-gradient(circle at 10% 25%, rgba(214, 173, 75, 0.07), transparent 28rem),
    linear-gradient(180deg, #000b14 0%, #03111e 52%, #061827 100%);
}

::-webkit-scrollbar-track { background: #000b14; }
::-webkit-scrollbar-thumb {
  background: rgba(175, 198, 255, 0.2);
  border-color: #000b14;
}

.global-header {
  height: 80px;
  background: rgba(0, 11, 20, 0.86);
  border-bottom-color: rgba(175, 198, 255, 0.12);
  box-shadow: 0 10px 34px rgba(0, 0, 0, 0.3);
}

.brand-name { color: #fff1be; }
.brand-domain { color: #7890ab; }
.logo-icon {
  filter: drop-shadow(0 4px 12px rgba(214, 173, 75, 0.22));
}

.nav-item { color: #c1cddd; }
.nav-item:hover {
  color: #fff1be;
  background: rgba(214, 173, 75, 0.09);
}
.nav-item.active {
  color: #fff1be;
  background: rgba(214, 173, 75, 0.14);
  box-shadow: inset 0 0 0 1px rgba(214, 173, 75, 0.18);
}

.user-info-card,
.action-btn,
.pc-guest-entry {
  background: rgba(11, 33, 53, 0.84) !important;
  border: 1px solid rgba(175, 198, 255, 0.12) !important;
  color: #d1e4ff !important;
  box-shadow: none !important;
}
.action-btn.primary,
.pc-guest-entry {
  background: linear-gradient(135deg, #d6ad4b, #9d7018) !important;
  color: #07111d !important;
  border-color: rgba(255, 235, 174, 0.35) !important;
}
.vip-badge {
  color: #fff1be;
  background: rgba(214, 173, 75, 0.15);
  border: 1px solid rgba(214, 173, 75, 0.25);
}

.hero-section {
  padding-top: 132px;
  padding-bottom: 54px;
  background: transparent;
}
.hero-title {
  color: #f8fbff;
  letter-spacing: -0.035em;
}
.hero-title .accent-text {
  color: #fff1be;
  background: none;
  -webkit-text-fill-color: currentColor;
}
.hero-subtitle { color: #9eb2c8; }
.hero-graphic {
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(175, 198, 255, 0.13);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.38);
}
.hero-img {
  animation: none;
  mix-blend-mode: normal;
}
.graphic-backdrop {
  background: radial-gradient(circle, rgba(95, 139, 229, 0.2), transparent 68%);
}
.btn-primary {
  color: #08111c;
  background: linear-gradient(135deg, #f1cd72, #b88625);
  box-shadow: 0 12px 28px rgba(184, 134, 37, 0.22);
}
.btn-primary:hover { box-shadow: 0 16px 34px rgba(184, 134, 37, 0.32); }
.btn-secondary {
  color: #d1e4ff;
  background: rgba(11, 33, 53, 0.78);
  border-color: rgba(175, 198, 255, 0.15);
}
.btn-secondary:hover {
  color: #fff1be;
  background: rgba(18, 46, 72, 0.92);
  border-color: rgba(214, 173, 75, 0.28);
}
.feat-item { color: #b7c7d8; }
.feat-icon { color: #d6ad4b; }

.notice-bar-glass,
.category-card,
.sub-category-card,
.lobby-item-card {
  background: rgba(7, 23, 38, 0.9);
  border-color: rgba(175, 198, 255, 0.11);
  box-shadow: var(--shadow-soft);
}
.notice-title,
.notice-icon,
.card-title span,
.sub-card-icon,
.lobby-game-type { color: #d6ad4b; }
.notice-ticker-content,
.card-desc,
.sub-card-desc { color: #9eb2c8; }
.section-heading::before {
  width: 4px;
  background: linear-gradient(180deg, #f1cd72, #9d7018);
}
.category-card:hover,
.sub-category-card:hover,
.lobby-item-card:hover {
  border-color: rgba(214, 173, 75, 0.3);
  box-shadow: var(--shadow-card-hover);
}
.card-bg-glow,
.sub-card-bg-glow {
  background: radial-gradient(circle, rgba(214, 173, 75, 0.1), transparent 68%);
}
.sub-card-icon-wrapper {
  background: rgba(214, 173, 75, 0.1);
  border: 1px solid rgba(214, 173, 75, 0.17);
}
.lobby-tab-btn {
  color: #aebed0;
  background: rgba(11, 33, 53, 0.72);
  border-color: rgba(175, 198, 255, 0.1);
}
.lobby-tab-btn:hover,
.lobby-tab-btn.active {
  color: #fff1be;
  background: rgba(214, 173, 75, 0.13);
  border-color: rgba(214, 173, 75, 0.25);
}
.lobby-play-btn {
  color: #08111c;
  background: linear-gradient(135deg, #f1cd72, #b88625);
}

.global-footer {
  background: #000912;
  border-top: 1px solid rgba(175, 198, 255, 0.09);
}
.footer-divider { background: rgba(175, 198, 255, 0.1); }
.footer-description,
.footer-links a,
.footer-bottom { color: #8296ad; }
.footer-links a:hover { color: #fff1be; }

.float-action-btn {
  color: #d1e4ff;
  background: rgba(11, 33, 53, 0.94);
  border-color: rgba(175, 198, 255, 0.14);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.32);
}
.float-action-btn:hover {
  color: #fff1be;
  border-color: rgba(214, 173, 75, 0.28);
}

@media (max-width: 1300px) and (min-width: 769px) {
  .global-header { height: 72px; }
  .header-container { padding-inline: 18px; }
  .nav-item { padding: 8px 7px; }
  .hero-section { padding-top: 116px; }
}

/* =================== SUBPAGES STYLING =================== */

/* Live Casino Tables */
.table-card-glass {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.table-card-glass:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-card-hover);
  border-color: rgba(15, 98, 254, 0.25);
}

.table-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--glass-border-subtle);
  padding-bottom: 10px;
  margin-bottom: 16px;
}

.platform-badge {
  font-size: 0.7rem;
  font-weight: 800;
  color: white;
  padding: 2px 8px;
  border-radius: 6px;
  text-transform: uppercase;
}
.platform-badge.AG { background: linear-gradient(135deg, #ff4e50, #f9d423); }
.platform-badge.EVO { background: linear-gradient(135deg, #11998e, #38ef7d); }
.platform-badge.DG { background: linear-gradient(135deg, #00c6ff, #0072ff); }
.platform-badge.BG { background: linear-gradient(135deg, #f857a6, #ff5858); }

.table-name {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--color-text-main);
}

.table-body-layout {
  display: flex;
  gap: 16px;
  align-items: center;
}

.dealer-photo-wrapper {
  position: relative;
  width: 90px;
  height: 90px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--glass-border);
  flex-shrink: 0;
}

.mini-dealer-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.live-blink-badge {
  position: absolute;
  top: 4px;
  left: 4px;
  background: #ff3b30;
  color: white;
  font-size: 0.55rem;
  font-weight: 850;
  padding: 1px 4px;
  border-radius: 4px;
  animation: pulse 1s infinite alternate;
}

.dealer-name {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.5);
  color: white;
  font-size: 0.65rem;
  text-align: center;
  padding: 2px 0;
  font-weight: 600;
}

.table-stats {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.stat-row {
  font-size: 0.8rem;
  color: var(--color-text-muted);
}
.stat-row strong {
  color: var(--color-text-main);
}

.roadmap-preview {
  display: flex;
  gap: 4px;
  margin-top: 8px;
  flex-wrap: wrap;
}

.road-dot {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 0.65rem;
  font-weight: 750;
}
.road-dot.banker { background: #ff3b30; }
.road-dot.player { background: #0f62fe; }
.road-dot.tie { background: #38ef7d; }
.road-dot.dragon { background: #e65c00; }
.road-dot.tiger { background: #4b6cb7; }

.road-number {
  font-size: 0.7rem;
  font-weight: 800;
  padding: 1px 5px;
  border-radius: 4px;
  color: white;
}
.road-number.red { background: #ff3b30; }
.road-number.black { background: #1c2434; }
.road-number.zero { background: #38ef7d; }

.road-text {
  font-size: 0.65rem;
  font-weight: 700;
  padding: 1px 6px;
  border-radius: 4px;
  color: white;
}
.road-text.big { background: #ff9966; }
.road-text.small { background: #2c3e50; }
.road-text.triple { background: #ff5e62; }

/* Lottery Subpage components */
.lottery-menu-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.lottery-menu-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  transition: all 0.3s;
}

.lottery-menu-item:hover, .lottery-menu-item.active {
  background: var(--color-primary-light);
  border-color: rgba(15, 98, 254, 0.2);
}

.menu-bullet {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #ff3b30;
  color: white;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
}

.menu-info {
  display: flex;
  flex-direction: column;
}

.menu-info strong {
  font-size: 0.9rem;
  color: var(--color-text-main);
}

.countdown-span {
  font-size: 0.75rem;
  color: #ff3b30;
  font-weight: 700;
}

.num-ball-btn {
  background: var(--color-white);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: 10px 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  box-shadow: var(--shadow-soft);
  transition: all 0.2s cubic-bezier(0.25, 0.8, 0.25, 1);
  outline: none;
}

.num-ball-btn:hover {
  transform: translateY(-2px);
  border-color: rgba(15, 98, 254, 0.25);
  box-shadow: 0 4px 12px rgba(15, 98, 254, 0.08);
}

.num-ball-btn.selected {
  background: var(--color-primary-light) !important;
  border-color: var(--color-primary) !important;
  box-shadow: 0 4px 15px rgba(15, 98, 254, 0.12);
}

.num-circle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 850;
  font-size: 0.95rem;
}

.num-ball-btn.red .num-circle { background: #ff3b30; }
.num-ball-btn.blue .num-circle { background: #0f62fe; }
.num-ball-btn.green .num-circle { background: #38ef7d; }

.odds-label {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--color-text-muted);
}

.num-ball-btn.selected .odds-label {
  color: var(--color-primary);
}

.mini-ball {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  color: white;
  font-weight: 800;
  font-size: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.mini-ball.red { background: #ff3b30; }
.mini-ball.blue { background: #0f62fe; }
.mini-ball.green { background: #38ef7d; }

/* Sports Odds Buttons */
.odds-btn {
  background: var(--color-white);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  box-shadow: var(--shadow-soft);
  transition: all 0.2s cubic-bezier(0.25, 0.8, 0.25, 1);
  outline: none;
}

.odds-btn:hover {
  transform: translateY(-2px);
  border-color: rgba(15, 98, 254, 0.3);
}

.odds-btn.active {
  background: var(--color-primary-light) !important;
  border-color: var(--color-primary) !important;
  box-shadow: 0 4px 15px rgba(15, 98, 254, 0.12);
}

.odds-btn.active .odds-val {
  color: var(--color-primary);
}

.odds-val {
  font-weight: 800;
  color: #ff3b30;
  font-size: 1rem;
}

/* signin calendar day box styling */
.calendar-day-box {
  transition: all 0.2s ease;
}
.calendar-day-box.claimed {
  border:1px solid var(--color-primary) !important;
  background:var(--color-primary-light) !important;
  color: var(--color-primary) !important;
  position:relative;
}
.calendar-day-box.claimed::after {
  content: '✓';
  position:absolute;
  top:-2px;
  right:-2px;
  background:var(--color-primary);
  color:white;
  border-radius:50%;
  width:14px;
  height:14px;
  font-size:0.6rem;
  display:flex;
  align-items:center;
  justify-content:center;
}

/* Dashboard View Switcher styles */
.active-view {
  display: flex !important;
}

#logs-table th, #logs-table td {
  border-bottom: 1px dashed var(--glass-border-subtle);
  padding: 14px 12px;
}

/* VIP 子标签:对齐手机端,纯文字,选中蓝色加粗(无底色) */
.vip-subtabs { gap: 18px !important; padding: 4px 2px; }
.vip-subtab {
  padding: 6px 2px; border: none; background: none; cursor: pointer;
  font-size: 1rem; font-weight: 600; color: #6b7480; transition: color .15s;
}
.vip-subtab:hover { color: #1677ff; }
.vip-subtab.active { color: #1677ff; font-weight: 700; }
/* VIP返水 分类:浅色 pill */
.vip-cat {
  padding: 5px 14px; border: 1px solid var(--glass-border); background: #fff;
  border-radius: 999px; cursor: pointer; font-size: 0.82rem; font-weight: 600; color: #6b7480; transition: all .15s;
}
.vip-cat:hover { color: #1677ff; }
.vip-cat.active { background: #e8f1ff; color: #1677ff; border-color: #1677ff; }
.hy-vip-prog {
  position: relative;
  display: inline-block;
  width: 128px;
  height: 22px;
  border-radius: 999px;
  background: #e8ecf3;
  overflow: hidden;
  vertical-align: middle;
}
.hy-vip-prog-fill {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  min-width: 5px;
  background: linear-gradient(90deg, #5b8cff, #2a59e9);
  border-radius: 999px;
}
.hy-vip-prog-txt {
  position: relative;
  z-index: 1;
  display: block;
  line-height: 22px;
  text-align: center;
  font-size: 12px;
  color: #2b3340;
  font-weight: 700;
}

.pc-usdt-inline,
.pc-usdt-suffix {
  width: 18px;
  height: 18px;
  display: inline-block;
  vertical-align: -3px;
}

.pc-qr-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 14px;
}

.pc-game-frame-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: #06111f;
  display: grid;
  grid-template-rows: 54px minmax(0, 1fr);
}

.pc-game-frame-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 24px;
  background: #071827;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff;
}

.pc-game-frame-title {
  font-size: 0.95rem;
  font-weight: 700;
}

.pc-game-frame-back {
  height: 34px;
  padding: 0 16px;
  border: 0;
  border-radius: 10px;
  background: linear-gradient(135deg, #0f62fe, #20d4ff);
  color: #fff;
  font-weight: 750;
  cursor: pointer;
}

.pc-game-frame {
  width: 100%;
  height: 100%;
  border: 0;
  background: #000;
}

.pc-task-progress {
  margin: 12px 0 14px;
}

.pc-task-progress-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #64748b;
  font-size: 0.78rem;
  font-weight: 650;
  margin-bottom: 7px;
}

.pc-task-progress-bar {
  height: 8px;
  border-radius: 999px;
  overflow: hidden;
  background: #e7edf7;
}

.pc-task-progress-bar i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #0f62fe, #20d4ff);
}

.pc-task-progress-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 9px;
}

.pc-task-progress-steps span {
  min-width: 54px;
  padding: 4px 8px;
  border-radius: 999px;
  background: #f1f5fb;
  color: #8a94a6;
  font-size: 0.72rem;
  font-weight: 700;
  text-align: center;
}

.pc-task-progress-steps span.done {
  background: #e8f8ef;
  color: #18a058;
}

.pc-aff-range {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.pc-aff-range span {
  margin-right: auto;
  font-size: 0.95rem;
  font-weight: 800;
  color: #1c2434;
}

.pc-aff-range button {
  border: 1px solid #dbe3f0;
  border-radius: 999px;
  padding: 6px 13px;
  background: #fff;
  color: #64748b;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
}

.pc-aff-range button.on {
  border-color: #0f62fe;
  background: #e8f1ff;
  color: #0f62fe;
}

.pc-aff-winloss {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  padding: 12px 14px;
  border: 1px solid #e6edf7;
  border-radius: 14px;
  background: #f8fbff;
  color: #64748b;
  font-size: 0.9rem;
  font-weight: 700;
}

.pc-aff-winloss b {
  color: #0f62fe;
  font-size: 1rem;
}
