.bg-blur {
  background-size: cover;
  background-position: center;
  filter: blur(12px);
  opacity: 0.4;
  z-index: -1;
}

body {
  font-family: 'Inter', sans-serif;
  margin: 0;
  padding: 0;
  overflow: hidden;
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

.game-card {
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.game-card.selected {
  transform: scale(1.1);
  z-index: 10;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5), 
              0 0 0 2px rgba(59, 130, 246, 0.5);
  border: 1px solid rgba(59, 130, 246, 0.3);
}

.game-card.unselected {
  transform: scale(0.9);
  opacity: 0.7;
}

.nav-active {
  color: white;
  border-bottom: 2px solid white;
}

.gtav-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.8);
  z-index: 100;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gtav-modal.show {
  opacity: 1;
  display: flex;
}

.gtav-content {
  background: linear-gradient(135deg, #1a1a2e, #16213e, #0f3460);
  border-radius: 12px;
  padding: 24px;
  max-width: 400px;
  text-align: center;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
  position: relative;
  transform: translateY(20px);
  opacity: 0;
  transition: all 0.3s ease;
}

.gtav-modal.show .gtav-content {
  transform: translateY(0);
  opacity: 1;
}

.gtav-modal.closing .gtav-content {
  transform: translateY(-20px);
  opacity: 0;
}

.gtav-title {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 16px;
  color: white;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.gtav-message {
  font-size: 16px;
  line-height: 1.5;
  margin-bottom: 24px;
  color: white;
}

.gtav-button {
  background-color: #5865F2;
  color: white;
  border: none;
  border-radius: 6px;
  padding: 10px 20px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s;
  margin: 5px;
}

.gtav-button:hover {
  background-color: #4752c4;
}

.gtav-button.secondary {
  background-color: #6c757d;
}

.gtav-button.secondary:hover {
  background-color: #5a6268;
}

.gtav-close {
  position: absolute;
  top: 15px;
  right: 15px;
  background: none;
  border: none;
  color: white;
  font-size: 20px;
  cursor: pointer;
}

.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.8);
  z-index: 99;
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.modal-backdrop.show {
  display: block;
  opacity: 1;
}

.modal-backdrop.closing {
  opacity: 0;
}

#video-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1000;
  background-color: #000;
  transition: opacity 1.5s ease;
}

#intro-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translateX(-50%) translateY(-50%);
  object-fit: cover;
}

.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1001;
}

.skip-button {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: rgba(0, 0, 0, 0.7);
  color: white;
  border: 1px solid white;
  padding: 10px 20px;
  border-radius: 4px;
  cursor: pointer;
  z-index: 1002;
  transition: all 0.3s ease;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
}

.skip-button:hover {
  background: rgba(255, 255, 255, 0.2);
}

.content-container {
  opacity: 0;
  transition: opacity 1.5s ease;
}

.content-container.show {
  opacity: 1;
}

.loading-text {
  color: white;
  font-size: 24px;
  font-weight: bold;
  text-align: center;
  margin-top: 20px;
}

.progress-bar {
  width: 300px;
  height: 4px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 2px;
  overflow: hidden;
  margin-top: 20px;
}

.progress {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #5865F2, #4752c4);
  transition: width 0.3s ease;
}

.orientation-warning {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.9);
  z-index: 2000;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  color: white;
  text-align: center;
  padding: 20px;
}

.orientation-warning i {
  font-size: 48px;
  margin-bottom: 20px;
}

.orientation-warning p {
  font-size: 18px;
  margin-bottom: 10px;
}

@media screen and (max-width: 768px) and (orientation: portrait) {
  .orientation-warning {
    display: flex;
  }
  body {
    overflow: hidden;
  }
}