/**
 * 777 Angel Number - Theme Stylesheet
 * Prefix: w13f5-
 * Palette: #FFC0CB | #FFDFBA | #F0F0F0 | #0A0A0A
 * Mobile-first design, max-width: 430px
 */

/* CSS Variables */
:root {
  --w13f5-primary: #FFC0CB;
  --w13f5-secondary: #FFDFBA;
  --w13f5-bg: #0A0A0A;
  --w13f5-surface: #1A1A2E;
  --w13f5-card: #16213E;
  --w13f5-text: #F0F0F0;
  --w13f5-text-muted: #B0B0B0;
  --w13f5-accent: #FFC0CB;
  --w13f5-accent2: #FFDFBA;
  --w13f5-border: #2A2A4A;
  --w13f5-success: #4CAF50;
  --w13f5-warning: #FF9800;
  --w13f5-danger: #F44336;
  --w13f5-radius: 1.2rem;
  --w13f5-radius-sm: 0.8rem;
  --w13f5-shadow: 0 0.4rem 1.2rem rgba(0,0,0,0.4);
  --w13f5-transition: all 0.3s ease;
  font-size: 62.5%;
}

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

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

body {
  font-family: 'Segoe UI', 'Noto Sans Bengali', Tahoma, sans-serif;
  background-color: var(--w13f5-bg);
  color: var(--w13f5-text);
  line-height: 1.5rem;
  font-size: 1.6rem;
  overflow-x: hidden;
  max-width: 430px;
  margin: 0 auto;
  min-height: 100vh;
}

a {
  color: var(--w13f5-accent);
  text-decoration: none;
  transition: var(--w13f5-transition);
}

a:hover {
  color: var(--w13f5-accent2);
}

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

/* Layout */
.w13f5-container {
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  padding: 0 1.2rem;
}

.w13f5-wrapper {
  padding-top: 6rem;
}

/* Header */
.w13f5-header {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  z-index: 1000;
  background: linear-gradient(135deg, #0A0A0A 0%, #1A1A2E 100%);
  border-bottom: 0.1rem solid var(--w13f5-border);
  padding: 0.8rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

.w13f5-logo {
  width: 2.8rem;
  height: 2.8rem;
  border-radius: 0.6rem;
}

.w13f5-site-name {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--w13f5-primary);
  white-space: nowrap;
}

.w13f5-header-right {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.w13f5-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 1.2rem;
  border: none;
  border-radius: var(--w13f5-radius-sm);
  font-size: 1.2rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--w13f5-transition);
  text-decoration: none;
  min-height: 3.6rem;
  min-width: 4.4rem;
}

.w13f5-btn-register {
  background: linear-gradient(135deg, #FFC0CB, #FF9AAF);
  color: #0A0A0A;
}

.w13f5-btn-register:hover {
  transform: scale(1.05);
  box-shadow: 0 0 1rem rgba(255,192,203,0.5);
}

.w13f5-btn-login {
  background: transparent;
  color: var(--w13f5-primary);
  border: 0.15rem solid var(--w13f5-primary);
}

.w13f5-btn-login:hover {
  background: rgba(255,192,203,0.1);
}

.w13f5-menu-btn {
  background: none;
  border: none;
  color: var(--w13f5-text);
  font-size: 2.2rem;
  cursor: pointer;
  padding: 0.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Mobile Menu */
.w13f5-menu-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(--w13f5-transition);
}

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

.w13f5-mobile-menu {
  position: fixed;
  top: 0;
  right: -80%;
  width: 75%;
  max-width: 300px;
  height: 100%;
  background: var(--w13f5-surface);
  z-index: 9999;
  transition: right 0.3s ease;
  padding: 2rem 1.5rem;
  overflow-y: auto;
}

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

.w13f5-menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 0.1rem solid var(--w13f5-border);
}

.w13f5-menu-close {
  background: none;
  border: none;
  color: var(--w13f5-text);
  font-size: 2rem;
  cursor: pointer;
}

.w13f5-menu-links {
  list-style: none;
}

.w13f5-menu-links li {
  margin-bottom: 0.3rem;
}

.w13f5-menu-links a {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  color: var(--w13f5-text);
  border-radius: var(--w13f5-radius-sm);
  transition: var(--w13f5-transition);
  font-size: 1.4rem;
}

.w13f5-menu-links a:hover {
  background: rgba(255,192,203,0.1);
  color: var(--w13f5-primary);
}

