/* OrbitForge Casino - Main Styles */

:root {
  --primary-red: #bb0420;
  --dark-bg: #1a1a1a;
  --darker-bg: #0d0d0d;
  --gray-bg: #4a4a4a;
  --text-white: #ffffff;
  --text-gray: #b3b3b3;
  --border-gray: #333333;
  --hover-red: #d40524;
  --green-accent: #00ff00;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background-color: var(--darker-bg);
  color: var(--text-white);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("../images/background.jpg") center top/cover no-repeat;
  filter: grayscale(100%);
  z-index: -1;
}

/* Header Styles */
.header {
  background-color: transparent;
  padding: 15px 0;
  position: sticky;
  top: 0;
  z-index: 100;
  transition: all 0.4s ease;
}

.header.scrolled {
  background-color: var(--gray-bg);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
  border-radius: 0px 0px 20px 20px;
}

.header-container {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  padding: 0 20px;
}

.logo img {
  height: 60px;
  width: 60px;
  width: auto;
  margin-right: 40px;
}

.logo-text {
  font-size: 28px;
  font-weight: bold;
  color: var(--text-white);
  text-decoration: none;
}

.logo-text .red {
  color: var(--primary-red);
}

.main-nav {
  display: flex;
  gap: 30px;
  align-items: center;
}

.main-nav a {
  color: var(--text-white);
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: color 0.3s;
}

.main-nav a:hover {
  color: var(--primary-red);
}

.login-btn {
  background-color: var(--text-white);
  color: var(--dark-bg);
  padding: 10px 30px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: bold;
  text-transform: uppercase;
  font-size: 13px;
  transition: all 0.3s;
  margin-left: auto;
}

.login-btn:hover {
  background-color: var(--primary-red);
  color: var(--text-white);
  transform: scale(1.05);
}

/* Sub Navigation */
.sub-nav {
  background-color: var(--dark-bg);
  padding: 12px 0;
  border-bottom: 1px solid var(--border-gray);
  position: sticky;
  top: 68px;
  z-index: 99;
  transition: all 0.4s ease;
  max-width: 1360px;
  margin: 0 auto;
  border-radius: 0px 0px 1.25rem 1.25rem;
}

.header.scrolled ~ .sub-nav,
body:has(.header.scrolled) .sub-nav {
  top: 75px;
}

.sub-nav-container {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  gap: 25px;
  padding: 0 20px;
  align-items: center;
}

.sub-nav a {
  color: var(--text-white);
  text-decoration: none;
  font-weight: 600;
  font-size: 13px;
  text-transform: uppercase;
  padding: 8px 15px;
  border-radius: 20px;
  transition: all 0.3s;
}

.sub-nav a.active {
  background-color: var(--green-accent);
  color: var(--dark-bg);
}

.sub-nav a:hover {
  background-color: var(--primary-red);
}

.dark-mode-toggle {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-gray);
  font-size: 12px;
}

/* Main Content */
.main-content {
  max-width: 1400px;
  margin: 20px auto;
  padding: 0 20px;
  min-height: 60vh;
}

.content-wrapper {
  display: grid;
  grid-template-columns: 250px 1fr 320px;
  gap: 20px;
  margin-top: 20px;
}

/* Left Sidebar */
.left-sidebar {
  background-color: rgba(26, 26, 26, 0.95);
  border-radius: 10px;
  padding: 20px;
  height: fit-content;
  position: sticky;
  top: 160px;
}

.sidebar-section {
  margin-bottom: 30px;
}

.sidebar-title {
  color: var(--primary-red);
  font-size: 12px;
  font-weight: bold;
  margin-bottom: 15px;
  letter-spacing: 1px;
}

.sports-list {
  list-style: none;
}

.sport-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
  cursor: pointer;
  border-radius: 8px;
  transition: all 0.3s;
  margin-bottom: 5px;
}

.sport-item:hover {
  background-color: rgba(187, 4, 32, 0.1);
}

.sport-item.active {
  background-color: var(--primary-red);
}

.sport-icon {
  font-size: 18px;
}

