/**
 * 1333.click - Main Stylesheet
 * Class prefix: pg11-
 * Theme: Blockchain/Technology
 * Colors: #273746 #880E4F #BBBBBB #AFEEEE #FA8072
 */

:root {
  --pg11-bg-dark: #273746;
  --pg11-bg-deep: #880E4F;
  --pg11-text-light: #BBBBBB;
  --pg11-text-bright: #AFEEEE;
  --pg11-accent: #FA8072;
  --pg11-bg-card: #1e2d3a;
  --pg11-bg-hover: #2c3e50;
  --pg11-border: rgba(175, 238, 238, 0.15);
  --pg11-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  --pg11-radius: 12px;
  --pg11-radius-sm: 8px;
  --pg11-transition: all 0.3s ease;
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 62.5%;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: var(--pg11-bg-dark);
  color: var(--pg11-text-light);
  font-size: 1.6rem;
  line-height: 1.6;
  max-width: 430px;
  margin: 0 auto;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--pg11-text-bright);
  text-decoration: none;
  transition: var(--pg11-transition);
}

a:hover {
  color: var(--pg11-accent);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul, ol { list-style: none; }

/* Header */
.pg11-header {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  z-index: 1000;
  background: linear-gradient(135deg, var(--pg11-bg-dark) 0%, #1a2530 100%);
  border-bottom: 1px solid var(--pg11-border);
  padding: 0 16px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: var(--pg11-transition);
}

.pg11-header-scrolled {
  background: rgba(39, 55, 70, 0.97);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
}

.pg11-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--pg11-accent);
  letter-spacing: 1px;
}

.pg11-logo-icon {
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, var(--pg11-accent), var(--pg11-bg-deep));
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: #fff;
  font-weight: 700;
}

.pg11-header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.pg11-btn {
  padding: 8px 18px;
  border-radius: 20px;
  font-size: 1.3rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: var(--pg11-transition);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.pg11-btn-login {
  background: transparent;
  color: var(--pg11-text-bright);
  border: 1.5px solid var(--pg11-text-bright);
}

.pg11-btn-login:hover {
  background: var(--pg11-text-bright);
  color: var(--pg11-bg-dark);
}

.pg11-btn-register {
  background: linear-gradient(135deg, var(--pg11-accent), var(--pg11-bg-deep));
  color: #fff;
  box-shadow: 0 2px 10px rgba(250, 128, 114, 0.4);
}

.pg11-btn-register:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(250, 128, 114, 0.5);
}

/* Mobile Menu */
.pg11-menu-btn {
  background: none;
  border: none;
  color: var(--pg11-text-bright);
  font-size: 2.4rem;
  cursor: pointer;
  padding: 4px;
  display: none;
}

#pg11-mobile-menu {
  position: fixed;
  top: 0;
  right: -280px;
  width: 280px;
  height: 100vh;
  background: linear-gradient(180deg, #1a2530 0%, var(--pg11-bg-dark) 100%);
  z-index: 9999;
  transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 70px 20px 30px;
  overflow-y: auto;
}

#pg11-mobile-menu.pg11-menu-active {
  right: 0;
}

#pg11-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 9998;
  opacity: 0;
  visibility: hidden;
  transition: var(--pg11-transition);
}

#pg11-overlay.pg11-overlay-active {
  opacity: 1;
  visibility: visible;
}

.pg11-menu-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  color: var(--pg11-text-bright);
  font-size: 2.4rem;
  cursor: pointer;
}

.pg11-menu-link {
  display: block;
  padding: 14px 0;
  color: var(--pg11-text-light);
  font-size: 1.5rem;
  border-bottom: 1px solid var(--pg11-border);
  transition: var(--pg11-transition);
}

.pg11-menu-link:hover {
  color: var(--pg11-accent);
  padding-left: 8px;
}

/* Main Content */
main {
  margin-top: 56px;
  padding: 0 12px;
}

/* Carousel */
.pg11-carousel {
  position: relative;
  width: 100%;
  border-radius: var(--pg11-radius);
  overflow: hidden;
  margin: 12px 0;
  aspect-ratio: 16/8;
  background: var(--pg11-bg-card);
}

.pg11-carousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.6s ease;
}

.pg11-carousel-slide.pg11-slide-active {
  opacity: 1;
}

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

.pg11-carousel-dots {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 2;
}

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

.pg11-carousel-dot.pg11-dot-active {
  background: var(--pg11-accent);
  width: 20px;
  border-radius: 4px;
}

/* Section Titles */
.pg11-section-title {
  font-size: 2rem;
  font-weight: 800;
  color: #fff;
  margin: 24px 0 14px;
  padding-left: 14px;
  position: relative;
}

