    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

    body {
      font-family: 'Segoe UI', system-ui, sans-serif;
      background: #0f0f1a;
      color: #fff;
      min-height: 100vh;
    }

    .section-label {
      font-size: 0.7rem;
      font-weight: 700;
      letter-spacing: 0.15em;
      text-transform: uppercase;
      color: #888;
      padding: 2rem 1.5rem 0.75rem;
    }

    /* ═══════════════════════════════════════════════════════
       TICKER
    ═══════════════════════════════════════════════════════ */
    .ticker-wrap {
      background: #13131f;
      border-top: 1px solid #2a2a3d;
      border-bottom: 1px solid #2a2a3d;
      overflow: hidden;
      position: relative;
      height: 52px;
      display: flex;
      align-items: center;
    }

    .ticker-label {
      background: #7c3aed;
      color: #fff;
      font-size: 0.65rem;
      font-weight: 800;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      padding: 0 1.2rem 0 1rem;
      height: 100%;
      display: flex;
      align-items: center;
      white-space: nowrap;
      z-index: 2;
      flex-shrink: 0;
      position: relative;
    }

    .ticker-label::after {
      content: '';
      position: absolute;
      right: -10px;
      top: 0;
      width: 0;
      height: 0;
      border-top: 52px solid transparent;
      border-left: 10px solid #7c3aed;
    }

    .ticker-fade-right {
      position: absolute;
      right: 0; top: 0; bottom: 0;
      width: 80px;
      background: linear-gradient(to left, #13131f 40%, transparent);
      z-index: 1;
      pointer-events: none;
    }

    .ticker-track-wrap {
      overflow: hidden;
      flex: 1;
      height: 100%;
      display: flex;
      align-items: center;
    }

    .ticker-track {
      display: flex;
      align-items: center;
      animation: ticker-scroll 200s linear infinite;
      white-space: nowrap;
      will-change: transform;
    }

    .ticker-track:hover { animation-play-state: paused; }

    @keyframes ticker-scroll {
      0%   { transform: translateX(0); }
      100% { transform: translateX(-50%); }
    }

    .ticker-item {
      display: inline-flex;
      align-items: center;
      gap: 0.5rem;
      padding: 0 1.8rem;
      height: 52px;
      cursor: pointer;
      transition: background 0.2s;
      border-right: 1px solid #2a2a3d;
      text-decoration: none;
      color: inherit;
    }

    .ticker-item:hover { background: rgba(255,255,255,0.05); }

    .ticker-dot {
      width: 8px;
      height: 8px;
      border-radius: 50%;
      flex-shrink: 0;
    }

    .ticker-flag { font-size: 1rem; line-height: 1; }

    .ticker-name {
      font-size: 0.78rem;
      font-weight: 600;
      color: #aaa;
    }

    .ticker-sep { color: #444; font-size: 0.8rem; }

    .ticker-jackpot {
      font-size: 0.88rem;
      font-weight: 800;
      color: #fff;
    }

    /* ═══════════════════════════════════════════════════════
       GRID
    ═══════════════════════════════════════════════════════ */
    .grid-wrap { padding: 0 1.5rem 2rem; }

    .lottery-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 1rem;
    }

    @media (max-width: 900px) {
      .lottery-grid { grid-template-columns: repeat(2, 1fr); }
    }
    @media (max-width: 560px) {
      .lottery-grid { grid-template-columns: 1fr; }
    }

    .grid-card {
      border-radius: 14px;
      overflow: hidden;
      position: relative;
      cursor: pointer;
      text-decoration: none;
      display: block;
      min-height: 150px;
      transition: transform 0.22s, box-shadow 0.22s;
    }

    .grid-card:hover {
      transform: translateY(-4px);
      box-shadow: 0 16px 40px rgba(0,0,0,0.55);
    }

    .grid-card-bg {
      position: absolute;
      inset: 0;
      background: var(--card-bg);
    }

    .grid-card-bg::after {
      content: '';
      position: absolute;
      inset: 0;
      background: linear-gradient(135deg, rgba(255,255,255,0.09) 0%, transparent 55%);
    }

    .grid-card-bg::before {
      content: '';
      position: absolute;
      right: -35px;
      bottom: -35px;
      width: 140px;
      height: 140px;
      border-radius: 50%;
      background: rgba(255,255,255,0.05);
    }

    .grid-card-stripe {
      position: absolute;
      top: 0; left: 0; right: 0;
      height: 4px;
      background: var(--card-accent);
      z-index: 3;
    }

    .grid-card-content {
      position: relative;
      z-index: 1;
      padding: 1.1rem 1.2rem 1rem;
      display: flex;
      flex-direction: column;
      gap: 0.3rem;
      height: 100%;
    }

    .grid-card-top {
      display: flex;
      align-items: center;
      justify-content: space-between;
    }

    .grid-card-flag { font-size: 1.3rem; line-height: 1; }

    .grid-card-next {
      font-size: 0.62rem;
      font-weight: 600;
      background: rgba(0,0,0,0.28);
      padding: 0.2rem 0.5rem;
      border-radius: 20px;
      color: rgba(255,255,255,0.75);
      white-space: nowrap;
    }

    .grid-card-name {
      font-size: 0.8rem;
      font-weight: 700;
      color: rgba(255,255,255,0.7);
      letter-spacing: 0.03em;
      margin-top: 0.3rem;
    }

    .grid-card-jackpot {
      font-size: 1.5rem;
      font-weight: 900;
      color: #fff;
      line-height: 1.1;
      letter-spacing: -0.02em;
    }

    .grid-card-draw {
      font-size: 0.65rem;
      color: rgba(255,255,255,0.55);
      margin-top: auto;
      padding-top: 0.55rem;
      border-top: 1px solid rgba(255,255,255,0.1);
    }

    .grid-card-overlay {
      position: absolute;
      inset: 0;
      z-index: 4;
      display: flex;
      align-items: center;
      justify-content: center;
      background: rgba(0,0,0,0.6);
      backdrop-filter: blur(4px);
      -webkit-backdrop-filter: blur(4px);
      opacity: 0;
      transition: opacity 0.25s;
      border-radius: 14px;
    }

    .grid-card:hover .grid-card-overlay { opacity: 1; }

    .play-now-btn {
      background: #fff;
      color: var(--card-bg);
      font-size: 0.82rem;
      font-weight: 800;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      padding: 0.7rem 1.8rem;
      border-radius: 50px;
      border: none;
      cursor: pointer;
      box-shadow: 0 4px 20px rgba(0,0,0,0.35);
      transition: transform 0.15s, box-shadow 0.15s;
      text-decoration: none;
      display: inline-block;
    }

    .play-now-btn:hover {
      transform: scale(1.07);
      box-shadow: 0 8px 28px rgba(0,0,0,0.45);
    }


	/* ═══════════════════════════════════════════════════════
	   FEATURED — Play Now button
	═══════════════════════════════════════════════════════ */

	/* Desktop: sits bottom-right in the featured-bottom row */
	.featured-play-wrap {
	  display: flex;
	  align-items: flex-end;
	  justify-content: flex-end;
	  flex: 1;
	  padding-bottom: 0.2rem;
	}

	.featured-play-btn {
	  background: #fff;
	  color: var(--card-bg);
	  font-size: 0.82rem;
	  font-weight: 800;
	  letter-spacing: 0.1em;
	  text-transform: uppercase;
	  padding: 0.7rem 1.8rem;
	  border-radius: 50px;
	  border: none;
	  cursor: pointer;
	  box-shadow: 0 4px 20px rgba(0,0,0,0.35);
	  transition: transform 0.15s, box-shadow 0.15s;
	  text-decoration: none;
	  display: inline-block;
	  white-space: nowrap;
	}

	.featured-play-btn:hover {
	  transform: scale(1.07);
	  box-shadow: 0 8px 28px rgba(0,0,0,0.45);
	}

	/* Mobile: hidden by default, revealed on hover OR tap */
	@media (max-width: 767px) {
	  .featured-play-wrap {
		display: none;                /* hide the desktop slot */
	  }

	  /* full-card overlay, same pattern as grid cards */
	  .featured-card-overlay {
		position: absolute;
		inset: 0;
		z-index: 10;
		display: flex;
		align-items: center;
		justify-content: center;
		background: rgba(0,0,0,0.6);
		backdrop-filter: blur(4px);
		-webkit-backdrop-filter: blur(4px);
		border-radius: 20px;
		opacity: 0;
		transition: opacity 0.25s;
		pointer-events: none;
	  }

	  /* shown on hover (stylus/mouse on tablet) */
	  .featured-card:hover .featured-card-overlay {
		opacity: 1;
		pointer-events: auto;
	  }

	  /* shown when JS adds .is-active (tap) */
	  .featured-card.is-active .featured-card-overlay {
		opacity: 1;
		pointer-events: auto;
	  }
	}

	/* On desktop, overlay is never needed — keep it hidden */
	@media (min-width: 768px) {
	  .featured-card-overlay { display: none; }
	}

    /* ═══════════════════════════════════════════════════════
       FEATURED
    ═══════════════════════════════════════════════════════ */
    .featured-wrap { padding: 0 1.5rem 2.5rem; }

    .featured-card {
      border-radius: 20px;
      overflow: hidden;
      position: relative;
      background: var(--card-bg);
      display: flex;
      flex-direction: column;
    }

    .featured-deco {
      position: absolute;
      border-radius: 50%;
      pointer-events: none;
    }
    .featured-deco-1 {
      width: 350px; height: 350px;
      background: rgba(255,255,255,0.05);
      right: -90px; top: -90px;
    }
    .featured-deco-2 {
      width: 200px; height: 200px;
      background: rgba(255,255,255,0.035);
      right: 60px; bottom: -60px;
    }
    .featured-deco-3 {
      width: 90px; height: 90px;
      background: rgba(255,255,255,0.06);
      left: 38%; top: 15px;
    }

    .featured-accent-stripe {
      height: 5px;
      background: var(--card-accent);
      flex-shrink: 0;
      position: relative;
      z-index: 1;
    }

    .featured-inner {
      position: relative;
      z-index: 1;
      padding: 2rem 2rem 1.75rem;
      display: flex;
      flex-direction: column;
      gap: 1.4rem;
    }

    .featured-header {
      display: flex;
      align-items: flex-start;
      justify-content: space-between;
      gap: 1.5rem;
      flex-wrap: wrap;
    }

    .featured-title-group {
      display: flex;
      flex-direction: column;
      gap: 0.5rem;
    }

    .featured-flag-name {
      display: flex;
      align-items: center;
      gap: 0.65rem;
    }

    .featured-flag { font-size: 2rem; line-height: 1; }

    .featured-name {
      font-size: 0.95rem;
      font-weight: 700;
      color: rgba(255,255,255,0.65);
      letter-spacing: 0.06em;
      text-transform: uppercase;
    }

    .featured-jackpot-label {
      font-size: 0.62rem;
      font-weight: 700;
      letter-spacing: 0.15em;
      text-transform: uppercase;
      color: rgba(255,255,255,0.45);
    }

    .featured-jackpot {
      font-size: clamp(2.4rem, 5vw, 3.8rem);
      font-weight: 900;
      color: #fff;
      line-height: 1;
      letter-spacing: -0.03em;
    }

    .featured-meta-group {
      display: flex;
      gap: 0.75rem;
      flex-wrap: wrap;
      flex-shrink: 0;
      align-self: flex-start;
    }

    .featured-badge {
      background: rgba(0,0,0,0.3);
      border: 1px solid rgba(255,255,255,0.13);
      border-radius: 12px;
      padding: 0.65rem 1.1rem;
      text-align: center;
      min-width: 120px;
    }

    .featured-badge-label {
      font-size: 0.58rem;
      font-weight: 700;
      letter-spacing: 0.13em;
      text-transform: uppercase;
      color: rgba(255,255,255,0.45);
      display: block;
      margin-bottom: 0.3rem;
    }

    .featured-badge-value {
      font-size: 0.82rem;
      font-weight: 700;
      color: #fff;
      line-height: 1.3;
    }

    .featured-divider {
      height: 1px;
      background: rgba(255,255,255,0.1);
    }

    .featured-bottom {
      display: flex;
      align-items: flex-start;
      justify-content: space-between;
      gap: 1.5rem;
      flex-wrap: wrap;
    }

    .featured-last-draw {
      display: flex;
      flex-direction: column;
      gap: 0.55rem;
    }

    .featured-last-label {
      font-size: 0.6rem;
      font-weight: 700;
      letter-spacing: 0.13em;
      text-transform: uppercase;
      color: rgba(255,255,255,0.45);
    }

    .featured-balls {
      display: flex;
      flex-wrap: wrap;
      gap: 0.45rem;
      align-items: center;
    }

    .ball {
      width: 36px;
      height: 36px;
      border-radius: 50%;
      background: rgba(255,255,255,0.13);
      border: 1.5px solid rgba(255,255,255,0.25);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 0.72rem;
      font-weight: 800;
      color: #fff;
      flex-shrink: 0;
    }

    .ball.special {
      background: var(--card-accent);
      border-color: transparent;
      color: var(--card-bg);
    }

    .ball-label {
      font-size: 0.58rem;
      font-weight: 700;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      color: rgba(255,255,255,0.4);
      align-self: flex-end;
      padding-bottom: 2px;
    }

    .featured-draw-date {
      font-size: 0.68rem;
      color: rgba(255,255,255,0.4);
      margin-top: 0.2rem;
    }

    @media (max-width: 600px) {
      .featured-inner { padding: 1.4rem 1.2rem 1.4rem; }
      .featured-header { flex-direction: column; gap: 1rem; }
      .featured-meta-group { width: 100%; }
      .featured-badge { flex: 1; min-width: 0; }
      .featured-bottom { flex-direction: column; }
      .ball { width: 30px; height: 30px; font-size: 0.65rem; }
    }
