/*
Theme Name: Nomad Core
Author: V0
Description: Custom theme for Nomad Casino affiliate site.
Version: 1.0
*/

:root {
  --primary-color: #1d2158;
  --secondary-color: #2d3447;
  --accent-color: #96a5d1;
  --bonus-color: #eaae16;
  --text-light: #f8f9fa;
  --text-dark: #212529;
  --border-color: #495057;
}

body {
  font-family: "Roboto", sans-serif;
  background-color: var(--secondary-color);
  color: var(--text-light);
  line-height: 1.7;
  padding-bottom: 80px; /* Space for sticky widget */
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  color: var(--text-light);
}

a {
  color: var(--accent-color);
  transition: color 0.3s ease;
}

a:hover {
  color: var(--bonus-color);
  text-decoration: none;
}

.content-block {
  background-color: rgba(29, 33, 88, 0.2);
  padding: 2rem;
  margin-bottom: 2rem;
  border-radius: 15px;
  border: 1px solid rgba(150, 165, 209, 0.2);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
  color: white;
}

.content-block:hover {
  transform: translateY(-5px);
}

/* Header */
.header {
  background-color: var(--primary-color);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  padding: 0.5rem 0;
}
.navbar-brand .logo-img {
  max-height: 40px;
}

.logo-img {
  max-height: 40px;
}
.navbar-nav .nav-link {
  color: var(--text-light);
  font-weight: 700;
  margin: 0 1rem;
  transition: color 0.3s ease;
}
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--bonus-color);
}
.navbar-toggler {
  border: none;
  color: var(--text-light);
  font-size: 1.5rem;
}
.navbar-toggler:focus {
  box-shadow: none;
}

/* Buttons */
.btn {
  border-radius: 50px;
  padding: 10px 25px;
  font-weight: 700;
  border: none;
  transition: all 0.3s ease;
}
.btn-accent {
  background-color: var(--accent-color);
  color: var(--primary-color);
}
.btn-accent:hover {
  background-color: #b0c0e8;
  color: var(--primary-color);
  transform: scale(1.05);
}
.btn-bonus {
  background-color: var(--bonus-color);
  color: var(--primary-color);
}
.btn-bonus:hover {
  background-color: #fbd249;
  color: var(--primary-color);
  transform: scale(1.05);
}

/* Hero Section */
.hero-section {
  padding: 5rem 0;
  background: url("/nomad-olympus-bg.avif") no-repeat center center;
  background-size: cover;
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
}
.hero-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, rgba(45, 52, 71, 0.9) 0%, rgba(45, 52, 71, 0.6) 100%);
}
.hero-section .container {
  position: relative;
  z-index: 2;
}
.wheel-container {
  display: flex;
  justify-content: center;
  align-items: center;
}
.wheel-wrapper {
  position: relative;
  width: 300px;
  height: 300px;
}
.wheel {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #2d3447;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 0 0 5px #2d3447, 0 0 0 10px var(--accent-color), 0 0 0 12px var(--primary-color);
  transition: transform 5s cubic-bezier(0.1, 0.57, 0.1, 1);
}
.wheel .sector {
  position: absolute;
  width: 50%;
  height: 50%;
  background: var(--clr);
  transform-origin: bottom right;
  transform: rotate(calc(45deg * var(--i)));
  clip-path: polygon(0 0, 55% 0, 100% 100%, 0 55%);
  display: flex;
  justify-content: center;
  align-items: center;
}
.wheel .sector span {
  position: relative;
  transform: rotate(45deg);
  font-size: 1.5em;
  color: #fff;
}
.arrow {
  position: absolute;
  top: 50%;
  right: -30px;
  width: 0;
  height: 0;
  border-top: 20px solid transparent;
  border-bottom: 20px solid transparent;
  border-left: 30px solid var(--bonus-color);
  transform: scaleX(-1);
  z-index: 10;
}
.win-popup {
  background: rgba(29, 33, 88, 0.9);
  padding: 2rem;
  border-radius: 15px;
  border: 2px solid var(--bonus-color);
  animation: fadeIn 0.5s ease;
}

/* Tables */
.info-table,
.mirrors-table {
  background-color: var(--secondary-color);
  border: 1px solid var(--border-color);
  text-align: left;
  margin: 0 auto;
}
.info-table td,
.mirrors-table td,
.mirrors-table th {
  padding: 1rem;
  vertical-align: middle;
}
.info-table td:first-child {
  font-weight: 700;
  width: 30%;
}
.info-table i {
  margin-right: 10px;
  color: var(--accent-color);
}
.mirrors-table thead {
  background-color: var(--primary-color);
}