.sport-item span:nth-child(2) {
  flex: 1;
  font-size: 14px;
}

.count {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 2px 8px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: bold;
}

/* Center Content */
.center-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Featured Section */
.featured-section {
  background-color: rgba(26, 26, 26, 0.95);
  border-radius: 10px;
  padding: 20px;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.section-header h2 {
  font-size: 18px;
  font-weight: bold;
  color: var(--text-white);
}

.live-indicator {
  color: var(--primary-red);
  font-size: 14px;
  font-weight: bold;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

.featured-match {
  background-color: rgba(0, 0, 0, 0.3);
  border-radius: 8px;
  padding: 20px;
}

.match-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 15px;
  font-size: 13px;
  color: var(--text-gray);
}

.match-league {
  font-weight: bold;
  color: var(--text-white);
}

.match-teams {
  display: flex;
  justify-content: space-around;
  align-items: center;
  margin-bottom: 20px;
}

.team {
  flex: 1;
  text-align: center;
}

.team-name {
  font-size: 18px;
  font-weight: bold;
  color: var(--text-white);
}

.vs {
  font-size: 14px;
  color: var(--text-gray);
  padding: 0 20px;
}

.match-odds {
  display: flex;
  gap: 10px;
  justify-content: center;
}

.odd-btn {
  flex: 1;
  background-color: rgba(74, 74, 74, 0.5);
  border: 1px solid var(--border-gray);
  border-radius: 8px;
  padding: 15px;
  cursor: pointer;
  transition: all 0.3s;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}

.odd-btn:hover {
  background-color: var(--primary-red);
  border-color: var(--primary-red);
  transform: translateY(-2px);
}

.odd-label {
  font-size: 12px;
  color: var(--text-gray);
}

.odd-value {
  font-size: 18px;
  font-weight: bold;
  color: var(--text-white);
}

.odd-btn.small {
  padding: 10px 15px;
  font-size: 14px;
  font-weight: bold;
  color: var(--text-white);
  flex-direction: row;
}

/* Events Section */
.events-section {
  background-color: rgba(26, 26, 26, 0.95);
  border-radius: 10px;
  padding: 20px;
}

.section-title {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 20px;
  color: var(--text-white);
}

.event-card {
  background-color: rgba(0, 0, 0, 0.3);
  border-radius: 8px;
  padding: 15px;
  margin-bottom: 15px;
  transition: all 0.3s;
}

.event-card:hover {
  background-color: rgba(0, 0, 0, 0.5);
  transform: translateX(5px);
}

.event-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
  font-size: 12px;
}

.event-sport {
  font-weight: bold;
  color: var(--text-white);
}

.event-time {
  color: var(--text-gray);
}

.event-match {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}

.event-team {
  flex: 1;
  font-size: 14px;
  color: var(--text-white);
}

.event-score {
  font-size: 18px;
  font-weight: bold;
  color: var(--primary-red);
  padding: 0 15px;
}

.event-vs {
  color: var(--text-gray);
  font-size: 12px;
  padding: 0 15px;
}

.event-odds {
  display: flex;
  gap: 10px;
}

/* Casino Promo */
.casino-promo {
  background-color: rgba(26, 26, 26, 0.95);
  border-radius: 10px;
  padding: 20px;
}

.casino-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
}

.casino-card {
  background-color: rgba(0, 0, 0, 0.3);
  border-radius: 8px;
  padding: 15px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s;
}

.casino-card:hover {
  background-color: rgba(187, 4, 32, 0.2);
  transform: translateY(-5px);
}

.casino-card img {
  width: 100%;
  height: 100px;
  object-fit: cover;
  border-radius: 5px;
  margin-bottom: 10px;
}

.casino-card h3 {
  font-size: 14px;
  color: var(--text-white);
}

