    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
      font-family: 'Varela Round', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
      -webkit-tap-highlight-color: transparent;
    }

body {
      background: url('bg.jpg') no-repeat center center fixed;
      background-size: cover;
      color: #fff;
      direction: rtl;
      padding: 0;
      min-height: 100vh;
      overflow-x: hidden;
      position: relative;
      touch-action: manipulation;
    }
    body::before {
      content: '';
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background:
      radial-gradient(circle at 20% 30%, rgba(0, 150, 255, 0.1) 0%, transparent 50%),
      radial-gradient(circle at 80% 70%, rgba(255, 0, 150, 0.1) 0%, transparent 50%),
      radial-gradient(circle at 40% 80%, rgba(0, 255, 150, 0.1) 0%, transparent 50%);
      z-index: -1;
      animation: backgroundShift 15s infinite alternate;
    }

    @keyframes backgroundShift {
      0% {
        transform: scale(1) rotate(0deg);
      }
      100% {
        transform: scale(1.1) rotate(1deg);
      }
    }

    .particles {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      pointer-events: none;
      z-index: -1;
    }

    .particle {
      position: absolute;
      width: 2px;
      height: 2px;
      background: rgba(255, 255, 255, 0.3);
      border-radius: 50%;
      animation: float 15s infinite linear;
    }

    @keyframes float {
      0% {
        transform: translateY(100vh) translateX(0);
        opacity: 0;
      }
      10% {
        opacity: 1;
      }
      90% {
        opacity: 1;
      }
      100% {
        transform: translateY(-100px) translateX(20px);
        opacity: 0;
      }
    }

    /* ========== بهینه‌سازی‌های موبایل ========== */
    @media (max-width: 768px) {
      .particle {
        width: 1px;
        height: 1px;
      }

      body::before {
        animation: none;
      }

      .menu-item {
        padding: 12px 0 !important;
      }
.timer {
    font-size: 86px !important;
}
      .card-cell {
        width: 35px !important;
        height: 35px !important;
        font-size: 25px !important;
      }
      .room {
        padding: 0px !important;
        border: none !important;
        background: transparent !important;
        box-shadow: none !important;
        margin: 0px !important;
      }
      
      .room-image {
        height: 120px !important;  /* بزرگتر برای موبایل */
        border-radius: 15px !important;
        margin-bottom: 15px !important;
      }

      .dice-scene {
        width: 200px !important;
        height: 200px !important;
      }

      .dice-face {
        font-size: 1rem !important;
      }
	     .face-1 {
        transform: rotateY(0deg) translateZ(100px) !important;
      }
      .face-2 {
        transform: rotateY(90deg) translateZ(100px) !important;
      }
      .face-3 {
        transform: rotateY(180deg) translateZ(100px) !important;
      }
      .face-4 {
        transform: rotateY(-90deg) translateZ(100px) !important;
      }
      .face-5 {
        transform: rotateX(90deg) translateZ(100px) !important;
      }
      .face-6 {
        transform: rotateX(-90deg) translateZ(100px) !important;
      }

      /* بهینه‌سازی کارت‌ها برای نمایش ۳ کارت در صفحه */
      .cards-container {
        gap: 5px !important;
        padding: 5px !important;
max-height: none !important;
     }

      .card, .user-card {
        width: 100% !important;
        min-width: auto !important;
        max-width: 360px !important;
        padding: 12px !important;
        margin-bottom: 6px !important;
        border-radius: 1px !important;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.7) !important;
      }

      .card-header {
        font-size: 16px !important;
        margin-top: 8px !important;
        margin-bottom: 8px !important;
        padding-bottom: 5px !important;
      }

      .card-player {
        font-size: 12px !important;
        padding: 4px 10px !important;
        top: -12px !important;
      }

      .card-number {
        font-size: 12px !important;
        padding: 3px 8px !important;
        top: -10px !important;
      }

      /* نمایش ۳ کارت در صفحه موبایل */
      .game-screen .cards-container {
        display: grid;
        grid-template-columns: 1fr;
        gap: 12px;
max-height: none !important;
  overflow-y: visible !important;
overflow-x: hidden !important;
padding: 10px 0 !important;
      }

      .game-screen .card,
      .game-screen .user-card {
        width: 100% !important;
        margin: 0 auto;
        transform: scale(0.95);
        transition: transform 0.3s ease;
      }

      .game-screen .card:hover,
      .game-screen .user-card:hover {
        transform: scale(1);
      }
    }

    @media (max-width: 480px) {
      .login-container, .register-container {
        padding: 20px !important;
        margin: 10px !important;
      }

      .menu-item {
        width: 48% !important;
        margin-bottom: 8px !important;
      }

      .header {
        padding: 10px !important;
      }

      .user-info {
        font-size: 18px !important;
        flex-direction: column;
        gap: 8px;
      }

      .card-cell {
        width: 30px !important;
        height: 30px !important;
        font-size: 20px !important;
      }
    }

    /* کاهش انیمیشن‌ها برای عملکرد بهتر */
    @media (prefers-reduced-motion: reduce) {
      * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
      }
    }

    /* ========== میکرواینترکشن‌ها ========== */
    .micro-interaction {
      transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .button-hover {
      transition: all 0.2s ease-in-out;
      position: relative;
      overflow: hidden;
    }

    .button-hover::before {
      content: '';
      position: absolute;
      top: 0;
      left: -100%;
      width: 100%;
      height: 100%;
      background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
      transition: left 0.5s;
    }

    .button-hover:hover::before {
      left: 100%;
    }

    .button-hover:hover {
      transform: translateY(-2px);
      box-shadow: 0 5px 15px rgba(0, 204, 255, 0.4);
    }

    .button-hover:active {
      transform: translateY(0) scale(0.98);
      box-shadow: 0 2px 5px rgba(0, 204, 255, 0.4);
      transition: all 0.1s;
    }

    .card-purchase-animation {
      animation: buyCard 0.5s ease-in-out;
    }

    @keyframes buyCard {
      0% {
        transform: scale(1);
      }
      50% {
        transform: scale(0.95) rotate(-3deg);
      }
      100% {
        transform: scale(1) rotate(0deg);
      }
    }

    .winner-animation {
      animation: winnerCelebrate 1s ease-in-out;
    }

    @keyframes winnerCelebrate {
      0% {
        transform: scale(1);
      }
      25% {
        transform: scale(1.1) rotate(5deg);
      }
      50% {
        transform: scale(1.05) rotate(-5deg);
      }
      75% {
        transform: scale(1.1) rotate(3deg);
      }
      100% {
        transform: scale(1);
      }
    }

    .pulse-glow {
      animation: pulseGlow 2s infinite;
    }

    @keyframes pulseGlow {
      0%, 100% {
        box-shadow: 0 0 5px rgba(0, 204, 255, 0.5);
      }
      50% {
        box-shadow: 0 0 20px rgba(0, 204, 255, 0.8);
      }
    }

    .shake-animation {
      animation: shake 0.5s ease-in-out;
    }

    @keyframes shake {
      0%, 100% {
        transform: translateX(0);
      }
      25% {
        transform: translateX(-5px);
      }
      75% {
        transform: translateX(5px);
      }
    }

    .fade-in-up {
      animation: fadeInUp 0.6s ease-out;
    }

    @keyframes fadeInUp {
      from {
        opacity: 0;
        transform: translateY(30px);
      }
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

    .number-called {
      animation: numberCalled 0.5s ease-in-out;
    }

    @keyframes numberCalled {
      0% {
        transform: scale(1);
      }
      50% {
        transform: scale(1.3);
        background: #ffcc00;
      }
      100% {
        transform: scale(1);
      }
    }

/* استایل‌های جدید برای سیستم فراخوانی اعداد */
    .card-cell.highlighted {
      background-color: #ffcc00 !important;
      color: #000 !important;
      animation: blink 0.5s ease-in-out 6 !important;
    }

    @keyframes blink {
      0%, 100% {
        opacity: 1;
        background-color: #ffcc00;
      }
      50% {
        opacity: 0.5;
        background-color: #ffaa00;
      }
    }

    .card-cell.removed {
      background: #f0f0f0;
      color: transparent !important;
    }

    .current-number.active {
      animation: pulse 1.5s infinite;
    }
    /* استایل‌های جدید برای صفحه پایان بازی */
    .celebration-container {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(10, 10, 40, 0.95);
      display: none;
      justify-content: center;
      align-items: center;
      z-index: 1000;
      flex-direction: column;
    }

    .celebration-container.active {
      display: flex;
    }

    .celebration-content {
      background: rgba(26, 26, 74, 0.95);
      border-radius: 20px;
      padding: 30px;
      text-align: center;
      border: 4px solid #00ccff;
      box-shadow: 0 0 40px rgba(0, 204, 255, 0.7);
      max-width: 90%;
      width: 400px;
    }

    .celebration-title {
      font-family: 'Rubik Bubbles', cursive;
      color: #00ffaa;
      font-size: 32px;
      margin-bottom: 20px;
      text-shadow: 2px 2px 0 #000;
    }

    .winner-list {
      margin: 20px 0;
      text-align: right;
    }

    .winner-item {
      background: rgba(0, 204, 255, 0.2);
      border-radius: 10px;
      padding: 15px;
      margin: 10px 0;
      border: 2px solid #00ccff;
    }

    .winner-name {
      font-size: 18px;
      font-weight: bold;
      color: #00ffaa;
      margin-bottom: 5px;
    }

    .winner-details {
      font-size: 14px;
      color: #cccccc;
    }

    .celebration-emojis {
      font-size: 60px;
      margin: 20px 0;
      animation: floatEmoji 3s infinite ease-in-out;
    }

    @keyframes floatEmoji {
      0%, 100% {
        transform: translateY(0) rotate(0deg);
      }
      25% {
        transform: translateY(-20px) rotate(10deg);
      }
      50% {
        transform: translateY(-10px) rotate(-10deg);
      }
      75% {
        transform: translateY(-15px) rotate(5deg);
      }
    }

    .emoji-rain {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      pointer-events: none;
      z-index: 999;
    }

    .falling-emoji {
      position: absolute;
      font-size: 24px;
      animation: fall linear forwards;
    }

    @keyframes fall {
      to {
        transform: translateY(100vh) rotate(360deg);
        opacity: 0;
      }
    }

    /* استایل‌های اصلی باقی مانده */
    .page-container {
      min-height: 100vh;
      overflow-y: auto;
      -webkit-overflow-scrolling: touch;
    }

    .page {
      display: none;
      min-height: 100%;
      flex-direction: column;
      padding-bottom: 20px;
    }

    .active {
      display: flex;
    }

    /* صفحه ورود */
    #login-page {
      justify-content: center;
      align-items: center;
    }

    .login-container {
      background: rgba(10, 10, 40, 0.95);
      border-radius: 20px;
      padding: 30px;
      width: 90%;
      max-width: 400px;
      border: 3px solid #00ccff;
      box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
      text-align: center;
    }

    .login-title {
      font-family: 'Rubik Bubbles', cursive;
      color: #00ccff;
      font-size: 28px;
      margin-bottom: 25px;
      text-shadow: 2px 2px 0 #000;
    }

    .form-group {
      margin-bottom: 20px;
      text-align: right;
      position: relative;
    }

    .form-group label {
      display: block;
      margin-bottom: 8px;
      font-size: 16px;
      color: #00ccff;
      font-family: 'Rubik Bubbles', cursive;
      text-shadow: 1px 1px 0 #000;
    }

    .form-group input {
      width: 100%;
      padding: 15px;
      border-radius: 10px;
      border: 2px solid #00ccff;
      background: #000;
      color: #00ffaa;
      font-size: 16px;
      text-align: center;
      font-family: 'Varela Round', sans-serif;
      box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.5);
    }

    .password-toggle {
      position: absolute;
      left: 10px;
      top: 50%;
      transform: translateY(-50%);
      background: none;
      border: none;
      color: #00ccff;
      font-size: 18px;
      cursor: pointer;
      padding: 5px;
    }

    .login-btn {
      background: linear-gradient(to right, #00cc66, #00994d);
      color: white;
      border: none;
      padding: 15px 20px;
      border-radius: 10px;
      font-size: 18px;
      cursor: pointer;
      display: block;
      width: 100%;
      margin-top: 15px;
      font-weight: bold;
      font-family: 'Rubik Bubbles', cursive;
      text-shadow: 1px 1px 0 #000;
      border: 2px solid #000;
      box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
    }

    .register-link {
      margin-top: 20px;
      color: #00ccff;
      font-size: 16px;
    }

    .register-link a {
      color: #00ffaa;
      text-decoration: none;
      font-weight: bold;
    }

    /* صفحه ثبت نام */
    #register-page {
      justify-content: center;
      align-items: center;
    }

    .register-container {
      background: rgba(10, 10, 40, 0.95);
      border-radius: 20px;
      padding: 30px;
      width: 90%;
      max-width: 400px;
      border: 3px solid #00ccff;
      box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
      text-align: center;
    }

    .register-title {
      font-family: 'Rubik Bubbles', cursive;
      color: #00ccff;
      font-size: 28px;
      margin-bottom: 25px;
      text-shadow: 2px 2px 0 #000;
    }

    .register-btn {
      background: linear-gradient(to right, #00cc66, #00994d);
      color: white;
      border: none;
      padding: 15px 20px;
      border-radius: 10px;
      font-size: 18px;
      cursor: pointer;
      display: block;
      width: 100%;
      margin-top: 15px;
      font-weight: bold;
      font-family: 'Rubik Bubbles', cursive;
      text-shadow: 1px 1px 0 #000;
      border: 2px solid #000;
      box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
    }

    .back-to-login {
      margin-top: 20px;
      color: #00ccff;
      font-size: 16px;
    }

    .back-to-login a {
      color: #00ffaa;
      text-decoration: none;
      font-weight: bold;
    }

    /* صفحه اصلی - طراحی جدید */
    #main-page {
      justify-content: space-between;
    }

    .header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 15px;
      border-bottom: 4px solid #00ccff;
      margin-bottom: 15px;
      background: rgba(10, 10, 40, 0.8);
      border-radius: 15px;
      box-shadow: 0 0 20px rgba(0, 204, 255, 0.5);
      backdrop-filter: blur(10px);
    }

    .profile-section {
      display: flex;
      align-items: center;
      gap: 10px;
      cursor: pointer;
    }

    .profile-sticker {
      width: 50px;
      height: 50px;
      background: linear-gradient(135deg, #00ccff, #0099cc);
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 24px;
      border: 2px solid #00ffaa;
      box-shadow: 0 0 10px rgba(0, 204, 255, 0.7);
    }

    .profile-name {
      color: #00ffaa;
      font-weight: bold;
      font-size: 16px;
font-family: 'Segoe UI', 'Tahoma', 'Rubik Bubbles', cursive;
letter-spacing: 0.8px;
    }

    .balance-section {
      display: flex;
      align-items: center;
      gap: 10px;
      cursor: pointer;
    }

    .balance-sticker {
      width: 50px;
      height: 50px;
      background: linear-gradient(135deg, #ffcc00, #ff9900);
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 24px;
      border: 2px solid #ffcc00;
      box-shadow: 0 0 10px rgba(255, 204, 0, 0.7);
    }

    .balance {
      position: relative;
      color: #00ffaa;
      font-weight: bold;
      font-size: 18px;
      font-family: 'Rubik Bubbles', cursive;
      animation: bounce 2s infinite;
    }

    @keyframes bounce {
      0%, 100% {
        transform: translateY(0);
      }
      50% {
        transform: translateY(-3px);
      }
    }

    .main-menu {
      display: flex;
      flex-direction: column;
      gap: 15px;
      margin-bottom: 15px;
    }

    .main-menu-item {
      width: 100%;
      text-align: center;
      padding: 20px 0;
      border: 3px solid #00ccff;
      border-radius: 15px;
      cursor: pointer;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      font-size: 18px;
      background: linear-gradient(145deg, #1a1a4a, #0a0a2a);
      box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
      font-family: 'Rubik Bubbles', cursive;
      color: #00ccff;
      text-shadow: 1px 1px 0 #000;
      position: relative;
      overflow: hidden;
    }

    .main-menu-item.start-game {
      background: linear-gradient(to right, #00cc66, #00994d);
      color: white;
      border: 3px solid #00ffaa;
      font-size: 20px;
    }

    .menu-item i {
      font-size: 30px;
      margin-bottom: 10px;
      color: #00ccff;
      text-shadow: 2px 2px 0 #000;
    }

    .main-menu-item.start-game i {
      color: white;
    }

    .sub-menu {
      display: flex;
      flex-wrap: wrap;
      justify-content: space-between;
      gap: 10px;
    }

    .menu-item {
      width: 48%;
      text-align: center;
      padding: 15px 0;
      border: 3px solid #00ccff;
      border-radius: 15px;
      cursor: pointer;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      font-size: 16px;
      background: linear-gradient(145deg, #1a1a4a, #0a0a2a);
      box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
      font-family: 'Rubik Bubbles', cursive;
      color: #00ccff;
      text-shadow: 1px 1px 0 #000;
      position: relative;
      overflow: hidden;
    }

    .support {
      text-align: center;
      font-size: 14px;
      margin-top: auto;
      padding-top: 15px;
      border-top: 2px solid #00ccff;
      background: rgba(10, 10, 40, 0.8);
      border-radius: 15px;
      padding: 15px;
      color: #00ccff;
      font-family: 'Rubik Bubbles', cursive;
    }

    /* صفحه گزارش مالی */
    #financial-reports {
      padding: 15px;
    }

    .reports-header {
      display: flex;
      justify-content: space-between;
      margin-bottom: 20px;
      background: rgba(10, 10, 40, 0.8);
      border-radius: 15px;
      padding: 15px;
      border: 3px solid #00ccff;
      box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
    }

    .report-section {
      background: rgba(26, 26, 74, 0.9);
      border-radius: 15px;
      padding: 20px;
      margin: 20px 0;
      border: 3px solid #00ccff;
      box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
    }

    .report-tabs {
      display: flex;
      margin-bottom: 15px;
      border-bottom: 2px solid #00ccff;
    }

    .report-tab {
      padding: 10px 20px;
      cursor: pointer;
      font-family: 'Rubik Bubbles', cursive;
      color: #00ccff;
      border-bottom: 3px solid transparent;
    }

    .report-tab.active {
      border-bottom: 3px solid #00ccff;
      background: rgba(0, 204, 255, 0.1);
    }

    .report-content {
      display: none;
      max-height: 400px;
      overflow-y: auto;
    }

    .report-content.active {
      display: block;
    }

    .report-item {
      padding: 15px;
      border-bottom: 1px solid #555;
      display: flex;
      justify-content: space-between;
      align-items: center;
      font-family: 'Varela Round', sans-serif;
    }

    .report-item:last-child {
      border-bottom: none;
    }

    .report-details {
      display: flex;
      flex-direction: column;
    }

    .report-player {
      font-weight: bold;
      color: #00ccff;
      margin-bottom: 5px;
    }

    .report-date {
      font-size: 12px;
      color: #aaa;
    }

    .report-amount {
      font-weight: bold;
      font-size: 18px;
    }

    .report-amount.positive {
      color: #00ffaa;
    }

    .report-amount.negative {
      color: #ff3333;
    }

    .report-type {
      font-size: 12px;
      color: #aaa;
      margin-top: 5px;
    }

    .back-btn {
      position: absolute;
      left: 10px;
      top: 10px;
      color: #00ccff;
      font-size: 24px;
      cursor: pointer;
      z-index: 10;
      background: rgba(10, 10, 40, 0.9);
      width: 40px;
      height: 40px;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      border: 2px solid #00ccff;
      box-shadow: 0 0 10px rgba(0, 204, 255, 0.7);
    }

    .room-selection {
      display: flex;
      flex-direction: column;
      gap: 15px;
      margin: 20px 0;
    }

    .room {
      width: 100%;
      background: linear-gradient(145deg, #1a1a4a, #0a0a2a);
      border-radius: 20px;
      padding: 25px;
      text-align: center;
      cursor: pointer;
      position: relative;
      overflow: hidden;
      box-shadow: 0 8px 16px rgba(0, 0, 0, 0.5);
      border: 4px solid #00ccff;
      font-family: 'Rubik Bubbles', cursive;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      min-height: 180px;
    }

    .room::before {
      content: '';
      position: absolute;
      top: -10px;
      left: -10px;
      right: -10px;
      bottom: -10px;
      background: linear-gradient(45deg, #0099cc, #00ccff, #00ccff, #0099cc);
      z-index: -1;
      filter: blur(20px);
      opacity: 0.7;
    }

.room-image {
  width: 100% !important;
  height: 120px !important;
  object-fit: cover !important;
  margin-bottom: 20px !important;
  border-radius: 2px !important;
  border: none !important;
  background: transparent !important;
  padding: 0 !important;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5) !important;
  transition: transform 0.3s ease !important;
}

.room:hover .room-image {
  transform: scale(1.03) !important;
  box-shadow: 0 20px 50px rgba(0, 204, 255, 0.3) !important;
}

.room-price {
  font-size: 18px !important;    /* ★ بزرگتر ★ */
  font-weight: bold;
  color: #00ffaa !important;     /* ★ رنگ سبز ★ */
  margin-bottom: 15px !important;
  text-shadow: 3px 3px 0 #000 !important;
  animation: glow 2s infinite;
}

/* ★★ فاصله بین اتاق‌ها ★★ */
.room-selection {
  display: flex;
  flex-direction: column;
  gap: 10px !important;
  margin: 10px 0 !important;
  padding: 0 10px !important;
}

/* ★★ عنوان اتاق ★★ */
.room > div:not(.room-price):not(.room-image) {
  font-size: 24px !important;
  color: #ffffff !important;
  font-weight: bold !important;
  margin-top: 10px !important;
  text-shadow: 2px 2px 4px #000000 !important;
  background: rgba(0, 204, 255, 0.2) !important;
  padding: 10px 20px !important;
  border-radius: 12px !important;
  display: inline-block !important;
}

/* ★★ ظاهر اتاق ★★ */
.room {
  transition: all 0.3s ease !important;
  padding: 15px !important;
  background: rgba(10, 10, 40, 0.3) !important;
  border-radius: 50px !important;
  border: 2px solid transparent !important;
}

.room:hover {
  background: rgba(0, 204, 255, 0.1) !important;
  border: 2px solid #00ccff !important;
  transform: translateY(-5px) !important;
}

    @keyframes glow {
      0%, 100% {
        text-shadow: 2px 2px 0 #000, 0 0 10px #00ccff;
      }
      50% {
        text-shadow: 2px 2px 0 #000, 0 0 20px #00ccff, 0 0 30px #0099cc;
      }
    }

    .purchase-screen {
      padding: 15px;
    }

    .purchase-header {
      display: flex;
      justify-content: space-between;
      margin-bottom: 20px;
      background: rgba(10, 10, 40, 0.8);
      border-radius: 15px;
      padding: 15px;
      border: 3px solid #00ccff;
      box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
    }

    .purchase-info {
      text-align: center;
      font-size: 18px;
      color: #00ccff;
      font-family: 'Rubik Bubbles', cursive;
      text-shadow: 1px 1px 0 #000;
margin-bottom: 5px;    
}

    .cards-sold-info {
      text-align: center;
      font-size: 16px;
      color: #00ffaa;
      font-family: 'Rubik Bubbles', cursive;
      margin: 5px 0;
      background: rgba(0, 204, 255, 0.2);
      padding: 10px;
      border-radius: 10px;
      border: 2px solid #00ccff;
    }

    .timer {
      text-align: center;
      font-size: 86px;
      margin: 5px 0;
      color: #ff3333;
      font-weight: bold;
      text-shadow: 2px 2px 0 #000;
      font-family: 'Rubik Bubbles', cursive;
      animation: pulse 1s infinite;
    }

    .purchase-section {
      background: rgba(26, 26, 74, 0.9);
      border-radius: 15px;
      padding: 20px;
      margin: 20px 0;
      border: 3px solid #00ccff;
      box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
      text-align: center;
    }

    .card-selection {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 15px;
      margin: 20px 0;
    }

    .card-control {
      background: #00ccff;
      color: #000;
      border: none;
      width: 40px;
      height: 40px;
      border-radius: 50%;
      font-size: 20px;
      font-weight: bold;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .card-control:disabled {
      background: #666;
      cursor: not-allowed;
    }

    .card-count {
      font-size: 24px;
      font-weight: bold;
      color: #00ffaa;
      min-width: 40px;
      text-align: center;
    }

    .total-price {
      font-size: 20px;
      margin: 15px 0;
      color: #00ffaa;
    }

    .purchase-btn {
      background: linear-gradient(to right, #00cc66, #00994d);
      color: white;
      border: none;
      padding: 18px 20px;
      border-radius: 12px;
      font-size: 20px;
      cursor: pointer;
      display: block;
      width: 100%;
      margin-top: 15px;
      font-weight: bold;
      box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
      font-family: 'Rubik Bubbles', cursive;
      text-shadow: 1px 1px 0 #000;
      border: 2px solid #000;
    }

    .purchase-btn:disabled {
      background: #666666;
      cursor: not-allowed;
    }

    .players-list {
      margin-top: 10px;
      max-height: 200px;
      overflow-y: auto;
background: #f5f5f5;
      border-radius: 15px;
padding: 8px 15px;
border: 3px solid #cccccc;
      box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
    }

    .player-item {
padding: 6px 16px;
border-bottom: 1px solid #dddddd;
      display: flex;
      justify-content: space-between;
      font-family: 'Varela Round', sans-serif;
color: #333333;
border: none !important;
background: transparent !important;
border-radius: 0 !important;
    }

    .player-item:last-child {
      border-bottom: none;
    }

    .game-screen {
      padding: 15px;
min-height: calc(100vh - 100px);
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  width: 100%;
    }

    .game-header {
      display: flex;
      justify-content: space-between;
      margin-bottom: 20px;
      background: rgba(10, 10, 40, 0.8);
      border-radius: 15px;
      padding: 15px;
      border: 3px solid #00ccff;
      box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
    }

    .game-info-panel {
      position: sticky;
      top: 0;
      z-index: 100;
      background: rgba(10, 10, 40, 0.95);
      border-radius: 10px;
      padding: 10px;
      margin-bottom: 10px;
      border: 2px solid #00ccff;
      box-shadow: 0 3px 10px rgba(0, 0, 0, 0.7);
      backdrop-filter: blur(10px);
    }

    .prize-display {
      display: flex;
      justify-content: space-between;
      margin: 5px 0;
      padding: 10px;
      background: rgba(0, 204, 255, 0.2);
      border-radius: 8px;
      border: 1px solid #00ccff;
    }

    .prize-item {
      text-align: center;
      width: 45%;
    }

    .prize-label {
      font-size: 12px;
      margin-bottom: 3px;
      color: #cccccc;
      font-family: 'Rubik Bubbles', cursive;
    }

    .prize-amount {
      font-size: 14px;
      font-weight: bold;
      color: #00ccff;
      font-family: 'Rubik Bubbles', cursive;
      text-shadow: 1px 1px 0 #000;
    }

    .prize-winner {
      font-size: 10px;
      color: #2ecc71;
      margin-top: 3px;
      min-height: 15px;
      font-family: 'Varela Round', sans-serif;
      font-weight: bold;
    }

    .current-number-container {
      display: flex;
      justify-content: center;
      margin: 5px 0;
      align-items: center;
      flex-direction: column;
    }

    .current-number {
      width: 50px;
      height: 50px;
      border-radius: 50%;
      background: linear-gradient(to right, #00ccff, #0099cc);
      color: #000;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 20px;
      font-weight: bold;
      animation: pulse 1.5s infinite;
      box-shadow: 0 0 15px rgba(0, 204, 255, 0.8);
      border: 2px solid #000;
      font-family: 'Rubik Bubbles', cursive;
    }

    .sound-toggle-game {
      margin-top: 5px;
      background: transparent;
      border: 2px solid #00ccff;
      border-radius: 50%;
      width: 30px;
      height: 30px;
      color: #00ccff;
      font-size: 14px;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: all 0.3s ease;
    }

    .sound-toggle-game:hover {
      background: rgba(0, 204, 255, 0.1);
      transform: scale(1.1);
    }

    .sound-toggle-game.muted {
      color: #ff3333;
      border-color: #ff3333;
    }

    .called-numbers {
      display: none;
    }

    .cards-container {
      display: flex;
      flex-wrap: wrap;
      gap: 15px;
      justify-content: center;
      margin-top: 20px;
      max-height: 400px;
      overflow-y: auto;
    }
    .user-card {
      border-radius: 0px;
      border: 2px solid #00ffaa;
      position: relative;
      min-height: var(--card-height);
      width: 100%;
      max-width: 360px;
      margin: 0 auto 10px auto;
      background: linear-gradient(135deg, #ffffff, #f0fff0);
      box-shadow: 0 2px 12px rgba(0, 255, 170, 0.3);
    }

    .card {
      background: #ffffff;
      border-radius: 0px;
      padding: 12px;
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
      border: 2px solid #4a90e2;
      position: relative;
      min-height: var(--card-height);
      width: 100%;
      max-width: 360px;
      margin: 0 auto 10px auto;
    }

    .card-number {
      position: absolute;
      top: -12px;
      left: 10px;
      background: #ff3366;
      color: #fff;
      padding: 3px 10px;
      border-radius: 15px;
      font-size: 12px;
      font-weight: bold;
      font-family: 'Rubik Bubbles', cursive;
      border: 2px solid #000;
      z-index: 2;
    }

    .card-player {
      position: absolute;
      top: -15px;
      right: 10px;
      background: #00ccff;
      color: #000;
      padding: 5px 15px;
      border-radius: 20px;
      font-size: 14px;
      font-weight: bold;
font-family: 'Inter', 'Rubik Bubbles', cursive;
letter-spacing: 0.5px;
      border: 2px solid #000;
    }

    .user-card .card-player {
      background: #00ffaa;
    }

    .card-header {
      text-align: center;
      font-weight: bold;
      margin-bottom: 10px;
      color: #000;
      border-bottom: 2px solid #00ccff;
      padding-bottom: 5px;
      margin-top: 10px;
      font-family: 'Rubik Bubbles', cursive;
    }

    .user-card .card-header {
      border-bottom: 2px solid #00ffaa;
    }

    .card-row {
      display: flex;
      justify-content: space-between;
      margin-bottom: 5px;
    }
    .card-row {
      display: contents;
    }

    .charge-options {
      display: flex;
      flex-direction: column;
      gap: 15px;
      margin: 20px 0;
    }

    .charge-option {
      width: 100%;
      background: rgba(10, 10, 40, 0.8);
      border: 3px solid #00ccff;
      border-radius: 15px;
      padding: 20px;
      text-align: center;
      cursor: pointer;
      box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
      font-family: 'Rubik Bubbles', cursive;
    }

    /* ======== طراحی جدید کارت‌ها ======== */
:root {
      --card-height: 140px;
      --cell-height: 36px;
      --cell-width: 36px;
      --font-size: 15px;
      --card-padding: 8px;
      --grid-gap: 2px;
    }

    .card, .user-card {
      background: #f5f5f5;
      border-radius: 13px;
      padding: var(--card-padding);
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
      border: 2px solid #4a90e2;
      position: relative;
      min-height: var(--card-height);
      width: 100%;
      max-width: 360px;
      margin: 0 auto 10px auto;
    }

    .user-card {
      border-color: #00ffaa;
      background: linear-gradient(135deg, #ffffff, #f0fff0);
      box-shadow: 0 2px 12px rgba(0, 255, 170, 0.3);
    }

    .card-number {
      position: absolute;
      top: -8px;
      left: 8px;
      background: #ff4444;
      color: #fff;
      padding: 2px 8px;
      border-radius: 10px;
      font-size: 10px;
      font-weight: bold;
      border: 1px solid #000;
      z-index: 3;
    }

    .card-player {
      position: absolute;
      top: -8px;
      right: 8px;
      background: #00ccff;
      color: #000;
      padding: 2px 10px;
      border-radius: 10px;
      font-size: 10px;
      font-weight: bold;
      border: 1px solid #000;
      z-index: 3;
    }

    .user-card .card-player {
      background: #00ffaa;
    }

    .card-header {
      display: none;
    }

.card-grid {
  display: grid;
  grid-template-columns: repeat(9, 1fr);
  grid-template-rows: repeat(3, auto);
gap: 1px;
  justify-content: center;
  margin-top: 8px;
  width: 100%;
}
.card-cell {
      background: #ffffff;
      display: flex;
      align-items: center;
      justify-content: center;
font-size: clamp(14px, 4vw, 18px);
      font-weight: 1000;
      font-family: 'Arial', sans-serif;
      color: #000;
      border-radius: 8px;
      position: relative;
      min-height: 33px;
      min-width: 33px;
      border: 1px solid #000;
      width: 100%;
      aspect-ratio: 1 / 1;
    }
    .card-cell.empty {
      background: #ffffff;
      border: 1px solid #000;
    }

    .card-cell.highlighted {
      background: #ffeb3b !important;
      color: #000 !important;
      box-shadow: 0 0 8px rgba(255, 235, 59, 0.8);
      z-index: 2;
      transform: scale(1.08);
      border: 1px solid #ffc107;
    }

    .card-cell.removed {
      background: #ffffff !important;
      color: transparent !important;
      border: 1px solid #000 !important;
    }

    .card-cell.removed::after {
      content: '' !important;
      display: none !important;
    }



    .charge-options {
      display: flex;
      flex-direction: column;
      gap: 15px;
      margin: 20px 0;
    }

    .charge-option {
      width: 100%;
      background: rgba(10, 10, 40, 0.8);
      border: 3px solid #00ccff;
      border-radius: 15px;
      padding: 20px;
      text-align: center;
      cursor: pointer;
      box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
      font-family: 'Rubik Bubbles', cursive;
    }

    .charge-amount {
      font-size: 24px;
      font-weight: bold;
      margin: 10px 0;
      color: #00ccff;
      text-shadow: 1px 1px 0 #000;
    }

    .custom-amount {
      background: rgba(26, 26, 74, 0.9);
      border-radius: 15px;
      padding: 20px;
      margin: 20px 0;
      text-align: center;
      border: 3px solid #00ccff;
      box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
    }

    .custom-amount h3 {
      margin-bottom: 15px;
      font-size: 20px;
      color: #00ccff;
      font-family: 'Rubik Bubbles', cursive;
      text-shadow: 1px 1px 0 #000;
    }

    .custom-amount input {
      width: 100%;
      padding: 15px;
      margin: 10px 0;
      border-radius: 10px;
      border: 2px solid #00ccff;
      background: #000;
      color: #00ffaa;
      text-align: center;
      font-size: 18px;
      font-family: 'Varela Round', sans-serif;
      box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.5);
    }

    .gateway-btn {
      background: linear-gradient(to right, #3366ff, #0044cc);
      color: white;
      border: none;
      padding: 15px 20px;
      border-radius: 10px;
      font-size: 18px;
      cursor: pointer;
      display: block;
      width: 100%;
      margin-top: 15px;
      font-weight: bold;
      font-family: 'Rubik Bubbles', cursive;
      text-shadow: 1px 1px 0 #000;
      border: 2px solid #000;
      box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
    }

    .withdrawal-info-text {
background: rgba(10, 10, 40, 0.9);
      border-radius: 15px;
      padding: 15px;
      margin: 15px 0;
      font-size: 14px;
      line-height: 1.6;
      border: 2px solid #00ccff;
      color: #cccccc;
      font-family: 'Varela Round', sans-serif;
      text-align: center;
    }

    .withdrawal-form {
      background: rgba(26, 26, 74, 0.9);
      border-radius: 15px;
      padding: 20px;
      margin: 20px 0;
      border: 3px solid #00ccff;
      box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
    }

    .withdrawal-btn {
      background: linear-gradient(to right, #00cc66, #00994d);
      color: white;
      border: none;
      padding: 15px 20px;
      border-radius: 10px;
      font-size: 18px;
      cursor: pointer;
      display: block;
      width: 100%;
      margin-top: 15px;
      font-weight: bold;
      font-family: 'Rubik Bubbles', cursive;
      text-shadow: 1px 1px 0 #000;
      border: 2px solid #000;
      box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
    }

    .profile-form {
      background: rgba(26, 26, 74, 0.9);
      border-radius: 15px;
      padding: 20px;
      margin: 20px 0;
      border: 3px solid #00ccff;
      box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
    }

    .profile-form .form-group input:read-only {
      background: #333;
      color: #999;
    }

    .edit-btn {
      background: linear-gradient(to right, #3366ff, #0044cc);
      color: white;
      border: none;
      padding: 15px 20px;
      border-radius: 10px;
      font-size: 18px;
      cursor: pointer;
      display: block;
      width: 100%;
      margin-top: 15px;
      font-weight: bold;
      font-family: 'Rubik Bubbles', cursive;
      text-shadow: 1px 1px 0 #000;
      border: 2px solid #000;
      box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
    }

    .logout-btn {
      background: linear-gradient(to right, #ff3333, #cc0000);
      color: white;
      border: none;
      padding: 15px 20px;
      border-radius: 10px;
      font-size: 18px;
      cursor: pointer;
      display: block;
      width: 100%;
      margin-top: 15px;
      font-weight: bold;
      font-family: 'Rubik Bubbles', cursive;
      text-shadow: 1px 1px 0 #000;
      border: 2px solid #000;
      box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
    }

    .notification {
      position: fixed;
      top: 15px;
      left: 50%;
      transform: translateX(-50%);
      background-color: #00cc66;
      color: white;
      padding: 15px 25px;
      border-radius: 10px;
      z-index: 1000;
      display: none;
      font-size: 16px;
      max-width: 90%;
      text-align: center;
      box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
      animation: slideIn 0.3s ease-out;
      font-family: 'Rubik Bubbles', cursive;
      border: 2px solid #000;
    }

    @keyframes slideIn {
      from {
        top: -50px;
        opacity: 0;
      }
      to {
        top: 15px;
        opacity: 1;
      }
    }

    .notification.error {
      background-color: #ff3333;
    }

    .notification.warning {
      background-color: #ff9900;
    }

    .notification.info {
      background-color: #3366ff;
    }

    .close-notification {
      position: absolute;
      left: 10px;
      top: 50%;
      transform: translateY(-50%);
      cursor: pointer;
      font-size: 18px;
      background: rgba(0, 0, 0, 0.3);
      width: 24px;
      height: 24px;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .user-data {
      color: #00ffaa;
      font-family: 'Varela Round', sans-serif;
      background: rgba(0, 0, 0, 0.7);
      padding: 5px 10px;
      border-radius: 5px;
      border: 1px solid #00ffaa;
    }

    h1, h2, h3, h4, h5, h6 {
      font-family: 'Rubik Bubbles', cursive;
      color: #00ccff;
      text-shadow: 1px 1px 0 #000;
    }

    /* صفحه تاس شانسی */
    #dice-page {
      padding: 15px;
      text-align: center;
    }

    .dice-scene {
      width: 100px;
      height: 100px;
      perspective: 1000px;
      margin: 20px auto 40px;
      position: relative;
    }

    .dice {
      width: 100%;
      height: 100%;
      position: relative;
      transform-style: preserve-3d;
      transition: transform 3s cubic-bezier(0.17, 0.67, 0.21, 0.99);
    }

    .dice-face {
      position: absolute;
      width: 100%;
      height: 100%;
      background: linear-gradient(145deg, #8a2be2, #6a0dad);
      border-radius: 15px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1.2rem;
      font-weight: bold;
      color: #ff2a6d;
      box-shadow:
      inset 0 0 20px rgba(255, 255, 255, 0.2),
      0 0 30px rgba(138, 43, 226, 0.5);
      backface-visibility: hidden;
      border: 3px solid #ff2a6d;
      text-shadow: 0 0 5px rgba(255, 42, 109, 0.7);
      font-family: 'Rubik Bubbles', cursive;
      padding: 10px;
      text-align: center;
    }

    /* موقعیت‌های وجه‌های تاس */
    .face-1 {
      transform: rotateY(0deg) translateZ(120px);
    }
    .face-2 {
      transform: rotateY(90deg) translateZ(120px);
    }
    .face-3 {
      transform: rotateY(180deg) translateZ(120px);
    }
    .face-4 {
      transform: rotateY(-90deg) translateZ(120px);
    }
    .face-5 {
      transform: rotateX(90deg) translateZ(120px);
    }
    .face-6 {
      transform: rotateX(-90deg) translateZ(120px);
    }

    /* افکت‌های نئونی برای وجه‌های مختلف */
    .face-1 {
      box-shadow: inset 0 0 20px rgba(255, 255, 255, 0.2), 0 0 30px #ff2a6d;
    }
    .face-2 {
      box-shadow: inset 0 0 20px rgba(255, 255, 255, 0.2), 0 0 30px #00ffff;
    }
    .face-3 {
      box-shadow: inset 0 0 20px rgba(255, 255, 255, 0.2), 0 0 30px #ffff00;
    }
    .face-4 {
      box-shadow: inset 0 0 20px rgba(255, 255, 255, 0.2), 0 0 30px #00ff00;
    }
    .face-5 {
      box-shadow: inset 0 0 20px rgba(255, 255, 255, 0.2), 0 0 30px #ff00ff;
    }
    .face-6 {
      box-shadow: inset 0 0 20px rgba(255, 255, 255, 0.2), 0 0 30px #ff8000;
    }

    .roll-button {
      background: linear-gradient(45deg, #ff00ff, #00ffff);
      border: none;
      border-radius: 50px;
      color: white;
      font-family: 'Rubik Bubbles', cursive;
      font-size: 1.5rem;
      padding: 15px 40px;
      margin: 20px 0;
      cursor: pointer;
      box-shadow: 0 0 20px rgba(255, 0, 255, 0.7);
      transition: all 0.3s ease;
      position: relative;
      overflow: hidden;
      z-index: 1;
      width: 200px;
      height: 60px;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .roll-button:before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: linear-gradient(45deg, #00ffff, #ff00ff);
      z-index: -1;
      opacity: 0;
      transition: opacity 0.3s ease;
    }

    .roll-button:hover:before,
    .roll-button:focus:before {
      opacity: 1;
    }

    .roll-button:active {
      transform: scale(0.95);
      box-shadow: 0 0 10px rgba(255, 0, 255, 0.5);
    }

    .roll-button.loading {
      pointer-events: none;
    }

    .roll-button:disabled {
      background: #666;
      cursor: not-allowed;
    }

    .loading-spinner {
      display: none;
      width: 25px;
      height: 25px;
      border: 3px solid rgba(255, 255, 255, 0.3);
      border-radius: 50%;
      border-top-color: white;
      animation: spin 1s ease-in-out infinite;
    }

    @keyframes spin {
      to {
        transform: rotate(360deg);
      }
    }

    .dice-result {
      margin-top: 20px;
      padding: 20px;
      background: rgba(255, 255, 255, 0.1);
      border-radius: 20px;
      min-height: 120px;
      width: 100%;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      backdrop-filter: blur(10px);
      box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
      border: 1px solid rgba(255, 255, 255, 0.2);
    }

    .dice-result-text {
      font-size: 2rem;
      font-weight: bold;
      margin-bottom: 10px;
      font-family: 'Rubik Bubbles', cursive;
      text-shadow: 0 0 10px currentColor;
    }

    .dice-result-desc {
      font-size: 1.2rem;
      opacity: 0.9;
    }

    .prize-10000 {
      color: #ff2a6d;
    }
    .prize-5000 {
      color: #00ffff;
    }
    .prize-reroll {
      color: #ffff00;
    }
    .prize-empty {
      color: #ff8000;
    }

    .dice-shadow {
      position: absolute;
      bottom: -30px;
      left: 50%;
      transform: translateX(-50%);
      width: 160px;
      height: 20px;
      background: radial-gradient(ellipse at center, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0) 70%);
      border-radius: 50%;
      z-index: -1;
    }

    /* صفحه نتیجه */
    .dice-result-screen {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(0, 0, 0, 0.9);
      display: none;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      z-index: 100;
      padding: 20px;
    }

    .dice-result-sticker {
      font-size: 8rem;
      margin-bottom: 20px;
    }

    .dice-result-message {
      font-size: 2rem;
      font-family: 'Rubik Bubbles', cursive;
      margin-bottom: 30px;
      text-align: center;
    }

    .dice-back-button {
      background: linear-gradient(45deg, #ff00ff, #00ffff);
      border: none;
      border-radius: 50px;
      color: white;
      font-family: 'Rubik Bubbles', cursive;
      font-size: 1.2rem;
      padding: 12px 30px;
      cursor: pointer;
      box-shadow: 0 0 20px rgba(255, 0, 255, 0.7);
      margin-top: 20px;
    }

    /* باران پول */
    .dice-money-rain {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      pointer-events: none;
      z-index: 50;
      display: none;
    }

    .dice-money {
      position: absolute;
      font-size: 2rem;
      opacity: 0.7;
      animation: dice-fall linear forwards;
    }

    @keyframes dice-fall {
      to {
        transform: translateY(100vh) rotate(360deg);
      }
    }

    /* انیمیشن برای نتیجه */
    @keyframes dice-glow {
      0% {
        text-shadow: 0 0 5px currentColor;
      }
      50% {
        text-shadow: 0 0 20px currentColor, 0 0 30px currentColor;
      }
      100% {
        text-shadow: 0 0 5px currentColor;
      }
    }

    .dice-glowing {
      animation: dice-glow 2s infinite;
    }

    .dice-requirements {
      background: rgba(26, 26, 74, 0.9);
      border-radius: 15px;
      padding: 15px;
      margin: 20px 0;
      border: 3px solid #00ccff;
      box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
      text-align: center;
    }

    .dice-timer {
      background: rgba(26, 26, 74, 0.9);
      border-radius: 15px;
      padding: 15px;
      margin: 10px 0;
      border: 3px solid #ffcc00;
      box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
      text-align: center;
      color: #ffcc00;
      font-family: 'Rubik Bubbles', cursive;
    }

    /* صفحه نوتیفیکیشن‌ها */
    .notifications-container {
      background: rgba(26, 26, 74, 0.9);
      border-radius: 15px;
      padding: 20px;
      margin: 20px 0;
      border: 3px solid #00ccff;
      box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
    }

    .notification-filters {
      display: flex;
      gap: 10px;
      margin-bottom: 20px;
      flex-wrap: wrap;
    }

    .filter-btn {
      padding: 10px 15px;
      border: 2px solid #00ccff;
      background: rgba(10, 10, 40, 0.8);
      color: #00ccff;
      border-radius: 10px;
      cursor: pointer;
      font-family: 'Rubik Bubbles', cursive;
    }

    .filter-btn.active {
      background: #00ccff;
      color: #000;
    }

    .notification-item {
      background: rgba(10, 10, 40, 0.8);
      border-radius: 10px;
      padding: 15px;
      margin-bottom: 10px;
      border: 2px solid #00ccff;
    }

    .notification-type {
      font-size: 14px;
      color: #00ffaa;
      margin-bottom: 5px;
      font-family: 'Rubik Bubbles', cursive;
    }

    .notification-message {
      font-size: 14px;
      color: #cccccc;
      line-height: 1.5;
    }

    .notification-time {
      font-size: 12px;
      color: #888;
      text-align: left;
      margin-top: 5px;
    }

    /* استایل‌های بهینه‌سازی */
    .performance-optimized {
      transform: translateZ(0);
      backface-visibility: hidden;
      perspective: 1000;
    }

    .lazy-load {
      opacity: 0;
      transition: opacity 0.3s ease-in;
    }

    .lazy-load.loaded {
      opacity: 1;
    }

    /* استایل‌های جدید برای صفحه شارژ */
    .charge-amounts-header {
      text-align: center;
      font-size: 18px;
      color: #00ccff;
      font-family: 'Rubik Bubbles', cursive;
      margin-bottom: 15px;
      background: rgba(10, 10, 40, 0.8);
      padding: 15px;
      border-radius: 15px;
      border: 3px solid #00ccff;
    }

    .charge-amounts-list {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
      justify-content: center;
      margin: 20px 0;
    }

    .charge-amount-item {
      background: rgba(10, 10, 40, 0.8);
      border: 2px solid #00ccff;
      border-radius: 10px;
      padding: 12px 15px;
      color: #00ffaa;
      font-family: 'Rubik Bubbles', cursive;
      font-size: 16px;
      cursor: pointer;
      transition: all 0.3s ease;
    }

    .charge-amount-item:hover {
      background: #00ccff;
      color: #000;
      transform: translateY(-2px);
    }

    .charge-amount-item.selected {
      background: #00ffaa;
      color: #000;
      border-color: #00ffaa;
    }

    /* استایل صفحه عدم اتصال به اینترنت */
    .no-internet-container {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: linear-gradient(135deg, #0a0a2a, #1a1a4a, #0a0a2a);
      display: none;
      justify-content: center;
      align-items: center;
      z-index: 2000;
      flex-direction: column;
      color: white;
      text-align: center;
      padding: 20px;
    }

    .no-internet-container.active {
      display: flex;
    }

    .no-internet-content {
      background: rgba(10, 10, 40, 0.95);
      border-radius: 20px;
      padding: 30px;
      width: 90%;
      max-width: 400px;
      border: 3px solid #ff3366;
      box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
      text-align: center;
    }

    .no-internet-icon {
      font-size: 80px;
      margin-bottom: 20px;
      color: #ff3366;
      animation: pulse 2s infinite;
    }

    .no-internet-title {
      font-family: 'Rubik Bubbles', cursive;
      color: #ff3366;
      font-size: 28px;
      margin-bottom: 15px;
      text-shadow: 2px 2px 0 #000;
    }

    .no-internet-message {
      font-size: 16px;
      margin-bottom: 25px;
      color: #cccccc;
      line-height: 1.6;
    }

    .reconnect-btn {
      background: linear-gradient(to right, #ff3366, #cc0044);
      color: white;
      border: none;
      padding: 15px 20px;
      border-radius: 10px;
      font-size: 18px;
      cursor: pointer;
      display: block;
      width: 100%;
      font-weight: bold;
      font-family: 'Rubik Bubbles', cursive;
      text-shadow: 1px 1px 0 #000;
      border: 2px solid #000;
      box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
      transition: all 0.3s ease;
    }

    .reconnect-btn:hover {
      transform: translateY(-2px);
      box-shadow: 0 8px 20px rgba(255, 51, 102, 0.6);
    }

    .reconnect-btn:active {
      transform: translateY(0);
    }

    .reconnect-loading {
      display: none;
      width: 20px;
      height: 20px;
      border: 2px solid rgba(255, 255, 255, 0.3);
      border-radius: 50%;
      border-top-color: white;
      animation: spin 1s ease-in-out infinite;
      margin: 0 auto;
    }

    /* استایل‌های جدید برای صفحه قوانین */
    .rules-container {
      background: rgba(26, 26, 74, 0.9);
      border-radius: 15px;
      padding: 20px;
      margin: 20px 0;
      border: 3px solid #00ccff;
      box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
    }

    .rules-title {
      font-family: 'Rubik Bubbles', cursive;
      color: #00ccff;
      font-size: 24px;
      margin-bottom: 15px;
      text-align: center;
      text-shadow: 1px 1px 0 #000;
    }

    .rules-text {
      color: #cccccc;
      line-height: 1.8;
      font-size: 14px;
      text-align: right;
    }

    .rules-text p {
      margin-bottom: 10px;
      padding-right: 10px;
      border-right: 2px solid #00ccff;
    }

    .telegram-link {
      display: block;
      text-align: center;
      margin-top: 20px;
      font-size: 16px;
      font-family: 'Rubik Bubbles', cursive;
    }
/* کادر اطلاعات بازی */
.game-stats-card {
  background: linear-gradient(135deg, #1a1a4a, #0a0a2a);
  border-radius: 20px;
  padding: 20px;
margin: 5px 0;
  border: 3px solid #00ccff;
  box-shadow: 0 10px 30px rgba(0, 204, 255, 0.4);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* ===== تایمر دایره‌ای متحرک ===== */
.stats-item {
  text-align: center;
  flex: 1;
}

.stats-item.timer {
  flex: 1.2;
  display: flex;
  justify-content: center;
  align-items: center;
}

.timer-circle-container {
  position: relative;
  width: 100px;
  height: 100px;
  margin: 0 auto;
}

.timer-circle-svg {
  width: 100px;
  height: 100px;
  transform: rotate(-90deg);
}

.timer-circle-bg {
  fill: none;
  stroke: rgba(255,255,255,0.1);
  stroke-width: 6;
}

.timer-circle-progress {
  fill: none;
  stroke-width: 6;
  stroke-linecap: round;
  stroke-dasharray: 282.74; /* 2 * π * 45 = 282.74 */
  stroke-dashoffset: 0;
  transition: stroke-dashoffset 0.1s linear, stroke 0.3s ease;
  filter: drop-shadow(0 0 5px currentColor);
}

.timer-circle-progress[data-phase="1"] { stroke: #00ccff; }
.timer-circle-progress[data-phase="2"] { stroke: #00ffaa; }
.timer-circle-progress[data-phase="3"] { stroke: #ffaa00; }
.timer-circle-progress[data-phase="4"] { stroke: #ff3366; }

.timer-circle-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 28px;
  font-weight: 900;
  color: #fff;
  text-shadow: 0 0 10px currentColor;
  font-family: 'Courier New', monospace;
  direction: ltr;
}

.stats-icon {
  font-size: 24px;
  margin-bottom: 5px;
}

.stats-value {
  font-size: 18px;
  font-weight: bold;
  color: #00ffaa;
  font-family: 'Rubik Bubbles', cursive;
  text-shadow: 2px 2px 0 rgba(0,0,0,0.5);
}
/* کادر کنترل خرید */
.purchase-control-card {
  background: linear-gradient(135deg, #1a1a4a, #0a0a2a);
  border-radius: 20px;
  padding: 25px;
  margin: 5px 0;
  border: 3px solid #00ffaa;
  box-shadow: 0 10px 30px rgba(0, 255, 170, 0.3);
  text-align: center;
}

.card-counter {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-bottom: 20px;
}

.counter-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: none;
  font-size: 24px;
  font-weight: bold;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.counter-btn.plus {
  background: linear-gradient(135deg, #00ccff, #0099cc);
  color: white;
}

.counter-btn.minus {
  background: linear-gradient(135deg, #ff3366, #cc0044);
  color: white;
}

.card-count {
  font-size: 32px;
  font-weight: bold;
  color: #00ffaa;
  min-width: 60px;
  text-align: center;
  font-family: 'Rubik Bubbles', cursive;
  text-shadow: 2px 2px 0 rgba(0,0,0,0.5);
}

.payment-btn {
  background: linear-gradient(135deg, #00cc66, #00994d);
  color: white;
  border: none;
  padding: 18px 30px;
  border-radius: 15px;
  font-size: 20px;
  font-weight: bold;
  cursor: pointer;
  width: 100%;
  font-family: 'Rubik Bubbles', cursive;
  text-shadow: 1px 1px 0 rgba(0,0,0,0.5);
  box-shadow: 0 5px 15px rgba(0, 204, 102, 0.4);
}

/* کادر لیست بازیکنان */
.players-card {
  background: linear-gradient(135deg, #1a1a4a, #0a0a2a);
  border-radius: 20px;
  padding: 20px;
  margin: 5px 0;
  border: 3px solid #ff00ff;
  box-shadow: 0 10px 30px rgba(255, 0, 255, 0.3);
  max-height: 350px;
  overflow-y: auto;
}

.player-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 15px;
  margin-bottom: 8px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  border: 2px solid #ff00ff;
}

.player-name {
  font-weight: bold;
color: #333333;
  font-family: 'Varela Round', sans-serif;
}

.player-cards {
background: #ff00ff;
color: #000000 !important;
  padding: 4px 12px;
  border-radius: 15px;
  font-size: 12px;
  font-weight: bold;
}

/* ریسپانسیو */
@media (max-width: 480px) {
  .game-stats-card {
    padding: 15px;
    margin: 40px 0 10px 0;
  }
  
  .stats-value {
    font-size: 16px;
  }
  
  .purchase-control-card {
    padding: 20px;
  }
  
  .card-counter {
    gap: 15px;
  }
  
  .counter-btn {
    width: 30px;
    height: 30px;
    font-size: 14px;
  }
  
  .card-count {
    font-size: 28px;
  }
  
  .payment-btn {
    padding: 15px 20px;
    font-size: 18px;
  }
}  
/* ========== سیستم گزارش جدید ========== */
.compact-header {
  background: rgba(10, 10, 40, 0.95);
  border-radius: 8px;
  padding: 6px 10px;
  margin-bottom: 5px;
  border: 2px solid #00ccff;
  box-shadow: 0 3px 10px rgba(0, 204, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 10;
  height: 45px;
  flex-shrink: 0;
}

.compact-header .back-btn {
  color: #00ccff;
  font-size: 16px;
  cursor: pointer;
  background: rgba(0, 204, 255, 0.1);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #00ccff;
  flex-shrink: 0;
}

.compact-header .page-title {
  text-align: center;
  font-size: 13px;
  color: #00ffaa;
  font-weight: 600;
  flex-grow: 1;
  margin: 0 6px;
  line-height: 1.2;
}

/* تب‌های کوچک */
.compact-tabs {
  display: flex;
  gap: 4px;
  margin-bottom: 5px;
  background: rgba(26, 26, 74, 0.9);
  border-radius: 6px;
  padding: 5px;
  border: 1px solid #00ccff;
  height: 40px;
  flex-shrink: 0;
}

.compact-tab {
  flex: 1;
  text-align: center;
  padding: 5px 2px;
  border-radius: 5px;
  cursor: pointer;
  font-weight: 500;
  font-size: 11px;
  background: rgba(10, 10, 40, 0.8);
  border: 1px solid transparent;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.compact-tab.active {
  background: #00ccff;
  color: #000;
  border-color: #00ccff;
  box-shadow: 0 0 8px rgba(0, 204, 255, 0.4);
  font-weight: 600;
}

/* بخش اصلی - اسکرول‌پذیر */
.scrollable-content {
  flex: 1;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 120px; /* فضای برای کادر ثابت پایین */
}

/* کادر بازی‌ها */
.compact-games-page {
  display: none;
}

.compact-games-page.active {
  display: block;
}

/* جدول بازی‌ها */
.compact-games-table {
  background: rgba(26, 26, 74, 0.9);
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid #00ccff;
  margin-bottom: 5px;
}

/* هدر جدول */
.compact-games-header {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  background: rgba(0, 204, 255, 0.2);
  padding: 8px 4px;
  font-size: 11px;
  font-weight: 600;
  color: #00ffaa;
  text-align: center;
  border-bottom: 1px solid #00ccff;
}

/* ردیف‌های بازی */
.compact-game-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  padding: 8px 4px;
  text-align: center;
  font-size: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  align-items: center;
}

.compact-game-row:last-child {
  border-bottom: none;
}

.compact-game-row .room-col {
  color: #00ccff;
  font-weight: 500;
}

.compact-game-row .prize-col {
  color: #00ffaa;
  font-weight: 500;
  transition: all 0.3s ease;
}

.compact-game-row .prize-col.won {
  color: #ff9900;
  text-shadow: 0 0 8px rgba(255, 153, 0, 0.7);
  font-weight: 600;
}

.compact-game-row .prize-col.no-win {
  color: #cccccc;
  text-shadow: 0 0 5px rgba(204, 204, 204, 0.5);
  opacity: 0.8;
}

.compact-game-row .date-col {
  color: #cccccc;
  font-size: 9px;
}

/* کادر ثابت پایین - بهینه‌سازی شده برای نمایش کامل */
.single-fixed-bottom {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(26, 26, 74, 0.98);
  border-top: 2px solid #00ccff;
  box-shadow: 0 -5px 25px rgba(0, 0, 0, 0.8);
  z-index: 100;
  padding: 8px 10px;
  height: 110px; /* ارتفاع ثابت برای همه دستگاه‌ها */
  display: flex;
  flex-direction: column;
}

.summary-top-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
  flex-shrink: 0;
}

.time-display {
  font-size: 13px;
  font-weight: 700;
  color: #ff9900;
  text-shadow: 0 0 10px rgba(255, 153, 0, 0.7);
  flex: 1;
  margin-right: 6px;
  line-height: 1.2;
  text-align: right;
}

.total-prize-display {
  font-size: 13px;
  font-weight: 700;
  color: #00ffaa;
  background: rgba(0, 255, 170, 0.15);
  padding: 5px 8px;
  border-radius: 6px;
  border: 1px solid #00ffaa;
  text-align: center;
  min-width: 80px;
  flex-shrink: 0;
}

/* لیست اتاق‌ها با گرید برای نمایش کامل */
.rooms-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4px;
  flex: 1;
  overflow: hidden;
}

.room-line {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: center;
  padding: 3px 0;
  font-size: 10px;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.1);
  text-align: center;
}

.room-line:last-child {
  border-bottom: none;
}

.room-name {
  color: #00ccff;
  font-weight: 600;
  font-size: 10px;
  line-height: 1.2;
  text-align: right;
  padding-left: 2px;
}

.room-cards {
  color: #ffffff;
  font-size: 10px;
  text-align: center;
}

.room-prize {
  color: #00ffaa;
  font-weight: 700;
  font-size: 10px;
  text-align: left;
  padding-right: 2px;
  direction: ltr;
}

/* کادر تراکنش‌ها */
.compact-transactions-page {
  display: none;
}

.compact-transactions-page.active {
  display: block;
}

.compact-transactions-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 120px; /* فضای برای کادر ثابت */
}

.compact-transaction-item {
background: rgba(0, 0, 0, 0.85);
  border-radius: 6px;
  padding: 6px;
  border-right: 2px solid transparent;
  font-size: 9px;
}

.compact-transaction-item.charge {
  border-right-color: #00ccff;
}

.compact-transaction-item.withdrawal {
  border-right-color: #ff4444;
}

.compact-transaction-item.dice-win {
  border-right-color: #00ffaa;
}

.compact-transaction-item.admin-bonus {
  border-right-color: #ffcc00;
}

.compact-transaction-item.dice-no-win {
  border-right-color: #888888;
  opacity: 0.8;
}

.compact-transaction-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 3px;
}

.compact-transaction-title {
  font-weight: 500;
  font-size: 9px;
  flex: 1;
  margin-left: 3px;
  line-height: 1.3;
}

.compact-transaction-date {
  color: #888888;
  font-size: 8px;
  flex-shrink: 0;
}

.compact-transaction-amount {
  text-align: center;
  font-size: 11px;
  font-weight: 600;
  padding: 4px;
  border-radius: 4px;
  margin-top: 3px;
}

.compact-amount-positive {
  color: #00ffaa;
  background: rgba(0, 255, 170, 0.1);
}

.compact-amount-negative {
  color: #ff4444;
  background: rgba(255, 68, 68, 0.1);
}
.compact-amount-pending {
  color: #ff4444;
  background: rgba(255, 68, 68, 0.1);
}

.compact-amount-approved {
  color: #00ffaa;
  background: rgba(0, 255, 170, 0.1);
}

.compact-amount-rejected {
  color: #888888;
  background: rgba(136, 136, 136, 0.1);
}
.compact-amount-neutral {
  color: #cccccc;
  background: rgba(136, 136, 136, 0.1);
}

/* تنظیمات ویژه برای نمایش کامل */
@media (max-height: 640px) {
  .single-fixed-bottom {
    height: 100px;
    padding: 6px 8px;
  }
  
  .summary-top-row {
    margin-bottom: 6px;
  }
  
  .time-display {
    font-size: 12px;
  }
  
  .total-prize-display {
    font-size: 12px;
    padding: 4px 6px;
  }
  
  .rooms-list {
    gap: 3px;
  }
  
  .room-line {
    font-size: 9px;
    padding: 2px 0;
  }
  
  .room-name, .room-cards, .room-prize {
    font-size: 9px;
  }
}

@media (max-height: 560px) {
  .single-fixed-bottom {
    height: 90px;
    padding: 5px 6px;
  }
  
  .summary-top-row {
    margin-bottom: 5px;
  }
  
  .time-display {
    font-size: 11px;
  }
  
  .total-prize-display {
    font-size: 11px;
    padding: 3px 5px;
  }
  
  .rooms-list {
    gap: 2px;
  }
  
  .room-line {
    font-size: 8px;
    padding: 1px 0;
  }
  
  .room-name, .room-cards, .room-prize {
    font-size: 8px;
  }
}

@media (max-width: 360px) {
  .time-display {
    font-size: 11px;
  }
  
  .total-prize-display {
    font-size: 11px;
    min-width: 70px;
  }
  
  .room-name {
    font-size: 9px;
  }
  
  .room-cards, .room-prize {
    font-size: 9px;
  }
}
}

/* ========== کادر پایین بزرگتر - 40% ارتفاع صفحه ========== */
.single-fixed-bottom {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(26, 26, 74, 0.98);
  border-top: 3px solid #00ccff;
  box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.9);
  z-index: 100;
  padding: 15px 20px;
  height: 40vh; /* 40% ارتفاع صفحه */
  min-height: 250px;
  max-height: 400px;
  display: flex;
  flex-direction: column;
  backdrop-filter: blur(10px);
}

/* ردیف بالایی با فونت بزرگتر */
.summary-top-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
  flex-shrink: 0;
  padding: 12px 15px;
  background: rgba(0, 204, 255, 0.15);
  border-radius: 12px;
  border: 2px solid #00ccff;
}

/* متن تاریخ با فونت بزرگ */
.time-display {
  font-size: 18px !important;
  font-weight: 700;
  color: #ffcc00 !important;
  text-shadow: 0 0 15px rgba(255, 153, 0, 0.8);
  flex: 1;
  margin-right: 10px;
  line-height: 1.4;
  text-align: right;
  font-family: 'Varela Round', sans-serif;
}

/* جمع کل با فونت بزرگ */
.total-prize-display {
  font-size: 22px !important;
  font-weight: 900;
  color: #00ffaa !important;
  background: rgba(0, 255, 170, 0.2);
  padding: 10px 15px;
  border-radius: 10px;
  border: 3px solid #00ffaa;
  text-align: center;
  min-width: 120px;
  flex-shrink: 0;
  box-shadow: 0 0 20px rgba(0, 255, 170, 0.4);
  font-family: 'Rubik Bubbles', cursive;
}

/* لیست اتاق‌ها با فونت بزرگ */
.rooms-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
  overflow-y: auto;
  padding: 10px 5px;
  background: rgba(10, 10, 40, 0.6);
  border-radius: 15px;
  border: 2px solid #00ccff;
}

/* هر خط اتاق با فونت بزرگ */
.room-line {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: center;
  padding: 12px 8px;
  font-size: 16px !important;
  border-bottom: 2px solid rgba(0, 204, 255, 0.3);
  text-align: center;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  transition: all 0.3s ease;
}

.room-line:hover {
  background: rgba(0, 204, 255, 0.1);
  transform: translateY(-2px);
}

.room-name {
  color: #00ccff;
  font-weight: 700;
  font-size: 16px !important;
  line-height: 1.3;
  text-align: right;
  padding-left: 5px;
  font-family: 'Rubik Bubbles', cursive;
}

.room-cards {
  color: #ffffff;
  font-size: 16px !important;
  font-weight: 600;
  text-align: center;
  font-family: 'Varela Round', sans-serif;
}

.room-prize {
  color: #00ffaa;
  font-weight: 800;
  font-size: 16px !important;
  text-align: left;
  padding-right: 5px;
  direction: ltr;
  font-family: 'Rubik Bubbles', cursive;
}

/* مخفی کردن تب گزارش بازی */
.compact-tab[onclick*="games"] {
  display: none !important;
}

/* تب تراکنش‌ها را به صورت کامل نمایش می‌دهیم */
#transactions-page {
  display: block !important;
  margin-top: 10px;
}

/* حذف تب‌های اضافی */
.compact-tabs {
  display: none !important; /* تب‌ها را مخفی می‌کنیم */
}

/* تنظیمات ریسپانسیو برای موبایل */
@media (max-width: 768px) {
  .single-fixed-bottom {
    height: 40vh;
    padding: 12px 15px;
  }
  
  .time-display {
    font-size: 16px !important;
  }
  
  .total-prize-display {
    font-size: 18px !important;
    padding: 8px 12px;
  }
  
  .room-line {
    padding: 10px 5px;
    font-size: 14px !important;
  }
  
  .room-name,
  .room-cards,
  .room-prize {
    font-size: 14px !important;
  }
}

@media (max-height: 700px) {
  .single-fixed-bottom {
    height: 45vh;
  }
}
/* ★★ مخفی کردن موقت اتاق ۲۰ هزار تومانی ★★ */
.room[data-price="20000"] { display: none !important; }

