/* ============================================================
 * uu8888.click - Core stylesheet
 * Class prefix     : wed3c-
 * Palette          : #273746 (dark bg) / #A9A9A9 (light text)
 * Accent           : amber/gold for casino energy
 * Mobile-first     : max-width 430px baseline
 * ============================================================ */

:root {
  --wed3c-bg: #273746;
  --wed3c-bg-deep: #1c2833;
  --wed3c-bg-card: #324656;
  --wed3c-bg-soft: #3e5466;
  --wed3c-text: #A9A9A9;
  --wed3c-text-bright: #FFFFFF;
  --wed3c-primary: #F0B90B;
  --wed3c-primary-soft: #FFD24A;
  --wed3c-secondary: #E8505B;
  --wed3c-success: #2ECC71;
  --wed3c-info: #3DA9FC;
  --wed3c-border: rgba(169,169,169,0.18);
  --wed3c-shadow: 0 8px 24px rgba(0,0,0,0.35);
  --wed3c-radius: 14px;
  --wed3c-radius-sm: 10px;
}

/* HTML element defaults */
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--wed3c-bg);
  background-image: radial-gradient(circle at 20% 0%, #34495e 0%, var(--wed3c-bg) 55%);
  color: var(--wed3c-text);
  font-family: "Segoe UI", "Helvetica Neue", Roboto, system-ui, sans-serif;
  font-size: 1.5rem;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
*, *::before, *::after { box-sizing: border-box; }
a { color: var(--wed3c-primary); text-decoration: none; }
img { max-width: 100%; display: block; }
h1, h2, h3, h4 { color: var(--wed3c-text-bright); font-weight: 700; line-height: 1.25; margin: 0 0 0.6em; }
p { margin: 0 0 1em; }
ul { padding-left: 1.2em; margin: 0 0 1em; }

/* Layout containers */
.wed3c-wrapper { width: 100%; max-width: 430px; margin: 0 auto; padding: 0 14px; }
.wed3c-container { padding: 18px 14px; }

/* Skip link / accessibility */
.wed3c-skip { position: absolute; left: -9999px; }
.wed3c-skip:focus { left: 10px; top: 10px; background: var(--wed3c-primary); color: #000; padding: 8px 12px; z-index: 9999; border-radius: 6px; }

/* ========= Header ========= */
.wed3c-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: linear-gradient(180deg, rgba(28,40,51,0.96), rgba(39,55,70,0.92));
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--wed3c-border);
  transition: padding 0.25s ease, background 0.25s ease;
}
.wed3c-header.wed3c-scrolled { background: rgba(28,40,51,0.98); box-shadow: var(--wed3c-shadow); }
.wed3c-header-inner {
  display: flex; align-items: center; justify-content: space-between;
  max-width: 430px; margin: 0 auto; padding: 8px 14px; gap: 8px;
}
.wed3c-brand { display: flex; align-items: center; gap: 8px; min-width: 0; }
.wed3c-brand img { width: 30px; height: 30px; border-radius: 8px; box-shadow: 0 0 0 2px rgba(240,185,11,0.4); }
.wed3c-brand-name {
  font-size: 1.7rem; font-weight: 800; letter-spacing: 0.5px;
  background: linear-gradient(90deg, var(--wed3c-primary), var(--wed3c-primary-soft));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.wed3c-header-actions { display: flex; align-items: center; gap: 8px; }
.wed3c-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  font-size: 1.3rem; font-weight: 700; padding: 8px 14px; border-radius: 999px;
  border: none; cursor: pointer; transition: transform 0.15s ease, filter 0.15s ease;
  min-height: 36px; line-height: 1; white-space: nowrap;
}
.wed3c-btn:hover { transform: translateY(-1px); filter: brightness(1.08); }
.wed3c-btn-primary { background: linear-gradient(135deg, var(--wed3c-primary), #d99e0a); color: #1c2833; }
.wed3c-btn-outline { background: transparent; color: var(--wed3c-text-bright); border: 1.5px solid var(--wed3c-primary); }
.wed3c-btn-ghost { background: var(--wed3c-bg-soft); color: var(--wed3c-text-bright); }
.wed3c-btn-block { width: 100%; padding: 12px 14px; font-size: 1.5rem; }
.wed3c-menu-toggle {
  background: transparent; border: none; color: var(--wed3c-text-bright);
  font-size: 2rem; cursor: pointer; width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center; border-radius: 8px;
}
.wed3c-menu-toggle.wed3c-active { background: rgba(240,185,11,0.12); color: var(--wed3c-primary); }

/* ========= Mobile slide-down menu ========= */
.wed3c-mobile-menu {
  position: fixed; top: 56px; left: 0; right: 0; z-index: 9999;
  background: var(--wed3c-bg-deep);
  border-bottom: 1px solid var(--wed3c-border);
  max-height: 0; overflow: hidden; transition: max-height 0.3s ease;
  box-shadow: var(--wed3c-shadow);
}
.wed3c-mobile-menu.wed3c-active { max-height: 80vh; overflow-y: auto; }
.wed3c-mobile-menu-inner { max-width: 430px; margin: 0 auto; padding: 10px 14px 18px; }
.wed3c-mobile-menu a {
  display: block; padding: 12px 12px; color: var(--wed3c-text);
  border-bottom: 1px solid rgba(169,169,169,0.08);
  font-size: 1.45rem; font-weight: 600;
}
.wed3c-mobile-menu a:hover { color: var(--wed3c-primary); background: rgba(240,185,11,0.06); }
.wed3c-mobile-menu .wed3c-menu-promo {
  background: linear-gradient(135deg, rgba(240,185,11,0.18), rgba(232,80,91,0.12));
  color: var(--wed3c-text-bright); border-radius: var(--wed3c-radius-sm); margin-top: 10px;
  text-align: center; border-bottom: none;
}

body.wed3c-no-scroll { overflow: hidden; }

/* ========= Main spacer ========= */
.wed3c-main { padding-top: 64px; padding-bottom: 90px; }

/* ========= Hero carousel ========= */
.wed3c-hero { margin: 14px 0; }
.wed3c-carousel { position: relative; border-radius: var(--wed3c-radius); overflow: hidden; box-shadow: var(--wed3c-shadow); }
.wed3c-slide {
  position: relative; display: none; cursor: pointer;
}
.wed3c-slide.wed3c-active { display: block; animation: wed3c-fade 0.6s ease; }
.wed3c-slide img { width: 100%; height: auto; min-height: 180px; object-fit: cover; }
.wed3c-slide-overlay {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 14px; background: linear-gradient(0deg, rgba(28,40,51,0.92), rgba(28,40,51,0));
  color: var(--wed3c-text-bright);
}
.wed3c-slide-overlay h3 { font-size: 1.7rem; margin: 0 0 4px; color: var(--wed3c-primary); }
.wed3c-slide-overlay p { margin: 0; font-size: 1.25rem; color: var(--wed3c-text); }
.wed3c-dots { display: flex; justify-content: center; gap: 6px; padding: 8px 0; }
.wed3c-dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(169,169,169,0.4); cursor: pointer; transition: all 0.2s; }
.wed3c-dot.wed3c-active { background: var(--wed3c-primary); width: 22px; border-radius: 4px; }

@keyframes wed3c-fade { from { opacity: 0.3; } to { opacity: 1; } }

/* ========= Section headings ========= */
.wed3c-section { margin: 22px 0; }
.wed3c-section-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; gap: 10px; }
.wed3c-section-title { font-size: 1.75rem; color: var(--wed3c-text-bright); display: flex; align-items: center; gap: 8px; margin: 0; }
.wed3c-section-title i { color: var(--wed3c-primary); }
.wed3c-section-more { font-size: 1.25rem; color: var(--wed3c-primary); font-weight: 600; }

