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

body {
  background-color: #ffffcc;
  color: white;
  font-weight: bold;
  font-style: italic;
  font-family: "Times New Roman", Times, serif;
  padding-top: 80px;
  transition: all 0.3s ease;
}

/* Sticky Header Styles */
.main-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: #ffffff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  padding: 10px 20px;
  transition: all 0.3s ease;
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
}

.logo-container {
  display: flex;
  align-items: center;
  position: relative;
}

.logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  transition: transform 0.3s ease;
}

.logo-link:hover {
  transform: scale(1.05);
}

.header-logo {
  height: 50px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
  transition: all 0.3s ease;
}

.header-buttons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.download-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: #FFF8DC;
  color: #FF6600;
  text-decoration: none;
  border-radius: 25px;
  font-size: 14px;
  font-weight: 600;
  font-style: normal;
  transition: all 0.3s ease;
  border: 2px solid #FF6600;
  white-space: nowrap;
}

.download-btn:hover {
  background: #FF6600;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(255, 102, 0, 0.3);
}

.download-btn i {
  font-size: 18px;
}

/* Floating Action Button */
.floating-buttons {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.float-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #ffffff;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
  position: relative;
  animation: float 3s ease-in-out infinite;
  border-radius: 30px;
  padding: 12px 20px;
  font-weight: bold;
  font-style: normal;
}

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

.matka-play-btn {
  background: linear-gradient(135deg, #FF6600, #FF8533);
  border: 2px solid #ffffff;
}

.matka-play-btn:hover {
  background: linear-gradient(135deg, #E55A00, #FF6600);
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(255, 102, 0, 0.5);
}

.float-btn i {
  font-size: 20px;
}

.float-btn-text {
  font-size: 14px;
  font-weight: bold;
  white-space: nowrap;
}

.float-tooltip {
  position: absolute;
  right: 70px;
  background: #2C2C2C;
  color: #ffffff;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 12px;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  font-style: normal;
  font-weight: normal;
}

.float-tooltip::after {
  content: '';
  position: absolute;
  right: -5px;
  top: 50%;
  transform: translateY(-50%);
  border: 5px solid transparent;
  border-left-color: #2C2C2C;
}

.float-btn:hover .float-tooltip {
  opacity: 1;
  visibility: visible;
}
a {
  color: Red;
}
.top1 {
  background-color: mintcream;
  color: black;
  font-weight: bold;
  font-style: italic;
  font-size: large;
  text-decoration: none;
  border-width: 3px;
  border-color: yellow;
  border-style: inset;
  margin: 10px auto;
  max-width: 1200px;
  padding: 15px;
  border-radius: 8px;
  text-shadow: 1px 1px 0 #969696, 1px 5px 5px #aba8a8;
  transition: all 0.3s ease;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  opacity: 1 !important;
  visibility: visible !important;
  display: block !important;
}

.top1:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}
.top2 {
  border-left: #ffc107 solid 7px;
  border-right: #ffc107 solid 7px;
  border-top: #ffc107 solid 7px;
  border-bottom: #ffc107 solid 7px;
  background-color: mintcream;
  border-radius: 8px;
  font-weight: bold;
  font-style: italic;
  font-size: large;
  text-align: center;
  text-shadow: 1px 1px 0 #969696, 1px 5px 5px #aba8a8;
  margin: 15px auto;
  max-width: 1200px;
  padding: 15px;
  transition: all 0.3s ease;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  opacity: 1 !important;
  visibility: visible !important;
  display: block !important;
}

.top2:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(255, 193, 7, 0.3);
}
.top3 {
  background-color: white;
  border-top: 5px solid #8d00ff;
  border-left: 5px solid #8d00ff;
  border-right: 5px solid #8d00ff;
  border-bottom: 5px solid #8d00ff;
  color: #000000;
  text-shadow: 1px 1px 0 #969696, 1px 5px 5px #aba8a8;
  padding: 15px;
  margin: 15px auto;
  max-width: 1200px;
  border-radius: 8px;
  transition: all 0.3s ease;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  opacity: 1 !important;
  visibility: visible !important;
  display: block !important;
}

