:root {
  --primary: #b31217;       /* Deep Brand Red */
  --primary-dark: #8b0e12;
  --gold: #d4af37;          /* Metallic Gold */
  --gold-dark: #aa8c2c;
  --dark: #1a1a1a;          /* Rich Black for Footer/Hero */
  --light-bg: #fffdfa;      /* Slight cream background */
  --text: #2d2d2d;
  --white: #ffffff;
  --glass: rgba(255, 255, 255, 0.9);
  --shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Inter', sans-serif; line-height: 1.6; color: var(--text); background: var(--white); overflow-x: hidden; }

/* --- Header --- */
header {
  display: flex; justify-content: space-between; align-items: center;
  padding: 1rem 5%; background: var(--glass); backdrop-filter: blur(12px);
  position: sticky; top: 0; z-index: 1000; border-bottom: 2px solid var(--gold);
}

.logo h1 { color: var(--primary); font-weight: 800; text-transform: uppercase; }

header nav ul { display: flex; list-style: none; gap: 30px; }
header nav ul li a { text-decoration: none; color: var(--text); font-weight: 600; }
header nav ul li a:hover { color: var(--gold); }

.cta-button a {
  background: linear-gradient(45deg, var(--gold), var(--gold-dark));
  color: var(--dark); padding: 10px 24px; border-radius: 5px;
  text-decoration: none; font-weight: 700; box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

/* --- Hero --- */
.hero {
  padding: 120px 5% 100px;
  background: linear-gradient(rgba(26, 26, 26, 0.8), rgba(26, 26, 26, 0.8)), url('hero-bg.jpg') center/cover;
  color: white; text-align: center; border-bottom: 5px solid var(--gold);
}

.gold-text { color: var(--gold); }
.hero h2 { font-size: clamp(2.2rem, 5vw, 3.8rem); margin-bottom: 25px; }

/* --- Features --- */
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; padding: 100px 10%; background: var(--light-bg); }
.feature-box {
  background: var(--white); padding: 50px 30px; border-radius: 20px; text-align: center;
  box-shadow: var(--shadow); border-top: 4px solid var(--gold); transition: 0.3s;
}
.feature-box:hover { transform: translateY(-10px); }

/* --- Games --- */
.game-previews { padding: 100px 5%; text-align: center; }
.game-container { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; margin: 50px 0; }
.game img { width: 100%; border-radius: 15px; border: 2px solid var(--gold); max-width: 200px; }
.game {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
  justify-content: center;
}

/* --- Buttons --- */
.cta-btn { padding: 16px 40px; border-radius: 8px; text-decoration: none; font-weight: 700; display: inline-block; transition: 0.3s; border: none; cursor: pointer;}
.cta-btn.primary { background: var(--primary); color: white; }
.cta-btn.primary:hover { background: var(--primary-dark); }
.cta-btn.secondary { border: 2px solid var(--gold); color: var(--gold); background: transparent; }

/* --- Modal --- */
.modal-overlay {
  display: none; 
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(5px);
  z-index: 3000;
  justify-content: center;
  align-items: center;
}
.modal-overlay.active { display: flex; }
.modal-content {
  background: white;
  padding: 50px 40px 40px 40px; /* Extra top padding for the X icon */
  border-radius: 20px;
  max-width: 450px;
  width: 90%;
  text-align: center;
  position: relative; /* This allows the X to stay inside the box */
  border: 3px solid var(--gold);
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}
.close-modal {
  position: absolute;
  top: 10px;
  right: 20px;
  font-size: 2.5rem; /* Larger for better visibility */
  font-weight: 300;
  color: var(--text);
  cursor: pointer;
  line-height: 1;
  transition: transform 0.2s ease, color 0.2s ease;
}

/* Visual feedback on hover */
.close-modal:hover {
  color: var(--primary);
  transform: scale(1.1);
}
.promo-badge { background: var(--gold); color: var(--dark); padding: 5px 15px; border-radius: 50px; font-weight: bold; margin-bottom: 15px; display: inline-block; }

/* --- Footer --- */
footer { background-color: var(--dark); color: var(--white); padding: 80px 5% 40px; border-top: 5px solid var(--gold); }
.footer-container { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 40px; max-width: 1200px; margin: 0 auto; }
.footer-links h4 { color: var(--gold); margin-bottom: 20px; text-transform: uppercase; }
.social-links a { color: var(--gold); text-decoration: none; margin-right: 15px; font-weight: bold; }
.social-links { display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;}
.footer-bottom { margin-top: 60px; padding-top: 30px; border-top: 1px solid #333; display: flex; justify-content: space-between; color: #777; }

/* --- Reveal --- */
.reveal { opacity: 0; transform: translateY(30px); transition: 0.8s ease-out; }
.reveal.active { opacity: 1; transform: translateY(0); }
.hamburger{display: none;}
.cta-mobile{display: block;}

/* --- Mobile --- */
@media (max-width: 768px) {
  header nav { display: none; position: absolute; top: 100%; left: 0; width: 100%; background: white; padding: 20px; border-bottom: 2px solid var(--gold); }
  header nav.active { display: block; }
  .hamburger { display: block; cursor: pointer; }
  .bar { display: block; width: 25px; height: 3px; background: var(--text); margin: 5px; }
  .cta-mobile{display: none;}
}

/* --- Live Ticker Styles --- */
.ticker-wrapper {
    background: var(--dark);
    border-bottom: 2px solid var(--gold);
    height: 40px;
    display: flex;
    align-items: center;
    overflow: hidden;
    position: relative;
    z-index: 99;
}

.ticker-label {
    background: var(--primary);
    color: white;
    padding: 0 20px;
    height: 100%;
    display: flex;
    align-items: center;
    font-weight: 900;
    font-size: 0.75rem;
    letter-spacing: 1px;
    position: absolute;
    left: 0;
    z-index: 2;
    box-shadow: 10px 0 15px rgba(0,0,0,0.5);
}

.ticker-content {
    display: flex;
    white-space: nowrap;
    padding-left: 120px; /* Offset for the label */
    animation: ticker-scroll 100s linear infinite;
}

.ticker-item {
    display: inline-flex;
    align-items: center;
    color: var(--white);
    margin-right: 50px;
    font-size: 0.85rem;
    font-weight: 500;
}

.ticker-item span {
    color: var(--gold);
    margin-left: 8px;
    font-weight: 700;
}

/* Pause on hover so users can read specific wins */
.ticker-wrapper:hover .ticker-content {
    animation-play-state: paused;
}

@keyframes ticker-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}

/* --- Footer Contact Form --- */
.footer-contact {
  flex: 1;
  min-width: 300px;
  max-width: 450px;
}

.footer-contact h4 {
  color: var(--gold);
  margin-bottom: 20px;
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 1px;
}

.footer-contact form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-contact input, 
.footer-contact textarea {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: 5px;
  padding: 12px;
  color: var(--white);
  font-family: inherit;
  transition: 0.3s;
}

.footer-contact input:focus, 
.footer-contact textarea:focus {
  outline: none;
  border-color: var(--gold);
  background: rgba(255, 255, 255, 0.1);
}

.footer-contact .cta-btn {
  padding: 12px;
  font-size: 0.9rem;
  cursor: pointer;
}

/* Responsive adjustment */
@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
  }
  .footer-contact {
    max-width: 100%;
  }
}

.net-col h4 {
  color: #fff;
  margin-bottom: 15px;
  font-size: 14px;
  text-transform: uppercase;
  border-left: 2px solid #ff0000;
  padding-left: 10px;
}
.net-list li {
  padding: 0;
  margin: 0 0 8px 0;
  list-style: none;
}
.net-list li::before {
  content: none;
}
.net-list a {
  color: #fff;
  font-size: 13px;
}
.net-list a:hover {
  color: #fff;
  padding-left: 5px;
}
