/* Game Detail Page Specific Styles */

/* Hero Banner */
.game-hero-banner {
  position: relative;
  height: 500px;
  overflow: hidden;
}

.game-hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.game-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.8));
  display: flex;
  align-items: flex-end;
}

.game-hero-content {
  display: flex;
  align-items: flex-end;
  padding-bottom: 50px;
  gap: 30px;
}

.game-logo {
  width: 150px;
  height: 150px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  flex-shrink: 0;
}

.game-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.game-info {
  color: #fff;
}

.game-info h1 {
  font-size: 36px;
  margin-bottom: 10px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.game-info p {
  font-size: 18px;
  margin-bottom: 15px;
  opacity: 0.9;
}

.game-meta {
  display: flex;
  gap: 20px;
  margin-bottom: 15px;
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  opacity: 0.8;
}

.game-rating {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}

.stars {
  color: #ffd700;
}

.rating-value {
  font-weight: bold;
}

.rating-count {
  font-size: 14px;
  opacity: 0.8;
}

.game-buttons {
  display: flex;
  gap: 15px;
}

.topup-button,
.download-button {
  padding: 12px 25px;
  border-radius: 30px;
  font-weight: bold;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.topup-button {
  background-color: #e73323;
  color: #fff;
}

.topup-button:hover {
  background-color: #d62c1a;
  transform: translateY(-2px);
}

.download-button {
  background-color: transparent;
  border: 2px solid #fff;
  color: #fff;
}

.download-button:hover {
  background-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

/* Main Content Layout */
.game-content-wrapper {
  display: flex;
  gap: 30px;
  margin: 40px 0;
}

.game-main-content {
  flex: 1;
}

.game-sidebar {
  width: 320px;
  flex-shrink: 0;
}

/* Game Description */
.game-description {
  background-color: #fff;
  border-radius: 8px;
  padding: 30px;
  margin-bottom: 30px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.game-description h2 {
  font-size: 24px;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid #eee;
}

.game-description p {
  margin-bottom: 15px;
  line-height: 1.6;
  color: #555;
}

/* Game Features */
.game-features {
  margin: 30px 0;
}

.game-features h3 {
  font-size: 20px;
  margin-bottom: 15px;
}

.game-features ul {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.game-features li {
  display: flex;
  align-items: center;
  gap: 10px;
}

.game-features li i {
  color: #4caf50;
}

/* Game Screenshots */
.game-screenshots {
  margin-top: 30px;
}

.game-screenshots h3 {
  font-size: 20px;
  margin-bottom: 15px;
}

.screenshots-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
}

.screenshot {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.screenshot img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.screenshot:hover img {
  transform: scale(1.05);
}

/* Top Up Section */
.topup-section {
  background-color: #fff;
  border-radius: 8px;
  padding: 30px;
  margin-bottom: 30px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.topup-section h2 {
  font-size: 24px;
  margin-bottom: 10px;
}

.secure-badge {
  display: inline-block;
  background-color: rgba(0, 0, 0, 0.05);
  padding: 8px 15px;
  border-radius: 20px;
  font-size: 14px;
  margin-bottom: 30px;
}

.secure-badge i {
  color: #4caf50;
  margin-right: 5px;
}

/* Game Guides */
.game-guides {
  background-color: #fff;
  border-radius: 8px;
  padding: 30px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.game-guides h2 {
  font-size: 24px;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid #eee;
}

.guides-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.guide-card {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.guide-card:hover {
  transform: translateY(-5px);
}

.guide-image {
  height: 150px;
  overflow: hidden;
}

.guide-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.guide-card:hover .guide-image img {
  transform: scale(1.05);
}

.guide-content {
  padding: 15px;
}

.guide-content h3 {
  font-size: 16px;
  margin-bottom: 10px;
}

.guide-content p {
  font-size: 14px;
  color: #777;
  margin-bottom: 15px;
}

.read-more {
  color: #e73323;
  font-size: 14px;
  font-weight: bold;
  display: inline-flex;
  align-items: center;
}

.read-more:after {
  content: "→";
  margin-left: 5px;
  transition: transform 0.3s ease;
}

.read-more:hover:after {
  transform: translateX(3px);
}

/* Sidebar Widgets */
.sidebar-widget {
  background-color: #fff;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 30px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.sidebar-widget h3 {
  font-size: 18px;
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 1px solid #eee;
}

/* Game Info List */
.game-info-list li {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid #eee;
}

.game-info-list li:last-child {
  border-bottom: none;
}

.info-label {
  color: #777;
}

.info-value {
  font-weight: bold;
}

/* Events List */
.events-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.event-item {
  display: flex;
  gap: 15px;
  padding-bottom: 15px;
  border-bottom: 1px solid #eee;
}

.event-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.event-date {
  width: 50px;
  height: 50px;
  background-color: #e73323;
  color: #fff;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.event-day {
  font-size: 18px;
  font-weight: bold;
}

.event-month {
  font-size: 12px;
}

.event-details h4 {
  font-size: 16px;
  margin-bottom: 5px;
}

.event-details p {
  font-size: 14px;
  color: #777;
}

/* Special Offers Sidebar */
.special-offers-sidebar {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.offer-item {
  display: flex;
  gap: 15px;
  padding-bottom: 15px;
  border-bottom: 1px solid #eee;
}

.offer-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.offer-item img {
  width: 80px;
  height: 80px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
}

.offer-details h4 {
  font-size: 16px;
  margin-bottom: 5px;
}

.offer-details p {
  font-size: 14px;
  color: #777;
  margin-bottom: 5px;
}

.offer-price {
  display: block;
  font-weight: bold;
  color: #e73323;
  margin-bottom: 10px;
}

.buy-now-btn {
  display: inline-block;
  background-color: #e73323;
  color: #fff;
  padding: 5px 10px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.buy-now-btn:hover {
  background-color: #d62c1a;
}

/* Responsive Styles */
@media (max-width: 1200px) {
  .game-content-wrapper {
    flex-direction: column;
  }

  .game-sidebar {
    width: 100%;
  }

  .sidebar-widget {
    padding: 20px;
  }
}

@media (max-width: 992px) {
  .game-hero-banner {
    height: auto;
  }

  .game-hero-image {
    height: 300px;
  }

  .game-hero-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 30px 0;
  }

  .game-logo {
    margin-bottom: 20px;
  }

  .game-meta {
    justify-content: center;
  }

  .game-rating {
    justify-content: center;
  }

  .guides-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .game-features ul {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .game-hero-image {
    height: 250px;
  }

  .game-buttons {
    flex-direction: column;
    width: 100%;
    gap: 10px;
  }

  .topup-button,
  .download-button {
    width: 100%;
    padding: 15px;
  }

  .screenshots-grid {
    grid-template-columns: 1fr;
  }

  .guides-grid {
    grid-template-columns: 1fr;
  }

  /* Improved mobile form elements */
  .login-section,
  .payment-section,
  .payment-method-section {
    padding: 20px 15px;
  }

  .input-group {
    flex-direction: column;
  }

  .input-group input {
    border-radius: 8px;
    margin-bottom: 10px;
    width: 100%;
    height: 48px;
    font-size: 16px;
  }

  .login-btn {
    border-radius: 8px;
    width: 100%;
    height: 48px;
    font-size: 16px;
  }

  /* Better social login on mobile */
  .social-buttons {
    justify-content: center;
    gap: 20px;
  }

  .social-btn {
    width: 50px;
    height: 50px;
    font-size: 20px;
  }

  /* Improved checkout button */
  .checkout-button {
    width: 100%;
    padding: 15px;
    font-size: 18px;
    border-radius: 8px;
  }
}

@media (max-width: 576px) {
  .game-hero-image {
    height: 200px;
  }

  .game-logo {
    width: 100px;
    height: 100px;
  }

  .game-info h1 {
    font-size: 28px;
  }

  .game-info p {
    font-size: 16px;
  }

  .game-meta {
    flex-wrap: wrap;
    gap: 10px;
  }

  .meta-item {
    width: 45%;
  }
}

