/*!
 * swerte77 casino - swerte77-casino.css
 * Mobile-first casino gaming styles. All custom classes use the "w073f-" prefix.
 * Color palette: #0C0C0C (dark bg), #F8F8FF (light text),
 * #8A2BE2 (violet primary), #48D1CC (turquoise accent).
 */

:root {
  --w073f-bg: #0C0C0C;
  --w073f-bg-alt: #15151f;
  --w073f-bg-card: #1b1b29;
  --w073f-text: #F8F8FF;
  --w073f-text-muted: #b9b9d1;
  --w073f-primary: #8A2BE2;
  --w073f-primary-dark: #6a1bb1;
  --w073f-accent: #48D1CC;
  --w073f-accent-dark: #2fa9a4;
  --w073f-gold: #ffd56b;
  --w073f-danger: #ff5c7a;
  --w073f-border: rgba(248, 248, 255, 0.08);
  --w073f-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
  --w073f-radius: 14px;
  --w073f-radius-sm: 10px;
}

* { box-sizing: border-box; }

html { font-size: 62.5%; }

body {
  margin: 0;
  background: radial-gradient(1200px 600px at 20% -10%, #1d1230 0%, transparent 60%),
              radial-gradient(900px 500px at 90% 0%, #0c2b2a 0%, transparent 55%),
              var(--w073f-bg);
  color: var(--w073f-text);
  font-family: "Segoe UI", "Helvetica Neue", Arial, system-ui, -apple-system, sans-serif;
  font-size: 1.5rem;
  line-height: 1.5;
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

img { max-width: 100%; display: block; }
a { color: var(--w073f-accent); text-decoration: none; }
a:hover { color: var(--w073f-gold); }

.w073f-container { width: 100%; max-width: 430px; margin: 0 auto; padding: 0 14px; }
.w073f-wrapper { padding-top: 64px; padding-bottom: 84px; }

/* ============ Header ============ */
.w073f-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: linear-gradient(180deg, rgba(12,12,12,0.95) 0%, rgba(12,12,12,0.85) 100%);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--w073f-border);
}
.w073f-header-inner {
  max-width: 430px;
  margin: 0 auto;
  height: 60px;
  padding: 0 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.w073f-logo { display: flex; align-items: center; gap: 8px; flex: 1; min-width: 0; }
.w073f-logo img { width: 30px; height: 30px; border-radius: 8px; }
.w073f-logo-text {
  font-size: 1.7rem; font-weight: 800; letter-spacing: 0.3px;
  background: linear-gradient(90deg, var(--w073f-primary), var(--w073f-accent));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; white-space: nowrap;
}
.w073f-header-actions { display: flex; align-items: center; gap: 8px; }
.w073f-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  height: 36px; padding: 0 14px; border: none; border-radius: 999px;
  font-size: 1.3rem; font-weight: 700; cursor: pointer; transition: transform .15s ease, box-shadow .15s ease;
  text-transform: uppercase; letter-spacing: 0.4px;
}
.w073f-btn:active { transform: scale(0.96); }
.w073f-btn-login {
  background: transparent; color: var(--w073f-text);
  border: 1px solid var(--w073f-accent);
}
.w073f-btn-register {
  background: linear-gradient(135deg, var(--w073f-primary) 0%, var(--w073f-primary-dark) 100%);
  color: #fff; box-shadow: 0 6px 16px rgba(138, 43, 226, 0.45);
}
.w073f-nav-toggle {
  background: transparent; border: none; color: var(--w073f-text);
  width: 38px; height: 38px; font-size: 22px; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center; border-radius: 10px;
}
.w073f-nav-toggle:hover { background: rgba(255,255,255,0.06); }

/* ============ Mobile Menu ============ */
.w073f-mobile-menu {
  position: fixed; top: 60px; left: 0; right: 0;
  background: var(--w073f-bg-alt);
  border-bottom: 1px solid var(--w073f-border);
  padding: 10px 14px 18px;
  transform: translateY(-130%);
  transition: transform .28s ease;
  z-index: 9999;
  max-height: calc(100vh - 60px);
  overflow-y: auto;
}
.w073f-mobile-menu--open { transform: translateY(0); }
.w073f-mobile-menu a {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 10px; color: var(--w073f-text);
  border-bottom: 1px solid var(--w073f-border);
  font-size: 1.45rem; font-weight: 600;
}
.w073f-mobile-menu a:hover { color: var(--w073f-accent); background: rgba(255,255,255,0.04); }
.w073f-mobile-menu a i { width: 22px; text-align: center; color: var(--w073f-accent); }

.w073f-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.55);
  opacity: 0; pointer-events: none; transition: opacity .25s ease; z-index: 998;
}
.w073f-overlay--visible { opacity: 1; pointer-events: auto; }