/* Right Sidebar */
.right-sidebar {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.betslip {
  background-color: rgba(26, 26, 26, 0.95);
  border-radius: 10px;
  padding: 20px;
  position: sticky;
  top: 160px;
}

.betslip-title {
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 20px;
  color: var(--text-white);
  text-align: center;
}

.betslip-empty {
  text-align: center;
  padding: 40px 20px;
}

.empty-icon {
  font-size: 48px;
  margin-bottom: 15px;
}

.betslip-empty p {
  color: var(--text-gray);
  font-size: 14px;
  margin-bottom: 5px;
}

.empty-subtext {
  font-size: 12px;
  color: var(--text-gray);
  opacity: 0.7;
}

.betslip-footer {
  margin-top: 20px;
}

.betslip-btn {
  width: 100%;
  padding: 15px;
  background-color: var(--gray-bg);
  color: var(--text-white);
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: bold;
  cursor: not-allowed;
  text-transform: uppercase;
}

.betslip-btn:not(:disabled) {
  background-color: var(--green-accent);
  color: var(--dark-bg);
  cursor: pointer;
}

.betslip-btn:not(:disabled):hover {
  background-color: #00cc00;
}

.promo-banner {
  background: linear-gradient(135deg, var(--primary-red) 0%, #d40524 100%);
  border-radius: 10px;
  padding: 25px;
  text-align: center;
}

.promo-banner h4 {
  font-size: 16px;
  margin-bottom: 10px;
  color: var(--text-white);
}

.promo-banner p {
  font-size: 14px;
  margin-bottom: 15px;
  color: var(--text-white);
}

.promo-btn {
  background-color: var(--text-white);
  color: var(--primary-red);
  border: none;
  padding: 12px 30px;
  border-radius: 25px;
  font-weight: bold;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s;
  text-transform: uppercase;
}

.promo-btn:hover {
  background-color: var(--green-accent);
  color: var(--dark-bg);
  transform: scale(1.05);
}

/* Footer */
.footer {
  padding: 50px 0 30px;
  border-top: 3px solid var(--primary-red);
  margin-top: 60px;
}

.footer-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

.footer-top {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-column h3 {
  color: var(--primary-red);
  font-size: 18px;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.footer-column ul {
  list-style: none;
}

.footer-column ul li {
  margin-bottom: 12px;
}

.footer-column ul li a {
  color: var(--text-gray);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s;
}

.footer-column ul li a:hover {
  color: var(--text-white);
}

/* Payment Methods */
.payment-methods {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  margin: 30px 0;
  align-items: center;
}

.payment-methods img {
  height: 35px;
  width: auto;
  filter: brightness(0.8);
  transition: filter 0.3s;
}

.payment-methods img:hover {
  filter: brightness(1);
}

/* Responsible Gaming Section */
.responsible-gaming {
  background-color: rgba(187, 4, 32, 0.1);
  padding: 30px;
  border-radius: 10px;
  margin: 30px 0;
  border: 1px solid var(--primary-red);
}

.responsible-gaming h3 {
  color: var(--primary-red);
  margin-bottom: 15px;
  font-size: 20px;
}

.responsible-gaming p {
  color: var(--text-gray);
  font-size: 14px;
  line-height: 1.8;
  margin-bottom: 10px;
}

/* Gaming Logos */
.gaming-logos {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin: 20px 0;
  align-items: center;
}

.gaming-logos img {
  height: 50px;
  width: auto;
}

/* License Info */
.license-info {
  background-color: var(--darker-bg);
  padding: 25px;
  border-radius: 8px;
  margin: 20px 0;
  border-left: 4px solid var(--primary-red);
}

.license-info p {
  color: var(--text-gray);
  font-size: 13px;
  line-height: 1.8;
  margin-bottom: 8px;
}

.license-info strong {
  color: var(--text-white);
}

/* Footer Bottom */
.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid var(--border-gray);
  color: var(--text-gray);
  font-size: 13px;
}

/* Cookie Popup */
.cookie-popup {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--dark-bg);
  padding: 25px;
  border-top: 3px solid var(--primary-red);
  z-index: 1000;
  display: none;
  box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.5);
}

.cookie-popup.show {
  display: block;
}

.cookie-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
}

.cookie-text {
  flex: 1;
}

.cookie-text p {
  color: var(--text-gray);
  font-size: 14px;
  line-height: 1.6;
}

.cookie-text a {
  color: var(--primary-red);
  text-decoration: underline;
}

