 /*-- *************************************************************** -->
<!-- **************--Google Fonts local integration*********** -->
 <!-- *************************************************************** */                 
@font-face{
    font-family:"Tektur";
    src: url(../assets/css/Tektur-VariableFont_wdth\,wght.ttf);
  }
 
 /*-- *************************************************************** -->
<!-- **************--CSS Variables for Theme Management*********** -->
 <!-- *************************************************************** */                 
      :root {
          --primary-yellow: #FFD700;
          --dark-bg: #000000;
          --pure-white: #FFFFFF;
          --font-family-Tektur:"Tektur";
      }

 /*-- *************************************************************** -->
<!-- **************--Base Body Styling*********** -->
 <!-- *************************************************************** */                 
      body {
          background: var(--dark-bg);
          color: var(--pure-white);
          overflow-x: hidden;
          font-family:var(--font-family-Tektur);
      }

 /*-- *************************************************************** -->
<!-- **************--Promotional Banner Styles*********** -->
 <!-- *************************************************************** */                 
      .promo-container {
          background: rgba(255,215,0,0.1);
          border: 2px solid #FFD700;
          border-radius: 15px;
          padding: 1.5rem;
          text-align: center;
          margin-top: 0;
          margin-bottom: 2rem;
          position: relative;
          overflow: hidden;
      }

 /*-- *************************************************************** -->
<!-- **************--Animated Text Effects*********** -->
 <!-- *************************************************************** */                 
      .promo-text {
          color: #FFD700;
          font-size: 1.8rem;
          margin: 0;
          text-shadow: 0 0 10px rgba(255,215,0,0.3);
          animation: glow 2s ease-in-out infinite;
      }

      .promo-subtext {
          color: white;
          font-size: 1.2rem;
          margin: 0.5rem 0 0;
          opacity: 0.9;
      }

 /*-- *************************************************************** -->
<!-- **************--Keyframe Animations*********** -->
 <!-- *************************************************************** */                 
      @keyframes glow {
          0%, 100% { text-shadow: 0 0 10px rgba(255,215,0,0.3); }
          50% { text-shadow: 0 0 20px rgba(255,215,0,0.6), 0 0 30px rgba(255,215,0,0.4); }
      }

      @keyframes jump {
          0%, 100% { transform: translateY(0); }
          50% { transform: translateY(-5px); }
      }

      @keyframes blink {
          0%, 100% { opacity: 1; }
          50% { opacity: 0.5; }
      }

 /*-- *************************************************************** -->
<!-- **************--Animation Classes*********** -->
 <!-- *************************************************************** */                 
      .jump { animation: jump 0.8s ease infinite; }
      .blink { animation: blink 1.2s linear infinite; }

 /*-- *************************************************************** -->
<!-- **************--Mobile Responsiveness*********** -->
 <!-- *************************************************************** */                 
      @media (max-width: 768px) {
          .promo-text { font-size: 1.4rem; }
          .promo-subtext { font-size: 1rem; }
      }

 /*-- *************************************************************** -->
<!-- **************--Side Navigation Styles*********** -->
 <!-- *************************************************************** */                 
      .side-nav {
          width: 250px;
          height: 100vh;
          position: fixed;
          top: 0;
          left: 0;
          background: var(--dark-bg);
          border-right: 2px solid var(--primary-yellow);
          z-index: 1000;
          transition: transform 0.3s ease;
      }

 /*-- *************************************************************** -->
<!-- **************--Navigation Item Styling*********** -->
 <!-- *************************************************************** */                 
      .nav-item {
          padding: 12px 20px;
          color: var(--pure-white);
          display: flex;
          align-items: center;
          text-decoration: none;
          transition: all 0.3s ease;
      }

      .nav-item:hover {
          background: rgba(255, 215, 0, 0.1);
      }


 /*-- *************************************************************** -->
<!-- **************--Navigation Icons*********** -->
 <!-- *************************************************************** */                 
      .nav-icon {
          width: 24px;
          height: 24px;
          margin-right: 15px;
          fill: var(--primary-yellow);
      }

 /*-- *************************************************************** -->
<!-- **************--Mobile Menu Toggle*********** -->
 <!-- *************************************************************** */                 
      .menu-toggle {
          position: fixed;
          left: 20px;
          top: 20px;
          z-index: 1001;
          display: none;
          background: var(--primary-yellow);
          color: var(--dark-bg);
      }

 /*-- *************************************************************** -->
<!-- **************--User Profile Section*********** -->
 <!-- *************************************************************** */                 
      .user-profile {
          padding: 20px;
          text-align: center;
          border-bottom: 1px solid var(--primary-yellow);
      }

      .logo-pic {
          width: 80px;
          height: 80px;
          border-radius: 50%;
          border: 2px solid var(--primary-yellow);
          margin-bottom: 15px;
      }

 /*-- *************************************************************** -->
<!-- **************--Main Content Area*********** -->
 <!-- *************************************************************** */                 
      .main-content {
          margin-left: 250px;
          padding: 20px;
          padding-top: 0;
          transition: margin 0.3s ease;
      }

 /*-- *************************************************************** -->
<!-- **************--Scratch Cards Grid Layout*********** -->
 <!-- *************************************************************** */                 
      .scratch-cards-grid {
          display: grid;
          grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
          gap: 20px;
          margin: 20px 0;
      }


 /*-- *************************************************************** -->
<!-- **************--Dashboard Card Styling*********** -->
 <!-- *************************************************************** */                 
      .dashboard-card {
          background: rgba(255, 215, 0, 0.1);
          border: 2px solid var(--primary-yellow);
          border-radius: 15px;
          transition: transform 0.3s ease;
      }

      .dashboard-card:hover {
          transform: translateY(-5px);
          box-shadow: 0 0 25px var(--primary-yellow);
      }


 /*-- *************************************************************** -->
<!-- **************--Scratch Card Elements*********** -->
 <!-- *************************************************************** */                 
      .scratch-card {
          position: relative;
          height: 200px;
          background: #333;
          border-radius: 15px;
          overflow: hidden;
          cursor: grab;
      }

      .scratch-overlay {
          position: absolute;
          width: 100%;
          height: 100%;
          background: repeating-linear-gradient(
              45deg,
              var(--primary-yellow) 25%,
              var(--dark-bg) 25%,
              var(--dark-bg) 50%,
              var(--primary-yellow) 50%,
              var(--primary-yellow) 75%,
              var(--dark-bg) 75%,
              var(--dark-bg) 100%
          );
          background-size: 56.57px 56.57px;
          transition: opacity 0.5s;
      }


 /*-- *************************************************************** -->
<!-- **************--Balance Display*********** -->
 <!-- *************************************************************** */                 
      .balance-counter {
          font-size: 2.5rem;
          color: var(--primary-yellow);
          animation: pulse 2s infinite;
      }

 /*-- *************************************************************** -->
<!-- **************--Glowing Button Effect*********** -->
 <!-- *************************************************************** */                 
      .glowing-btn {
          background: var(--primary-yellow);
          color: var(--dark-bg);
          border: none;
          animation: glow 1.5s ease-in-out infinite alternate;
      }

 /*-- *************************************************************** -->
<!-- **************--Keyframe Animations*********** -->
 <!-- *************************************************************** */                 
      @keyframes pulse {
          0% { transform: scale(1); }
          50% { transform: scale(1.05); }
          100% { transform: scale(1); }
      }

      @keyframes glow {
          from { box-shadow: 0 0 10px var(--primary-yellow); }
          to { box-shadow: 0 0 20px var(--pure-white); }
      }


 /*-- *************************************************************** -->
<!-- **************--Recent Transactions Section*********** -->
 <!-- *************************************************************** */                 
        .transaction-table {
      color: var(--pure-white);
      border-color: var(--primary-yellow) !important;
  }
  
  .transaction-table th {
      border-bottom: 2px solid var(--primary-yellow);
      font-weight: 600;
  }
  
  .transaction-table td {
      border-bottom: 1px solid rgba(255, 215, 0, 0.2);
      vertical-align: middle;
  }
  
  .transaction-table tr:hover {
      background: rgba(255, 215, 0, 0.05);
  }
  
  .text-yellow {
      color: var(--primary-yellow) !important;
      font-size: 1.2rem;
  }
  
  .text-success {
      color: #28a745 !important;
  }
  
  .text-danger {
      color: #dc3545 !important;
  }


 /*-- *************************************************************** -->
<!-- **************--Responsive Breakpoints*********** -->
 <!-- *************************************************************** */                 
      @media (max-width: 992px) {
          .side-nav {
              transform: translateX(-100%);
          }
          
          .side-nav.active {
              transform: translateX(0);
          }

          .main-content {
              margin-left: 0 !important;
          }

          .menu-toggle {
              display: block;
          }

          .scratch-card {
              height: 180px;
          }
          
          .balance-counter {
              font-size: 2rem;
          }
      }

      @media (min-width: 993px) {
          .menu-toggle {
              display: none !important;
          }
      }


 /* Media Queries for responsiveness of Scratch Cards for purchase  */
