/* layout-45e9.css - Shared visual layer for the jiliko live site */
/* Every custom class uses the pg45- prefix to avoid clashes between pages. */

:root {
  --pg45-primary: #D4AF37;   /* gold accent */
  --pg45-bg: #1C2833;        /* deep background */
  --pg45-text: #F5E9C6;      /* warm cream text */
  --pg45-secondary: #34495E; /* slate blue surface */
  --pg45-accent: #A0522D;    /* copper highlight */
  --pg45-card: #243447;
  --pg45-muted: #9AA9BB;
  --pg45-line: rgba(212, 175, 55, 0.25);
  --pg45-shadow: 0 8px 24px rgba(0, 0, 0, 0.32);
  --pg45-radius: 14px;
  --pg45-radius-lg: 22px;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  background: radial-gradient(circle at top, #232f3e 0%, var(--pg45-bg) 60%);
  color: var(--pg45-text);
  line-height: 1.5;
  font-size: 1.6rem;
  overflow-x: hidden;
}

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

a { color: var(--pg45-primary); text-decoration: none; }

h1, h2, h3, h4 { line-height: 1.25; margin: 0 0 1rem; font-weight: 700; }

h1 { font-size: 2.6rem; }
h2 { font-size: 2.2rem; color: var(--pg45-primary); }
h3 { font-size: 1.9rem; color: var(--pg45-text); }
p { margin: 0 0 1.4rem; color: var(--pg45-text); }

/* Layout containers ------------------------------------------------------ */
.pg45-container { width: 100%; max-width: 430px; margin: 0 auto; padding: 0 1.4rem; position: relative; }
.pg45-wrapper { width: 100%; max-width: 1100px; margin: 0 auto; padding: 0 1.6rem; }

/* Header ----------------------------------------------------------------- */
.pg45-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.4rem;
  background: linear-gradient(135deg, rgba(28, 40, 51, 0.96), rgba(52, 73, 94, 0.96));
  border-bottom: 1px solid var(--pg45-line);
  backdrop-filter: blur(8px);
}
.pg45-brand { display: flex; align-items: center; gap: 0.8rem; color: var(--pg45-text); }
.pg45-brand img { width: 32px; height: 32px; border-radius: 8px; }
.pg45-brand-name { font-size: 1.7rem; font-weight: 700; color: var(--pg45-primary); letter-spacing: 0.4px; }
.pg45-header-actions { display: flex; align-items: center; gap: 0.6rem; }
.pg45-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: none;
  cursor: pointer;
  font-weight: 700;
  font-size: 1.4rem;
  padding: 0.75rem 1.4rem;
  border-radius: 30px;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}
.pg45-btn:focus-visible { outline: 2px solid var(--pg45-primary); outline-offset: 2px; }
.pg45-btn-primary {
  background: linear-gradient(135deg, var(--pg45-primary), #f4d674);
  color: #1C2833;
  box-shadow: 0 6px 14px rgba(212, 175, 55, 0.35);
}
.pg45-btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(212, 175, 55, 0.45); }
.pg45-btn-secondary {
  background: transparent;
  color: var(--pg45-primary);
  border: 1.5px solid var(--pg45-primary);
}
.pg45-btn-secondary:hover { background: rgba(212, 175, 55, 0.12); }
.pg45-btn-block { width: 100%; justify-content: center; padding: 1rem; font-size: 1.6rem; }