.cookie-buttons {
  display: flex;
  gap: 15px;
}

.accept-btn,
.decline-btn {
  padding: 12px 30px;
  border: none;
  border-radius: 25px;
  font-weight: bold;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s;
  text-transform: uppercase;
}

.accept-btn {
  background-color: var(--green-accent);
  color: var(--dark-bg);
}

.accept-btn:hover {
  background-color: #00cc00;
  transform: scale(1.05);
}

.decline-btn {
  background-color: transparent;
  color: var(--text-white);
  border: 2px solid var(--text-white);
}

.decline-btn:hover {
  background-color: var(--text-white);
  color: var(--dark-bg);
}

/* Age Verification Modal */
.age-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.95);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 2000;
}

.age-modal.show {
  display: flex;
}

.age-modal-content {
  background-color: var(--dark-bg);
  padding: 50px;
  border-radius: 15px;
  text-align: center;
  max-width: 500px;
  border: 3px solid var(--primary-red);
}

.age-modal-content h2 {
  font-size: 32px;
  margin-bottom: 20px;
  color: var(--primary-red);
}

.age-modal-content p {
  font-size: 16px;
  margin-bottom: 30px;
  color: var(--text-gray);
  line-height: 1.8;
}

.age-warning {
  background-color: rgba(187, 4, 32, 0.2);
  padding: 15px;
  border-radius: 8px;
  margin-bottom: 30px;
  border: 1px solid var(--primary-red);
}

.age-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
}

.age-yes-btn,
.age-no-btn {
  padding: 15px 40px;
  border: none;
  border-radius: 30px;
  font-weight: bold;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s;
  text-transform: uppercase;
}

.age-yes-btn {
  background-color: var(--green-accent);
  color: var(--dark-bg);
}

.age-yes-btn:hover {
  background-color: #00cc00;
  transform: scale(1.05);
}

.age-no-btn {
  background-color: var(--primary-red);
  color: var(--text-white);
}

.age-no-btn:hover {
  background-color: var(--hover-red);
  transform: scale(1.05);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.mobile-menu-toggle span {
  width: 25px;
  height: 3px;
  background-color: var(--text-white);
  border-radius: 2px;
  transition: all 0.3s;
}

/* Responsive Design */
@media (max-width: 1200px) {
  .content-wrapper {
    grid-template-columns: 200px 1fr 280px;
    gap: 15px;
  }

  .casino-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 968px) {
  .content-wrapper {
    grid-template-columns: 1fr;
  }

  .left-sidebar,
  .right-sidebar {
    position: static;
    width: 100%;
  }

  .left-sidebar {
    order: -1;
  }

  .right-sidebar {
    order: 2;
  }

  .center-content {
    order: 1;
  }
}

@media (max-width: 768px) {
  .header-container {
    flex-wrap: wrap;
  }

  .mobile-menu-toggle {
    display: flex;
  }

  .main-nav {
    display: none;
    width: 100%;
    flex-direction: column;
    gap: 15px;
    padding-top: 20px;
  }

  .main-nav.active {
    display: flex;
  }

  .sub-nav-container {
    flex-wrap: wrap;
    gap: 10px;
  }

  .match-teams {
    flex-direction: column;
    gap: 15px;
  }

  .vs {
    padding: 10px 0;
  }

  .event-match {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }

  .event-team {
    text-align: center;
  }

  .casino-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .cookie-content {
    flex-direction: column;
    gap: 20px;
  }

  .age-modal-content {
    padding: 30px 20px;
    margin: 20px;
  }

  .payment-methods {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .match-odds {
    flex-direction: column;
    gap: 10px;
  }

  .odd-btn {
    width: 100%;
  }

  .event-odds {
    flex-direction: column;
    gap: 8px;
  }

  .odd-btn.small {
    width: 100%;
  }

  .casino-grid {
    grid-template-columns: 1fr;
  }

  .age-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .age-yes-btn,
  .age-no-btn {
    width: 100%;
  }

  .betslip {
    padding: 15px;
  }

  .promo-banner {
    padding: 20px;
  }
}
