/* 3555 Angel Number - Layout Stylesheet */
/* All classes use pg34- prefix for namespace isolation */

:root {
  --pg34-primary: #4DB6AC;
  --pg34-secondary: #A0522D;
  --pg34-bg: #2D2D2D;
  --pg34-bg-dark: #1A1A1A;
  --pg34-bg-card: #333333;
  --pg34-text: #BBBBBB;
  --pg34-text-light: #E0E0E0;
  --pg34-text-white: #FFFFFF;
  --pg34-accent: #4DB6AC;
  --pg34-accent-dark: #3D9A91;
  --pg34-border: #444444;
  --pg34-gold: #A0522D;
  --pg34-gold-light: #C4793E;
  --pg34-radius: 0.8rem;
  --pg34-radius-sm: 0.4rem;
  --pg34-shadow: 0 0.2rem 0.8rem rgba(0,0,0,0.3);
}

html {
  font-size: 62.5%;
  scroll-behavior: smooth;
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  background: var(--pg34-bg);
  color: var(--pg34-text);
  line-height: 1.5rem;
  font-size: 1.4rem;
  overflow-x: hidden;
  max-width: 430px;
  margin: 0 auto;
  -webkit-font-smoothing: antialiased;
}

/* === HEADER === */
.pg34-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  max-width: 430px;
  margin: 0 auto;
  z-index: 1000;
  background: var(--pg34-bg-dark);
  padding: 0.8rem 1.2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 0.1rem solid var(--pg34-border);
  transition: box-shadow 0.3s ease;
}

.pg34-header-scrolled {
  box-shadow: 0 0.2rem 1rem rgba(77, 182, 172, 0.2);
}

.pg34-header-left {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.pg34-logo {
  width: 2.8rem;
  height: 2.8rem;
  border-radius: 0.4rem;
}

.pg34-site-name {
  color: var(--pg34-accent);
  font-size: 1.4rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.pg34-header-right {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.pg34-btn-register, .pg34-btn-login {
  padding: 0.5rem 1.2rem;
  border: none;
  border-radius: var(--pg34-radius-sm);
  font-size: 1.2rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.pg34-btn-register {
  background: var(--pg34-accent);
  color: var(--pg34-bg-dark);
}

.pg34-btn-register:hover {
  background: var(--pg34-accent-dark);
  transform: scale(1.05);
}

.pg34-btn-login {
  background: transparent;
  color: var(--pg34-accent);
  border: 0.1rem solid var(--pg34-accent);
}

.pg34-btn-login:hover {
  background: rgba(77, 182, 172, 0.1);
}

.pg34-menu-toggle {
  background: none;
  border: none;
  color: var(--pg34-text-light);
  font-size: 2rem;
  cursor: pointer;
  padding: 0.4rem;
  line-height: 1;
}

/* === MOBILE MENU === */
.pg34-mobile-menu {
  position: fixed;
  top: 0;
  right: -80%;
  width: 80%;
  height: 100vh;
  background: var(--pg34-bg-dark);
  z-index: 9999;
  transition: right 0.3s ease;
  padding: 2rem;
  overflow-y: auto;
}

.pg34-menu-active {
  right: 0;
}

.pg34-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(0,0,0,0.6);
  z-index: 9998;
  display: none;
}

.pg34-overlay-active {
  display: block;
}

.pg34-menu-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  color: var(--pg34-text-light);
  font-size: 2.4rem;
  cursor: pointer;
}

.pg34-menu-title {
  color: var(--pg34-accent);
  font-size: 1.6rem;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 0.1rem solid var(--pg34-border);
}

.pg34-menu-list {
  list-style: none;
}

.pg34-menu-list li {
  margin-bottom: 0.8rem;
}

.pg34-menu-list a {
  color: var(--pg34-text-light);
  text-decoration: none;
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.8rem;
  border-radius: var(--pg34-radius-sm);
  transition: background 0.2s;
}

.pg34-menu-list a:hover {
  background: rgba(77, 182, 172, 0.1);
  color: var(--pg34-accent);
}

/* === MAIN CONTENT === */
.pg34-main {
  padding-top: 5rem;
  min-height: 100vh;
}

/* === CAROUSEL === */
.pg34-carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
  margin-bottom: 1.5rem;
}

.pg34-slide {
  display: none;
  width: 100%;
  cursor: pointer;
}

.pg34-slide-active {
  display: block;
}

.pg34-slide img {
  width: 100%;
  height: auto;
  display: block;
}

.pg34-dots {
  position: absolute;
  bottom: 0.8rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
}

.pg34-dot {
  width: 0.8rem;
  height: 0.8rem;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  cursor: pointer;
  transition: background 0.3s;
}

.pg34-dot-active {
  background: var(--pg34-accent);
}

/* === SECTION === */
.pg34-section {
  padding: 1.5rem;
  margin-bottom: 1rem;
}

.pg34-section-title {
  color: var(--pg34-accent);
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 1.2rem;
  padding-bottom: 0.6rem;
  border-bottom: 0.2rem solid var(--pg34-accent);
}

/* === GAME GRID === */
.pg34-game-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.8rem;
  margin-bottom: 1.5rem;
}

.pg34-game-item {
  text-align: center;
  cursor: pointer;
  transition: transform 0.2s;
}

.pg34-game-item:hover {
  transform: scale(1.05);
}

