/* BOOM99 - Main Stylesheet */
/* All classes use pg4e- prefix */

:root {
  --pg4e-coral: #FF7F50;
  --pg4e-darkblue: #212F3D;
  --pg4e-purple: #9966CC;
  --pg4e-yellow: #FFF176;
  --pg4e-orange: #FF9800;
  --pg4e-bg: #212F3D;
  --pg4e-text: #FFFFFF;
  --pg4e-text-muted: #CCCCCC;
  --pg4e-border: #333333;
  --pg4e-gradient: linear-gradient(135deg, #FF7F50 0%, #9966CC 50%, #FF9800 100%);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: var(--pg4e-bg);
  color: var(--pg4e-text);
  line-height: 1.6;
  font-size: 16px;
  overflow-x: hidden;
}

.pg4e-container {
  max-width: 430px;
  margin: 0 auto;
  padding: 0 15px;
  width: 100%;
}

.pg4e-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(33, 47, 61, 0.98);
  backdrop-filter: blur(10px);
  z-index: 1000;
  border-bottom: 2px solid var(--pg4e-coral);
  box-shadow: 0 2px 20px rgba(255, 127, 80, 0.3);
}

.pg4e-header-inner {
  max-width: 430px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 15px;
}

.pg4e-logo {
  font-size: 20px;
  font-weight: 700;
  color: var(--pg4e-coral);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.pg4e-header-buttons {
  display: flex;
  gap: 10px;
}

.pg4e-btn {
  padding: 8px 16px;
  border: none;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
}

.pg4e-btn-register {
  background: var(--pg4e-gradient);
  color: #FFFFFF;
  box-shadow: 0 4px 15px rgba(255, 127, 80, 0.4);
}

.pg4e-btn-login {
  background: transparent;
  color: var(--pg4e-purple);
  border: 2px solid var(--pg4e-purple);
}

.pg4e-menu-toggle {
  display: block;
  background: none;
  border: none;
  color: var(--pg4e-text);
  font-size: 24px;
  cursor: pointer;
  padding: 5px;
}

@media (min-width: 769px) {
  .pg4e-menu-toggle {
    display: none;
  }
}

.pg4e-mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 280px;
  height: 100vh;
  background: linear-gradient(180deg, #1a1a1a 0%, #212F3D 100%);
  z-index: 9999;
  transition: right 0.3s ease;
  padding: 80px 20px 20px;
  border-left: 2px solid var(--pg4e-coral);
}

.pg4e-mobile-menu.pg4e-active {
  right: 0;
}

.pg4e-menu-close {
  position: absolute;
  top: 15px;
  right: 15px;
  background: none;
  border: none;
  color: var(--pg4e-text);
  font-size: 28px;
  cursor: pointer;
}

.pg4e-menu-nav {
  list-style: none;
}

.pg4e-menu-nav li {
  margin-bottom: 5px;
}

.pg4e-menu-nav a {
  display: block;
  padding: 12px 15px;
  color: var(--pg4e-text);
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.3s ease;
  font-size: 15px;
  border-left: 3px solid transparent;
}

.pg4e-menu-nav a:hover {
  background: rgba(255, 127, 80, 0.1);
  border-left-color: var(--pg4e-coral);
  color: var(--pg4e-coral);
}

main {
  padding-top: 70px;
  padding-bottom: 80px;
  min-height: 100vh;
}

@media (min-width: 769px) {
  main {
    padding-bottom: 40px;
  }
}

.pg4e-slider-wrapper {
  position: relative;
  overflow: hidden;
  margin-bottom: 30px;
  border-radius: 12px;
  box-shadow: 0 5px 25px rgba(255, 127, 80, 0.3);
}

.pg4e-slider {
  display: flex;
  transition: transform 0.5s ease;
}

.pg4e-slide {
  min-width: 100%;
  position: relative;
}

.pg4e-slide img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 16/9;
  object-fit: cover;
}

.pg4e-section {
  margin-bottom: 40px;
  padding: 25px 20px;
  background: linear-gradient(135deg, rgba(255, 127, 80, 0.05) 0%, rgba(153, 102, 204, 0.05) 100%);
  border-radius: 12px;
  border: 1px solid rgba(255, 127, 80, 0.2);
}

.pg4e-section-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--pg4e-coral);
  margin-bottom: 20px;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  padding-bottom: 10px;
}

