/*
Theme Name: Volta AZ
Author: v0
Version: 1.2
*/

:root {
  --vlt-bg: #01001d;
  --vlt-primary: #010a37;
  --vlt-accent-login: #1557d9;
  --vlt-accent-signup: #ffc201;
  --vlt-text-light: #ffffff;
  --vlt-text-dark: #cccccc;
  --vlt-text-accent: #ffc201;
  --vlt-border-color: rgba(255, 255, 255, 0.1);
}

body {
  font-family: "Open Sans", sans-serif;
  background-color: var(--vlt-bg);
  color: var(--vlt-text-light);
  line-height: 1.7;
  padding-top: 70px; /* For fixed header */
}

.vlt-wrapper {
  overflow-x: hidden;
}

/* Buttons */
.vlt-btn {
  border-radius: 25px;
  padding: 10px 25px;
  font-weight: bold;
  text-transform: uppercase;
  border: none;
  transition: all 0.3s ease;
}
.vlt-btn--login {
  background-color: var(--vlt-accent-login);
  color: var(--vlt-text-light);
}
.vlt-btn--login:hover {
  background-color: #1246ad;
  color: white;
}
.vlt-btn--bonus {
  background-color: var(--vlt-accent-signup);
  color: #000;
}
.vlt-btn--bonus:hover {
  background-color: #e6af00;
  color: #000;
}

/* Header */
.vlt-header {
  background: linear-gradient(180deg, rgba(1, 10, 55, 1) 0%, rgba(1, 10, 55, 0.8) 100%);
  padding: 5px 0;
  backdrop-filter: blur(5px);
}
.vlt-logo {
  height: 50px;
}
.navbar-dark .navbar-nav .nav-link {
  color: var(--vlt-text-dark);
  font-weight: bold;
  margin: 0 10px;
  transition: color 0.3s;
}
.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link.active {
  color: var(--vlt-text-accent);
}
.navbar-toggler {
  border-color: var(--vlt-border-color);
}

/* Hero */
.vlt-hero {
  position: relative;
  height: 70vh;
  min-height: 400px;
  background: url("/wp-content/themes/volta-theme/images/volta-casino-banner.webp") no-repeat center center;
  background-size: cover;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--vlt-text-light);
}
.vlt-hero__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(1, 0, 29, 0.6);
}
.vlt-hero__content {
  position: relative;
  z-index: 2;
  animation: fadeIn 1.5s ease-in-out;
}
.vlt-hero__title {
  font-size: 3rem;
  font-weight: bold;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
}
.vlt-hero__subtitle {
  font-size: 1.5rem;
  margin-bottom: 30px;
}

/* Sections */
.vlt-section {
  padding: 60px 0;
  border-bottom: 1px solid var(--vlt-border-color);
}
.vlt-section:last-child {
  border-bottom: none;
}
.vlt-section__title {
  text-align: center;
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 40px;
  color: var(--vlt-text-accent);
}

/* Cards */
.vlt-card {
  background-color: rgba(1, 10, 55, 0.5);
  border: 1px solid var(--vlt-border-color);
  border-radius: 15px;
  padding: 25px;
  height: 100%;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.vlt-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}
.vlt-card__title {
  color: var(--vlt-text-accent);
  margin-bottom: 15px;
}
.vlt-pros-cons ul {
  list-style-type: none;
  padding-left: 0;
}
.vlt-pros-cons ul li {
  padding-left: 25px;
  position: relative;
  margin-bottom: 10px;
}
.vlt-card--pros ul li::before {
  content: "✔";
  color: #28a745;
  position: absolute;
  left: 0;
}
.vlt-card--cons ul li::before {
  content: "✖";
  color: #dc3545;
  position: absolute;
  left: 0;
}