.pg45-menu-toggle {
  background: transparent;
  border: 1px solid var(--pg45-line);
  color: var(--pg45-primary);
  width: 40px;
  height: 40px;
  border-radius: 10px;
  font-size: 1.8rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

/* Mobile menu ------------------------------------------------------------ */
.pg45-mobile-menu {
  position: fixed;
  top: 0;
  right: -85%;
  width: 80%;
  max-width: 320px;
  height: 100vh;
  background: linear-gradient(180deg, #1c2833, #243447);
  padding: 5rem 1.6rem 2rem;
  z-index: 9999;
  transition: right 0.28s ease;
  overflow-y: auto;
  box-shadow: var(--pg45-shadow);
}
.pg45-menu-open { right: 0; }
.pg45-mobile-menu h4 { color: var(--pg45-primary); font-size: 1.4rem; text-transform: uppercase; margin-top: 1.2rem; }
.pg45-mobile-menu ul { list-style: none; padding: 0; margin: 0 0 1rem; }
.pg45-mobile-menu li { border-bottom: 1px solid rgba(255, 255, 255, 0.05); }
.pg45-mobile-menu a {
  display: block;
  color: var(--pg45-text);
  padding: 1rem 0.4rem;
  font-size: 1.5rem;
  transition: color 0.2s, padding-left 0.2s;
}
.pg45-mobile-menu a:hover { color: var(--pg45-primary); padding-left: 0.9rem; }
.pg45-menu-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  pointer-events: none;
  z-index: 9998;
  transition: opacity 0.25s;
}
.pg45-backdrop-show { opacity: 1; pointer-events: auto; }
.pg45-menu-close {
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  background: transparent;
  border: none;
  color: var(--pg45-primary);
  font-size: 2rem;
  cursor: pointer;
}

/* Hero carousel ---------------------------------------------------------- */
.pg45-hero { position: relative; margin: 1.2rem 0; border-radius: var(--pg45-radius-lg); overflow: hidden; box-shadow: var(--pg45-shadow); }
.pg45-hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity var(--pg45-slide-fade-ms, 0.26s) ease;
}
.pg45-hero-slide img { width: 100%; height: 200px; object-fit: cover; }
.pg45-slide-active { opacity: 1; }
.pg45-hero-overlay {
  position: relative;
  background: linear-gradient(180deg, rgba(28,40,51,0) 0%, rgba(28,40,51,0.78) 70%, rgba(28,40,51,0.96) 100%);
  padding: 3.2rem 1.4rem 1.4rem;
  min-height: 200px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.pg45-hero-tag {
  display: inline-block;
  align-self: flex-start;
  background: rgba(212, 175, 55, 0.2);
  color: var(--pg45-primary);
  font-size: 1.2rem;
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  margin-bottom: 0.6rem;
  font-weight: 700;
}
.pg45-hero h2 { color: #fff; font-size: 2rem; margin-bottom: 0.5rem; }
.pg45-hero p { color: var(--pg45-text); font-size: 1.35rem; margin-bottom: 0.8rem; }
.pg45-hero-dots {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 2;
}
.pg45-hero-dot {
  width: 8px; height: 8px;
  background: rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  border: none;
  cursor: pointer;
  padding: 0;
}
.pg45-dot-active { background: var(--pg45-primary); width: 22px; border-radius: 4px; }

/* Section blocks --------------------------------------------------------- */
.pg45-section { padding: 2rem 0; }
.pg45-section-head { display: flex; align-items: center; gap: 0.8rem; margin-bottom: 1.2rem; }
.pg45-section-head i { color: var(--pg45-primary); font-size: 2.2rem; }
.pg45-section-head h2 { margin: 0; }
.pg45-lead { color: var(--pg45-text); font-size: 1.55rem; margin-bottom: 1.4rem; }
.pg45-text-muted { color: var(--pg45-muted); }
.pg45-highlight { color: var(--pg45-primary); font-weight: 700; }
.pg45-pill {
  display: inline-block;
  background: rgba(212, 175, 55, 0.15);
  color: var(--pg45-primary);
  border: 1px solid var(--pg45-line);
  border-radius: 20px;
  padding: 0.3rem 1rem;
  font-size: 1.25rem;
  font-weight: 600;
  margin: 0.2rem 0.3rem 0.2rem 0;
}

/* Grids & game tiles ----------------------------------------------------- */
.pg45-grid { display: grid; gap: 1rem; }
.pg45-grid-2 { grid-template-columns: repeat(2, 1fr); }
.pg45-grid-3 { grid-template-columns: repeat(3, 1fr); }
.pg45-grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 380px) {
  .pg45-grid-4 { grid-template-columns: repeat(2, 1fr); }
}

.pg45-game-tile {
  background: linear-gradient(160deg, #2a3c50, #1c2833);
  border: 1px solid var(--pg45-line);
  border-radius: var(--pg45-radius);
  padding: 0.6rem;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  cursor: pointer;
}
.pg45-game-tile:hover {
  transform: translateY(-3px);
  border-color: var(--pg45-primary);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.4);
}
.pg45-game-tile img {
  width: 100%;
  height: 88px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 0.4rem;
}
.pg45-game-name {
  color: var(--pg45-text);
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1.2;
  min-height: 2.8em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.pg45-game-badge {
  position: relative;
}
.pg45-game-badge::after {
  content: "HOT";
  position: absolute;
  top: -6px;
  right: -6px;
  background: var(--pg45-accent);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 700;
  padding: 0.1rem 0.5rem;
  border-radius: 8px;
}

/* Cards ------------------------------------------------------------------ */
.pg45-card {
  background: linear-gradient(160deg, rgba(52, 73, 94, 0.55), rgba(36, 52, 71, 0.85));
  border: 1px solid var(--pg45-line);
  border-radius: var(--pg45-radius);
  padding: 1.4rem;
  box-shadow: var(--pg45-shadow);
}
.pg45-card-title { display: flex; align-items: center; gap: 0.6rem; color: var(--pg45-primary); font-size: 1.7rem; margin-bottom: 0.8rem; font-weight: 700; }
.pg45-card p { font-size: 1.4rem; color: var(--pg45-text); }
.pg45-stats-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.8rem; margin: 1rem 0; }
.pg45-stat {
  background: rgba(28, 40, 51, 0.7);
  border: 1px solid var(--pg45-line);
  border-radius: 10px;
  padding: 0.8rem;
  text-align: center;
}
.pg45-stat strong { display: block; color: var(--pg45-primary); font-size: 1.7rem; }
.pg45-stat span { color: var(--pg45-muted); font-size: 1.2rem; }

/* FAQ -------------------------------------------------------------------- */
.pg45-faq-item { background: rgba(28, 40, 51, 0.6); border: 1px solid var(--pg45-line); border-radius: 12px; margin-bottom: 0.8rem; overflow: hidden; }
.pg45-faq-head {
  width: 100%; text-align: left; background: transparent; border: none;
  color: var(--pg45-text); font-size: 1.5rem; font-weight: 600; padding: 1.2rem 1.4rem;
  cursor: pointer; display: flex; justify-content: space-between; align-items: center;
}
.pg45-faq-head i { color: var(--pg45-primary); transition: transform 0.2s; }
.pg45-faq-body { max-height: 0; overflow: hidden; transition: max-height 0.28s ease; padding: 0 1.4rem; }
.pg45-faq-open .pg45-faq-body { max-height: 400px; padding-bottom: 1.2rem; }
.pg45-faq-open .pg45-faq-head i { transform: rotate(45deg); }

/* Testimonials / payment chips / winners --------------------------------- */
.pg45-testimonial { background: rgba(36, 52, 71, 0.7); border-left: 3px solid var(--pg45-primary); border-radius: 10px; padding: 1rem 1.2rem; margin-bottom: 0.8rem; }
.pg45-testimonial p { font-style: italic; color: var(--pg45-text); font-size: 1.4rem; margin-bottom: 0.6rem; }
.pg45-testimonial cite { color: var(--pg45-primary); font-style: normal; font-weight: 600; font-size: 1.3rem; }
.pg45-pay-row { display: flex; flex-wrap: wrap; gap: 0.6rem; margin: 1rem 0; }
.pg45-pay-chip {
  display: inline-flex; align-items: center; gap: 0.4rem;
  background: rgba(255, 255, 255, 0.05); border: 1px solid var(--pg45-line);
  color: var(--pg45-text); padding: 0.6rem 1rem; border-radius: 30px; font-size: 1.25rem; font-weight: 600;
}
.pg45-pay-chip i { color: var(--pg45-primary); }
.pg45-winner { display: flex; align-items: center; gap: 0.6rem; background: rgba(28, 40, 51, 0.7); border: 1px solid var(--pg45-line); border-radius: 30px; padding: 0.5rem 1rem; margin-bottom: 0.5rem; font-size: 1.3rem; }
.pg45-winner strong { color: var(--pg45-primary); }
.pg45-winner i { color: var(--pg45-accent); }

/* Promo banner / anchor list -------------------------------------------- */
.pg45-promo-banner {
  background: linear-gradient(135deg, var(--pg45-accent), #c97356); color: #fff;
  border-radius: var(--pg45-radius); padding: 1.4rem; display: flex; flex-direction: column;
  gap: 0.6rem; margin: 1rem 0; box-shadow: 0 10px 24px rgba(160, 82, 45, 0.35);
}
.pg45-promo-banner h3 { color: #fff; margin: 0; }
.pg45-promo-banner p { color: rgba(255, 255, 255, 0.92); margin: 0; }
.pg45-anchor-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.6rem; }
.pg45-anchor-list a {
  color: var(--pg45-text); font-size: 1.4rem; padding: 0.6rem 0.8rem;
  border-left: 3px solid var(--pg45-line); transition: color 0.2s, border-color 0.2s, padding-left 0.2s;
}
.pg45-anchor-list a:hover { color: var(--pg45-primary); border-left-color: var(--pg45-primary); padding-left: 1.2rem; }

/* Footer ----------------------------------------------------------------- */
.pg45-footer { background: linear-gradient(180deg, #1c2833, #0f1820); border-top: 1px solid var(--pg45-line); padding: 2.4rem 1.4rem 7rem; margin-top: 2rem; }
.pg45-footer h4 { color: var(--pg45-primary); font-size: 1.5rem; margin-bottom: 0.8rem; }
.pg45-footer p { font-size: 1.35rem; color: var(--pg45-muted); }
.pg45-footer-links { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.5rem; margin: 1rem 0; }
.pg45-footer-links a { color: var(--pg45-text); font-size: 1.3rem; padding: 0.3rem 0; }
.pg45-footer-links a:hover { color: var(--pg45-primary); }
.pg45-footer-buttons { display: grid; gap: 0.6rem; margin: 1rem 0; }
.pg45-footer-bottom { text-align: center; font-size: 1.2rem; color: var(--pg45-muted); padding-top: 1rem; border-top: 1px solid var(--pg45-line); }

/* Mobile bottom navigation ---------------------------------------------- */
.pg45-bottom-nav {
  position: fixed; bottom: 0; left: 0; right: 0; height: 64px;
  background: linear-gradient(180deg, rgba(28, 40, 51, 0.98), rgba(15, 24, 32, 0.98));
  border-top: 1px solid var(--pg45-line); display: flex; justify-content: space-around;
  align-items: stretch; z-index: 1000; box-shadow: 0 -6px 18px rgba(0, 0, 0, 0.35);
}
.pg45-bottom-btn {
  flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 2px; background: transparent; border: none; color: var(--pg45-muted);
  font-size: 1.05rem; font-weight: 600; min-width: 60px; min-height: 60px;
  cursor: pointer; padding: 0.4rem; transition: color 0.2s, transform 0.2s; position: relative;
}
.pg45-bottom-btn i { font-size: 22px; transition: transform 0.2s; }
.pg45-bottom-btn:hover { color: var(--pg45-primary); }
.pg45-bottom-btn:hover i { transform: scale(1.15); }
.pg45-bottom-active { color: var(--pg45-primary); }
.pg45-bottom-active::before { content: ""; position: absolute; top: 0; width: 28px; height: 3px; background: var(--pg45-primary); border-radius: 0 0 6px 6px; }

/* Utilities -------------------------------------------------------------- */
.pg45-text-center { text-align: center; }
.pg45-mt-1 { margin-top: 0.5rem; }
.pg45-mt-2 { margin-top: 1rem; }
.pg45-mt-3 { margin-top: 1.6rem; }
.pg45-mb-0 { margin-bottom: 0; }
.pg45-hidden { display: none !important; }
.pg45-sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* Desktop layout --------------------------------------------------------- */
@media (min-width: 769px) {
  body { background: radial-gradient(circle at top, #2a3a4f 0%, var(--pg45-bg) 50%); }
  .pg45-container { max-width: 960px; padding: 0 2rem; }
  .pg45-grid-3 { grid-template-columns: repeat(4, 1fr); }
  .pg45-grid-4 { grid-template-columns: repeat(6, 1fr); }
  .pg45-hero-slide img { height: 340px; }
  .pg45-hero-overlay { min-height: 340px; }
  .pg45-bottom-nav { display: none; }
  .pg45-footer { padding-bottom: 2.4rem; }
  .pg45-footer-links { grid-template-columns: repeat(3, 1fr); }
  .pg45-stats-row { grid-template-columns: repeat(4, 1fr); }
  h1 { font-size: 3.2rem; }
  h2 { font-size: 2.6rem; }
}

@media (max-width: 768px) {
  #pg45-main { padding-bottom: 80px; }
}