.pg4e-section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--pg4e-gradient);
  border-radius: 2px;
}

.pg4e-game-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 20px;
}

.pg4e-game-card {
  position: relative;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.pg4e-game-card:hover {
  border-color: var(--pg4e-coral);
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(255, 127, 80, 0.4);
}

.pg4e-game-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  display: block;
}

.pg4e-game-name {
  padding: 8px 5px;
  font-size: 11px;
  color: var(--pg4e-text);
  text-align: center;
  background: rgba(0, 0, 0, 0.6);
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pg4e-card {
  background: rgba(255, 255, 255, 0.03);
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 20px;
  border: 1px solid rgba(255, 127, 80, 0.15);
  transition: all 0.3s ease;
}

.pg4e-card:hover {
  border-color: var(--pg4e-purple);
  box-shadow: 0 5px 20px rgba(153, 102, 204, 0.2);
}

.pg4e-card-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--pg4e-coral);
  margin-bottom: 12px;
}

.pg4e-card-text {
  color: var(--pg4e-text-muted);
  line-height: 1.7;
  font-size: 14px;
}

.pg4e-promo-btn {
  display: block;
  width: 100%;
  padding: 15px;
  background: var(--pg4e-gradient);
  color: #FFFFFF;
  text-align: center;
  text-decoration: none;
  border-radius: 25px;
  font-weight: 700;
  font-size: 16px;
  text-transform: uppercase;
  margin: 20px 0;
  transition: all 0.3s ease;
  box-shadow: 0 5px 20px rgba(255, 127, 80, 0.4);
  cursor: pointer;
  border: none;
}

.pg4e-promo-btn:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 25px rgba(153, 102, 204, 0.6);
}

.pg4e-footer {
  background: linear-gradient(180deg, #1a1a1a 0%, #000000 100%);
  padding: 40px 20px 100px;
  border-top: 2px solid var(--pg4e-coral);
  margin-top: 40px;
}

@media (min-width: 769px) {
  .pg4e-footer {
    padding-bottom: 40px;
  }
}

.pg4e-footer-logo {
  text-align: center;
  font-size: 24px;
  font-weight: 700;
  color: var(--pg4e-coral);
  margin-bottom: 20px;
  text-transform: uppercase;
}

.pg4e-partners {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
  margin-bottom: 30px;
}

.pg4e-partner-img {
  width: 60px;
  height: 40px;
  object-fit: contain;
  opacity: 0.7;
  transition: all 0.3s ease;
}

.pg4e-partner-img:hover {
  opacity: 1;
  transform: scale(1.1);
}

.pg4e-footer-links {
  text-align: center;
  margin-bottom: 20px;
}

.pg4e-footer-links a {
  color: var(--pg4e-text-muted);
  text-decoration: none;
  margin: 0 10px;
  font-size: 13px;
  transition: color 0.3s ease;
}

.pg4e-footer-links a:hover {
  color: var(--pg4e-coral);
}

.pg4e-footer-text {
  text-align: center;
  color: var(--pg4e-text-muted);
  font-size: 12px;
  line-height: 1.8;
}

.pg4e-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(33, 47, 61, 0.98);
  backdrop-filter: blur(10px);
  border-top: 2px solid var(--pg4e-coral);
  display: flex;
  justify-content: space-around;
  padding: 8px 0;
  z-index: 1000;
  box-shadow: 0 -2px 20px rgba(255, 127, 80, 0.3);
}

@media (min-width: 769px) {
  .pg4e-bottom-nav {
    display: none;
  }
}

.pg4e-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 60px;
  min-height: 60px;
  text-decoration: none;
  color: var(--pg4e-text-muted);
  transition: all 0.3s ease;
  cursor: pointer;
  border-radius: 10px;
  padding: 5px;
}

.pg4e-nav-item:hover {
  color: var(--pg4e-coral);
  background: rgba(255, 127, 80, 0.1);
  transform: translateY(-3px);
}

.pg4e-nav-item.pg4e-active {
  color: var(--pg4e-coral);
}

.pg4e-nav-icon {
  font-size: 24px;
  margin-bottom: 4px;
}

.pg4e-nav-text {
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
}

.pg4e-touch-active {
  transform: scale(0.95);
  opacity: 0.8;
}

@media (max-width: 380px) {
  .pg4e-game-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