/* Jackpots */
.vlt-jackpots {
  background: linear-gradient(45deg, #010a37, #1557d9);
}
.vlt-jackpot-amount {
  font-size: 4rem;
  font-weight: bold;
  color: var(--vlt-text-accent);
  margin: 20px 0;
  text-shadow: 0 0 15px var(--vlt-text-accent);
}

/* Mirrors Table */
.vlt-table {
  background-color: var(--vlt-primary);
  color: var(--vlt-text-light);
  border-radius: 10px;
  overflow: hidden;
}
.vlt-table thead {
  background-color: rgba(255, 255, 255, 0.1);
}
.vlt-table th,
.vlt-table td {
  padding: 15px;
  vertical-align: middle;
  text-align: left;
  border-top: 1px solid var(--vlt-border-color);
}
.vlt-status--active {
  color: #28a745;
  font-weight: bold;
}

/* Tournaments & Games */
.vlt-card--tournament,
.vlt-card--game {
  text-align: center;
  position: relative;
  overflow: hidden;
}
.vlt-card--tournament .card-body {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.vlt-card--tournament .btn {
  margin-top: auto;
}
.vlt-tournament-prize,
.vlt-tournament-timer {
  font-weight: bold;
  margin: 5px 0;
}
.vlt-card--game img {
  width: 100%;
  height: auto;
  transition: transform 0.4s ease;
}
.vlt-card--game:hover img {
  transform: scale(1.1);
}
.vlt-card__overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0) 100%);
  padding: 20px;
  text-align: center;
  opacity: 1;
  transition: opacity 0.3s ease;
}
.vlt-card--game .vlt-card__title {
  color: var(--vlt-text-light);
  font-size: 1.1rem;
}
.vlt-card--game .btn {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.3s ease;
}
.vlt-card--game:hover .btn {
  opacity: 1;
  transform: translateY(0);
}

/* Slider */
.vlt-slider-container {
  position: relative;
}
.vlt-slider-wrapper {
  overflow: hidden;
}
.vlt-slider-track {
  display: flex;
  transition: transform 0.5s ease;
}
.vlt-slider-track > * {
  flex: 0 0 100%;
  min-width: 0;
}
.vlt-slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(1, 10, 55, 0.7);
  color: white;
  border: 1px solid var(--vlt-border-color);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  z-index: 10;
}
.vlt-slider-btn.prev {
  left: -15px;
}
.vlt-slider-btn.next {
  right: -15px;
}

/* Content Block */
.vlt-content-block {
  background-color: var(--vlt-primary);
}
.vlt-text-content {
  background-color: var(--vlt-bg);
  padding: 30px;
  border-radius: 10px;
}
.vlt-text-content h2,
.vlt-text-content h3,
.vlt-text-content h4 {
  color: var(--vlt-text-accent);
  margin-top: 20px;
  margin-bottom: 15px;
}
.vlt-text-content p {
  margin-bottom: 15px;
}
.vlt-text-content ul,
.vlt-text-content ol {
  padding-left: 20px;
  margin-bottom: 15px;
}
.vlt-text-content a {
  color: var(--vlt-accent-login);
  text-decoration: none;
}
.vlt-text-content a:hover {
  text-decoration: underline;
}
.vlt-text-content table {
  width: 100%;
  margin-bottom: 20px;
  border-collapse: collapse;
}
.vlt-text-content th,
.vlt-text-content td {
  padding: 12px;
  border: 1px solid var(--vlt-border-color);
  text-align: left;
}
.vlt-text-content th {
  background-color: rgba(1, 10, 55, 0.5);
}

/* FAQ */
.accordion-item {
  background-color: var(--vlt-primary);
  border: 1px solid var(--vlt-border-color);
  margin-bottom: 10px;
  border-radius: 10px !important;
}
.accordion-button {
  background-color: var(--vlt-primary);
  color: var(--vlt-text-light);
  font-weight: bold;
  border-radius: 10px !important;
}
.accordion-button:not(.collapsed) {
  color: var(--vlt-text-accent);
  background-color: rgba(1, 10, 55, 0.8);
  box-shadow: none;
}
.accordion-button:focus {
  box-shadow: none;
  border-color: var(--vlt-accent-login);
}
.accordion-body {
  background-color: var(--vlt-bg);
  color: var(--vlt-text-dark);
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
}