.pg11-section-title::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 70%;
  background: linear-gradient(180deg, var(--pg11-accent), var(--pg11-bg-deep));
  border-radius: 2px;
}

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

.pg11-game-card {
  background: var(--pg11-bg-card);
  border-radius: var(--pg11-radius-sm);
  overflow: hidden;
  cursor: pointer;
  transition: var(--pg11-transition);
  border: 1px solid transparent;
}

.pg11-game-card:hover {
  transform: translateY(-3px);
  border-color: var(--pg11-accent);
  box-shadow: 0 4px 15px rgba(250, 128, 114, 0.2);
}

.pg11-game-img-wrap {
  aspect-ratio: 1;
  overflow: hidden;
  position: relative;
}

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

.pg11-game-card:hover .pg11-game-img {
  transform: scale(1.08);
}

.pg11-game-name {
  padding: 6px 4px;
  font-size: 1.15rem;
  color: var(--pg11-text-light);
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  background: var(--pg11-bg-card);
}

.pg11-game-tag {
  position: absolute;
  top: 4px;
  left: 4px;
  background: var(--pg11-bg-deep);
  color: #fff;
  font-size: 0.95rem;
  padding: 2px 6px;
  border-radius: 4px;
  font-weight: 600;
}

/* Content Modules */
.pg11-module {
  background: var(--pg11-bg-card);
  border-radius: var(--pg11-radius);
  padding: 20px 16px;
  margin: 16px 0;
  border: 1px solid var(--pg11-border);
}

.pg11-module-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--pg11-accent);
  margin-bottom: 12px;
}

.pg11-module p {
  font-size: 1.4rem;
  line-height: 1.7;
  color: var(--pg11-text-light);
  margin-bottom: 10px;
}

.pg11-module ul {
  padding-left: 18px;
  list-style: disc;
}

.pg11-module li {
  font-size: 1.4rem;
  color: var(--pg11-text-light);
  margin-bottom: 6px;
  line-height: 1.6;
}

/* CTA Banner */
.pg11-cta {
  background: linear-gradient(135deg, var(--pg11-bg-deep), var(--pg11-accent));
  border-radius: var(--pg11-radius);
  padding: 24px 16px;
  text-align: center;
  margin: 20px 0;
}

.pg11-cta h3 {
  font-size: 2rem;
  color: #fff;
  margin-bottom: 8px;
}

.pg11-cta p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.4rem;
  margin-bottom: 16px;
}

.pg11-cta-btn {
  display: inline-block;
  background: #fff;
  color: var(--pg11-bg-deep);
  padding: 12px 36px;
  border-radius: 24px;
  font-size: 1.5rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--pg11-transition);
  border: none;
}

.pg11-cta-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 20px rgba(255, 255, 255, 0.3);
}

/* Winner Ticker */
.pg11-winners {
  background: var(--pg11-bg-card);
  border-radius: var(--pg11-radius);
  padding: 14px;
  margin: 14px 0;
  border: 1px solid var(--pg11-border);
}

.pg11-winner-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid var(--pg11-border);
  font-size: 1.3rem;
}

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

.pg11-winner-name {
  color: var(--pg11-text-bright);
  font-weight: 600;
}

.pg11-winner-game {
  color: var(--pg11-text-light);
  flex: 1;
  text-align: center;
  padding: 0 8px;
}

.pg11-winner-amount {
  color: var(--pg11-accent);
  font-weight: 700;
}

/* Feature Cards */
.pg11-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 14px 0;
}

.pg11-feature-card {
  background: var(--pg11-bg-card);
  border-radius: var(--pg11-radius-sm);
  padding: 16px 12px;
  text-align: center;
  border: 1px solid var(--pg11-border);
  cursor: pointer;
  transition: var(--pg11-transition);
}

.pg11-feature-card:hover {
  border-color: var(--pg11-accent);
  transform: translateY(-2px);
}

.pg11-feature-icon {
  font-size: 2.8rem;
  color: var(--pg11-accent);
  margin-bottom: 8px;
}

.pg11-feature-card h4 {
  font-size: 1.3rem;
  color: #fff;
  margin-bottom: 4px;
}

.pg11-feature-card p {
  font-size: 1.15rem;
  color: var(--pg11-text-light);
}

/* Footer */
.pg11-footer {
  background: linear-gradient(180deg, var(--pg11-bg-card) 0%, #111b24 100%);
  padding: 30px 16px 100px;
  margin-top: 24px;
  border-top: 1px solid var(--pg11-border);
}

.pg11-footer-logo {
  text-align: center;
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--pg11-accent);
  margin-bottom: 16px;
}

.pg11-footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 20px;
}

.pg11-footer-links a {
  font-size: 1.25rem;
  color: var(--pg11-text-light);
  padding: 4px 8px;
}

.pg11-footer-links a:hover { color: var(--pg11-accent); }