.top3:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(141, 0, 255, 0.3);
}
.gray1 {
  color: black;
  background: white;
  border: 2px solid red;
  margin-bottom: 0px;
  padding-top: 5px;
  padding-right: 5px;
  padding-left: 5px;
  padding-bottom: 5px;
  font-size: 20px;
  font-style: bold;
}
.CHART3 {
  border-left: lawngreen inset 3px;
  border-right: lawngreen inset 3px;
  border-top: lawngreen outset 3px;
  border-bottom: lawngreen inset 3px;
  background-color: mintcream;
  border-radius: 8px;
  padding: 15px;
  font-weight: bold;
  font-family: times new roman, serif;
  font-style: italic;
  font-size: large;
  text-align: center;
  margin: 15px auto;
  max-width: 1200px;
  text-shadow: 1px 1px 0 #969696, 1px 5px 5px #aba8a8;
  transition: all 0.3s ease;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  opacity: 1 !important;
  visibility: visible !important;
  display: block !important;
}

.CHART3:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(124, 252, 0, 0.3);
}
.login {
  background-color: white;
  color: red;
  font-weight: bold;
  font-style: italic;
  font-size: large;
  text-decoration: none;
  border-width: 2px;
  border-color: red;
  border-style: groove solid;
  margin: 10px auto;
  max-width: 1200px;
  padding: 12px 15px;
  border-radius: 8px;
  text-shadow: 1px 1px 0 #969696, 1px 5px 5px #aba8a8;
  transition: all 0.3s ease;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  display: inline-block;
  opacity: 1 !important;
  visibility: visible !important;
}

.login:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(255, 0, 0, 0.3);
}

.login a {
  color: red;
  text-decoration: none;
  transition: color 0.3s ease;
}

.login a:hover {
  color: #cc0000;
}

.contact-section {
  cursor: pointer;
}

.contact-phone {
  color: red;
  text-decoration: none;
  font-size: 18px;
  transition: all 0.3s ease;
  display: inline-block;
}

.contact-phone:hover {
  color: #cc0000;
  transform: scale(1.05);
}
.HEADLINES2 {
  background-color: blue;
  color: white;
  font-weight: bold;
  font-style: italic;
  font-size: large;
  text-decoration: blink;
  text-shadow: 1px 1px 0 #969696, 1px 5px 5px #aba8a8;
  opacity: 1 !important;
  visibility: visible !important;
  display: block !important;
}
.GUSSER {
  background-color: mintcream;
  color: black;
  border-width: 2px;
  border-color: red;
  border-style: solid;
  margin-top: 0;
  margin-bottom: 0;
  margin-left: 2px;
  margin-right: 2px;
  padding-top: 0;
  font-weight: bold;
  font-style: italic;
  font-size: large;
  text-decoration: blink;
  text-shadow: 1px 1px 0 #969696, 1px 5px 5px #aba8a8;
}

#top_five {
  text-align: center;
  background-color: #ffff00;
  font-family: "Times New Roman", Times, serif;
  font-weight: bold;
  line-height: 1.3em;
  margin-top: 10px;
  color: #000000;
  font-size: 22px;
  border-left: 3px solid #00008d;
  border-right: 3px solid #00008d;
  border-bottom: 3px solid #00008d;
  border-top: 3px solid #00008d;
  opacity: 1 !important;
  visibility: visible !important;
  display: block !important;
}
#pic {
  width: 100%;
  text-align: center;
  margin-top: 5px;
}
.live-updates {
  background-color: #ffc107;
  color: black;
  font-weight: bold;
  font-size: 28px;
  font-family: "Open Sans", sans-serif;
  border: #ffc107 solid 3px;
  margin-bottom: 10px;
  text-shadow: 1px 1px rgb(216, 185, 71);
  border-radius: 8px;
  text-align: center;
  font-style: italic;
  padding: 12px;
  margin-top: 0;
  animation: pulse 2s ease-in-out infinite;
}