/* Carousel */
.w13f5-carousel {
  position: relative;
  overflow: hidden;
  border-radius: var(--w13f5-radius);
  margin: 1rem 0;
}

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

.w13f5-slide img {
  width: 100%;
  height: auto;
  aspect-ratio: 16/9;
  object-fit: cover;
  border-radius: var(--w13f5-radius);
}

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

.w13f5-dots {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.6rem;
}

.w13f5-dot {
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  cursor: pointer;
  transition: var(--w13f5-transition);
}

.w13f5-dot-active {
  background: var(--w13f5-primary);
  transform: scale(1.2);
}

/* Section Titles */
.w13f5-section-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--w13f5-primary);
  margin: 2rem 0 1rem;
  padding-bottom: 0.6rem;
  border-bottom: 0.2rem solid var(--w13f5-border);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

/* Game Grid */
.w13f5-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.8rem;
  margin-bottom: 1.5rem;
}

.w13f5-card {
  background: var(--w13f5-card);
  border-radius: var(--w13f5-radius-sm);
  overflow: hidden;
  cursor: pointer;
  transition: var(--w13f5-transition);
  border: 0.1rem solid var(--w13f5-border);
}

.w13f5-card:hover {
  transform: translateY(-0.3rem);
  box-shadow: var(--w13f5-shadow);
  border-color: var(--w13f5-primary);
}

.w13f5-card img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
}

.w13f5-card-name {
  padding: 0.4rem 0.3rem;
  font-size: 1rem;
  text-align: center;
  color: var(--w13f5-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.2;
}

/* Category Tab */
.w13f5-cat-label {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--w13f5-accent2);
  margin: 1.5rem 0 0.8rem;
  padding-left: 0.5rem;
  border-left: 0.3rem solid var(--w13f5-primary);
}

/* Content Modules */
.w13f5-module {
  background: var(--w13f5-surface);
  border-radius: var(--w13f5-radius);
  padding: 1.5rem;
  margin: 1.5rem 0;
  border: 0.1rem solid var(--w13f5-border);
}

.w13f5-module h2 {
  font-size: 1.6rem;
  color: var(--w13f5-primary);
  margin-bottom: 1rem;
}

.w13f5-module h3 {
  font-size: 1.4rem;
  color: var(--w13f5-accent2);
  margin: 1rem 0 0.5rem;
}

.w13f5-module p {
  font-size: 1.3rem;
  line-height: 1.6;
  color: var(--w13f5-text-muted);
  margin-bottom: 0.8rem;
}

.w13f5-promo-text {
  color: var(--w13f5-primary);
  font-weight: 700;
  cursor: pointer;
  transition: var(--w13f5-transition);
}

.w13f5-promo-text:hover {
  color: var(--w13f5-accent2);
  text-decoration: underline;
}

/* Buttons */
.w13f5-btn-primary {
  background: linear-gradient(135deg, #FFC0CB, #FF9AAF);
  color: #0A0A0A;
  font-weight: 700;
  padding: 1rem 2rem;
  border-radius: var(--w13f5-radius);
  display: inline-block;
  cursor: pointer;
  transition: var(--w13f5-transition);
  text-align: center;
  min-width: 12rem;
}

.w13f5-btn-primary:hover {
  transform: scale(1.05);
  box-shadow: 0 0 1.5rem rgba(255,192,203,0.5);
}

.w13f5-btn-secondary {
  background: transparent;
  color: var(--w13f5-primary);
  border: 0.15rem solid var(--w13f5-primary);
  padding: 0.8rem 1.5rem;
  border-radius: var(--w13f5-radius);
  cursor: pointer;
  transition: var(--w13f5-transition);
  font-weight: 600;
}

.w13f5-btn-secondary:hover {
  background: rgba(255,192,203,0.1);
}

/* Footer */
.w13f5-footer {
  background: var(--w13f5-surface);
  padding: 2rem 1rem 8rem;
  margin-top: 2rem;
  border-top: 0.1rem solid var(--w13f5-border);
}

.w13f5-footer-brand {
  text-align: center;
  margin-bottom: 1.5rem;
}

.w13f5-footer-brand p {
  font-size: 1.2rem;
  color: var(--w13f5-text-muted);
  line-height: 1.6;
  margin-bottom: 0.5rem;
}

.w13f5-footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.8rem;
  margin: 1rem 0;
}

.w13f5-footer-links a {
  color: var(--w13f5-text-muted);
  font-size: 1.1rem;
  padding: 0.3rem 0.6rem;
  transition: var(--w13f5-transition);
}