.pg11-footer-partners {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin: 16px 0;
  padding: 12px 0;
  border-top: 1px solid var(--pg11-border);
  border-bottom: 1px solid var(--pg11-border);
}

.pg11-footer-partners img {
  height: 28px;
  opacity: 0.6;
  transition: var(--pg11-transition);
}

.pg11-footer-partners img:hover { opacity: 1; }

.pg11-footer-copy {
  text-align: center;
  font-size: 1.2rem;
  color: rgba(187, 187, 187, 0.5);
  margin-top: 14px;
}

/* Bottom Navigation */
.pg11-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  height: 60px;
  background: linear-gradient(180deg, #1a2530 0%, #0f1922 100%);
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 1000;
  border-top: 1px solid var(--pg11-border);
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.3);
}

.pg11-nav-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 60px;
  min-height: 50px;
  background: none;
  border: none;
  color: var(--pg11-text-light);
  cursor: pointer;
  transition: var(--pg11-transition);
  padding: 4px 0;
  position: relative;
}

.pg11-nav-btn::after {
  content: '';
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--pg11-accent);
  transition: width 0.3s ease;
  border-radius: 1px;
}

.pg11-nav-btn:hover::after,
.pg11-nav-btn.pg11-nav-active::after {
  width: 24px;
}

.pg11-nav-btn:hover,
.pg11-nav-btn.pg11-nav-active {
  color: var(--pg11-accent);
}

.pg11-nav-btn span.pg11-nav-icon {
  font-size: 22px;
  line-height: 1;
  margin-bottom: 2px;
}

.pg11-nav-btn span.pg11-nav-label {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.3px;
}

/* Help/Content Pages */
.pg11-content-page {
  padding: 16px 4px 100px;
}

.pg11-content-page h1 {
  font-size: 2.2rem;
  color: #fff;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--pg11-accent);
}

.pg11-content-page h2 {
  font-size: 1.8rem;
  color: var(--pg11-accent);
  margin: 20px 0 10px;
}

.pg11-content-page h3 {
  font-size: 1.6rem;
  color: var(--pg11-text-bright);
  margin: 16px 0 8px;
}

.pg11-content-page p {
  font-size: 1.4rem;
  line-height: 1.8;
  margin-bottom: 12px;
}

.pg11-content-page ol,
.pg11-content-page ul {
  padding-left: 20px;
  margin-bottom: 14px;
}

.pg11-content-page ol { list-style: decimal; }
.pg11-content-page ul { list-style: disc; }

.pg11-content-page li {
  font-size: 1.4rem;
  line-height: 1.7;
  margin-bottom: 6px;
}

/* FAQ Accordion */
.pg11-faq-item {
  background: var(--pg11-bg-card);
  border-radius: var(--pg11-radius-sm);
  margin-bottom: 10px;
  border: 1px solid var(--pg11-border);
  overflow: hidden;
}

.pg11-faq-q {
  padding: 14px 16px;
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--pg11-text-bright);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.pg11-faq-q::after {
  content: '+';
  font-size: 2rem;
  color: var(--pg11-accent);
  transition: var(--pg11-transition);
}

.pg11-faq-a {
  padding: 0 16px;
  font-size: 1.35rem;
  color: var(--pg11-text-light);
  line-height: 1.7;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

/* Utility */
.pg11-text-accent { color: var(--pg11-accent); }
.pg11-text-bright { color: var(--pg11-text-bright); }
.pg11-mt-1 { margin-top: 8px; }
.pg11-mb-1 { margin-bottom: 8px; }
.pg11-text-center { text-align: center; }
.pg11-inline-link {
  color: var(--pg11-accent);
  text-decoration: underline;
  cursor: pointer;
}

/* Desktop */
@media (min-width: 769px) {
  .pg11-bottom-nav { display: none; }
  .pg11-menu-btn { display: none; }
  main { padding-bottom: 0; }
  .pg11-footer { padding-bottom: 30px; }
}

/* Mobile bottom padding */
@media (max-width: 768px) {
  main { padding-bottom: 76px; }
}

/* Category tab bar */
.pg11-cat-tabs {
  display: flex;
  overflow-x: auto;
  gap: 8px;
  padding: 10px 0;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.pg11-cat-tabs::-webkit-scrollbar { display: none; }

.pg11-cat-tab {
  flex-shrink: 0;
  padding: 8px 18px;
  background: var(--pg11-bg-card);
  border-radius: 20px;
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--pg11-text-light);
  border: 1px solid var(--pg11-border);
  cursor: pointer;
  transition: var(--pg11-transition);
}

.pg11-cat-tab:hover,
.pg11-cat-tab.pg11-cat-active {
  background: var(--pg11-bg-deep);
  color: #fff;
  border-color: var(--pg11-accent);
}