/* Pros & Cons */
.pros-card .card-header {
  background-color: #28a745;
  color: white;
}
.cons-card .card-header {
  background-color: #dc3545;
  color: white;
}
.pros-card,
.cons-card {
  background-color: var(--secondary-color);
  border: 1px solid var(--border-color);
  height: 100%;
}

/* Sliders */
.slider-container {
  position: relative;
  overflow: hidden;
}
.slider {
  display: flex;
  transition: transform 0.5s ease-in-out;
}
.slide {
  min-width: 100%;
  box-sizing: border-box;
  color: white;
}
@media (min-width: 768px) {
  .slide {
    min-width: 33.33%;
    padding: 0 10px;
  }
}
.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(29, 33, 88, 0.7);
  color: white;
  border: none;
  padding: 10px 15px;
  cursor: pointer;
  z-index: 10;
}
.prev-btn {
  left: 10px;
}
.next-btn {
  right: 10px;
}

/* Cards */
.tournament-card,
.slot-card {
  background-color: var(--secondary-color);
  border: 1px solid var(--border-color);
  text-align: center;
  transition: transform 0.3s ease;
}
.tournament-card:hover,
.slot-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
}
.slot-card img {
  height: 180px;
  object-fit: cover;
}

/* Review Content Styling */
.review-content {
  line-height: 1.8;
}
.review-content h1,
.review-content h2,
.review-content h3 {
  margin-top: 1.5em;
  margin-bottom: 0.8em;
}
.review-content p {
  margin-bottom: 1em;
}
.review-content ul,
.review-content ol {
  padding-left: 2em;
  margin-bottom: 1em;
}
.review-content li {
  margin-bottom: 0.5em;
}
.review-content table {
  width: 100%;
  margin-bottom: 1.5em;
  border-collapse: collapse;
}
.review-content th,
.review-content td {
  border: 1px solid var(--border-color);
  padding: 0.75em;
  text-align: left;
}
.review-content th {
  background-color: var(--primary-color);
}
.review-content blockquote {
  border-left: 4px solid var(--accent-color);
  padding-left: 1em;
  margin-left: 0;
  font-style: italic;
  color: #ccc;
}

/* FAQ Accordion */
.accordion-item {
  background-color: var(--secondary-color);
  border: 1px solid var(--border-color);
  color: white;
}
.accordion-button {
  background-color: var(--primary-color);
  color: var(--text-light);
  font-weight: 700;
}
.accordion-button:not(.collapsed) {
  background-color: var(--accent-color);
  color: var(--primary-color);
}
.accordion-button:focus {
  box-shadow: 0 0 0 0.25rem rgba(234, 174, 22, 0.5);
}
.accordion-body {
  background-color: var(--secondary-color);
}

/* Footer */
.footer {
  background-color: var(--primary-color);
  color: #adb5bd;
  padding: 3rem 0 1rem;
  margin-top: 3rem;
}
.footer h5 {
  color: var(--text-light);
}
.footer a {
  color: #adb5bd;
}
.footer a:hover {
  color: var(--bonus-color);
}
.footer-logos img {
  height: 30px;
  margin: 5px;
  filter: grayscale(100%);
  opacity: 0.7;
  transition: all 0.3s ease;
}
.footer-logos img:hover {
  filter: none;
  opacity: 1;
}
.footer-bottom {
  border-top: 1px solid var(--border-color);
  padding-top: 1rem;
  margin-top: 2rem;
}

/* Sticky Widget */
.sticky-widget {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: var(--primary-color);
  padding: 1rem 0;
  box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.3);
  z-index: 1000;
  animation: slideUp 0.5s ease-out;
}
.sticky-widget a {
  text-decoration: none;
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
@keyframes slideUp {
  from {
    transform: translateY(100%);
  }
  to {
    transform: translateY(0);
  }
}

/* Unused WP styles for obfuscation */
.wp-block-button__link {
  color: #fff;
  background-color: #32373c;
  border-radius: 9999px;
  box-shadow: none;
  text-decoration: none;
  padding: calc(.667em + 2px) calc(1.333em + 2px);
  font-size: 1.125em;
}
.entry-content {
  padding: 1em 0;
}
.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  word-wrap: normal !important;
}