.wed3c-h1 {
  font-size: 2.1rem; text-align: center; margin: 14px 0 8px;
  background: linear-gradient(90deg, var(--wed3c-primary), var(--wed3c-primary-soft), var(--wed3c-primary));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.wed3c-subtitle { text-align: center; color: var(--wed3c-text); font-size: 1.35rem; margin: 0 0 12px; }

/* ========= Game grid ========= */
.wed3c-game-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px;
}
.wed3c-game-card {
  background: var(--wed3c-bg-card); border-radius: var(--wed3c-radius-sm);
  padding: 8px; text-align: center; cursor: pointer; position: relative;
  border: 1px solid transparent; transition: transform 0.18s ease, border-color 0.18s ease;
  overflow: hidden;
}
.wed3c-game-card:hover { transform: translateY(-3px); border-color: var(--wed3c-primary); }
.wed3c-game-card img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 8px; background: #1c2833; }
.wed3c-game-name {
  font-size: 1.15rem; color: var(--wed3c-text-bright); font-weight: 600;
  margin-top: 6px; line-height: 1.25;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.wed3c-game-badge {
  position: absolute; top: 4px; left: 4px;
  background: linear-gradient(135deg, var(--wed3c-secondary), #b8323c);
  color: #fff; font-size: 0.95rem; font-weight: 700; padding: 2px 6px; border-radius: 4px;
}
.wed3c-game-badge.wed3c-hot { background: linear-gradient(135deg, #ff7e5f, #d63031); }
.wed3c-game-badge.wed3c-new { background: linear-gradient(135deg, var(--wed3c-success), #16a085); }
.wed3c-cat-tag {
  display: inline-block; font-size: 1.1rem; color: var(--wed3c-primary);
  background: rgba(240,185,11,0.12); padding: 3px 10px; border-radius: 999px; font-weight: 700;
}

/* ========= Cards / panels ========= */
.wed3c-card {
  background: var(--wed3c-bg-card); border: 1px solid var(--wed3c-border);
  border-radius: var(--wed3c-radius); padding: 16px; box-shadow: var(--wed3c-shadow);
}
.wed3c-card-title { font-size: 1.6rem; margin-bottom: 8px; color: var(--wed3c-text-bright); }
.wed3c-card-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.wed3c-feature {
  background: var(--wed3c-bg-deep); border-radius: var(--wed3c-radius-sm);
  padding: 14px 12px; text-align: center; border: 1px solid var(--wed3c-border);
}
.wed3c-feature i { font-size: 2.6rem; color: var(--wed3c-primary); margin-bottom: 6px; display: block; }
.wed3c-feature h4 { font-size: 1.35rem; margin: 4px 0; color: var(--wed3c-text-bright); }
.wed3c-feature p { font-size: 1.15rem; margin: 0; color: var(--wed3c-text); }
.wed3c-text-link { color: var(--wed3c-primary); font-weight: 700; }

/* ========= Steps list ========= */
.wed3c-steps { counter-reset: step; padding: 0; list-style: none; }
.wed3c-steps li {
  position: relative; padding: 10px 10px 10px 48px; margin-bottom: 10px;
  background: var(--wed3c-bg-deep); border-radius: var(--wed3c-radius-sm); border-left: 3px solid var(--wed3c-primary);
  counter-increment: step;
}
.wed3c-steps li::before {
  content: counter(step); position: absolute; left: 10px; top: 50%; transform: translateY(-50%);
  width: 28px; height: 28px; background: var(--wed3c-primary); color: #1c2833;
  border-radius: 50%; font-weight: 800; font-size: 1.2rem;
  display: flex; align-items: center; justify-content: center;
}

/* ========= FAQ ========= */
.wed3c-faq-item {
  background: var(--wed3c-bg-deep); border: 1px solid var(--wed3c-border);
  border-radius: var(--wed3c-radius-sm); margin-bottom: 10px; overflow: hidden;
}
.wed3c-faq-q {
  width: 100%; text-align: left; background: transparent; border: none; color: var(--wed3c-text-bright);
  font-size: 1.4rem; font-weight: 700; padding: 12px 14px; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 10px;
}
.wed3c-faq-q .wed3c-faq-icon { color: var(--wed3c-primary); transition: transform 0.25s; }
.wed3c-faq-item.wed3c-open .wed3c-faq-icon { transform: rotate(45deg); }
.wed3c-faq-a { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; padding: 0 14px; color: var(--wed3c-text); }
.wed3c-faq-item.wed3c-open .wed3c-faq-a { max-height: 320px; padding-bottom: 14px; }

/* ========= Testimonials ========= */
.wed3c-testi {
  background: var(--wed3c-bg-deep); border-radius: var(--wed3c-radius-sm);
  padding: 14px; margin-bottom: 10px; border-left: 3px solid var(--wed3c-primary);
}
.wed3c-testi-head { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; }
.wed3c-testi-avatar {
  width: 38px; height: 38px; border-radius: 50%;
  background: linear-gradient(135deg, var(--wed3c-primary), var(--wed3c-secondary));
  display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 700;
}
.wed3c-testi-name { color: var(--wed3c-text-bright); font-weight: 700; font-size: 1.3rem; }
.wed3c-stars { color: var(--wed3c-primary); font-size: 1.2rem; }
.wed3c-testi p { margin: 0; font-size: 1.25rem; }

/* ========= RTP table ========= */
.wed3c-table { width: 100%; border-collapse: collapse; font-size: 1.25rem; }
.wed3c-table th, .wed3c-table td { padding: 9px 8px; border-bottom: 1px solid var(--wed3c-border); text-align: left; }
.wed3c-table th { color: var(--wed3c-primary); font-weight: 700; }
.wed3c-table td { color: var(--wed3c-text); }
.wed3c-table tr:hover td { color: var(--wed3c-text-bright); }
.wed3c-rtp-bar { display: inline-block; width: 60px; height: 6px; background: rgba(169,169,169,0.2); border-radius: 3px; overflow: hidden; }
.wed3c-rtp-bar span { display: block; height: 100%; background: linear-gradient(90deg, var(--wed3c-success), var(--wed3c-primary)); }

/* ========= Winners ticker ========= */
.wed3c-winner {
  display: flex; align-items: center; gap: 10px;
  background: var(--wed3c-bg-deep); padding: 9px 12px; border-radius: var(--wed3c-radius-sm); margin-bottom: 8px;
  border: 1px solid var(--wed3c-border);
}
.wed3c-winner-amount { margin-left: auto; color: var(--wed3c-success); font-weight: 800; font-size: 1.3rem; }

/* ========= Payment ========= */
.wed3c-pay-row { display: flex; flex-wrap: wrap; gap: 8px; }
.wed3c-pay-chip {
  background: var(--wed3c-bg-deep); border: 1px solid var(--wed3c-border);
  padding: 8px 12px; border-radius: 999px; color: var(--wed3c-text-bright);
  font-size: 1.15rem; display: inline-flex; align-items: center; gap: 6px;
}

/* ========= CTA banner ========= */
.wed3c-cta {
  background: linear-gradient(135deg, var(--wed3c-primary), #d99e0a);
  border-radius: var(--wed3c-radius); padding: 18px 14px; text-align: center; color: #1c2833; margin: 18px 0;
  box-shadow: var(--wed3c-shadow);
}
.wed3c-cta h3 { color: #1c2833; font-size: 1.8rem; margin: 0 0 6px; }
.wed3c-cta p { color: rgba(28,40,51,0.85); margin: 0 0 10px; font-size: 1.25rem; }
.wed3c-cta .wed3c-btn { background: #1c2833; color: var(--wed3c-primary); }

/* ========= Footer ========= */
.wed3c-footer {
  background: var(--wed3c-bg-deep); border-top: 1px solid var(--wed3c-border);
  padding: 22px 14px 26px; margin-top: 18px;
}
.wed3c-footer-brand { color: var(--wed3c-text); font-size: 1.25rem; margin-bottom: 12px; }
.wed3c-footer h4 { color: var(--wed3c-text-bright); font-size: 1.35rem; margin: 14px 0 8px; }
.wed3c-footer-links { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 10px; }
.wed3c-footer-links a { color: var(--wed3c-text); font-size: 1.2rem; }
.wed3c-footer-links a:hover { color: var(--wed3c-primary); }
.wed3c-footer-promo { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0; }
.wed3c-footer-copy { border-top: 1px solid var(--wed3c-border); padding-top: 12px; margin-top: 14px; font-size: 1.1rem; color: rgba(169,169,169,0.7); text-align: center; }

/* ========= Mobile bottom nav ========= */
.wed3c-bottom-nav {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 1000;
  background: linear-gradient(180deg, rgba(39,55,70,0.98), rgba(28,40,51,0.99));
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--wed3c-border);
  display: flex; justify-content: space-around; align-items: stretch;
  height: 62px; box-shadow: 0 -4px 18px rgba(0,0,0,0.35);
}
.wed3c-bottom-nav a {
  flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center;
  color: var(--wed3c-text); font-size: 1.05rem; gap: 2px; min-width: 60px; min-height: 60px;
  position: relative; transition: color 0.18s ease;
}
.wed3c-bottom-nav a i { font-size: 2.2rem; transition: transform 0.18s ease; }
.wed3c-bottom-nav a:active { transform: scale(0.92); }
.wed3c-bottom-nav a:hover { color: var(--wed3c-primary); }
.wed3c-bottom-nav a.wed3c-current { color: var(--wed3c-primary); }
.wed3c-bottom-nav a.wed3c-current::before {
  content: ''; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 28px; height: 3px; border-radius: 0 0 4px 4px; background: var(--wed3c-primary);
}
.wed3c-bottom-nav a.wed3c-current i { transform: scale(1.12); }
.wed3c-nav-badge {
  position: absolute; top: 6px; right: 18px;
  background: var(--wed3c-secondary); color: #fff; font-size: 0.9rem; font-weight: 700;
  min-width: 16px; height: 16px; padding: 0 4px; border-radius: 999px;
  display: flex; align-items: center; justify-content: center;
}

/* ========= Reveal animation ========= */
.wed3c-reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.5s ease, transform 0.5s ease; }
.wed3c-reveal.wed3c-visible { opacity: 1; transform: translateY(0); }

/* ========= Desktop: hide bottom nav, widen wrapper ========= */
@media (min-width: 769px) {
  .wed3c-bottom-nav { display: none; }
  .wed3c-wrapper, .wed3c-header-inner, .wed3c-mobile-menu-inner { max-width: 720px; }
  .wed3c-game-grid { grid-template-columns: repeat(5, 1fr); }
  .wed3c-card-grid { grid-template-columns: repeat(4, 1fr); }
}

/* ========= Small phones ========= */
@media (max-width: 360px) {
  .wed3c-game-grid { grid-template-columns: repeat(2, 1fr); }
  .wed3c-brand-name { font-size: 1.5rem; }
  .wed3c-btn { padding: 7px 10px; font-size: 1.2rem; }
}