.w13f5-footer-links a:hover {
  color: var(--w13f5-primary);
}

.w13f5-footer-promo {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
  margin: 1rem 0;
}

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

/* Bottom Navigation */
.w13f5-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  height: 6rem;
  background: linear-gradient(180deg, #1A1A2E 0%, #0A0A0A 100%);
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 1000;
  border-top: 0.1rem solid var(--w13f5-border);
  padding: 0 0.3rem;
}

.w13f5-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(--w13f5-text-muted);
  cursor: pointer;
  transition: var(--w13f5-transition);
  padding: 0.3rem;
  gap: 0.2rem;
}

.w13f5-bottom-btn:hover,
.w13f5-bottom-btn:focus {
  color: var(--w13f5-primary);
  transform: scale(1.1);
}

.w13f5-bottom-btn span {
  font-size: 1rem;
  line-height: 1.2;
}

.w13f5-bottom-btn .w13f5-nav-icon {
  font-size: 2.2rem;
  line-height: 1;
}

.w13f5-bottom-active {
  color: var(--w13f5-primary);
}

/* Desktop: hide bottom nav */
@media (min-width: 769px) {
  .w13f5-bottom-nav {
    display: none;
  }
  .w13f5-footer {
    padding-bottom: 2rem;
  }
}

/* Mobile: bottom padding */
@media (max-width: 768px) {
  .w13f5-wrapper {
    padding-bottom: 8rem;
  }
}

/* Utility */
.w13f5-text-center {
  text-align: center;
}

.w13f5-mb-1 {
  margin-bottom: 1rem;
}

.w13f5-mt-2 {
  margin-top: 2rem;
}

.w13f5-hidden {
  display: none;
}

/* Promo link inline */
.w13f5-link {
  color: var(--w13f5-primary);
  font-weight: 600;
  cursor: pointer;
  transition: var(--w13f5-transition);
}

.w13f5-link:hover {
  color: var(--w13f5-accent2);
  text-decoration: underline;
}

/* Winner list */
.w13f5-winner-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.6rem 0;
  border-bottom: 0.1rem solid var(--w13f5-border);
  font-size: 1.2rem;
}

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

.w13f5-winner-amount {
  color: var(--w13f5-success);
  font-weight: 700;
}

/* Payment icons */
.w13f5-payment-row {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
  margin: 1rem 0;
}

.w13f5-payment-item {
  background: var(--w13f5-card);
  padding: 0.6rem 1rem;
  border-radius: var(--w13f5-radius-sm);
  font-size: 1.2rem;
  color: var(--w13f5-text);
  border: 0.1rem solid var(--w13f5-border);
}

/* Testimonial */
.w13f5-testimonial {
  background: var(--w13f5-card);
  border-radius: var(--w13f5-radius);
  padding: 1rem;
  margin-bottom: 0.8rem;
  border-left: 0.3rem solid var(--w13f5-primary);
}

.w13f5-testimonial p {
  font-size: 1.2rem;
  color: var(--w13f5-text-muted);
  font-style: italic;
}

.w13f5-testimonial-author {
  font-size: 1.1rem;
  color: var(--w13f5-accent);
  font-weight: 600;
  margin-top: 0.4rem;
}

/* FAQ */
.w13f5-faq-item {
  margin-bottom: 1rem;
  padding: 0.8rem;
  background: var(--w13f5-card);
  border-radius: var(--w13f5-radius-sm);
}

.w13f5-faq-item strong {
  color: var(--w13f5-primary);
  font-size: 1.3rem;
}

.w13f5-faq-item p {
  font-size: 1.2rem;
  color: var(--w13f5-text-muted);
  margin-top: 0.4rem;
}

/* Help page styles */
.w13f5-help-section {
  margin-bottom: 1.5rem;
}

.w13f5-help-section h2 {
  font-size: 1.6rem;
  color: var(--w13f5-primary);
  margin-bottom: 0.8rem;
}

.w13f5-help-section p {
  font-size: 1.3rem;
  line-height: 1.7;
  color: var(--w13f5-text-muted);
  margin-bottom: 0.6rem;
}

.w13f5-help-section ul {
  padding-left: 1.5rem;
  margin-bottom: 0.8rem;
}

.w13f5-help-section li {
  font-size: 1.3rem;
  line-height: 1.6;
  color: var(--w13f5-text-muted);
  margin-bottom: 0.4rem;
}
