:root {
  --playnow-red: #e60012;
  --playnow-dark: #333333;
  --playnow-light-gray: #f5f5f5;
  --playnow-border: #dddddd;
}

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

body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--playnow-dark);
  background-color: white;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

h1,
h2,
h3,
h4 {
  margin: 0 0 15px;
  padding: 0;
  transition: 0.3s;
}

h1 {
  font-size: 90px;
  font-weight: 800;
  line-height: 125%;
}
@media (max-width: 991px) {
  h1 {
    font-size: 50px;
  }
}
@media (max-width: 767px) {
  h1 {
    font-size: 42px;
  }
}
@media (max-width: 575px) {
  h1 {
    font-size: 34px;
  }
}
h2 {
  font-size: 48px;
  font-weight: 800;
}
@media (max-width: 1199px) {
  h2 {
    font-size: 42px;
  }
}
@media (max-width: 767px) {
  h2 {
    font-size: 36px;
  }
}
@media (max-width: 575px) {
  h2 {
    font-size: 28px;
  }
}
h3 {
  font-size: 24px;
  font-weight: 700;
  line-height: 133%;
}
@media (max-width: 575px) {
  h3 {
    font-size: 20px;
  }
}
h4 {
  font-size: 22px;
  font-weight: 700;
}

a {
  text-decoration: none;
  outline: none !important;
  cursor: pointer;
  transition: all 0.4s ease-in-out;
}
p {
  margin: 0;
  transition: all 0.4s ease-in-out;
}

ul {
  display: block;
  padding: 0;
  margin: 0;
}
.bullet-list {
  position: relative;
  margin-bottom: 20px;
  padding-left: 20px;
  list-style: none;
}
ol.bullet-list li {
  position: relative;
  counter-increment: list-item;
}
ol.bullet-list li::marker {
  font-weight: 700;
  padding-right: 10px;
}
ol.bullet-list li::before {
  content: counter(list-item) ". ";
  position: absolute;
  left: -20px;
  font-weight: 700;
}
.bullet-list li {
  position: relative;
  margin-bottom: 10px;
}
ul.bullet-list li::before {
  content: "";
  position: absolute;
  top: 8px;
  left: -20px;
  height: 8px;
  width: 8px;
  border-radius: 50%;
  background: var(--playnow-dark);
}
.data-container {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
}
table th,
table td {
  border: 1px solid var(  --playnow-border);
  padding: 10px;
  text-align: left;
}
table th {
  color: #30323c;
  background-color: #ffffff;
}
table thead tr th {
  color: #ffffff;
  background-color: var(--playnow-dark);
}

/* Header Styles */
.top-nav {
  background-color: white;
  padding: 10px 0;
  border-bottom: 1px solid var(--playnow-border);
}

.top-nav-content {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 20px;
  font-size: 14px;
}

.top-nav a {
  color: var(--playnow-dark);
  text-decoration: none;
}

.top-nav a:hover {
  color: var(--playnow-red);
}

