/* perya-plus.css - Core stylesheet for perya plus platform */
/* All classes use wea75- prefix for namespace isolation */
/* Color palette: #273746 (dark bg), #F0F0F0 (light text), #FFF176 (accent), #FF9500 (highlight) */

:root {
  --wea75-primary: #273746;
  --wea75-bg: #1a252f;
  --wea75-bg-light: #2c3e50;
  --wea75-text: #F0F0F0;
  --wea75-text-muted: #b0bec5;
  --wea75-accent: #FFF176;
  --wea75-highlight: #FF9500;
  --wea75-card-bg: #1e2d3a;
  --wea75-border: #34495e;
  --wea75-success: #4caf50;
  --wea75-danger: #e74c3c;
  --wea75-radius: 8px;
  --wea75-radius-lg: 12px;
  --wea75-shadow: 0 2px 8px 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-color: var(--wea75-bg);
  color: var(--wea75-text);
  line-height: 1.5rem;
  max-width: 430px;
  margin: 0 auto;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

/* Header */
.wea75-header {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  height: 56px;
  background: var(--wea75-primary);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 12px;
  z-index: 1000;
  border-bottom: 2px solid var(--wea75-highlight);
}

.wea75-header-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.wea75-header-logo img {
  width: 28px;
  height: 28px;
  border-radius: 4px;
}

.wea75-header-logo span {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--wea75-accent);
  letter-spacing: 0.5px;
}

.wea75-header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.wea75-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 16px;
  border: none;
  border-radius: var(--wea75-radius);
  font-size: 1.3rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  min-height: 36px;
  min-width: 44px;
  transition: all 0.2s ease;
}

.wea75-btn-register {
  background: var(--wea75-highlight);
  color: #fff;
}

.wea75-btn-register:hover {
  background: #e68600;
  transform: scale(1.05);
}

.wea75-btn-login {
  background: transparent;
  color: var(--wea75-accent);
  border: 1.5px solid var(--wea75-accent);
}

.wea75-btn-login:hover {
  background: rgba(255,241,118,0.1);
}

.wea75-btn-promo {
  background: linear-gradient(135deg, var(--wea75-highlight), #ffb732);
  color: #fff;
  font-size: 1.4rem;
  padding: 10px 24px;
  border-radius: var(--wea75-radius-lg);
  box-shadow: 0 2px 12px rgba(255,149,0,0.4);
}

.wea75-btn-promo:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(255,149,0,0.5);
}

/* Menu button */
.wea75-menu-btn {
  background: none;
  border: none;
  color: var(--wea75-text);
  font-size: 2rem;
  cursor: pointer;
  padding: 4px;
  min-width: 44px;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Mobile menu */
.wea75-mobile-menu {
  display: none;
  position: fixed;
  top: 56px;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  background: var(--wea75-primary);
  border-bottom: 2px solid var(--wea75-highlight);
  z-index: 9999;
  padding: 8px 0;
  box-shadow: 0 4px 16px rgba(0,0,0,0.4);
}

.wea75-mobile-menu a {
  display: block;
  padding: 12px 20px;
  color: var(--wea75-text);
  text-decoration: none;
  font-size: 1.4rem;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  transition: background 0.2s;
}

.wea75-mobile-menu a:hover {
  background: rgba(255,149,0,0.15);
  color: var(--wea75-accent);
}

/* Main content */
.wea75-main {
  padding-top: 56px;
}

/* Carousel */
.wea75-carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
  aspect-ratio: 16/9;
}

.wea75-carousel-slide {
  display: none;
  width: 100%;
  height: 100%;
}

.wea75-carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.wea75-carousel-dots {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
}

.wea75-carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  cursor: pointer;
  border: none;
  transition: background 0.3s;
}

.wea75-carousel-active {
  background: var(--wea75-accent);
}

/* Container / Wrapper */
.wea75-container {
  width: 100%;
  padding: 0 12px;
}

.wea75-section {
  padding: 20px 12px;
}

.wea75-section-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--wea75-accent);
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--wea75-highlight);
}

.wea75-section-subtitle {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--wea75-text);
  margin: 12px 0 8px;
}

/* Game grid */
.wea75-game-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.wea75-game-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s;
}

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

.wea75-game-item img {
  width: 64px;
  height: 64px;
  border-radius: var(--wea75-radius);
  margin-bottom: 4px;
  border: 1.5px solid var(--wea75-border);
}

.wea75-game-item span {
  font-size: 1.1rem;
  color: var(--wea75-text-muted);
  text-align: center;
  line-height: 1.3rem;
  max-width: 80px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Category label */
.wea75-cat-label {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--wea75-highlight);
  margin: 16px 0 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Cards */
.wea75-card {
  background: var(--wea75-card-bg);
  border-radius: var(--wea75-radius-lg);
  padding: 16px;
  margin-bottom: 12px;
  border: 1px solid var(--wea75-border);
}

.wea75-card-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--wea75-accent);
  margin-bottom: 8px;
}

/* Text styles */
.wea75-text {
  font-size: 1.3rem;
  line-height: 1.8rem;
  color: var(--wea75-text-muted);
}

.wea75-text-highlight {
  color: var(--wea75-highlight);
  font-weight: 600;
}

.wea75-text-link {
  color: var(--wea75-accent);
  text-decoration: underline;
  cursor: pointer;
}

.wea75-text-link:hover {
  color: var(--wea75-highlight);
}

/* Lists */
.wea75-list {
  list-style: none;
  padding: 0;
}