/* ============ Hero Carousel ============ */
.w073f-hero { margin-top: 14px; }
.w073f-carousel {
  position: relative; border-radius: var(--w073f-radius);
  overflow: hidden; box-shadow: var(--w073f-shadow);
  background: var(--w073f-bg-card);
}
.w073f-slide {
  position: relative; display: none; cursor: pointer;
}
.w073f-slide--active { display: block; animation: w073f-fade 0.6s ease; }
@keyframes w073f-fade { from { opacity: 0; } to { opacity: 1; } }
.w073f-slide img { width: 100%; height: 180px; object-fit: cover; }
.w073f-slide-caption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 24px 16px 14px;
  background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.75) 80%);
  color: var(--w073f-text); font-size: 1.4rem; font-weight: 700;
}
.w073f-dots {
  position: absolute; bottom: 8px; left: 0; right: 0;
  display: flex; justify-content: center; gap: 6px;
}
.w073f-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255,255,255,0.4); border: none; cursor: pointer; padding: 0;
}
.w073f-dot--active { background: var(--w073f-accent); width: 22px; border-radius: 4px; }

/* ============ Section ============ */
.w073f-section { margin-top: 22px; }
.w073f-section-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.w073f-section-title {
  font-size: 1.7rem; font-weight: 800; margin: 0;
  display: inline-flex; align-items: center; gap: 8px;
}
.w073f-section-title i { color: var(--w073f-accent); }
.w073f-section-more { font-size: 1.25rem; color: var(--w073f-accent); font-weight: 600; }

/* ============ Game Grid ============ */
.w073f-game-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px;
}
.w073f-game-card {
  background: var(--w073f-bg-card);
  border: 1px solid var(--w073f-border);
  border-radius: var(--w073f-radius-sm);
  overflow: hidden; cursor: pointer;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.w073f-game-card:hover {
  transform: translateY(-3px);
  border-color: var(--w073f-accent);
  box-shadow: 0 8px 18px rgba(72, 209, 204, 0.18);
}
.w073f-game-card img {
  width: 100%; aspect-ratio: 1/1; object-fit: cover; background: #000;
}
.w073f-game-name {
  padding: 6px 8px; font-size: 1.15rem; text-align: center;
  color: var(--w073f-text); font-weight: 600;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

/* ============ Buttons / CTA ============ */
.w073f-cta-banner {
  margin-top: 22px;
  padding: 18px 16px;
  border-radius: var(--w073f-radius);
  background: linear-gradient(135deg, var(--w073f-primary) 0%, var(--w073f-accent-dark) 100%);
  display: flex; flex-direction: column; gap: 10px; align-items: center; text-align: center;
  box-shadow: 0 10px 26px rgba(138, 43, 226, 0.35);
}
.w073f-cta-banner h3 { margin: 0; font-size: 1.7rem; }
.w073f-cta-banner p { margin: 0; font-size: 1.3rem; color: rgba(255,255,255,0.92); }
.w073f-cta-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--w073f-gold); color: #1a1a1a;
  height: 44px; padding: 0 22px; border-radius: 999px;
  font-size: 1.4rem; font-weight: 800; cursor: pointer; border: none;
  box-shadow: 0 6px 14px rgba(255, 213, 107, 0.45);
  transition: transform .15s ease;
}
.w073f-cta-btn:active { transform: scale(0.96); }

/* ============ Info / FAQ / Features ============ */
.w073f-info-card, .w073f-faq-item, .w073f-feature-card, .w073f-testimonial, .w073f-winner {
  background: var(--w073f-bg-card);
  border: 1px solid var(--w073f-border);
  border-radius: var(--w073f-radius-sm);
  padding: 14px 16px; margin-bottom: 10px;
}
.w073f-info-card h3, .w073f-feature-card h3 { margin: 0 0 8px; font-size: 1.55rem; color: var(--w073f-accent); }
.w073f-info-card p, .w073f-feature-card p { margin: 0 0 6px; font-size: 1.35rem; color: var(--w073f-text-muted); }
.w073f-info-card a, .w073f-feature-card a { color: var(--w073f-gold); font-weight: 700; }

.w073f-faq-item h3 { margin: 0 0 6px; font-size: 1.45rem; color: var(--w073f-text); }
.w073f-faq-item p { margin: 0; font-size: 1.3rem; color: var(--w073f-text-muted); }

.w073f-testimonial { display: flex; gap: 10px; align-items: flex-start; }
.w073f-testimonial-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: linear-gradient(135deg, var(--w073f-primary), var(--w073f-accent));
  color: #fff; font-weight: 800; display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.w073f-testimonial-text { font-size: 1.3rem; color: var(--w073f-text-muted); }
.w073f-testimonial-name { font-size: 1.2rem; color: var(--w073f-gold); margin-top: 4px; }

