/* Body Background */
body {
  background-image: url("background.png");
  background-size: cover; /* Ensure the image covers the entire area without distortion */
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed; /* Make the background image fixed as the user scrolls */
  color: #fff;
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  min-height: 100vh; /* Ensure the body is at least the height of the viewport */
}

/* Container Styling */
.container {
  width: 80%; /* Adjust the width to allow more background visibility */
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
  background-color: rgba(
    0,
    0,
    0,
    0.7
  ); /* Add a semi-transparent background for readability */
  padding: 20px;
  border-radius: 10px;
}

/* Header Logo */
.logo {
  max-width: 300px;
  display: block;
  margin: 0 auto;
  padding: 20px 0;
}

/* Hero Section Styling */
.hero {
  padding: 30px 0;
}

.hero h2 {
  font-size: 2.5em;
  margin-bottom: 20px;
}

h1 {
  font-size: 3em;
}

.hero p {
  font-size: 1.2em;
  margin-bottom: 30px;
}

.button-container {
  padding-top: 20px;
  padding-bottom: 20px;
}
/* Video Styling */
.gameplay-video-image {
  width: 100%;
  max-width: 800px;
  margin: 20px auto;
  display: block;
  border: 2px solid #f44336;
  border-radius: 5px;
  background-color: rgba(0, 0, 0, 0.8);
}

/* Features Section Styling */
.features {
  padding: 30px 0;
}

.features h2 {
  font-size: 2em;
  margin-bottom: 30px;
}

.feature-item {
  margin-bottom: 20px;
}

.feature-item h3 {
  font-size: 1.8em;
  margin-bottom: 10px;
}

.feature-item p {
  font-size: 1.1em;
}

/* Publisher Section */
.publisher {
  padding: 20px 0;
}

.publisher h3 {
  font-size: 1.5em;
  margin-bottom: 10px;
}

.publisher p {
  font-size: 1.1em;
}

/* Footer Styling */
footer {
  padding: 20px 0;
  background-color: rgba(0, 0, 0, 0.7);
  margin-top: 20px;
  border-radius: 10px;
}

/* Play Container Styling */
.play-container {
  width: 80%; /* Match the width of the .container */
  max-width: 1000px; /* Same max-width as .container */
  height: 500px; /* Set a static height */
  margin: 30px auto; /* Center the container and add some margin */
  position: relative; /* Position relative to layer the background */
  border-radius: 20px; /* Rounded corners */
  overflow: hidden; /* Hide overflow to match rounded corners */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3); /* Optional: add a shadow for better visuals */
}

/* Background image styling */
.play-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("bg.jpg") no-repeat center center;
  background-size: cover; /* Ensure the image covers the container */
  border-radius: 20px; /* Match rounded corners */
}

/* Center the button in the middle of the container */
.play-button-wrapper {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%); /* Center the button */
  z-index: 1; /* Ensure the button is above the background */
  text-align: center; /* Center align the button text */
}

.btn.play-btn {
  font-size: 1.5rem; /* Adjust size as needed */
  padding: 1rem 2rem;
  background-color: #ff0000; /* Button color */
  color: #fff; /* Text color */
  border: none;
  border-radius: 5px;
  text-decoration: none;
  text-align: center;
  transition: background-color 0.3s ease;
  white-space: nowrap; /* Prevent text wrapping */
}

.btn.play-btn:hover {
  background-color: #cc0000; /* Button color on hover */
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .play-container {
    height: 60vh; /* Adjust height for smaller screens */
  }

  .btn.play-btn {
    font-size: 1.2rem; /* Slightly smaller font size on mobile */
    padding: 0.8rem 1.5rem; /* Adjust padding for smaller screens */
  }
}

@media (max-width: 480px) {
  .play-container {
    height: 50vh; /* Further adjust height for very small screens */
  }

  .btn.play-btn {
    font-size: 1rem; /* Even smaller font size */
    padding: 0.6rem 1rem; /* Further adjust padding */
  }
}
.popup-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  visibility: hidden;
  opacity: 0;
  transition: visibility 0s, opacity 0.3s;
}

/* Popup content */
.popup-content {
  background-color: #fff;
  padding: 20px;
  border-radius: 8px;
  text-align: center;
  max-width: 400px;
  width: 90%;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Close button */
.close-btn {
  background-color: #ff4d4d;
  color: white;
  border: none;
  padding: 10px 20px;
  cursor: pointer;
  border-radius: 5px;
  font-size: 16px;
}

/* Social Media Buttons */
.social-media-btn {
  display: inline-block;
  margin: 10px 0;
  padding: 10px 20px;
  border-radius: 5px;
  color: white;
  font-size: 18px;
  text-decoration: none;
}

.facebook-btn {
  background-color: #3b5998;
}

.twitter-btn {
  background-color: #1da1f2;
}

/* Show popup */
.popup-container.active {
  visibility: visible;
  opacity: 1;
}
/* Popup container */
.popup-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  visibility: hidden;
  opacity: 0;
  transition: visibility 0s, opacity 0.5s ease-in-out;
}

/* Popup content */
.popup-content {
  background: linear-gradient(
    135deg,
    #ff416c,
    #ff4b2b
  ); /* Gradient background */
  padding: 40px;
  border-radius: 15px;
  text-align: center;
  max-width: 450px;
  width: 90%;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.4); /* Deeper shadow for pop */
  animation: scaleIn 0.6s ease-in-out; /* Scale animation on open */
}

/* Scale in animation */
@keyframes scaleIn {
  0% {
    transform: scale(0.5);
    opacity: 0;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

/* Text styles */
.popup-content h2 {
  font-size: 2rem;
  color: #ffffff;
  margin-bottom: 15px;
  animation: fadeInDown 1s ease-in-out;
}

.popup-content p {
  font-size: 1.2rem;
  color: #ffffff;
  margin-bottom: 30px;
  animation: fadeInUp 1s ease-in-out;
}

/* Fade in animations */
@keyframes fadeInDown {
  0% {
    opacity: 0;
    transform: translateY(-20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Social Media Buttons */
.social-media-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 15px 0;
  padding: 15px 30px;
  border-radius: 50px; /* Fully rounded buttons */
  color: white;
  font-size: 1.2rem;
  font-weight: bold;
  text-decoration: none;
  width: 100%;
  max-width: 300px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  animation: fadeIn 1.2s ease-in-out;
}

/* Icon styling */
.social-icon {
  margin-right: 10px;
  width: 24px;
  filter: drop-shadow(0 0 5px rgba(0, 0, 0, 0.3));
}

/* Button-specific styles */
.facebook-btn {
  background: linear-gradient(135deg, #3b5998, #8b9dc3);
}

.twitter-btn {
  background: linear-gradient(135deg, #1da1f2, #87ceeb);
}

/* Button hover effects */
.social-media-btn:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

/* Close button */
.close-btn {
  background-color: #ff4d4d;
  color: white;
  border: none;
  padding: 12px 30px;
  cursor: pointer;
  border-radius: 50px;
  font-size: 1rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.close-btn:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

/* Show popup */
.popup-container.active {
  visibility: visible;
  opacity: 1;
}
