:root {
  --primary-color: #113B7A;
  --secondary-color: #1D5FD1;
  --button-gradient: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%);
  --card-bg: #10233F;
  --text-main: #F3F8FF;
  --text-secondary: #AFC4E8;
  --border-color: #244D84;
  --glow-color: #4FA8FF;
  --gold-color: #F2C14E;
  --divider-color: #1B3357;
  --deep-navy: #08162B;
  --primary-color-rgb: 17, 59, 122;
  --secondary-color-rgb: 29, 95, 209;
}

.page-index {
  color: var(--text-main);
  background-color: var(--deep-navy);
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

.page-index__video-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  padding-top: 10px;
  background-color: var(--deep-navy);
}

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

.page-index__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: 8px;
  overflow: hidden;
}

.page-index__video-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.page-index__video-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.page-index__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 8px;
  object-fit: cover;
  pointer-events: none;
}

.page-index__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: 8px;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: 1;
}

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

.page-index__video-click-hint {
  color: var(--text-main);
  font-size: 18px;
  font-weight: bold;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
  padding: 10px 20px;
  background: rgba(var(--secondary-color-rgb), 0.8);
  border-radius: 5px;
  white-space: nowrap;
}

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

.page-index__play-now-button {
  display: inline-block;
  padding: 15px 40px;
  background: var(--button-gradient);
  color: var(--text-main);
  text-decoration: none;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  border: none;
  cursor: pointer;
  min-width: 180px;
}

.page-index__play-now-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
  filter: brightness(1.1);
}

.page-index__play-now-button:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  filter: brightness(0.9);
}

.page-index__promo-dark {
  background: #2c2c2c;
  padding: 24px 20px 40px;
  color: var(--text-main);
}

.page-index__gifcode-tabs {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.page-index__gifcode-title {
  color: var(--gold-color);
  text-align: center;
  text-transform: uppercase;
  font-size: 2.2em;
  font-weight: bold;
  margin-bottom: 25px;
  letter-spacing: 1px;
}

.page-index__gifcode-tab-nav {
  display: flex;
  justify-content: center;
  gap: 24px;
  list-style: none;
  padding: 0;
  margin: 16px 0 30px;
  flex-wrap: wrap;
}

.page-index__gifcode-tab-nav li {
  margin-bottom: 10px;
}

.page-index__gifcode-tab-nav a {
  color: var(--text-secondary);
  text-decoration: none;
  text-transform: uppercase;
  padding: 8px 15px;
  border-bottom: 2px solid transparent;
  transition: all 0.3s ease;
  font-weight: bold;
  white-space: nowrap;
}

.page-index__gifcode-tab-nav a.is-active,
.page-index__gifcode-tab-nav a:hover {
  color: var(--gold-color);
  border-bottom-color: var(--gold-color);
}

.page-index__gifcode-panel {
  display: none;
  animation: fadeIn 0.5s ease-out;
}

.page-index__gifcode-panel.is-active {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.page-index__gifcode-row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  max-width: 1250px;
  margin: 0 auto;
  justify-content: center;
}

.page-index__gifcode-col {
  flex: 1 1 calc(50% - 10px);
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-width: 0;
  max-width: calc(50% - 10px);
}

.page-index__gifcode-img {
  width: 100%;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

.page-index__gifcode-img a {
  display: block;
  text-decoration: none;
}

.page-index__gifcode-img img {
  display: block;
  width: 100%;
  aspect-ratio: 370 / 127;
  object-fit: cover;
  transition: transform 0.3s ease;
  border-radius: 8px;
}

.page-index__gifcode-img:hover img {
  transform: scale(1.05);
}

.page-index__blog-section-title {
  color: var(--gold-color);
  text-align: center;
  margin: 50px 0 20px;
  font-size: 2em;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.page-index__blog-slider {
  padding: 40px 0 60px;
  background-color: var(--deep-navy);
  color: var(--text-main);
}