/* Testimonials & Form */
.vlt-card--testimonial {
  text-align: center;
}
.vlt-testimonial__avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 3px solid var(--vlt-accent-signup);
  margin-bottom: 15px;
}
.vlt-testimonial__rating {
  color: var(--vlt-accent-signup);
  font-size: 1.5rem;
  margin-bottom: 10px;
}
.vlt-testimonial__text {
  font-style: italic;
  color: var(--vlt-text-dark);
}
.vlt-form {
  max-width: 600px;
  margin: 0 auto;
  background-color: var(--vlt-primary);
  padding: 30px;
  border-radius: 15px;
}
.vlt-form .form-control {
  background-color: var(--vlt-bg);
  border: 1px solid var(--vlt-border-color);
  color: var(--vlt-text-light);
}
.vlt-form .form-control:focus {
  background-color: var(--vlt-bg);
  color: var(--vlt-text-light);
  border-color: var(--vlt-accent-login);
  box-shadow: 0 0 0 0.25rem rgba(21, 87, 217, 0.25);
}

/* Author */
.vlt-card--author {
  background-color: var(--vlt-primary);
}
.vlt-author__socials a {
  color: var(--vlt-accent-login);
  text-decoration: none;
  margin-right: 15px;
}

/* Footer */
.vlt-footer {
  background-color: var(--vlt-primary);
  padding: 40px 0 20px;
  color: var(--vlt-text-dark);
}
.vlt-footer h5 {
  color: var(--vlt-text-light);
}
.vlt-footer ul li a {
  color: var(--vlt-text-dark);
  text-decoration: none;
  transition: color 0.3s;
}
.vlt-footer ul li a:hover {
  color: var(--vlt-text-accent);
}
.vlt-footer-logos img {
  height: 25px;
  margin: 5px;
  opacity: 0.7;
  transition: opacity 0.3s;
}
.vlt-footer-logos img:hover {
  opacity: 1;
}
.vlt-footer-bottom {
  border-top: 1px solid var(--vlt-border-color);
  padding-top: 20px;
  margin-top: 20px;
  font-size: 0.9rem;
}

/* Sticky Widget */
.vlt-sticky-widget {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: linear-gradient(45deg, var(--vlt-accent-signup), #ffdd57);
  color: #000;
  padding: 15px 0;
  z-index: 1000;
  text-align: center;
  font-weight: bold;
  box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.3);
  animation: slideInUp 0.5s ease-in-out;
}
.vlt-sticky-widget a {
  text-decoration: none;
}

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

/* Responsive */
@media (max-width: 991.98px) {
  .vlt-hero__title {
    font-size: 2.5rem;
  }
  .vlt-hero__subtitle {
    font-size: 1.2rem;
  }
  .navbar-collapse {
    background-color: var(--vlt-primary);
    padding: 20px;
    border-radius: 10px;
    margin-top: 10px;
  }
}

@media (max-width: 767.98px) {
  body {
    padding-top: 60px;
  }
  .vlt-logo {
    height: 40px;
  }
  .vlt-hero {
    height: 60vh;
  }
  .vlt-hero__title {
    font-size: 2rem;
  }
  .vlt-hero__subtitle {
    font-size: 1rem;
  }
  .vlt-section__title {
    font-size: 2rem;
  }
  .vlt-card--tournament,
  .vlt-card--testimonial {
    margin-bottom: 20px;
  }
  .vlt-sticky-widget {
    flex-direction: column;
  }
  .vlt-sticky-widget .btn {
    margin-top: 10px;
  }
  /* Activate sliders on mobile */
  #tournaments .row {
    display: none;
  }
  #tournaments .vlt-slider-container {
    display: block;
  }
}

/* Unused styles for confusion */
.entry-content,
.widget-area {
  margin: 1.5em 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 !important;
  width: 1px;
  word-wrap: normal !important;
}