/* For tablets and small desktops */
@media (max-width: 1199.98px) {
    .col-lg-4 {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

/* For mobile devices and small tablets */
@media (max-width: 1135px) {
    .col-lg-4, .col-md-6 {
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    .dashboard-card {
        padding: 1.5rem !important;
    }
    
    .card-type {
        min-height: 160px;
        padding: 1.5rem !important;
    }
}

/* For very small mobile devices */
@media (max-width: 575.98px) {
    .dashboard-card h2 {
        font-size: 1.5rem;
    }
    
    .card-type h4 {
        font-size: 1.2rem;
    }
    
    .card-type p {
        font-size: 0.9rem;
    }
    
    .glowing-btn {
        padding: 0.5rem;
        font-size: 0.9rem;
    }
}

/* For extra small devices */
@media (max-width: 375px) {
    .dashboard-card {
        padding: 1rem !important;
    }
    
    .card-type {
        padding: 1rem !important;
        min-height: 140px;
    }
}


 /*-- *************************************************************** -->
<!-- **************--Styles for dashboard Pages*********** -->
 <!-- *************************************************************** */                 
.card-type {
    border: 2px solid var(--primary-yellow);
    transition: all 0.3s ease;
}

.card-type:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.3);
}

.bg-dark-yellow {
    background: rgba(255, 215, 0, 0.05);
}

.badge.bg-success {
    background-color: #28a745 !important;
}

.badge.bg-warning {
    background-color: #ffc107 !important;
    color: #000;
}

.form-control.bg-dark {
    background: rgba(0, 0, 0, 0.3) !important;
    border: 1px solid var(--primary-yellow);
}

.form-control:focus {
    box-shadow: 0 0 10px var(--primary-yellow);
    border-color: var(--primary-yellow);
}


 /*-- *************************************************************** -->
<!-- **************--deposit funds modal CSS*********** -->
 <!-- *************************************************************** */                 
#depositModal .form-control {
    border: 1px solid var(--primary-yellow);
}