.pg34-game-item img {
  width: 100%;
  aspect-ratio: 1;
  border-radius: var(--pg34-radius-sm);
  object-fit: cover;
  border: 0.1rem solid var(--pg34-border);
}

.pg34-game-name {
  font-size: 1.1rem;
  color: var(--pg34-text-light);
  margin-top: 0.3rem;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* === CATEGORY LABEL === */
.pg34-cat-label {
  color: var(--pg34-gold-light);
  font-size: 1.6rem;
  font-weight: 600;
  margin: 1.5rem 0 0.8rem;
  padding-left: 0.5rem;
  border-left: 0.3rem solid var(--pg34-gold);
}

/* === CARDS === */
.pg34-card {
  background: var(--pg34-bg-card);
  border-radius: var(--pg34-radius);
  padding: 1.2rem;
  margin-bottom: 1rem;
  border: 0.1rem solid var(--pg34-border);
}

.pg34-card-title {
  color: var(--pg34-accent);
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 0.8rem;
}

.pg34-card p {
  color: var(--pg34-text);
  font-size: 1.3rem;
  line-height: 1.8rem;
}

/* === PROMO BUTTONS === */
.pg34-promo-btn {
  display: inline-block;
  background: linear-gradient(135deg, var(--pg34-accent), var(--pg34-accent-dark));
  color: var(--pg34-bg-dark);
  padding: 1rem 2rem;
  border-radius: var(--pg34-radius);
  font-size: 1.4rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all 0.2s ease;
  text-align: center;
}

.pg34-promo-btn:hover {
  transform: scale(1.03);
  box-shadow: 0 0.4rem 1.2rem rgba(77, 182, 172, 0.4);
}

.pg34-promo-link {
  color: var(--pg34-accent);
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}

.pg34-promo-link:hover {
  text-decoration: underline;
}

/* === FOOTER === */
.pg34-footer {
  background: var(--pg34-bg-dark);
  padding: 2rem 1.2rem;
  border-top: 0.1rem solid var(--pg34-border);
}

.pg34-footer-brand {
  color: var(--pg34-text-light);
  font-size: 1.3rem;
  line-height: 1.8rem;
  margin-bottom: 1.5rem;
}

.pg34-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 1.5rem;
}

.pg34-footer-link {
  background: var(--pg34-bg-card);
  color: var(--pg34-text-light);
  padding: 0.5rem 1rem;
  border-radius: var(--pg34-radius-sm);
  font-size: 1.1rem;
  text-decoration: none;
  border: 0.1rem solid var(--pg34-border);
  transition: all 0.2s;
}

.pg34-footer-link:hover {
  border-color: var(--pg34-accent);
  color: var(--pg34-accent);
}

.pg34-footer-copy {
  color: var(--pg34-text);
  font-size: 1.1rem;
  text-align: center;
  padding-top: 1rem;
  border-top: 0.1rem solid var(--pg34-border);
}

/* === BOTTOM NAVIGATION === */
.pg34-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  max-width: 430px;
  margin: 0 auto;
  z-index: 1000;
  background: var(--pg34-bg-dark);
  border-top: 0.1rem solid var(--pg34-border);
  display: flex;
  justify-content: space-around;
  align-items: center;
  height: 6rem;
  padding: 0.4rem 0;
}

.pg34-bottom-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 6rem;
  min-height: 5rem;
  background: none;
  border: none;
  color: var(--pg34-text);
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}

.pg34-bottom-btn:hover, .pg34-bottom-btn:focus {
  color: var(--pg34-accent);
  transform: scale(1.08);
}

.pg34-bottom-btn .pg34-bnav-icon {
  font-size: 2.2rem;
  margin-bottom: 0.2rem;
}

.pg34-bottom-btn .pg34-bnav-text {
  font-size: 1rem;
}

.pg34-bottom-active {
  color: var(--pg34-accent) !important;
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .pg34-main {
    padding-bottom: 7rem;
  }
}

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

/* === UTILITIES === */
.pg34-text-accent { color: var(--pg34-accent); }
.pg34-text-gold { color: var(--pg34-gold-light); }
.pg34-text-center { text-align: center; }
.pg34-mt-1 { margin-top: 1rem; }
.pg34-mb-1 { margin-bottom: 1rem; }
.pg34-mb-2 { margin-bottom: 2rem; }
.pg34-p-1 { padding: 1rem; }

.pg34-winner-item {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.8rem;
  border-bottom: 0.1rem solid var(--pg34-border);
}

.pg34-winner-item:last-child { border-bottom: none; }

.pg34-winner-avatar {
  width: 3.2rem;
  height: 3.2rem;
  border-radius: 50%;
  background: var(--pg34-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--pg34-bg-dark);
  font-weight: 700;
  font-size: 1.2rem;
}

.pg34-winner-info {
  flex: 1;
}

.pg34-winner-name {
  color: var(--pg34-text-light);
  font-size: 1.2rem;
}

.pg34-winner-amount {
  color: var(--pg34-accent);
  font-weight: 700;
  font-size: 1.3rem;
}

.pg34-payment-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  justify-content: center;
}

.pg34-payment-item {
  background: var(--pg34-bg-card);
  padding: 0.8rem 1.2rem;
  border-radius: var(--pg34-radius-sm);
  border: 0.1rem solid var(--pg34-border);
  font-size: 1.2rem;
  color: var(--pg34-text-light);
}

/* Highlight current page in bottom nav */
.pg34-bottom-active .pg34-bnav-icon {
  transform: scale(1.1);
}