/* Live Updates Section Styling */
.live-updates-section {
  padding: 0 !important;
  overflow: hidden;
}

.live-updates-banner {
  background-color: #ffc107;
  color: black;
  font-weight: bold;
  font-size: 24px;
  font-family: "Open Sans", sans-serif;
  text-shadow: 1px 1px rgb(216, 185, 71);
  border-radius: 8px 8px 0 0;
  text-align: center;
  font-style: italic;
  padding: 15px;
  margin: 0;
  width: 100%;
}

.game-name-display {
  font-size: 32px;
  font-weight: bold;
  font-style: italic;
  margin: 15px 0 10px 0;
  text-align: center;
}

.game-number-display {
  font-size: 24px;
  font-weight: bold;
  margin: 10px 0 20px 0;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

.game-arrow {
  font-size: 20px;
  color: black;
}

.game-number {
  font-size: 28px;
  font-weight: bold;
}

.game-description {
  display: block;
  width: 100%;
  font-size: 14px;
  margin-top: 5px;
  font-weight: normal;
}

.refresh-section {
  margin: 20px 0;
  padding: 15px 0;
}

.animated-bars-top,
.animated-bars-bottom {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin: 10px 0;
  flex-wrap: wrap;
}

.animated-bar {
  width: 120px;
  height: 8px;
  background: #000000;
  border-radius: 4px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.animated-bar::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, #ff0000, transparent);
  animation: slide 2s infinite;
}

.animated-bar::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 30%;
  height: 100%;
  background: #ff0000;
  opacity: 0.8;
  animation: glow 1.5s infinite;
}

@keyframes slide {
  0% {
    left: -100%;
  }
  100% {
    left: 100%;
  }
}

@keyframes glow {
  0%, 100% {
    opacity: 0.8;
    box-shadow: 0 0 5px #ff0000;
  }
  50% {
    opacity: 1;
    box-shadow: 0 0 15px #ff0000;
  }
}

.refresh-button-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 15px 0;
}

.refresh-btn {
  background: #FF6600;
  color: #ffffff;
  border: 2px solid #FF6600;
  padding: 12px 30px;
  border-radius: 25px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 15px;
  box-shadow: 0 3px 8px rgba(255, 102, 0, 0.4);
}

.refresh-btn:hover {
  background: #E55A00;
  border-color: #E55A00;
  transform: scale(1.05);
  box-shadow: 0 5px 15px rgba(255, 102, 0, 0.5);
}

.refresh-btn:active {
  transform: scale(0.98);
}

.section-divider {
  border: none;
  border-top: 1px solid #ddd;
  margin: 20px 0;
  width: 90%;
}

.android-download-section {
  margin: 20px 0 10px 0;
  padding: 0 10px;
}

.app-download-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 25px;
  background: #FF6600;
  color: #ffffff;
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  transition: all 0.3s ease;
  font-size: 16px;
  box-shadow: 0 3px 10px rgba(255, 102, 0, 0.3);
  border: 2px solid #FF6600;
}

.app-download-link:hover {
  background: #E55A00;
  border-color: #E55A00;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(255, 102, 0, 0.4);
}

.app-download-link i {
  font-size: 24px;
}

@keyframes pulse {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(255, 193, 7, 0.7);
  }
  50% {
    box-shadow: 0 0 0 10px rgba(255, 193, 7, 0);
  }
}
.PINKKK {
  background-color: white;
  color: #330000;
  border-radius: 8px;
  -moz-border-radius: 8px;
  -webkit-border-radius: 8px;
  border: 4px solid #cc00ff;
  border-style: groove;
  margin: 15px auto;
  max-width: 1200px;
  padding: 15px;
  font-weight: bold;
  font-style: italic;
  font-size: 14px;
  transition: all 0.3s ease;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  opacity: 1 !important;
  visibility: visible !important;
  display: block !important;
}

.PINKKK:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(204, 0, 255, 0.3);
}

/* App Download Link */
.app-download-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: #FF6600;
  color: #ffffff;
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  transition: all 0.3s ease;
  margin: 10px 0;
}