.w073f-winner-row { display: flex; justify-content: space-between; padding: 6px 0; border-bottom: 1px dashed var(--w073f-border); }
.w073f-winner-row:last-child { border-bottom: none; }
.w073f-winner-name { font-weight: 700; color: var(--w073f-text); }
.w073f-winner-prize { color: var(--w073f-gold); font-weight: 800; }

.w073f-rtp-table { width: 100%; border-collapse: collapse; font-size: 1.25rem; }
.w073f-rtp-table th, .w073f-rtp-table td { padding: 8px 10px; text-align: left; border-bottom: 1px solid var(--w073f-border); }
.w073f-rtp-table th { color: var(--w073f-accent); font-weight: 700; }
.w073f-rtp-table td.w073f-rtp-val { color: var(--w073f-gold); font-weight: 800; }

.w073f-pay-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.w073f-pay-item {
  background: var(--w073f-bg-card); border: 1px solid var(--w073f-border);
  border-radius: var(--w073f-radius-sm); padding: 8px; text-align: center;
  font-size: 1.1rem; color: var(--w073f-text-muted);
}
.w073f-pay-item i { font-size: 22px; color: var(--w073f-accent); display: block; margin-bottom: 4px; }

/* ============ Footer ============ */
.w073f-footer {
  margin-top: 26px; padding: 22px 14px 30px;
  background: var(--w073f-bg-alt); border-top: 1px solid var(--w073f-border);
}
.w073f-footer p { font-size: 1.25rem; color: var(--w073f-text-muted); margin: 0 0 10px; }
.w073f-footer-links {
  display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0;
}
.w073f-footer-links a {
  background: var(--w073f-bg-card); border: 1px solid var(--w073f-border);
  color: var(--w073f-text); padding: 6px 12px; border-radius: 999px;
  font-size: 1.15rem; font-weight: 600;
}
.w073f-footer-links a:hover { color: var(--w073f-accent); border-color: var(--w073f-accent); }
.w073f-footer-copy { font-size: 1.1rem; color: var(--w073f-text-muted); margin-top: 10px; }

/* ============ Bottom Navigation ============ */
.w073f-bottom-nav {
  position: fixed; left: 0; right: 0; bottom: 0;
  height: 60px; z-index: 1000;
  background: linear-gradient(180deg, rgba(20,20,30,0.96), rgba(12,12,12,0.98));
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--w073f-border);
  display: flex; justify-content: space-around; align-items: stretch;
  max-width: 430px; margin: 0 auto;
}
.w073f-bottom-nav-btn {
  flex: 1; min-width: 60px; min-height: 60px;
  background: transparent; border: none; color: var(--w073f-text-muted);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  cursor: pointer; padding: 4px 0; transition: color .18s ease, transform .18s ease;
  font-size: 1.05rem; font-weight: 600;
}
.w073f-bottom-nav-btn i { font-size: 22px; }
.w073f-bottom-nav-btn .material-icons,
.w073f-bottom-nav-btn .ion { font-size: 22px; }
.w073f-bottom-nav-btn:active { transform: scale(0.92); }
.w073f-bottom-nav-btn--active { color: var(--w073f-accent); }
.w073f-bottom-nav-btn--active i,
.w073f-bottom-nav-btn--active .material-icons,
.w073f-bottom-nav-btn--active .ion { color: var(--w073f-gold); }
.w073f-bottom-nav-btn--promo {
  position: relative;
}
.w073f-bottom-nav-btn--promo::before {
  content: ""; position: absolute; top: -8px; left: 50%; transform: translateX(-50%);
  width: 38px; height: 38px; border-radius: 50%;
  background: linear-gradient(135deg, var(--w073f-primary), var(--w073f-accent));
  box-shadow: 0 4px 12px rgba(138, 43, 226, 0.5);
}
.w073f-bottom-nav-btn--promo i,
.w073f-bottom-nav-btn--promo .material-icons {
  position: relative; z-index: 1; color: #fff; margin-top: -8px;
}

/* ============ Desktop adjustments ============ */
@media (min-width: 769px) {
  .w073f-bottom-nav { display: none; }
  .w073f-wrapper { padding-bottom: 40px; }
  .w073f-container { max-width: 760px; }
}

/* ============ Small screens tweaks ============ */
@media (max-width: 360px) {
  .w073f-game-grid { grid-template-columns: repeat(2, 1fr); }
  .w073f-logo-text { font-size: 1.5rem; }
}

/* Utility */
.w073f-text-promo { color: var(--w073f-gold); font-weight: 800; }
.w073f-text-accent { color: var(--w073f-accent); font-weight: 700; }
.w073f-center { text-align: center; }
.w073f-mt-12 { margin-top: 12px; }
.w073f-divider { height: 1px; background: var(--w073f-border); margin: 16px 0; border: none; }
