/* okada-ph.css - okada ph styles (en-PH)
   All custom classes use the w433e- prefix.
   Palette: #FFA500 / #F8F8FF / #FF8C00 / #3A3A3A / #FFAA00 */

:root {
  --w433e-primary: #FFA500;
  --w433e-accent: #FF8C00;
  --w433e-gold: #FFAA00;
  --w433e-text: #F8F8FF;
  --w433e-bg: #3A3A3A;
  --w433e-bg-deep: #1f1f1f;
  --w433e-card: #2c2c2c;
  --w433e-border: #FFAA00;
}

* { box-sizing: border-box; }

html { font-size: 62.5%; }

body {
  margin: 0;
  background: linear-gradient(180deg, #2a2a2a 0%, #1f1f1f 60%, #2c2c2c 100%);
  color: var(--w433e-text);
  font-family: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 1.5rem;
  line-height: 1.5;
  -webkit-text-size-adjust: 100%;
}

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

h1, h2, h3 { margin: 0 0 .4em; font-weight: 700; color: var(--w433e-text); }
h1 { font-size: 2.2rem; line-height: 1.25; }
h2 { font-size: 1.9rem; color: var(--w433e-primary); }
h3 { font-size: 1.6rem; color: var(--w433e-gold); }
p { margin: 0 0 1em; }

/* ---------- Header ---------- */
.w433e-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(31,31,31,.96);
  border-bottom: 2px solid var(--w433e-border);
  box-shadow: 0 2px 10px rgba(0,0,0,.35);
}
.w433e-header-inner {
  max-width: 430px;
  margin: 0 auto;
  padding: .55rem .9rem;
  display: flex;
  align-items: center;
  gap: .6rem;
}
.w433e-logo { display: flex; align-items: center; gap: .5rem; flex: 1; min-width: 0; }
.w433e-logo img { width: 28px; height: 28px; border-radius: 6px; }
.w433e-logo span { font-weight: 800; color: var(--w433e-primary); font-size: 1.5rem; white-space: nowrap; }
.w433e-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 .9rem;
  border: none;
  border-radius: 20px;
  font-size: 1.25rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, filter .15s ease;
}
.w433e-btn:hover { transform: translateY(-1px); filter: brightness(1.08); }
.w433e-btn-login { background: transparent; color: var(--w433e-text); border: 1.5px solid var(--w433e-primary); }
.w433e-btn-register { background: linear-gradient(90deg, var(--w433e-primary), var(--w433e-gold)); color: #1f1f1f; box-shadow: 0 2px 8px rgba(255,165,0,.4); }
.w433e-menu-btn {
  background: transparent;
  border: 0;
  color: var(--w433e-primary);
  font-size: 2rem;
  cursor: pointer;
  padding: .2rem .5rem;
  min-width: 40px;
  min-height: 40px;
}

/* ---------- Mobile dropdown menu ---------- */
.w433e-mobile-menu {
  position: fixed;
  top: 56px; left: 0; right: 0;
  z-index: 9999;
  background: rgba(20,20,20,.98);
  border-bottom: 2px solid var(--w433e-border);
  max-height: 0;
  overflow: hidden;
  transition: max-height .28s ease;
}
.w433e-mobile-menu.w433e-menu-open { max-height: 420px; }
.w433e-mobile-menu ul { list-style: none; margin: 0; padding: .4rem .8rem; }
.w433e-mobile-menu li { border-bottom: 1px solid rgba(255,170,0,.18); }
.w433e-mobile-menu li:last-child { border-bottom: 0; }
.w433e-mobile-menu a { display: block; padding: 1rem .6rem; color: var(--w433e-text); font-size: 1.35rem; }
.w433e-mobile-menu a:hover { color: var(--w433e-primary); }

/* ---------- Layout ---------- */
.w433e-wrapper { max-width: 430px; margin: 0 auto; padding: 0 1rem; }
main { padding-top: 64px; padding-bottom: 16px; }
@media (max-width: 768px) {
  main { padding-bottom: 92px; }
}

/* ---------- Hero carousel ---------- */
.w433e-hero { margin: 1rem 0; border-radius: 14px; overflow: hidden; box-shadow: 0 6px 18px rgba(0,0,0,.4); }
.w433e-slider { position: relative; }
.w433e-slide { display: none; cursor: pointer; position: relative; }
.w433e-slide.w433e-slide-active { display: block; }
.w433e-slide img { width: 100%; height: 180px; object-fit: cover; border-radius: 14px; }
.w433e-slide-cap {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: .8rem 1rem;
  background: linear-gradient(0deg, rgba(0,0,0,.78), transparent);
  font-weight: 700; color: var(--w433e-text); font-size: 1.4rem;
}

/* ---------- Sections ---------- */
.w433e-section { margin: 1.4rem 0; padding: 1rem; background: var(--w433e-card); border-radius: 12px; border: 1px solid rgba(255,170,0,.18); }
.w433e-section-intro { font-size: 1.35rem; color: #ddd; }

/* ---------- Game grid ---------- */
.w433e-cat-title { display: flex; align-items: center; gap: .5rem; margin-bottom: .6rem; }
.w433e-cat-title .w433e-cat-bar { width: 5px; height: 22px; background: linear-gradient(180deg, var(--w433e-primary), var(--w433e-gold)); border-radius: 3px; }
.w433e-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: .6rem; }
.w433e-card {
  background: #232323;
  border: 1px solid rgba(255,170,0,.15);
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease;
  text-align: center;
}
.w433e-card:hover { transform: translateY(-3px); box-shadow: 0 6px 16px rgba(255,165,0,.28); border-color: var(--w433e-border); }
.w433e-card img { width: 100%; height: 78px; object-fit: cover; }
.w433e-card-name { font-size: 1.1rem; color: var(--w433e-text); padding: .35rem .2rem .5rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ---------- CTA banner ---------- */
.w433e-cta {
  margin: 1.4rem 0;
  padding: 1.4rem;
  background: radial-gradient(circle at 30% 30%, #4a3010, #1f1f1f);
  border: 1.5px solid var(--w433e-border);
  border-radius: 14px;
  text-align: center;
}
.w433e-cta h2 { margin-bottom: .3rem; }
.w433e-cta-btn {
  display: inline-block;
  margin-top: .6rem;
  padding: .8rem 2rem;
  background: linear-gradient(90deg, var(--w433e-primary), var(--w433e-gold));
  color: #1f1f1f;
  border-radius: 26px;
  font-weight: 800;
  font-size: 1.4rem;
  cursor: pointer;
  border: none;
  box-shadow: 0 4px 14px rgba(255,165,0,.45);
}
.w433e-cta-btn:hover { text-decoration: none; filter: brightness(1.08); transform: translateY(-1px); }

/* ---------- Feature / info blocks ---------- */
.w433e-feature-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .6rem; }
.w433e-feature-list li { display: flex; gap: .6rem; align-items: flex-start; padding: .7rem .8rem; background: #232323; border-radius: 8px; border-left: 3px solid var(--w433e-primary); }
.w433e-feature-list i { color: var(--w433e-gold); font-size: 1.6rem; margin-top: .15rem; }

.w433e-testimonial { background: #232323; border-radius: 10px; padding: .9rem; margin-bottom: .6rem; border-left: 3px solid var(--w433e-primary); }
.w433e-testimonial-name { color: var(--w433e-gold); font-weight: 700; font-size: 1.25rem; }
.w433e-stars { color: var(--w433e-primary); font-size: 1.2rem; }

.w433e-winners { display: grid; grid-template-columns: repeat(2, 1fr); gap: .5rem; }
.w433e-winner { background: #232323; border-radius: 8px; padding: .6rem; font-size: 1.15rem; }
.w433e-winner b { color: var(--w433e-gold); }

.w433e-pay { display: flex; flex-wrap: wrap; gap: .5rem; }
.w433e-pay span { background: #232323; border: 1px solid rgba(255,170,0,.25); color: var(--w433e-text); padding: .5rem .9rem; border-radius: 20px; font-size: 1.2rem; }

.w433e-rtp-row { display: flex; justify-content: space-between; padding: .4rem 0; border-bottom: 1px dashed rgba(255,170,0,.2); font-size: 1.25rem; }
.w433e-rtp-row:last-child { border-bottom: 0; }
.w433e-rtp-row b { color: var(--w433e-gold); }

.w433e-link-row { margin: .5rem 0; }
.w433e-link-row a { font-weight: 700; }

/* ---------- Reveal animation ---------- */
.w433e-reveal { opacity: 0; transform: translateY(14px); transition: opacity .5s ease, transform .5s ease; }
.w433e-reveal.w433e-revealed { opacity: 1; transform: none; }

/* ---------- Footer ---------- */
.w433e-footer {
  margin-top: 1.6rem;
  padding: 1.2rem 1rem 2rem;
  background: #181818;
  border-top: 2px solid var(--w433e-border);
  font-size: 1.2rem;
  color: #cfcfcf;
}
.w433e-footer h3 { color: var(--w433e-primary); margin-bottom: .5rem; }
.w433e-footer-links { display: flex; flex-wrap: wrap; gap: .4rem .8rem; margin: .6rem 0; }
.w433e-footer-links a { color: var(--w433e-text); }
.w433e-footer-copy { margin-top: .8rem; color: #9a9a9a; font-size: 1.1rem; }

/* ---------- Desktop: hide bottom nav, show desktop nav ---------- */
.w433e-desktop-nav { display: none; }
.w433e-bottom-nav { display: flex; }

@media (min-width: 769px) {
  .w433e-bottom-nav { display: none; }
  .w433e-desktop-nav { display: flex; gap: 1rem; align-items: center; }
  .w433e-header-inner, .w433e-wrapper, .w433e-footer { max-width: 960px; }
}

/* ---------- Mobile bottom nav ---------- */
.w433e-bottom-nav {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 1000;
  height: 60px;
  background: rgba(20,20,20,.98);
  border-top: 2px solid var(--w433e-border);
  display: flex;
  justify-content: space-around;
  align-items: stretch;
  box-shadow: 0 -2px 12px rgba(0,0,0,.4);
}
.w433e-bottom-nav a, .w433e-bottom-nav button {
  flex: 1;
  min-width: 60px;
  min-height: 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .15rem;
  background: transparent;
  border: 0;
  color: var(--w433e-text);
  font-size: 1rem;
  text-decoration: none;
  cursor: pointer;
  transition: color .15s ease, transform .15s ease, background .15s ease;
}
.w433e-bottom-nav a:hover, .w433e-bottom-nav button:hover { text-decoration: none; }
.w433e-bottom-nav i, .w433e-bottom-nav .material-icons-outlined { font-size: 22px; color: var(--w433e-primary); }
.w433e-bottom-nav .w433e-nav-label { font-size: 1rem; color: #d7d7d7; }
.w433e-bottom-nav a:active, .w433e-bottom-nav button:active { transform: scale(.92); }
.w433e-bottom-nav .w433e-nav-current { background: rgba(255,165,0,.12); }
.w433e-bottom-nav .w433e-nav-current i, .w433e-bottom-nav .w433e-nav-current .material-icons-outlined { color: var(--w433e-gold); }
.w433e-nav-badge {
  position: absolute; top: 6px; right: 22%;
  background: #ff3b3b; color: #fff; border-radius: 50%;
  font-size: .85rem; min-width: 14px; height: 14px; padding: 0 3px;
  display: inline-flex; align-items: center; justify-content: center;
}
.w433e-bottom-nav a, .w433e-bottom-nav button { position: relative; }
