/* style/game-providers.css */

:root {
  --primary-color: #CC0000;
  --secondary-color: #FFD700;
  --text-light: #ffffff;
  --text-dark: #333333;
  --background-dark: #1a1a1a;
  --background-light-card: rgba(255, 255, 255, 0.1); /* Light background for cards on dark body */
  --border-color: rgba(255, 255, 255, 0.15);
}

.page-game-providers {
  background-color: var(--background-dark); /* Ensure main content area has dark background */
  color: var(--text-light); /* Light text on dark background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

.page-game-providers__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}

.page-game-providers__section-title {
  font-size: 38px;
  font-weight: bold;
  color: var(--secondary-color); /* Use secondary color for main titles for contrast */
  text-align: center;
  margin-bottom: 40px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.page-game-providers__text-block {
  font-size: 17px;
  line-height: 1.8;
  text-align: center;
  margin-bottom: 30px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  color: rgba(255, 255, 255, 0.9);
}

/* --- Video Section --- */
.page-game-providers__video-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  padding-top: var(--header-offset, 120px); /* Fixed header offset */
  background: linear-gradient(135deg, var(--primary-color) 0%, #330000 100%);
  overflow: hidden; /* Ensure no overflow */
}

.page-game-providers__video-container {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-game-providers__video-link {
  display: block;
  text-decoration: none;
  position: relative;
  width: 100%;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-radius: 12px;
  overflow: hidden;
}

.page-game-providers__video-link:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.page-game-providers__video-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  height: 0;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
}

.page-game-providers__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 12px;
  object-fit: cover;
  pointer-events: none; /* Prevent video controls from interfering with click event */
}

.page-game-providers__video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.4);
  border-radius: 12px;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: 1;
}

.page-game-providers__video-link:hover .page-game-providers__video-overlay {
  opacity: 1;
}

.page-game-providers__video-click-hint {
  color: var(--text-light);
  font-size: 20px;
  font-weight: bold;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.7);
  padding: 12px 25px;
  background: rgba(204, 0, 0, 0.8);
  border-radius: 8px;
  white-space: nowrap;
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

.page-game-providers__video-cta {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 40px;
}

.page-game-providers__play-now-button {
  display: inline-block;
  padding: 18px 50px;
  background: var(--secondary-color); /* Use secondary color for high visibility */
  color: var(--background-dark); /* Dark text on bright button */
  text-decoration: none;
  border-radius: 10px;
  font-size: 22px;
  font-weight: bold;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
  border: none;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.page-game-providers__play-now-button:hover {
  background: #FFC107; /* Slightly darker gold on hover */
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

.page-game-providers__play-now-button:active {
  transform: translateY(0);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

/* --- H1 Title + CTA Section --- */
.page-game-providers__title-section {
  padding: 80px 20px;
  background-color: var(--background-dark);
  text-align: center;
}

.page-game-providers__title-container {
  max-width: 1000px;
  margin: 0 auto;
}

.page-game-providers__main-title {
  font-size: 48px;
  color: var(--secondary-color);
  margin-bottom: 25px;
  line-height: 1.2;
  font-weight: 900;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.page-game-providers__title-description {
  font-size: 19px;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 40px;
  line-height: 1.7;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}