.wea75-list li {
  padding: 6px 0 6px 18px;
  position: relative;
  font-size: 1.3rem;
  color: var(--wea75-text-muted);
  line-height: 1.6rem;
}

.wea75-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 12px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--wea75-highlight);
}

/* Winner list */
.wea75-winner-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  font-size: 1.2rem;
}

.wea75-winner-name {
  color: var(--wea75-accent);
  font-weight: 600;
}

.wea75-winner-amount {
  color: var(--wea75-highlight);
  font-weight: 700;
}

/* Testimonial */
.wea75-testimonial {
  background: var(--wea75-card-bg);
  border-radius: var(--wea75-radius-lg);
  padding: 14px;
  margin-bottom: 10px;
  border-left: 3px solid var(--wea75-highlight);
}

.wea75-testimonial-author {
  font-size: 1.2rem;
  color: var(--wea75-accent);
  font-weight: 600;
  margin-bottom: 4px;
}

.wea75-testimonial-text {
  font-size: 1.2rem;
  color: var(--wea75-text-muted);
  line-height: 1.6rem;
}

/* Payment icons row */
.wea75-payment-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  padding: 8px 0;
}

.wea75-payment-item {
  background: var(--wea75-card-bg);
  border-radius: var(--wea75-radius);
  padding: 8px 14px;
  font-size: 1.2rem;
  color: var(--wea75-text);
  border: 1px solid var(--wea75-border);
}

/* Bottom navigation */
.wea75-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  height: 60px;
  background: var(--wea75-primary);
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 1000;
  border-top: 2px solid var(--wea75-highlight);
  box-shadow: 0 -2px 12px rgba(0,0,0,0.3);
}

.wea75-bottom-nav-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  color: var(--wea75-text-muted);
  font-size: 1rem;
  cursor: pointer;
  min-width: 60px;
  min-height: 56px;
  transition: all 0.2s ease;
  text-decoration: none;
}

.wea75-bottom-nav-btn .wea75-nav-icon {
  font-size: 22px;
  margin-bottom: 2px;
}

.wea75-bottom-nav-btn span {
  font-size: 1rem;
}

.wea75-bottom-nav-btn:hover,
.wea75-bottom-nav-active {
  color: var(--wea75-highlight);
  transform: scale(1.1);
}

.wea75-bottom-nav-btn:active {
  transform: scale(0.95);
}

/* Footer */
.wea75-footer {
  background: var(--wea75-primary);
  padding: 20px 12px 80px;
  border-top: 2px solid var(--wea75-highlight);
}

.wea75-footer-brand {
  font-size: 1.3rem;
  color: var(--wea75-text-muted);
  line-height: 1.8rem;
  margin-bottom: 16px;
}

.wea75-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.wea75-footer-links a {
  background: var(--wea75-bg-light);
  color: var(--wea75-text);
  padding: 6px 12px;
  border-radius: var(--wea75-radius);
  font-size: 1.2rem;
  text-decoration: none;
  transition: background 0.2s;
}

.wea75-footer-links a:hover {
  background: var(--wea75-highlight);
  color: #fff;
}

.wea75-footer-copy {
  font-size: 1.1rem;
  color: var(--wea75-text-muted);
  text-align: center;
  margin-top: 12px;
}

.wea75-footer-promo-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

/* Responsive */
@media (min-width: 769px) {
  .wea75-bottom-nav {
    display: none;
  }
  .wea75-footer {
    padding-bottom: 20px;
  }
}

@media (max-width: 768px) {
  .wea75-main {
    padding-bottom: 72px;
  }
}

/* Utility */
.wea75-mt-8 { margin-top: 8px; }
.wea75-mt-16 { margin-top: 16px; }
.wea75-mb-8 { margin-bottom: 8px; }
.wea75-mb-16 { margin-bottom: 16px; }
.wea75-text-center { text-align: center; }
.wea75-text-sm { font-size: 1.1rem; }
.wea75-fw-bold { font-weight: 700; }
.wea75-clr-accent { color: var(--wea75-accent); }
.wea75-clr-highlight { color: var(--wea75-highlight); }

/* Promo banner */
.wea75-promo-banner {
  background: linear-gradient(135deg, var(--wea75-highlight), #ffb732);
  border-radius: var(--wea75-radius-lg);
  padding: 16px;
  text-align: center;
  margin: 16px 12px;
}

.wea75-promo-banner h3 {
  font-size: 1.6rem;
  color: #fff;
  margin-bottom: 8px;
}

.wea75-promo-banner p {
  font-size: 1.2rem;
  color: rgba(255,255,255,0.9);
  margin-bottom: 12px;
}

/* FAQ */
.wea75-faq-item {
  margin-bottom: 12px;
  border-bottom: 1px solid var(--wea75-border);
  padding-bottom: 12px;
}

.wea75-faq-q {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--wea75-accent);
  margin-bottom: 4px;
}

.wea75-faq-a {
  font-size: 1.3rem;
  color: var(--wea75-text-muted);
  line-height: 1.7rem;
}

/* RTP table */
.wea75-rtp-row {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  font-size: 1.2rem;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

.wea75-rtp-bar {
  height: 4px;
  border-radius: 2px;
  background: var(--wea75-highlight);
  margin-top: 4px;
}

/* Achievement badge */
.wea75-badge {
  display: inline-block;
  background: var(--wea75-highlight);
  color: #fff;
  font-size: 1.1rem;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 10px;
  margin-right: 4px;
}