.main-header {
  background-color: white;
  padding: 15px 0;
  border-bottom: 2px solid var(--playnow-border);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

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

.logo img {
  height: 45px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
}

.main-nav {
  display: flex;
  gap: 30px;
}

.main-nav a {
  color: var(--playnow-dark);
  text-decoration: none;
  font-weight: bold;
  font-size: 16px;
  padding: 10px 0;
  border-bottom: 3px solid transparent;
  transition: all 0.3s ease;
}

.main-nav a:hover {
  color: var(--playnow-red);
  border-bottom-color: var(--playnow-red);
}

.auth-buttons {
  display: flex;
  gap: 15px;
}

.login-btn {
  color: var(--playnow-dark);
  text-decoration: none;
  padding: 10px 15px;
  border: 1px solid var(--playnow-border);
  border-radius: 4px;
  transition: all 0.3s ease;
}

.login-btn:hover {
  background-color: var(--playnow-light-gray);
}

.join-btn {
  background-color: var(--playnow-red);
  color: white;
  text-decoration: none;
  padding: 10px 15px;
  border-radius: 4px;
  font-weight: bold;
  transition: all 0.3s ease;
}

.join-btn:hover {
  background-color: #cc0010;
}

/* Main Content */
.hero-section {
  background: linear-gradient(135deg, #000000, #dc2626);
  color: white;
  padding: 80px 0;
  text-align: center;
  min-height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-content h1 {
  font-size: 48px;
  font-weight: bold;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-content p {
  font-size: 18px;
  margin-bottom: 30px;
  opacity: 0.9;
}

.loading-spinner {
  width: 40px;
  height: 40px;
  border: 4px solid rgba(255, 255, 255, 0.3);
  border-top: 4px solid white;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto;
}

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

/* Lottery Cards */
.lottery-cards {
  padding: 40px 0;
  background-color: var(--playnow-light-gray);
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.lottery-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: white;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s ease;
}

.lottery-card:hover {
  transform: translateY(-5px);
}

.lottery-card.lotto-max {
  background: linear-gradient(135deg, #4caf50, #8bc34a);
  color: white;
}

.lottery-card.lotto-649 {
  background: linear-gradient(135deg, #2196f3, #3f51b5);
  color: white;
}

.lottery-card.lotto {
  background: linear-gradient(135deg, #00bcd4, #009688);
  color: white;
}

.lottery-card.winning-numbers {
  background: linear-gradient(135deg, #ff9800, #f57c00);
  color: white;
}

.lottery-card h3 {
  font-size: 24px;
  margin-bottom: 10px;
}

.lottery-card p {
  margin-top: 5px;
}

.lottery-card .jackpot {
  font-size: 32px;
  font-weight: bold;
  margin: 15px 0;
}

.lottery-card .jackpot small {
  font-size: 14px;
}

.lottery-card .details {
  font-size: 14px;
  margin-bottom: 15px;
  opacity: 0.9;
}

/* Casino Games Section */
.casino-section {
  padding: 50px 0;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
}

.section-title {
  font-size: 28px;
  font-weight: bold;
  color: var(--playnow-dark);
}

.section-link {
  color: var(--playnow-red);
  text-decoration: none;
  font-weight: bold;
  display: flex;
  align-items: center;
  gap: 5px;
}

.section-link:hover {
  text-decoration: underline;
}

.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}

.game-tile {
  position: relative;
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.game-tile:hover {
  transform: translateY(-5px);
}

.game-tile img {
  width: 100%;
  height: 150px;
  object-fit: cover;
}

.game-tile a {
  position: absolute;
  top: 45px;
  left: 50%;
  transform: translateX(-50%);
  box-shadow: 0 2px 10px 5px #fff;
}

.game-info {
  padding: 15px;
}

.game-title {
  font-weight: bold;
  margin-bottom: 5px;
}

.game-description {
  font-size: 14px;
  color: #666;
}

/* Sports Section */
.sports-section {
  background-color: var(--playnow-light-gray);
  padding: 50px 0;
}

.sports-promo {
  background: linear-gradient(135deg, #000000, #dc2626);
  color: white;
  padding: 40px;
  border-radius: 12px;
  text-align: center;
  margin-bottom: 30px;
}

.sports-promo h3 {
  font-size: 32px;
  margin-bottom: 15px;
}

.sports-promo p {
  font-size: 18px;
  margin-bottom: 20px;
}

.promo-btn {
  background-color: white;
  color: #000000;
  padding: 12px 24px;
  border: none;
  border-radius: 6px;
  font-weight: bold;
  cursor: pointer;
  font-size: 16px;
  transition: all 0.3s ease;
}

.promo-btn:hover {
  background-color: #f0f0f0;
}

/* Winner Stories */
.winners-section {
  padding: 50px 0;
}

.winners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.winner-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.winner-card:hover {
  transform: translateY(-5px);
}

.winner-image {
  height: 200px;
  background: linear-gradient(135deg, #333, #555);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 18px;
}

.winner-amount {
  background: linear-gradient(135deg, #00bcd4, #0097a7);
  color: white;
  padding: 15px;
  text-align: center;
}

.winner-amount .amount {
  font-size: 24px;
  font-weight: bold;
}

/* GameSense Section */
.gamesense-section {
  background-color: var(--playnow-light-gray);
  padding: 50px 0;
}

.gamesense-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.gamesense-text h2 {
  font-size: 36px;
  margin-bottom: 20px;
  color: var(--playnow-dark);
}

.gamesense-text p {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 20px;
}

.gamesense-btn {
  background-color: var(--playnow-red);
  color: white;
  padding: 12px 24px;
  border: none;
  border-radius: 6px;
  font-weight: bold;
  cursor: pointer;
  font-size: 16px;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
}

.gamesense-btn:hover {
  background-color: #cc0010;
}

.gamesense-image img {
  width: 100%;
  border-radius: 8px;
}

/* Footer */
.footer {
  background-color: var(--playnow-dark);
  color: white;
  padding: 50px 0 30px;
}

.footer-main {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 30px;
}

.footer-section h4 {
  font-size: 16px;
  margin-bottom: 15px;
  color: white;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 8px;
}

.footer-section ul li a {
  color: #ccc;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s ease;
}

.footer-section ul li a:hover {
  color: white;
}

.footer-contact {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 8px;
  font-size: 14px;
  color: #ccc;
}

.social-links {
  display: flex;
  gap: 15px;
  margin-bottom: 20px;
}

.social-links a {
  color: #ccc;
  font-size: 20px;
  transition: color 0.3s ease;
}

.social-links a:hover {
  color: white;
}

.footer-bottom {
  border-top: 1px solid #555;
  padding-top: 20px;
  color: #ccc;
  font-size: 14px;
  line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 768px) {
  .header-content {
    flex-direction: column;
    gap: 20px;
  }

  .main-nav {
    flex-wrap: wrap;
    gap: 15px;
  }

  .hero-content h1 {
    font-size: 32px;
  }

  .cards-grid {
    grid-template-columns: 1fr;
  }

  .gamesense-content {
    grid-template-columns: 1fr;
  }

  .section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .footer-main {
    grid-template-columns: 1fr;
  }
}

/* Utility Classes */
.text-center {
  text-align: center;
}
.mb-20 {
  margin-bottom: 20px;
}
.mt-30 {
  margin-top: 30px;
}
.hidden {
  display: none;
}

/* Animations */
.fade-in {
  animation: fadeIn 0.6s ease-in;
}

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

/* Details */
.details-block {
  margin: 50px auto;
}
.details-block img {
   max-width: 100%;
   height: auto; 
   margin:.5rem;
}
.details-block blockquote {
    border-left: 3px solid #bf0000;
    margin: 0 50px;
    font-style: italic;
    color: #666;
    padding-left: 20px;
}
.details-block code {
    color: #bf0000;
}
.details-block ul, .details-block ol {
  position: relative;
  margin-bottom: 20px;
  padding-left: 20px;
  list-style: none;
}
.details-block ol li {
  position: relative;
  counter-increment: list-item;
}
.details-block ol li::marker {
  font-weight: 700;
  padding-right: 10px;
}
.details-block ol li::before {
  content: counter(list-item) ". ";
  position: absolute;
  left: -20px;
  font-weight: 700;
}
.details-block ul li, .details-block ol li {
  position: relative;
  margin-bottom: 10px;
}
.details-block ul li::before {
  content: "";
  position: absolute;
  top: 8px;
  left: -20px;
  height: 8px;
  width: 8px;
  border-radius: 50%;
  background: var(--playnow-dark);
}
.details-block a {
    color: var(--playnow-red);;
}
.details-block p {
    margin-bottom: 1rem;
}
@media (max-width: 991px) {
    .details-block table {
        display: inline-block;
    	vertical-align: top;
    	max-width: 100%;
    	overflow-x: auto;
    	white-space: nowrap;
    	-webkit-overflow-scrolling: touch;
    }
    .details-block table td {
        border: 1px solid #000;
    }
}