.app-download-link:hover {
  background: #E55A00;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(255, 102, 0, 0.3);
}

.app-download-link i {
  font-size: 20px;
}

/* Responsive Design */
@media (max-width: 768px) {
  body {
    padding-top: 80px;
  }

  .main-header {
    padding: 10px 15px;
  }

  .header-container {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
  }

  .logo-container {
    flex: 0 0 auto;
    display: flex;
    justify-content: flex-start;
  }

  .header-logo {
    height: 40px;
    max-width: 150px;
  }

  .header-buttons {
    flex: 0 0 auto;
    display: flex;
    justify-content: flex-end;
    gap: 0;
  }

  .download-btn {
    padding: 8px 15px;
    border-radius: 20px;
    justify-content: center;
    font-size: 12px;
    background: #FFF8DC;
    border: 2px solid #FF6600;
    white-space: nowrap;
  }

  .download-btn span {
    display: inline;
    margin-left: 5px;
    font-size: 11px;
  }

  .download-btn i {
    font-size: 16px;
    margin: 0;
  }

  .floating-buttons {
    right: 15px;
    bottom: 15px;
  }

  .float-btn {
    padding: 10px 16px;
    border-radius: 25px;
  }

  .float-btn i {
    font-size: 18px;
  }

  .float-btn-text {
    font-size: 12px;
  }

  .float-tooltip {
    display: none;
  }

  .top1, .top2, .top3, .CHART3, .PINKKK, .login {
    margin-left: 10px;
    margin-right: 10px;
    padding: 12px;
  }

  .live-updates {
    font-size: 20px;
    padding: 10px;
  }
}

@media (max-width: 480px) {
  body {
    padding-top: 70px;
  }

  .main-header {
    padding: 8px 10px;
  }

  .header-container {
    gap: 8px;
  }

  .header-logo {
    height: 35px;
    max-width: 130px;
  }

  .download-btn {
    padding: 6px 12px;
    font-size: 10px;
    border-radius: 18px;
  }

  .download-btn span {
    font-size: 10px;
    margin-left: 4px;
  }

  .download-btn i {
    font-size: 14px;
  }

  .float-btn {
    padding: 8px 14px;
    border-radius: 22px;
  }

  .float-btn i {
    font-size: 16px;
  }

  .float-btn-text {
    font-size: 11px;
  }
}

/* Preloader Styles */
.loader-mask {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #ffffcc;
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loader-mask.hidden {
  opacity: 0;
  visibility: hidden;
  display: none !important;
}

.loader {
  width: 50px;
  height: 50px;
  border: 5px solid #f3f3f3;
  border-top: 5px solid #FF6600;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Smooth Scrolling */
html {
  scroll-behavior: smooth;
}

/* Content Container */
.site-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 10px;
  position: relative;
  z-index: 1;
  min-height: 100vh;
}

#homescreen {
  position: relative;
  z-index: 1;
}

.home-first-sec {
  position: relative;
  z-index: 1;
}

/* Improved Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.home-first-sec > div {
  opacity: 1 !important;
  visibility: visible !important;
  animation: fadeIn 0.5s ease-out;
}

/* Better Link Styling */
a {
  color: Red;
  transition: all 0.3s ease;
}

a:hover {
  color: #cc0000;
  text-decoration: underline;
}

/* Marquee Styling */
marquee {
  padding: 10px 0;
  font-weight: bold;
  font-size: 16px;
}

