/* Custom styles for Pickitz lottery app */

/* Header styling */
.header-bar {
  /* No border for consistent header appearance */
}

/* Animation for jackpot glow */
@keyframes jackpot-glow {
  0% { text-shadow: 0 0 5px rgba(34, 197, 94, 0.5); }
  50% { text-shadow: 0 0 10px rgba(34, 197, 94, 0.7), 0 0 15px rgba(34, 197, 94, 0.5); }
  100% { text-shadow: 0 0 5px rgba(34, 197, 94, 0.5); }
}

.jackpot-glow {
  animation: jackpot-glow 2s ease-in-out infinite;
}

/* Animation for mascot float */
@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0px); }
}

.mascot-float {
  animation: float 3s ease-in-out infinite;
}

/* Tag styling for blog articles */
.tag {
  font-size: 0.75rem;
  padding: 0.25rem 0.5rem;
  border-radius: 9999px;
  margin-right: 0.5rem;
}

/* Blog card styling */
.blog-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.3);
}

/* Game card styling */
.game-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.game-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.3);
}

/* Lottery ball styling */
.lottery-ball {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  background-color: white;
  color: black;
  margin: 0 4px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.regular-ball {
  background: linear-gradient(135deg, #dc2626, #b91c1c);
}

.special-ball {
  background: linear-gradient(135deg, #f59e0b, #d97706);
}

/* Heat map styling */
.heat-map-container {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
  margin: 15px 0;
}

.heat-map-cell {
  width: 100%;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-weight: bold;
  font-size: 14px;
  transition: transform 0.2s;
}

.heat-map-cell:hover {
  transform: scale(1.1);
}

/* Frequency meter styling */
.frequency-meter {
  width: 100%;
  height: 6px;
  background: linear-gradient(to right, #3b82f6, #f43f5e);
  border-radius: 3px;
  margin-top: 5px;
}

.frequency-marker {
  width: 8px;
  height: 8px;
  background-color: white;
  border-radius: 50%;
  transform: translateY(-1px);
}

/* Custom highly visible golden scrollbar for the app */
::-webkit-scrollbar {
  width: 18px;
}

::-webkit-scrollbar-track {
  background: linear-gradient(to bottom, #1a202c, #2d3748, #4a5568);
  border-radius: 10px;
  border: 2px solid #4a5568;
  margin: 2px;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(145deg, 
    #ffd700 0%, 
    #ffed4a 25%, 
    #f7cc02 50%, 
    #e6b800 75%, 
    #d4a017 100%);
  border-radius: 10px;
  border: 3px solid #ffffff;
  box-shadow: 
    inset 3px 3px 10px rgba(255,255,255,0.9),
    inset -3px -3px 10px rgba(0,0,0,0.4),
    0 0 15px rgba(255,215,0,0.8),
    0 0 25px rgba(255,215,0,0.4),
    0 4px 15px rgba(0,0,0,0.3);
  min-height: 40px;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(145deg, 
    #ffed4a 0%, 
    #ffd700 25%, 
    #ffed4a 50%, 
    #f7cc02 75%, 
    #ffd700 100%);
  box-shadow: 
    inset 3px 3px 12px rgba(255,255,255,1),
    inset -3px -3px 12px rgba(0,0,0,0.5),
    0 0 20px rgba(255,215,0,1),
    0 0 35px rgba(255,215,0,0.6),
    0 6px 20px rgba(0,0,0,0.4);
  transform: scale(1.02);
}

/* Enhanced corner styling */
::-webkit-scrollbar-corner {
  background: #2d3748;
}

/* For Firefox - enhanced visibility */
* {
  scrollbar-width: thick;
  scrollbar-color: #ffd700 #2d3748;
}

/* Force scrollbar to always be visible */
html {
  overflow-y: scroll;
}

/* Additional styling for containers with scrollable content */
.overflow-y-auto::-webkit-scrollbar {
  width: 18px;
}

.overflow-y-auto::-webkit-scrollbar-track {
  background: linear-gradient(to bottom, #1a202c, #2d3748);
  border-radius: 10px;
  border: 2px solid #4a5568;
}

.overflow-y-auto::-webkit-scrollbar-thumb {
  background: linear-gradient(145deg, #6b7280, #9ca3af, #6b7280, #4b5563);
  border-radius: 10px;
  border: 2px solid #ffffff;
  box-shadow: 
    inset 2px 2px 8px rgba(255,255,255,0.9),
    inset -2px -2px 8px rgba(0,0,0,0.4),
    0 0 12px rgba(107,114,128,0.7);
}