    /* ==========================================================================
       1. CSS CUSTOM PROPERTIES & DESIGN TOKENS
       ========================================================================== */
    :root {
      /* Brand Colors - Inspired by Philippine Civic-Tech & PCSO Palette */
      --brand-navy: #0a2540;
      --brand-royal: #1d4ed8;
      --brand-royal-hover: #1e40af;
      --brand-gold: #f59e0b;
      --brand-gold-soft: rgba(245, 158, 11, 0.14);
      --brand-crimson: #dc2626;
      --brand-emerald: #10b981;
      --brand-emerald-soft: rgba(16, 185, 129, 0.14);

      /* Light Theme Surface & Text Tokens */
      --bg-body: #f4f7fb;
      --bg-surface: #ffffff;
      --bg-surface-muted: #f8fafc;
      --bg-glass: rgba(255, 255, 255, 0.86);
      --text-primary: #0f172a;
      --text-secondary: #475569;
      --text-muted: #64748b;
      --border-color: #e2e8f0;
      --border-strong: #cbd5e1;

      /* Elevation & Shadows */
      --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.05);
      --shadow-md: 0 6px 18px -4px rgba(15, 23, 42, 0.08);
      --shadow-lg: 0 16px 36px -8px rgba(15, 23, 42, 0.12);

      /* Spacing & Radii */
      --radius-sm: 0.5rem;
      --radius-md: 0.875rem;
      --radius-lg: 1.25rem;
      --radius-full: 9999px;
      --container-max: 1280px;
      --transition: 0.22s cubic-bezier(0.25, 0.8, 0.25, 1);
    }

    /* Dark Theme Overrides */
    [data-theme="dark"] {
      --bg-body: #090e1a;
      --bg-surface: #111827;
      --bg-surface-muted: #1e293b;
      --bg-glass: rgba(17, 24, 39, 0.85);
      --text-primary: #f8fafc;
      --text-secondary: #cbd5e1;
      --text-muted: #94a3b8;
      --border-color: #1e293b;
      --border-strong: #334155;
      --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4);
      --shadow-md: 0 8px 20px -4px rgba(0, 0, 0, 0.55);
      --shadow-lg: 0 20px 40px -8px rgba(0, 0, 0, 0.7);
    }

    /* ==========================================================================
       2. RESET & BASE TYPOGRAPHY
       ========================================================================== */
    *, *::before, *::after {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }

    html {
      scroll-behavior: smooth;
      font-size: 16px;
    }

    body {
      font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
      background-color: var(--bg-body);
      color: var(--text-primary);
      line-height: 1.6;
      overflow-x: hidden;
      transition: background-color var(--transition), color var(--transition);
    }

    a {
      color: inherit;
      text-decoration: none;
    }

    button, input, select {
      font-family: inherit;
    }

    .container {
      width: 100%;
      max-width: var(--container-max);
      margin-inline: auto;
      padding-inline: clamp(1rem, 3vw, 2rem);
    }

    .mono {
      font-family: 'JetBrains Mono', monospace;
    }

    /* ==========================================================================
       3. TOP ANNOUNCEMENT TICKER & NAVIGATION BAR
       ========================================================================== */
    .top-ticker {
      background: linear-gradient(90deg, #0a2540 0%, #1e3a8a 100%);
      color: #ffffff;
      font-size: 0.8125rem;
      padding: 0.5rem 0;
      border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .ticker-inner {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 1rem;
      flex-wrap: wrap;
    }

    .live-badge {
      display: inline-flex;
      align-items: center;
      gap: 0.45rem;
      background: rgba(16, 185, 129, 0.18);
      color: #6ee7b7;
      border: 1px solid rgba(16, 185, 129, 0.35);
      padding: 0.2rem 0.65rem;
      border-radius: var(--radius-full);
      font-weight: 700;
      font-size: 0.72rem;
      letter-spacing: 0.04em;
      text-transform: uppercase;
    }

    .pulse-dot {
      width: 8px;
      height: 8px;
      border-radius: 50%;
      background-color: #10b981;
      animation: pulseRing 1.8s infinite;
    }

    @keyframes pulseRing {
      0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.75); }
      70% { box-shadow: 0 0 0 7px rgba(16, 185, 129, 0); }
      100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
    }

    .navbar {
      position: sticky;
      top: 0;
      z-index: 100;
      background: var(--bg-glass);
      backdrop-filter: blur(14px);
      -webkit-backdrop-filter: blur(14px);
      border-bottom: 1px solid var(--border-color);
      transition: background-color var(--transition), border-color var(--transition);
    }

    .nav-inner {
      display: flex;
      align-items: center;
      justify-content: space-between;
      height: 4.5rem;
      gap: 1rem;
    }

    .brand {
      display: flex;
      align-items: center;
      gap: 0.75rem;
      font-weight: 800;
      font-size: 1.25rem;
      letter-spacing: -0.02em;
    }

    .brand-logo {
      width: 2.5rem;
      height: 2.5rem;
      border-radius: var(--radius-md);
      background: linear-gradient(135deg, var(--brand-royal), #0a2540);
      display: grid;
      place-items: center;
      color: #ffffff;
      box-shadow: 0 4px 12px rgba(29, 78, 216, 0.3);
      position: relative;
      overflow: hidden;
    }

    .brand-logo::after {
      content: "";
      position: absolute;
      bottom: 0;
      right: 0;
      width: 12px;
      height: 12px;
      background: var(--brand-gold);
      border-top-left-radius: 6px;
    }

    .brand span.accent {
      color: var(--brand-royal);
    }

    [data-theme="dark"] .brand span.accent {
      color: #60a5fa;
    }

    .nav-links {
      display: flex;
      align-items: center;
      gap: 1.75rem;
      list-style: none;
    }

    .nav-links a {
      font-size: 0.925rem;
      font-weight: 600;
      color: var(--text-secondary);
      transition: color var(--transition);
    }

    .nav-links a:hover {
      color: var(--brand-royal);
    }

    [data-theme="dark"] .nav-links a:hover {
      color: #60a5fa;
    }

    .nav-actions {
      display: flex;
      align-items: center;
      gap: 0.65rem;
    }

    .icon-btn {
      width: 2.6rem;
      height: 2.6rem;
      border-radius: var(--radius-md);
      border: 1px solid var(--border-color);
      background: var(--bg-surface);
      color: var(--text-primary);
      display: grid;
      place-items: center;
      cursor: pointer;
      transition: all var(--transition);
    }

    .icon-btn:hover {
      border-color: var(--brand-royal);
      transform: translateY(-1px);
    }

    .mobile-menu-btn {
      display: none;
    }

    /* Mobile Drawer */
    .mobile-nav {
      display: none;
      flex-direction: column;
      gap: 0.5rem;
      padding: 1rem clamp(1rem, 3vw, 2rem) 1.5rem;
      background: var(--bg-surface);
      border-bottom: 1px solid var(--border-color);
    }

    .mobile-nav.open {
      display: flex;
    }

    .mobile-nav a {
      padding: 0.75rem 1rem;
      border-radius: var(--radius-sm);
      font-weight: 600;
      color: var(--text-secondary);
    }

    .mobile-nav a:hover {
      background: var(--bg-surface-muted);
      color: var(--brand-royal);
    }

    /* ==========================================================================
       4. HERO SECTION & FEATURED JACKPOT SPOTLIGHT
       ========================================================================== */
    .hero {
      position: relative;
      padding: clamp(2.5rem, 5vw, 4.25rem) 0;
      background: radial-gradient(circle at 85% 15%, rgba(29, 78, 216, 0.12), transparent 45%),
                  radial-gradient(circle at 10% 80%, rgba(245, 158, 11, 0.1), transparent 40%);
      border-bottom: 1px solid var(--border-color);
    }

    .hero-grid {
      display: grid;
      grid-template-columns: 1.15fr 0.85fr;
      gap: clamp(2rem, 4vw, 3.5rem);
      align-items: center;
    }

    .eyebrow {
      display: inline-flex;
      align-items: center;
      gap: 0.5rem;
      padding: 0.35rem 0.9rem;
      background: var(--brand-gold-soft);
      color: #b45309;
      border-radius: var(--radius-full);
      font-size: 0.8125rem;
      font-weight: 700;
      margin-bottom: 1.15rem;
    }

    [data-theme="dark"] .eyebrow {
      color: #fbbf24;
    }

    .hero h1 {
      font-size: clamp(2rem, 4.2vw, 3.25rem);
      font-weight: 800;
      line-height: 1.14;
      letter-spacing: -0.03em;
      margin-bottom: 1.15rem;
    }

    .hero p.lead {
      font-size: clamp(1rem, 1.4vw, 1.15rem);
      color: var(--text-secondary);
      max-width: 58ch;
      margin-bottom: 1.75rem;
    }

    .hero-cta-group {
      display: flex;
      flex-wrap: wrap;
      gap: 0.875rem;
      margin-bottom: 2rem;
    }

    .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 0.5rem;
      padding: 0.825rem 1.4rem;
      border-radius: var(--radius-md);
      font-weight: 700;
      font-size: 0.9375rem;
      border: 1px solid transparent;
      cursor: pointer;
      transition: all var(--transition);
      min-height: 46px;
    }

    .btn-primary {
      background: var(--brand-royal);
      color: #ffffff;
      box-shadow: 0 6px 16px rgba(29, 78, 216, 0.28);
    }

    .btn-primary:hover {
      background: var(--brand-royal-hover);
      transform: translateY(-2px);
    }

    .btn-secondary {
      background: var(--bg-surface);
      color: var(--text-primary);
      border-color: var(--border-strong);
    }

    .btn-secondary:hover {
      border-color: var(--brand-royal);
      background: var(--bg-surface-muted);
    }

    .trust-strip {
      display: flex;
      flex-wrap: wrap;
      gap: 1.25rem 2rem;
      font-size: 0.85rem;
      color: var(--text-muted);
      font-weight: 600;
    }

    .trust-item {
      display: flex;
      align-items: center;
      gap: 0.45rem;
    }

    .trust-item svg {
      color: var(--brand-emerald);
      flex-shrink: 0;
    }

    /* Featured Spotlight Card */
    .spotlight-card {
      background: linear-gradient(145deg, #0a2540 0%, #173b7a 100%);
      color: #ffffff;
      border-radius: var(--radius-lg);
      padding: clamp(1.5rem, 3vw, 2.25rem);
      box-shadow: var(--shadow-lg);
      position: relative;
      overflow: hidden;
      border: 1px solid rgba(255, 255, 255, 0.14);
    }

    .spotlight-card::before {
      content: "";
      position: absolute;
      top: -60px;
      right: -60px;
      width: 200px;
      height: 200px;
      border-radius: 50%;
      background: radial-gradient(circle, rgba(245, 158, 11, 0.35), transparent 70%);
      pointer-events: none;
    }

    .spotlight-top {
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 0.75rem;
      margin-bottom: 1.25rem;
    }

    .spotlight-tag {
      background: rgba(245, 158, 11, 0.2);
      color: #fcd34d;
      border: 1px solid rgba(245, 158, 11, 0.4);
      padding: 0.25rem 0.75rem;
      border-radius: var(--radius-full);
      font-size: 0.75rem;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.05em;
    }

    .spotlight-title {
      font-size: 1.35rem;
      font-weight: 800;
      margin-bottom: 0.25rem;
    }

    .spotlight-sub {
      font-size: 0.875rem;
      color: #cbd5e1;
      margin-bottom: 1.35rem;
    }

    .jackpot-box {
      background: rgba(255, 255, 255, 0.08);
      border: 1px solid rgba(255, 255, 255, 0.14);
      border-radius: var(--radius-md);
      padding: 1.1rem 1.25rem;
      margin-bottom: 1.35rem;
    }

    .jackpot-label {
      font-size: 0.75rem;
      text-transform: uppercase;
      letter-spacing: 0.08em;
      color: #93c5fd;
      font-weight: 700;
      margin-bottom: 0.25rem;
    }

    .jackpot-amount {
      font-size: clamp(1.65rem, 3vw, 2.25rem);
      font-weight: 800;
      color: #fbbf24;
      letter-spacing: -0.02em;
    }

    /* ==========================================================================
       5. LOTTERY BALL STYLES
       ========================================================================== */
    .balls-row {
      display: flex;
      flex-wrap: wrap;
      gap: 0.55rem;
      align-items: center;
    }

    .lotto-ball {
      width: 2.75rem;
      height: 2.75rem;
      border-radius: 50%;
      display: grid;
      place-items: center;
      font-family: 'JetBrains Mono', monospace;
      font-weight: 700;
      font-size: 1rem;
      color: #ffffff;
      background: radial-gradient(circle at 32% 28%, #3b82f6, #1d4ed8 65%, #1e3a8a 100%);
      box-shadow: inset 0 -3px 6px rgba(0, 0, 0, 0.3), 0 4px 10px rgba(29, 78, 216, 0.28);
      user-select: none;
      transition: transform 0.2s ease;
    }

    .lotto-ball:hover {
      transform: scale(1.08);
    }

    .lotto-ball.gold {
      background: radial-gradient(circle at 32% 28%, #fbbf24, #d97706 68%, #92400e 100%);
      box-shadow: inset 0 -3px 6px rgba(0, 0, 0, 0.28), 0 4px 10px rgba(217, 119, 6, 0.32);
    }

    .lotto-ball.crimson {
      background: radial-gradient(circle at 32% 28%, #f87171, #dc2626 68%, #7f1d1d 100%);
      box-shadow: inset 0 -3px 6px rgba(0, 0, 0, 0.28), 0 4px 10px rgba(220, 38, 38, 0.3);
    }

    .lotto-ball.emerald {
      background: radial-gradient(circle at 32% 28%, #34d399, #059669 68%, #064e3b 100%);
      box-shadow: inset 0 -3px 6px rgba(0, 0, 0, 0.28), 0 4px 10px rgba(5, 150, 105, 0.3);
    }

    @keyframes popBall {
      0% { transform: scale(0.4); opacity: 0; }
      75% { transform: scale(1.12); opacity: 1; }
      100% { transform: scale(1); opacity: 1; }
    }

    .ball-pop {
      animation: popBall 0.35s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    }

    /* ==========================================================================
       6. LATEST RESULTS GRID
       ========================================================================== */
    .section {
      padding: 3rem;
    }

    #results.section { padding-inline: 0; }

    .section-header {
      display: flex;
      flex-wrap: wrap;
      justify-content: space-between;
      align-items: flex-end;
      gap: 1.25rem;
      margin-bottom: 2rem;
    }

    .section-title {
      font-size: clamp(1.5rem, 2.8vw, 2.15rem);
      font-weight: 800;
      letter-spacing: -0.02em;
      margin-bottom: 0.35rem;
    }

    .section-subtitle {
      color: var(--text-secondary);
      font-size: 0.975rem;
    }

    .select-input, .number-input {
      padding: 0.55rem 0.9rem;
      border-radius: var(--radius-md);
      border: 1px solid var(--border-strong);
      background: var(--bg-surface-muted);
      color: var(--text-primary);
      font-size: 0.875rem;
      font-weight: 600;
      outline: none;
      transition: border-color var(--transition);
    }

    .select-input:focus, .number-input:focus {
      border-color: var(--brand-royal);
    }

    /* Results Cards Grid */
    .results-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(min(100%, 360px), 1fr));
      gap: 1.35rem;
    }

    .result-card {
      background: var(--bg-surface);
      border: 1px solid var(--border-color);
      border-radius: var(--radius-lg);
      padding: 1.45rem;
      box-shadow: var(--shadow-md);
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      gap: 1.15rem;
      transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
    }

    .result-card:hover {
      transform: translateY(-3px);
      box-shadow: var(--shadow-lg);
      border-color: var(--brand-royal);
    }

    .card-header {
      display: flex;
      justify-content: space-between;
      align-items: flex-start;
      gap: 0.75rem;
    }

    .game-name {
      font-size: 1.15rem;
      font-weight: 800;
      color: var(--text-primary);
    }

    .draw-meta {
      font-size: 0.8125rem;
      color: var(--text-muted);
      margin-top: 0.15rem;
    }

    .category-pill {
      font-size: 0.72rem;
      font-weight: 700;
      padding: 0.25rem 0.65rem;
      border-radius: var(--radius-full);
      background: var(--bg-surface-muted);
      color: var(--text-secondary);
      border: 1px solid var(--border-color);
      white-space: nowrap;
    }

    .card-stats {
      display: grid;
      grid-template-columns: 1fr auto;
      gap: 0.75rem;
      padding: 0.85rem 1rem;
      background: var(--bg-surface-muted);
      border-radius: var(--radius-md);
      border: 1px solid var(--border-color);
    }

    .stat-label {
      font-size: 0.72rem;
      text-transform: uppercase;
      letter-spacing: 0.05em;
      color: var(--text-muted);
      font-weight: 700;
    }

    .stat-value {
      font-size: 1.05rem;
      font-weight: 800;
      color: var(--brand-royal);
    }

    [data-theme="dark"] .stat-value {
      color: #60a5fa;
    }

    .winners-badge {
      text-align: right;
    }

    .winners-count {
      font-size: 0.95rem;
      font-weight: 800;
      color: var(--brand-emerald);
    }

    .card-footer {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 0.75rem;
      padding-top: 0.5rem;
      border-top: 1px dashed var(--border-color);
    }

    .copy-btn {
      display: inline-flex;
      align-items: center;
      gap: 0.4rem;
      padding: 0.45rem 0.85rem;
      border-radius: var(--radius-sm);
      border: 1px solid var(--border-strong);
      background: var(--bg-surface);
      color: var(--text-primary);
      font-size: 0.8125rem;
      font-weight: 700;
      cursor: pointer;
      transition: all var(--transition);
    }

    .copy-btn:hover {
      background: var(--brand-royal);
      color: #ffffff;
      border-color: var(--brand-royal);
    }

    /* ==========================================================================
       7. INTERACTIVE TOOLS (LUCKY PICK GENERATOR)
       ========================================================================== */
    .tools-section {
      background: var(--bg-surface-muted);
      border-top: 1px solid var(--border-color);
      border-bottom: 1px solid var(--border-color);
    }

    .tools-grid {
      display: grid;
      grid-template-columns: minmax(0, 1fr);
      gap: 1.75rem;
    }

    .tool-card {
      background: var(--bg-surface);
      border: 1px solid var(--border-color);
      border-radius: var(--radius-lg);
      padding: clamp(1.4rem, 3vw, 2rem);
      box-shadow: var(--shadow-md);
    }

    .tool-header {
      display: flex;
      align-items: center;
      gap: 0.85rem;
      margin-bottom: 1rem;
    }

    .tool-icon {
      width: 2.75rem;
      height: 2.75rem;
      border-radius: var(--radius-md);
      background: rgba(29, 78, 216, 0.12);
      color: var(--brand-royal);
      display: grid;
      place-items: center;
      flex-shrink: 0;
    }

    [data-theme="dark"] .tool-icon {
      color: #60a5fa;
      background: rgba(96, 165, 250, 0.14);
    }

    .tool-form-row {
      display: flex;
      flex-wrap: wrap;
      gap: 0.75rem;
      margin-bottom: 1.25rem;
    }

    .generated-stage {
      min-height: 5.5rem;
      background: var(--bg-surface-muted);
      border: 1px dashed var(--border-strong);
      border-radius: var(--radius-md);
      padding: 1.15rem;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      gap: 0.85rem;
      margin-bottom: 1rem;
    }

    /* ==========================================================================
       8. CLAIMING GUIDE, SCHEDULE & RESPONSIBLE GAMING COPYWRITING
       ========================================================================== */
    .guide-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
      gap: 1.35rem;
      margin-bottom: 2.5rem;
    }

    .guide-card {
      background: var(--bg-surface);
      border: 1px solid var(--border-color);
      border-radius: var(--radius-lg);
      padding: 1.5rem;
      box-shadow: var(--shadow-sm);
    }

    .tier-badge {
      display: inline-block;
      font-size: 0.75rem;
      font-weight: 800;
      padding: 0.25rem 0.7rem;
      border-radius: var(--radius-full);
      background: rgba(29, 78, 216, 0.1);
      color: var(--brand-royal);
      margin-bottom: 0.75rem;
    }

    [data-theme="dark"] .tier-badge {
      color: #60a5fa;
    }

    .guide-card h3 {
      font-size: 1.125rem;
      font-weight: 800;
      margin-bottom: 0.5rem;
    }

    .guide-card p {
      font-size: 0.9125rem;
      color: var(--text-secondary);
    }

    .schedule-table-wrap {
      overflow-x: auto;
      background: var(--bg-surface);
      border: 1px solid var(--border-color);
      border-radius: var(--radius-lg);
      box-shadow: var(--shadow-sm);
    }

    table {
      width: 100%;
      border-collapse: collapse;
      text-align: left;
      font-size: 0.9125rem;
    }

    th, td {
      padding: 1rem 1.25rem;
      border-bottom: 1px solid var(--border-color);
    }

    th {
      background: var(--bg-surface-muted);
      font-weight: 700;
      color: var(--text-secondary);
      font-size: 0.8rem;
      text-transform: uppercase;
      letter-spacing: 0.04em;
    }

    tr:last-child td {
      border-bottom: none;
    }

    .responsible-banner {
      margin-top: 2.5rem;
      background: linear-gradient(135deg, rgba(245, 158, 11, 0.12), rgba(220, 38, 38, 0.08));
      border: 1px solid rgba(245, 158, 11, 0.35);
      border-radius: var(--radius-lg);
      padding: 1.5rem;
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      justify-content: space-between;
      gap: 1.25rem;
    }

    /* ========================================================================
       ULTRA LOTTO 6/58 DETAIL PAGE
       ======================================================================== */
    .ultra-page-nav {
      display: flex;
      align-items: center;
      flex-wrap: wrap;
      gap: 0.75rem 1.25rem;
      color: var(--text-secondary);
      font-size: 0.875rem;
      font-weight: 700;
    }

    .ultra-nav-inner {
      height: auto;
      min-height: 4.5rem;
      flex-wrap: wrap;
      padding-block: 0.75rem;
    }

    .ultra-page-nav a:hover { color: var(--brand-royal); }
    [data-theme="dark"] .ultra-page-nav a:hover { color: #60a5fa; }

    .ultra-page-hero {
      padding: clamp(2.5rem, 6vw, 4.5rem) 0;
      background:
        radial-gradient(circle at 85% 12%, rgba(29, 78, 216, 0.14), transparent 38%),
        radial-gradient(circle at 8% 85%, rgba(245, 158, 11, 0.12), transparent 40%);
      border-bottom: 1px solid var(--border-color);
    }

    .ultra-page-hero h1 {
      margin: 0.75rem 0;
      font-size: clamp(2rem, 5vw, 3.25rem);
      font-weight: 800;
      line-height: 1.12;
      letter-spacing: -0.035em;
    }

    .ultra-page-hero > .container > p {
      max-width: 68ch;
      color: var(--text-secondary);
      font-size: 1rem;
    }

    .ultra-latest-card {
      display: grid;
      grid-template-columns: minmax(0, 1fr) auto;
      align-items: center;
      gap: 1.5rem;
      margin-top: 2rem;
      padding: clamp(1.25rem, 3vw, 2rem);
      border: 1px solid var(--border-color);
      border-radius: var(--radius-lg);
      background: var(--bg-surface);
      box-shadow: var(--shadow-lg);
    }

    .ultra-latest-card h2 {
      margin: 0.35rem 0 0;
      font-size: clamp(1.25rem, 3vw, 1.75rem);
      font-weight: 800;
    }

    .ultra-latest-meta {
      color: var(--text-muted);
      font-size: 0.875rem;
    }

    .ultra-number-row {
      display: flex;
      flex-wrap: wrap;
      gap: 0.55rem;
      margin-top: 1.1rem;
    }

    .ultra-number-row .lotto-ball {
      width: 3.1rem;
      height: 3.1rem;
      font-size: 1rem;
    }

    .ultra-jackpot {
      min-width: 220px;
      padding: 1rem 1.25rem;
      border: 1px solid var(--border-color);
      border-radius: var(--radius-md);
      background: var(--bg-surface-muted);
      text-align: right;
    }

    .ultra-jackpot strong {
      display: block;
      margin-top: 0.2rem;
      color: var(--brand-royal);
      font-size: clamp(1.15rem, 3vw, 1.55rem);
      font-weight: 800;
      overflow-wrap: anywhere;
    }

    [data-theme="dark"] .ultra-jackpot strong { color: #60a5fa; }

    .ultra-history-wrap {
      overflow-x: auto;
      border: 1px solid var(--border-color);
      border-radius: var(--radius-lg);
      background: var(--bg-surface);
      box-shadow: var(--shadow-sm);
      margin-bottom: 2rem;
    }

    .ultra-history-table { min-width: 660px; }
    .ultra-schedule-table { min-width: 0; }
    .ultra-history-table td { vertical-align: middle; }
    .ultra-history-numbers { white-space: nowrap; }
    .ultra-history-note {
      margin-top: 0.85rem;
      color: var(--text-muted);
      font-size: 0.8rem;
    }

    .ultra-info-grid {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 1rem;
    }

    .ultra-info-card {
      padding: 1.25rem;
      border: 1px solid var(--border-color);
      border-radius: var(--radius-lg);
      background: var(--bg-surface);
      box-shadow: var(--shadow-sm);
    }

    .ultra-info-card h3 {
      margin-bottom: 0.45rem;
      font-size: 1rem;
      font-weight: 800;
    }

    .ultra-info-card p {
      color: var(--text-secondary);
      font-size: 0.9rem;
    }

    .ultra-copy {
      max-width: 82ch;
      color: var(--text-secondary);
      line-height: 1.75;
    }

    .ultra-copy ol, .ultra-copy ul {
      margin: 0 0 1.1rem;
      padding-left: 1.5rem;
    }

    .ultra-copy li + li { margin-top: 0.4rem; }
    .ultra-copy p + p { margin-top: 0.85rem; }
    .ultra-copy strong { color: var(--text-primary); }

    .ultra-subheading {
      margin: 1.75rem 0 0.85rem;
      font-size: 1.1rem;
      font-weight: 800;
    }

    .ultra-faq-list {
      display: grid;
      gap: 0.75rem;
    }

    .ultra-faq-list details {
      padding: 1rem 1.15rem;
      border: 1px solid var(--border-color);
      border-radius: var(--radius-md);
      background: var(--bg-surface);
    }

    .ultra-faq-list summary {
      color: var(--text-primary);
      cursor: pointer;
      font-weight: 800;
    }

    .ultra-faq-list p {
      margin-top: 0.65rem;
      color: var(--text-secondary);
    }

    /* ========================================================================
       BLOG INDEX
       ======================================================================== */
    .blog-hero {
      padding: clamp(2.5rem, 6vw, 4rem) 0;
      background:
        radial-gradient(circle at 85% 12%, rgba(29, 78, 216, 0.14), transparent 38%),
        radial-gradient(circle at 8% 85%, rgba(245, 158, 11, 0.12), transparent 40%);
      border-bottom: 1px solid var(--border-color);
    }

    .blog-hero h1 {
      margin: 0.75rem 0 0.55rem;
      font-size: clamp(2rem, 5vw, 3.1rem);
      font-weight: 800;
      line-height: 1.12;
      letter-spacing: -0.035em;
    }

    .blog-hero p {
      max-width: 70ch;
      color: var(--text-secondary);
      font-size: 1rem;
    }

    .blog-layout {
      display: grid;
      grid-template-columns: minmax(0, 1fr) 290px;
      align-items: start;
      gap: 1.5rem;
    }

    .blog-main {
      display: grid;
      gap: 2rem;
      min-width: 0;
    }

    .blog-category-section { scroll-margin-top: 6rem; }

    .blog-category-heading {
      margin-bottom: 0.9rem;
      font-size: 1.25rem;
      font-weight: 800;
    }

    .blog-article-grid {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 1rem;
    }

    .blog-card {
      display: flex;
      min-width: 0;
      flex-direction: column;
      align-items: flex-start;
      padding: 1.25rem;
      border: 1px solid var(--border-color);
      border-radius: var(--radius-lg);
      background: var(--bg-surface);
      box-shadow: var(--shadow-sm);
      scroll-margin-top: 6rem;
    }

    .blog-card-category {
      color: var(--brand-royal);
      font-size: 0.7rem;
      font-weight: 800;
      letter-spacing: 0.06em;
      text-transform: uppercase;
    }

    .blog-card time {
      display: block;
      margin-top: 0.35rem;
      color: var(--text-muted);
      font-size: 0.72rem;
    }

    [data-theme="dark"] .blog-card-category { color: #60a5fa; }

    .blog-card h3 {
      margin: 0.5rem 0;
      font-size: 1.08rem;
      font-weight: 800;
      line-height: 1.35;
    }

    .blog-card p {
      margin-bottom: 1rem;
      color: var(--text-secondary);
      font-size: 0.86rem;
    }

    .blog-card a {
      margin-top: auto;
      color: var(--brand-royal);
      font-size: 0.82rem;
      font-weight: 800;
    }

    [data-theme="dark"] .blog-card a { color: #60a5fa; }
    .blog-card a:hover { text-decoration: underline; }

    .blog-sidebar {
      position: sticky;
      top: 6rem;
      display: grid;
      gap: 1rem;
    }

    .blog-sidebar-card {
      padding: 1.15rem;
      border: 1px solid var(--border-color);
      border-radius: var(--radius-lg);
      background: var(--bg-surface);
      box-shadow: var(--shadow-sm);
    }

    .blog-sidebar-card h2 {
      margin-bottom: 0.8rem;
      font-size: 1rem;
      font-weight: 800;
    }

    .blog-sidebar-card ul {
      display: grid;
      gap: 0.65rem;
      padding: 0;
      list-style: none;
    }

    .blog-sidebar-card a {
      color: var(--text-secondary);
      font-size: 0.83rem;
      font-weight: 700;
      line-height: 1.45;
    }

    .blog-sidebar-card a:hover { color: var(--brand-royal); }
    [data-theme="dark"] .blog-sidebar-card a:hover { color: #60a5fa; }

    .blog-disclaimer {
      padding-top: 1rem;
      border-top: 1px solid rgba(255, 255, 255, 0.12);
      color: #94a3b8;
      font-size: 0.8rem;
    }

    .blog-breadcrumbs {
      display: flex;
      flex-wrap: wrap;
      gap: 0.45rem;
      margin-bottom: 1rem;
      color: var(--text-muted);
      font-size: 0.8rem;
      font-weight: 700;
    }

    .blog-breadcrumbs a { color: var(--brand-royal); }
    [data-theme="dark"] .blog-breadcrumbs a { color: #60a5fa; }

    .blog-detail-layout { align-items: start; }

    .blog-detail-article {
      min-width: 0;
      padding: clamp(1.25rem, 3vw, 2rem);
      border: 1px solid var(--border-color);
      border-radius: var(--radius-lg);
      background: var(--bg-surface);
      box-shadow: var(--shadow-sm);
    }

    .blog-detail-article h1 {
      margin: 0.55rem 0 0.75rem;
      font-size: clamp(1.8rem, 4vw, 2.5rem);
      font-weight: 800;
      line-height: 1.18;
      letter-spacing: -0.03em;
    }

    .blog-detail-meta {
      margin-bottom: 1.25rem;
      color: var(--text-muted);
      font-size: 0.8rem;
    }

    .blog-detail-lead {
      margin-bottom: 1.5rem;
      color: var(--text-secondary);
      font-size: 1.05rem;
      line-height: 1.7;
    }

    .blog-detail-body {
      color: var(--text-secondary);
      line-height: 1.75;
    }

    .blog-detail-body h2 {
      margin: 1.65rem 0 0.6rem;
      color: var(--text-primary);
      font-size: 1.3rem;
      font-weight: 800;
      line-height: 1.35;
    }

    .blog-detail-body p + p { margin-top: 0.9rem; }

    .blog-detail-body ol, .blog-detail-body ul {
      margin: 0.75rem 0 1rem;
      padding-left: 1.45rem;
    }

    .blog-detail-body li + li { margin-top: 0.42rem; }
    .blog-detail-body strong { color: var(--text-primary); }

    .blog-detail-body a {
      color: var(--brand-royal);
      font-weight: 700;
      text-decoration: underline;
      text-underline-offset: 0.15em;
    }

    [data-theme="dark"] .blog-detail-body a { color: #60a5fa; }

    .blog-detail-callout {
      margin-top: 1rem;
      padding: 1rem 1.1rem;
      border: 1px solid rgba(245, 158, 11, 0.35);
      border-radius: var(--radius-md);
      background: var(--brand-gold-soft);
    }

    .blog-detail-callout p { margin: 0; }

    .ultra-page-footer {
      padding: 1.5rem 0;
      background: #0a2540;
      color: #cbd5e1;
      font-size: 0.85rem;
    }

    .ultra-page-footer-inner {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      justify-content: space-between;
      gap: 0.75rem;
    }

    .ultra-page-footer a { font-weight: 700; }
    .ultra-page-footer a:hover { color: #fbbf24; }

    .age-pill {
      width: 3rem;
      height: 3rem;
      border-radius: 50%;
      background: var(--brand-crimson);
      color: #ffffff;
      font-weight: 800;
      display: grid;
      place-items: center;
      flex-shrink: 0;
    }

    /* ==========================================================================
       9. FOOTER & TOAST NOTIFICATION
       ========================================================================== */
    footer {
      background: #0a2540;
      color: #cbd5e1;
      padding: 3.5rem 0 2rem;
      font-size: 0.9rem;
    }

    .footer-grid {
      display: grid;
      grid-template-columns: 1.4fr 1fr 1fr;
      gap: 2.5rem;
      padding-bottom: 2.5rem;
      border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    }

    footer h4 {
      color: #ffffff;
      font-size: 1rem;
      margin-bottom: 1rem;
    }

    footer ul {
      list-style: none;
      display: flex;
      flex-direction: column;
      gap: 0.55rem;
    }

    footer a:hover {
      color: #fbbf24;
    }

    .footer-bottom {
      padding-top: 1.5rem;
      display: flex;
      flex-wrap: wrap;
      justify-content: space-between;
      gap: 1rem;
      font-size: 0.8125rem;
      color: #94a3b8;
    }

    .toast {
      position: fixed;
      bottom: 1.5rem;
      right: 1.5rem;
      background: #0f172a;
      color: #ffffff;
      padding: 0.85rem 1.25rem;
      border-radius: var(--radius-md);
      box-shadow: var(--shadow-lg);
      border-left: 4px solid var(--brand-emerald);
      font-size: 0.875rem;
      font-weight: 600;
      z-index: 999;
      opacity: 0;
      transform: translateY(16px);
      pointer-events: none;
      transition: all 0.25s ease;
    }

    .toast.show {
      opacity: 1;
      transform: translateY(0);
    }

    /* ==========================================================================
       10. RESPONSIVE BREAKPOINTS (TABLET & MOBILE)
       ========================================================================== */
    @media (max-width: 960px) {
      .hero-grid {
        grid-template-columns: 1fr;
      }

      .footer-grid {
        grid-template-columns: 1fr 1fr;
      }
    }

    @media (max-width: 768px) {
      .nav-links {
        display: none;
      }

      .mobile-menu-btn {
        display: grid;
      }

      .footer-grid {
        grid-template-columns: 1fr;
        gap: 1.75rem;
      }

      .ultra-page-nav {
        justify-content: flex-end;
        gap: 0.5rem 0.85rem;
        font-size: 0.78rem;
      }

      .ultra-info-grid { grid-template-columns: 1fr; }
      .ultra-latest-card { grid-template-columns: 1fr; }
      .ultra-jackpot { min-width: 0; text-align: left; }
      .blog-layout { grid-template-columns: 1fr; }
      .blog-sidebar { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); }
    }

    @media (max-width: 480px) {
      .lotto-ball {
        width: 2.35rem;
        height: 2.35rem;
        font-size: 0.9rem;
      }

      .ultra-page-nav { gap: 0.4rem 0.65rem; }
      .ultra-number-row .lotto-ball { width: 2.55rem; height: 2.55rem; }
      .blog-article-grid, .blog-sidebar { grid-template-columns: 1fr; }
    }