div[style*="background-color:aqua"] {
  background: linear-gradient(90deg, #00FFFF, #00CED1) !important;
  padding: 10px;
  border-radius: 6px;
  margin: 10px auto;
  max-width: 1200px;
  box-shadow: 0 2px 5px rgba(0, 255, 255, 0.3);
}

/* Improved Button Styling */
input[type="button"] {
  background: #FF6600;
  color: #ffffff;
  border: 2px solid #FF6600;
  padding: 10px 25px;
  border-radius: 25px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 14px;
  box-shadow: 0 2px 5px rgba(255, 102, 0, 0.3);
}

input[type="button"]:hover {
  background: #E55A00;
  border-color: #E55A00;
  transform: scale(1.05);
  box-shadow: 0 4px 10px rgba(255, 102, 0, 0.4);
}

input[type="button"]:active {
  transform: scale(0.98);
}

/* Mobile Refresh Button Styling */
@media (max-width: 768px) {
  input[type="button"] {
    padding: 10px 20px;
    font-size: 13px;
    border-radius: 20px;
  }
}

@media (max-width: 480px) {
  input[type="button"] {
    padding: 8px 18px;
    font-size: 12px;
    border-radius: 18px;
    width: auto;
    min-width: 100px;
  }
}

/* Mobile Responsive for Live Updates Section */
@media (max-width: 768px) {
  .live-updates-banner {
    font-size: 20px;
    padding: 12px;
  }

  .game-name-display {
    font-size: 26px;
    margin: 12px 0 8px 0;
  }

  .game-number-display {
    font-size: 20px;
    margin: 8px 0 15px 0;
  }

  .game-number {
    font-size: 24px;
  }

  .game-arrow {
    font-size: 18px;
  }

  .game-description {
    font-size: 12px;
  }

  .animated-bar {
    width: 100px;
    height: 6px;
  }

  .refresh-btn {
    padding: 10px 25px;
    font-size: 14px;
  }

  .app-download-link {
    padding: 10px 20px;
    font-size: 14px;
  }

  .app-download-link i {
    font-size: 20px;
  }
}

@media (max-width: 480px) {
  .live-updates-banner {
    font-size: 18px;
    padding: 10px;
  }

  .game-name-display {
    font-size: 22px;
    margin: 10px 0 6px 0;
  }

  .game-number-display {
    font-size: 18px;
    margin: 6px 0 12px 0;
    flex-direction: column;
    gap: 5px;
  }

  .game-number {
    font-size: 20px;
  }

  .game-arrow {
    font-size: 16px;
  }

  .game-description {
    font-size: 11px;
  }

  .animated-bar {
    width: 80px;
    height: 5px;
  }

  .animated-bars-top,
  .animated-bars-bottom {
    gap: 8px;
  }

  .refresh-section {
    margin: 15px 0;
    padding: 10px 0;
  }

  .refresh-btn {
    padding: 8px 20px;
    font-size: 13px;
  }

  .app-download-link {
    padding: 10px 18px;
    font-size: 13px;
    width: 100%;
    max-width: 300px;
    justify-content: center;
  }

  .app-download-link i {
    font-size: 18px;
  }
}

/* Game Cards Enhancement */
.top3 > div {
  margin: 10px 0;
  padding: 10px;
  border-radius: 6px;
  transition: all 0.3s ease;
}

.top3 > div:hover {
  transform: translateX(5px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Chart Links Enhancement */
.login a {
  display: block;
  padding: 10px;
  transition: all 0.3s ease;
}

.login a:hover {
  background: rgba(255, 0, 0, 0.1);
  border-radius: 6px;
}

/* Section Headings */
.HEADLINES2 {
  padding: 15px;
  margin: 20px auto;
  max-width: 1200px;
  border-radius: 8px;
  animation: pulse 2s ease-in-out infinite;
}

/* Improved HR Styling */
hr {
  border: none;
  border-top: 2px solid #ddd;
  margin: 15px 0;
  border-radius: 2px;
}

/* Better Typography */
big {
  font-size: 1.2em;
  font-weight: bold;
}

/* Responsive Images */
img {
  max-width: 100%;
  height: auto;
}

/* Loading Animation for Content */
@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.home-first-sec > div {
  animation: slideInUp 0.6s ease-out;
}

/* Improved Container Spacing */
.home-first-sec {
  padding: 20px 0;
}

/* Better Focus States */
a:focus,
button:focus,
input:focus {
  outline: 2px solid #FF6600;
  outline-offset: 2px;
}

/* Print Styles */
@media print {
  .main-header,
  .floating-buttons,
  .loader-mask {
    display: none;
  }
  
  body {
    padding-top: 0;
  }
}
