/* ============================================
   222WORLD — wide edition
   full-width nostalgia · times new roman body
   impact display · aero pills · spinning world
   ============================================ */

:root {
  --blue: #0022ee;
  --blue-deep: #001199;
  --red: #ee1111;
  --ink: #111111;
  --meta: #777777;
  --line: #cccccc;
  --magenta: #d6187a;
  --pink: #e34fa0;
  --green: #14a800;
  --gold: #ffd84d;
  --babyblue: #6bbfe3;
  --palepink: #fdf0f4;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: white;
  color: #000000;
  font-family: 'times new roman';
  font-size: 13pt;
  line-height: 1;
}

@font-face {
  font-family: 'Minecraft';
  src: url('/fonts/Minecraft.ttf') format('truetype');
  font-weight: 900;
  font-style: normal;
}

@font-face {
  font-family: 'cc';
  src: url('/fonts/ccfont.ttf') format('truetype');
  font-weight: 900;
  font-style: normal;
}

@font-face {
  font-family: 'Kenney';
  src: url('/fonts/KenneyPixel.ttf') format('truetype');
  font-weight: 900;
  font-style: normal;
}


@font-face {
  font-family: 'Corsiva Italic';
  src: url('/fonts/Monotype-Corsiva-Regular-Italic.ttf') format('truetype');
  font-weight: 900;
  font-style: normal;
}

a { color: #0000ff; }
a:hover {
  animation: blink .2s step-start infinite;
}
a:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }

/* ============ animations ============ */
@keyframes tick { to { transform: translateX(-100%); } }
@keyframes blink { 50% { opacity: 0; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes hue { to { filter: hue-rotate(360deg); } }
@keyframes cycle {              /* warm ticket-palette cycling */
  0%   { color: var(--magenta); }
  33%  { color: var(--red); }
  66%  { color: #e8a500; }
  100% { color: var(--magenta); }
}

.blink { animation: blink 1s steps(1) infinite; color: var(--red); }
.spin  { display: inline-block; animation: spin 6s linear infinite; }
.cycle { animation: cycle 8s linear infinite; }

@media (prefers-reduced-motion: reduce) {
  .vticker-track .blink, .spin, .cycle, .ticker span, .player .trackname span,
  .worldline, .headline, .headline span, .tw, .pill::before,
  .counter .digits { animation: none !important; }
  .ticker span, .player .trackname span { padding-left: 0; }
}

/* ============ top ticker ============ */
.ticker {
  border-bottom: 0px solid;
  overflow: hidden; white-space: nowrap;
  padding: 3px 0;
  background: #cfeaf7;
}
.ticker span {
  display: inline-block;
  font-family: 'Times New Roman', Times, serif;
  font-style: normal;
  font-size: 13px;
  padding-left: 100%;
  animation: tick 26s linear infinite, cycle 8s linear infinite;
}

.ticker.rev {
  
  padding: 0 3px;
  left: 0;
  bottom: 0;
  width: 100%;
  z-index: 5;
  background: #cfeaf7;
}


.ticker.rev span { animation-direction: reverse, normal; }

/* ============ vertical ticker ============= */

.vticker {
  width: 200px;
  height: 45px; 
  overflow-y: hidden;
  position: relative;
  transform: translateZ(0); /* forces Chrome to composite + clip correctly */
}

.vticker-track {
  animation: vtick 12s linear infinite;
}
.vticker:hover .vticker-track {
  animation-play-state: paused;
}
@keyframes vtick {
  from { transform: translateY(0); }
  to   { transform: translateY(-50%); } /* content is duplicated, so -50% = one full loop */
}

/* ============ event ticker ============= */



.eticker {
  width: 100%;
  height: 200px;
  overflow: hidden;
  position: relative;
  white-space: nowrap;
  transform: translateZ(0);
}

.eticker-track {
  display: inline-flex;
  animation: etick 20s linear infinite;
}

.eticker:hover .eticker-track {
  animation-play-state: paused;
}

@keyframes etick {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.eticker-item {
  display: flex;
  align-items: center;
  gap: 0px;
  margin-right: 0px;
  white-space: nowrap;
  height: 200px
}

.eticker-item dt {
  font-family: "Kenney";
  font-size: 17px;
  font-weight: bold;
  text-transform: uppercase;
  color: var(--red);
  margin: 0;
}

.eticker-item dd {
  font-family: "Kenney";
  font-size: 17px;
  text-transform: uppercase;
  font-weight: bold;
  color: #000;
  margin: 0;
}

.eticker-item img {
  height: 100%;
  width: auto;
  display: block;
}

.eticker-item a {
  display: flex;
  align-items: center;
  height: 100%;
  gap: 0px;
  color: inherit;
  text-decoration: none;
  white-space: nowrap;
}



/* ============ masthead ============ */
.masthead { text-align: center; padding: 44px 16px 8px; position: relative; }

/* twinkling stars */
@keyframes twinkle {
  0%, 100% { opacity: .15; transform: scale(.7) rotate(0deg); }
  50%      { opacity: 1;   transform: scale(1.25) rotate(20deg); }
}
.tw {
  position: absolute;
  font-size: 26px;
  color: var(--gold);
  text-shadow: 0 0 6px rgba(232,165,0,.7);
  animation: twinkle 2.6s ease-in-out infinite;
  pointer-events: none;
}
.t1 { left: 12%; top: 30%; }
.t2 { right: 13%; top: 22%; color: var(--magenta); text-shadow: 0 0 6px rgba(214,24,122,.6); animation-delay: -.8s; }
.t3 { left: 22%; bottom: 8%; font-size: 18px; animation-delay: -1.5s; }
.t4 { right: 24%; bottom: 14%; font-size: 20px; color: var(--red); text-shadow: 0 0 6px rgba(238,17,17,.6); animation-delay: -2s; }

.headline {
   display: block;
  font-family: 'Times New Roman';
  font-size: clamp(64px, 13vw, 170px);
  transform: scaleX(0.75);

  line-height: .92;
  letter-spacing: -.05em;
  text-transform: uppercase;
  text-decoration: none;
  background: linear-gradient(90deg, #0022ee, #9911dd, #ee1111, #e88a00, #0022ee);
  background-size: 300% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;

}

/* lottery-numeral letters: warm wave, magenta -> red -> gold */
@keyframes warm {
  0%   { color: var(--magenta); }
  33%  { color: var(--red); }
  66%  { color: #e8a500; }
  100% { color: var(--magenta); }
}

.headline .globe {
  display: inline-block;
  font-size: .62em;
  vertical-align: .06em;
  animation: spin 8s linear infinite;
}
@media (prefers-reduced-motion: reduce) {
  .headline span { animation: none; }
  
}

/* hand-painted-sign script accent */
.script {
  font-family: 'Corsiva Italic';
  font-style: italic;
  font-size: 1.5em;
  color: var(--magenta);
}

/* vertical stacked-letter ribbon, */
.ribbon {
  position: fixed;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  writing-mode: vertical-rl;
  text-orientation: upright;
  font-family: Impact;
  font-size: 15px;
  letter-spacing: 3px;
  color: var(--magenta);
  background: #fff;
  border: 2px solid var(--magenta);
  box-shadow: 0 0 0 3px #fff, 0 0 0 4px var(--pink);
  padding: 12px 4px;
  z-index: 5;
}

.highlight {
  position: fixed;
  right: 15px;
  top: 75%;
  transform: translateY(-50%);
  writing-mode: vertical-rl;
  text-orientation: upright;
  font-family: Impact;
  font-size: 15px;
  letter-spacing: 3px;
  color: var(--magenta);
  border: 2px solid var(--magenta);
  box-shadow: 0 0 0 3px #fff, 0 0 0 4px var(--pink);
  padding: 12px 4px;
  z-index: 5;
  width: 50px;
  height: 500px;           /* fixed height so it doesn't collapse when empty */
  box-sizing: border-box; /* padding/border no longer add to width/height */
  display: flex;          /* align-items/justify-content need a flex or grid display to work */
  align-items: center;
  justify-content: center;
  overflow: hidden;       /* keeps long content from stretching the box */
  
  
}


@media (max-width: 980px) { .ribbon { display: none; } }

.tagline {
  margin: 10px 0 0;
  font-size: 15px;
  font-style: italic;
  color: var(--meta);
}
.tagline b { color: var(--ink); font-style: normal; }

/* thin rainbow rule that slowly shifts hue */
.worldline {
  height: 2px;
  margin: 26px auto 0;
  max-width: 1400px;
  background: #0000ff;
}

/* ============ aero pill nav, horizontal + wide ============ */
.nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  padding: 22px 16px;
}


.release {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 7px;
  width: 700px;
  height: 22px;
  box-sizing: border-box;
  padding: 4px 26px;
  border-radius: 12px;
  color: #0000FF;
  text-decoration: none;
  text-shadow: 0 0px 0px rgba(255,255,255,.65);
  background-image: linear-gradient(rgba(255,255,255,.15) 0%, rgba(255,255,255,.08) 48%, rgba(255,255,255,.05) 52%, rgba(255,255,255,.15) 100%);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border: NONE;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.7), 0 4px 8px rgba(6,40,70,.45);
  overflow: hidden;
  margin: 0;
  filter: brightness(1.15);
}

.release::after {
  content: '';
  position: absolute; left: 4px; right: 4px; top: 1px; height: 46%;
  border-radius: 8px;
  background: linear-gradient(rgba(255,255,255,.65), rgba(255,255,255,.06));
  pointer-events: none;
}
.release:hover {
  color: #000000;
  background: linear-gradient(#93dbff 0%, #3fa0e8 48%, #1b6dc0 52%, #3fa0e8 100%);
}

.release dt,
.release dd {
  font-family: "Kenney";
  font-size: 17px;
  text-transform: uppercase;
  font-weight: bold;
  color: #0000FF;
  margin: 0;
  position: relative;
  z-index: 1;
}

.release:hover dt,
.release:hover dd {
  color: #000000;
}

.release-link {
  display: block;
  border-radius: 12px;
  text-decoration: none;
  color: inherit;
  width: 700px;
  margin: 0 auto;
  outline: none;
  -webkit-tap-highlight-color: transparent;
 

}

.release-link:hover {
  
  animation: none; filter: brightness(1.10);
  background: linear-gradient(#93dbff 0%, #3fa0e8 48%, #1b6dc0 52%, #3fa0e8 100%);
 outline: none;
  -webkit-tap-highlight-color: transparent;
  color:#000000
}

.release.cat-vitalic dt, .release.cat-vitalic dd { color: #FF0000;
}

.release.cat-vitalic:hover dt,
.release.cat-vitalic:hover dd {
  color: #000000;
}



.pill {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 20px;
  font-family: "Kenney";
  font-size: 16px;
  font-weight: bold;
  color: #eaf6ff;
  text-decoration: none;
  text-shadow: 0 1px 1px rgba(0,0,0,.65);
  background: linear-gradient(#79c7f2 0%, #2a86cf 48%, #0f5aa8 52%, #2a86cf 100%);
  border: 1px solid #0b3f77;
  border-radius: 20px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.7), 0 4px 8px rgba(6,40,70,.45);
  overflow: hidden;
}
.pill::after {
  content: '';
  position: absolute; left: 4px; right: 4px; top: 1px; height: 46%;
  border-radius: 14px;
  background: linear-gradient(rgba(255,255,255,.65), rgba(255,255,255,.06));
  pointer-events: none;
}
.pill:hover {
  color: #fff;
  background: linear-gradient(#93dbff 0%, #3fa0e8 48%, #1b6dc0 52%, #3fa0e8 100%);
}
.pill.here {
  background: linear-gradient(#ff8a80 0%, #d92a1e 48%, #a30d05 52%, #d92a1e 100%);
  border-color: #6d0a04;
}

/* ============ wide content grid ============ */
.wrap {
  max-width: 1800px;
  margin: 0 auto;
  
}
.content { 
  min-width: 0; 
max-width: 1120px; 
margin: 0 auto;
padding: 0 0 0px;}

/* top strip under the nav: player + counter */
.widgets {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
  align-items: stretch;
  margin: 0 0 10px;
}
.widgets .wbox { min-width: 280px; }
.wbox {
  border: 2px solid var(--babyblue);
  box-shadow: 0 0 0 4px #fff, 0 0 0 0px var(--magenta), 0 8px 16px rgba(143,11,4,.12);
  padding: 12px 16px;
  min-width: 250px;
  background: #fff;
  margin: 6px;
  border-radius: 20px;
  overflow: hidden;
}
.wbox h3::before { content: ''; color: var(--pink); }
.wbox h3::after  { content: ''; color: var(--pink); }
.wbox h3 {
  text-align: center;
  margin: 0 0 -2px;
  font-family: Impact, 'Arial Narrow Bold', sans-serif;
  font-weight: normal;
  font-size: 15px;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.wbox h3 .cycle { font-size: 13px; }



/* content */

.slim {
  display: inline-block;
  font-family: 'Courier New', monospace;
  font-weight: bold;
  font-size: 26px;
  letter-spacing: 5px;
  color: var(--magenta);
  text-shadow:
    -1px -1px 0 #fff, 1px -1px 0 #fff, -1px 1px 0 #fff, 1px 1px 0 #fff,
    2px 2px 0 rgba(143,11,4,.35);
  animation: cycle 8s linear infinite;
  width: 250px; 
  height: 45px;
}
  
.wide {
 
  font-family: Verdana, Arial, sans-serif;
  font-size: 10px;
  color: var(--blue-deep);
  overflow: hidden; white-space: nowrap;
  border: 1px solid var(--line);
  background: #f4f8ff;
  padding: 3px 6px;
  margin-bottom: 8px;
  width: 974px; 
  height: 45px;
}


/* player */

.player .trackname {
  font-family: Verdana, Arial, sans-serif;
  font-size: 10px;
  color: var(--blue-deep);
  overflow: hidden; white-space: nowrap;
  border: 1px solid var(--line);
  background: #f4f8ff;
  padding: 3px 6px;
  margin-bottom: 8px;
  width: 450px; 
  height: 45px;
}

.player .trackname span { display: inline-block; padding-left: 100%; animation: tick 12s linear infinite; }
.player .controls { display: flex; gap: 6px; align-items: center; }
.player button {
  font-family: Verdana, Arial, sans-serif;
  font-size: 11px;
  font-weight: bold;
  color: #fff;
  text-shadow: 0 1px 1px rgba(0,0,0,.6);
  background: linear-gradient(#79c7f2, #0f5aa8);
  border: 1px solid #0b3f77;
  border-radius: 14px;
  padding: 3px 14px;
  cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.7);
}
.player button:hover { background: linear-gradient(#93dbff, #1b6dc0); }
.player .vol { flex: 1; accent-color: var(--blue); min-width: 80px; }

/* counter -> xổ số lottery ticket */
.counter { text-align: center; }
.ticket {
  background: linear-gradient(160deg, #fff9d6, var(--gold));
  border: 1px solid var(--magenta);
  box-shadow: inset 0 0 0 3px #fff, inset 0 0 0 4px var(--pink);
  padding: 9px 12px 7px;
  margin: 0 0 6px;
}
.tk-top {
  font-family: 'Times New Roman', Times, serif;
  font-weight: bold;
  font-size: 10px;
  letter-spacing: 1px;
  color: var(--green);
  margin-bottom: 4px;
  white-space: nowrap;
}
.tk-badge {
  display: inline-block;
  background: var(--red);
  color: var(--gold);
  font-size: 9px;
  border-radius: 8px;
  padding: 0 6px;
  border: 1px solid #8f0b04;
}
.counter .digits {
  display: inline-block;
  font-family: 'Courier New', monospace;
  font-weight: bold;
  font-size: 26px;
  letter-spacing: 5px;
  text-align: center;
  color: var(--magenta);
  text-shadow:
    -1px -1px 0 #fff, 1px -1px 0 #fff, -1px 1px 0 #fff, 1px 1px 0 #fff,
    2px 2px 0 rgba(143,11,4,.35);
  animation: cycle 8s linear infinite;
  width: 100%; 
  height: 45px;
  position: relative;
}
@media (prefers-reduced-motion: reduce) { .counter .digits { animation: none; } }
.tk-words {
  font-family: 'Times New Roman', Times, serif;
  font-style: italic;
  font-size: 9px;
  letter-spacing: 1px;
  color: var(--red);
  border-top: 1px dashed var(--magenta);
  margin-top: 3px;
  padding-top: 2px;
}
.counter .label { display: block; color: var(--meta); margin-top: 5px; font-style: italic; font-size: 12px; }




/* ============ sections — sparse, wide, times ============ */
section { margin: 0 0 20px; }

h1 {
    font-family: 'Times New Roman' Times, Serif;
  font-size:70px;
  transform: none;
  line-height: .92;
  letter-spacing: -.05em;
  text-transform: uppercase;
  text-decoration: none;
  color: black;
  margin: 0 0 6px;
}
h2 {
  font-family: 'Kenney';
  font-weight: 900;
  font-size: 15px;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin: 0 0 14px;
}
h2 .spin { font-size: 18px; }

.pagemeta { font-style: italic; color: var(--meta); margin: 0 0 30px; font-size: 13px; }

p { margin: 0 0 10px; max-width: 640px; }

/* two-column wide splits */
.split {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: flex-start;
}
.split > div:nth-child(1) { flex: 0 0 275px; }
.split > div:nth-child(2) { flex: 1; }


hr {
  border: none;
  height: 2px;
  margin: 56px 0;
  background: #0000ff;
}

hr.full {
  border: none;
  height: 2px;
  background: #0000ff;
  margin-top: 56px;
  margin-bottom: 56px;
  width: 100vw;
  position: relative;
  left: 50%;
  margin-left: -50vw;
}

/* updates */
.updates { font-size: 14px; margin: 0; max-width: 640px; }
.updates dt {
  font-family: "Kenney";
  font-size: 17px;
  font-weight: bold;
  text-transform: uppercase; 
  color: var(--red);
  float: left; clear: left; width: 80px;
  padding-top: 3px;
}
.updates dd { 
  margin: 0 0 10px 96px; 
  font-family: "Kenney";
  font-size: 17px;
  text-transform: uppercase;
  font-weight: bold;
  color: #000000;
  }
  
  .updates .vticker-item {
  display: flex;
  gap: 16px;
  align-items: baseline;
  margin-bottom: 10px;
}
.updates .vticker-item dt {
  font-family: "Kenney";
  font-size: 17px;
  font-weight: bold;
  text-transform: uppercase;
  color: var(--red);
  flex: 0 0 80px;
  margin: 0;
}
.updates .vticker-item dd {
  font-family: "Kenney";
  font-size: 17px;
  text-transform: uppercase;
  font-weight: bold;
  color: #000;
  margin: 0;
}

/* cool sites 88x31 */
.buttonwall { display: flex; flex-wrap: wrap; gap: 8px; }
.b88 {
  width: 88px; height: 31px;
  display: flex; align-items: center; justify-content: center;
  font-family: Verdana, Arial, sans-serif;
  font-size: 8px;
  font-weight: bold;
  text-decoration: none;
  color: #fff;
  border: 1px solid #032b52;
  text-shadow: 1px 1px 0 rgba(0,0,0,.5);
  text-align: center; line-height: 1.15;
  overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.5);
}
.b88:hover { animation: none; filter: brightness(1.25); }
.b88.v1 { background: linear-gradient(#4a9bff, #08498f); }
.b88.v2 { background: linear-gradient(#ff6a5e, #8f0b04); }
.b88.v3 { background: #000; color: #33ff66; }
.b88.v4 { background: linear-gradient(#7de3ff, #076a9e); }

/* listing rows */
.row { border-bottom: 1px solid var(--line); padding: 12px 0; max-width: 640px; }
.row:last-of-type { border-bottom: none; }
.row .rt { font-weight: bold; font-size: 16px; }
.row .rm { font-size: 12px; color: var(--meta); font-style: italic; }

.gbframe {
  width: 100%;
  max-width: 700px;
  height: 600px;
  border: 1px solid var(--ink);
}

/* footer */
.foot {
  border-top: 1px solid var(--ink);
  text-align: center;
  padding: 16px;
  font-style: italic;
  font-size: 12px;
  color: var(--meta);
}
.foot .spin { font-style: normal; }

/* aero button for optional headers */
.aero-button {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 8px 24px; 
  border-radius: 6px;
  border: 1px solid #4a90c2;
  color: #003366;
  font-weight: bold;
  text-shadow: 0 1px 0 rgba(255,255,255,0.7);
  background: linear-gradient(to bottom, #eaf6ff 0%, #6ec1f0 50%, #2f8fd0 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.8);
  max-height: 30px;
}

.aero-button h3 {
  margin: 0;
  position: relative;
  top: 1px; /* adjust by eye, 1-2px usually does it */
}

/* image overlay text */

.image-overlay {
  position: relative;
  display: inline-block; /* or block, depending on your layout */
}

.image-overlay img {
  display: block;
  width: 100%;
}

.overlay-text-title {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scaleX(0.75);
  font-family: 'Times New Roman';
  font-size: 80pt;
  line-height: .92;
  letter-spacing: -.05em;
  text-transform: uppercase;
  text-decoration: none;
  color: #ffffff;
}




/* ============ mobile ============ */
@media (max-width: 980px) {
  .wrap { padding: 24px 22px 70px; }
}
@media (max-width: 640px) {
  .split { gap: 24px; }
  .wrap { padding: 20px 16px 60px; }
}