#depositModal .form-check-input:checked {
    background-color: var(--primary-yellow);
    border-color: var(--primary-yellow);
}

#depositModal .form-check-label {
    margin-left: 8px;
}


 /*-- *************************************************************** -->
<!-- **************--withdraw winnings modal CSS*********** -->
 <!-- *************************************************************** */                 
#withdrawModal .form-control {
    border: 1px solid var(--primary-yellow);
}

#withdrawModal .form-select {
    border: 1px solid var(--primary-yellow);
}

#withdrawModal input[type="number"]::-webkit-inner-spin-button,
#withdrawModal input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

#withdrawModal input[type="number"]{
    -moz-appearance: textfield;
}



 /*-- *************************************************************** -->
<!-- **************--delete transaction history btn CSS*********** -->
 <!-- *************************************************************** */                 
    .delete-btn {
        transition: all 0.3s ease;
        padding: 5px;
        border-radius: 50%;
    }

    .delete-btn:hover {
        background: rgba(220, 53, 69, 0.1);
        transform: scale(1.1);
    }

    .delete-btn:active {
        transform: scale(0.9);
    }

    .modal-content {
        border: 1px solid var(--primary-yellow);
    }

    #undoToast {
        border-width: 2px;
        max-width: 300px;
    }

    .progress-bar {
        transition: width 5s linear;
    }

    .deleting {
        opacity: 0.5;
        background: rgba(255, 0, 0, 0.1);
    }

    .btn-danger {
        background: #dc3545;
        border-color: #dc3545;
    }

   /* *************************************************************** -->
    <!-- *************-- Scratch Cards modal --*************** -->
    <!-- *************************************************************** */

/* scratch card loading spinner */
#scratchSpinner {
    width: 2rem;
    height: 2rem;
    border-width: 0.2em;
}

.modal-backdrop {
    background: rgba(0, 0, 0, 0.7);
}

.modal-content {
    transition: opacity 0.3s ease;
}

.modal.show .modal-content {
    opacity: 1;
}

/* scratch card loading spinner */

/* Additional CSS for better touch feedback */
#scratchCanvas {
    touch-action: none;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

#scratchCanvas:active {
    cursor: grabbing;
}

.scratch-container {
    max-width: 400px;
    width: 100%;
}

#scratchCanvas {
    background: #333;
    border-radius: 15px;
    touch-action: none;
}

.card-result {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    background: rgba(0, 0, 0, 0.9);
    padding: 2rem;
    border-radius: 15px;
    width: 90%;
}

.result-text {
    color: var(--primary-yellow);
    font-size: 2.5rem;
    text-transform: uppercase;
}

.result-amount {
    color: #fff;
    font-size: 1.5rem;
    margin: 1rem 0;
}

@media (max-width: 576px) {
    #scratchCanvas {
        width: 100% !important;
        height: auto !important;
    }
}

    
   /* *************************************************************** -->
    <!-- *************-- Scratch Cards modal css ends --*************** -->
    <!-- *************************************************************** */
    