/* Local Baloo 2 Font Face (Full Subsets & Unicode Ranges) */
@font-face {
  font-family:'Baloo 2';
  font-style:normal;
  font-weight:700;
  font-display:swap;
  src:url(../fonts/baloo2/wXKrE3kTposypRyd51ncANwr.woff2) format('woff2');
  unicode-range:U+0900-097F,U+1CD0-1CF9,U+200C-200D,U+20A8,U+20B9,U+20F0,U+25CC,U+A830-A839,U+A8E0-A8FF,U+11B00-11B09
}

@font-face {
  font-family:'Baloo 2';
  font-style:normal;
  font-weight:700;
  font-display:swap;
  src:url(../fonts/baloo2/wXKrE3kTposypRyd51fcANwr.woff2) format('woff2');
  unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB
}

@font-face {
  font-family:'Baloo 2';
  font-style:normal;
  font-weight:700;
  font-display:swap;
  src:url(../fonts/baloo2/wXKrE3kTposypRyd51bcANwr.woff2) format('woff2');
  unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF
}

@font-face {
  font-family:'Baloo 2';
  font-style:normal;
  font-weight:700;
  font-display:swap;
  src:url(../fonts/baloo2/wXKrE3kTposypRyd51jcAA.woff2) format('woff2');
  unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD
}

@font-face {
  font-family:'Baloo 2';
  font-style:normal;
  font-weight:800;
  font-display:swap;
  src:url(../fonts/baloo2/wXKrE3kTposypRyd51ncANwr.woff2) format('woff2');
  unicode-range:U+0900-097F,U+1CD0-1CF9,U+200C-200D,U+20A8,U+20B9,U+20F0,U+25CC,U+A830-A839,U+A8E0-A8FF,U+11B00-11B09
}

@font-face {
  font-family:'Baloo 2';
  font-style:normal;
  font-weight:800;
  font-display:swap;
  src:url(../fonts/baloo2/wXKrE3kTposypRyd51fcANwr.woff2) format('woff2');
  unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB
}

@font-face {
  font-family:'Baloo 2';
  font-style:normal;
  font-weight:800;
  font-display:swap;
  src:url(../fonts/baloo2/wXKrE3kTposypRyd51bcANwr.woff2) format('woff2');
  unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF
}

@font-face {
  font-family:'Baloo 2';
  font-style:normal;
  font-weight:800;
  font-display:swap;
  src:url(../fonts/baloo2/wXKrE3kTposypRyd51jcAA.woff2) format('woff2');
  unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD
}


/* Local Quicksand Font Face (Full Subsets & Unicode Ranges) */
@font-face {
  font-family:Quicksand;
  font-style:normal;
  font-weight:600;
  font-display:swap;
  src:url(../fonts/quicksand/6xKtdSZaM9iE8KbpRA_hJFQNcOM.woff2) format('woff2');
  unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB
}

@font-face {
  font-family:Quicksand;
  font-style:normal;
  font-weight:600;
  font-display:swap;
  src:url(../fonts/quicksand/6xKtdSZaM9iE8KbpRA_hJVQNcOM.woff2) format('woff2');
  unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF
}

@font-face {
  font-family:Quicksand;
  font-style:normal;
  font-weight:600;
  font-display:swap;
  src:url(../fonts/quicksand/6xKtdSZaM9iE8KbpRA_hK1QN.woff2) format('woff2');
  unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD
}

@font-face {
  font-family:Quicksand;
  font-style:normal;
  font-weight:700;
  font-display:swap;
  src:url(../fonts/quicksand/6xKtdSZaM9iE8KbpRA_hJFQNcOM.woff2) format('woff2');
  unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB
}

@font-face {
  font-family:Quicksand;
  font-style:normal;
  font-weight:700;
  font-display:swap;
  src:url(../fonts/quicksand/6xKtdSZaM9iE8KbpRA_hJVQNcOM.woff2) format('woff2');
  unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF
}

@font-face {
  font-family:Quicksand;
  font-style:normal;
  font-weight:700;
  font-display:swap;
  src:url(../fonts/quicksand/6xKtdSZaM9iE8KbpRA_hK1QN.woff2) format('woff2');
  unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD
}


/* Local Be Vietnam Pro Font Face */
/* vietnamese */
@font-face {
  font-family: 'Be Vietnam Pro';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url(../fonts/bevietnampro/QdVMSTAyLFyeg_IDWvOJmVES_HScJ286Rb0bcw.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Be Vietnam Pro';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url(../fonts/bevietnampro/QdVMSTAyLFyeg_IDWvOJmVES_HScJ287Rb0bcw.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Be Vietnam Pro';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url(../fonts/bevietnampro/QdVMSTAyLFyeg_IDWvOJmVES_HScJ281Rb0.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* vietnamese */
@font-face {
  font-family: 'Be Vietnam Pro';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/bevietnampro/QdVPSTAyLFyeg_IDWvOJmVES_Hw4BXoKZA.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Be Vietnam Pro';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/bevietnampro/QdVPSTAyLFyeg_IDWvOJmVES_Hw5BXoKZA.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Be Vietnam Pro';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/bevietnampro/QdVPSTAyLFyeg_IDWvOJmVES_Hw3BXo.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* vietnamese */
@font-face {
  font-family: 'Be Vietnam Pro';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/bevietnampro/QdVMSTAyLFyeg_IDWvOJmVES_HToIW86Rb0bcw.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Be Vietnam Pro';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/bevietnampro/QdVMSTAyLFyeg_IDWvOJmVES_HToIW87Rb0bcw.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Be Vietnam Pro';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/bevietnampro/QdVMSTAyLFyeg_IDWvOJmVES_HToIW81Rb0.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* vietnamese */
@font-face {
  font-family: 'Be Vietnam Pro';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(../fonts/bevietnampro/QdVMSTAyLFyeg_IDWvOJmVES_HSQI286Rb0bcw.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Be Vietnam Pro';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(../fonts/bevietnampro/QdVMSTAyLFyeg_IDWvOJmVES_HSQI287Rb0bcw.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Be Vietnam Pro';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(../fonts/bevietnampro/QdVMSTAyLFyeg_IDWvOJmVES_HSQI281Rb0.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* latin-ext */
@font-face {
  font-family: 'Be Vietnam Pro';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url(../fonts/outfit/QGYvz_MVcBeNP4NJuktqQ4E.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Be Vietnam Pro';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url(../fonts/outfit/QGYvz_MVcBeNP4NJtEtq.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Be Vietnam Pro';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/outfit/QGYvz_MVcBeNP4NJuktqQ4E.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Be Vietnam Pro';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/outfit/QGYvz_MVcBeNP4NJtEtq.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Be Vietnam Pro';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/outfit/QGYvz_MVcBeNP4NJuktqQ4E.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Be Vietnam Pro';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/outfit/QGYvz_MVcBeNP4NJtEtq.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Be Vietnam Pro';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(../fonts/outfit/QGYvz_MVcBeNP4NJuktqQ4E.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Be Vietnam Pro';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(../fonts/outfit/QGYvz_MVcBeNP4NJtEtq.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Local Press Start 2P Font Face */
/* cyrillic-ext */
@font-face {
  font-family: 'Press Start 2P';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/pressstart2p/e3t4euO8T-267oIAQAu6jDQyK3nYivN04w.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Press Start 2P';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/pressstart2p/e3t4euO8T-267oIAQAu6jDQyK3nRivN04w.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* greek */
@font-face {
  font-family: 'Press Start 2P';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/pressstart2p/e3t4euO8T-267oIAQAu6jDQyK3nWivN04w.woff2) format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
/* latin-ext */
@font-face {
  font-family: 'Press Start 2P';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/pressstart2p/e3t4euO8T-267oIAQAu6jDQyK3nbivN04w.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Press Start 2P';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/pressstart2p/e3t4euO8T-267oIAQAu6jDQyK3nVivM.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Quicksand';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/quicksand/6xKtdSZaM9iE8KbpRA_hJFQNcOM.woff2) format('woff2');
}
@font-face {
  font-family: 'Quicksand';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../fonts/quicksand/6xKtdSZaM9iE8KbpRA_hJVQNcOM.woff2) format('woff2');
}

/* Reset & Retro Arcade Style System */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Be Vietnam Pro', sans-serif;
    background-color: #03030d;
    color: #ffffff;
    height: 100vh;
    width: 100vw;
    overflow: hidden;
    position: relative;
    user-select: none;
}

.arcade-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -2;
    background: radial-gradient(circle at center, #0a0b26 0%, #020208 100%);
    overflow: hidden;
}

.grid-lines {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(to right, rgba(0, 242, 254, 0.05) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(0, 242, 254, 0.05) 1px, transparent 1px);
    background-size: 40px 40px;
    transform: perspective(500px) rotateX(60deg);
    transform-origin: top;
    bottom: 0;
    height: 150%;
    opacity: 0.8;
    animation: moveGrid 8s linear infinite;
}

@keyframes moveGrid {
    from { background-position: 0 0; }
    to { background-position: 0 320px; }
}

.stars-8bit {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: 
        radial-gradient(2px 2px at 20px 30px, #00f2fe, rgba(0,0,0,0)),
        radial-gradient(2px 2px at 150px 70px, #ff007f, rgba(0,0,0,0)),
        radial-gradient(3px 3px at 250px 180px, #ffd700, rgba(0,0,0,0));
    background-size: 300px 300px;
    animation: moveStars 40s linear infinite;
}

@keyframes moveStars {
    from { background-position: 0 0; }
    to { background-position: 0 300px; }
}

/* Retro Fonts Utilities */
.retro-text {
    font-family: 'Be Vietnam Pro', sans-serif; font-weight: 800; font-size: 1.3rem;
    color: #ffd700;
    text-shadow: 0 0 10px #ffd700, 0 0 20px rgba(255,215,0,0.5);
    letter-spacing: -2px;
}

/* Screens Layout */
.screen {
    width: 100vw;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    position: absolute;
    top: 0;
    left: 0;
    transition: opacity 0.5s ease;
}

/* Welcome Box & Result Box - Retro Theme */
.welcome-box-retro, .result-box-retro {
    background: #000000;
    border: 4px solid #33ff33;
    box-shadow: 0 0 25px rgba(51, 255, 51, 0.4), inset 0 0 15px rgba(51, 255, 51, 0.2);
    padding: 40px;
    border-radius: 4px;
    text-align: center;
    max-width: 600px;
    width: 100%;
    image-rendering: pixelated;
    animation: retroBoot 0.4s ease forwards;
}

@keyframes retroBoot {
    0% { transform: scaleY(0.01) scaleX(0); opacity: 0; filter: brightness(3); }
    50% { transform: scaleY(0.01) scaleX(1); opacity: 1; }
    100% { transform: scaleY(1) scaleX(1); }
}

.retro-title-wrapper {
    margin-bottom: 20px;
}

.retro-glow-icon {
    font-size: 4rem;
    color: #ff007f;
    filter: drop-shadow(0 0 12px #ff007f);
    animation: iconGlitch 2s infinite steps(2);
}

@keyframes iconGlitch {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(-3px, 2px); }
}

.subtitle-retro {
    font-size: 1rem;
    color: #a0aec0;
    margin: 25px 0;
    line-height: 1.6;
}

.game-rules-retro {
    text-align: left;
    margin-bottom: 30px;
    background: #090909;
    border: 2px dashed #7b61ff;
    padding: 20px;
}

.rule-item-retro {
    display: flex;
    margin-bottom: 12px;
    font-size: 0.9rem;
    line-height: 1.5;
    color: #cbd5e0;
}

.rule-item-retro:last-child {
    margin-bottom: 0;
}

.pixel-bullet {
    color: #ff007f;
    font-family: 'Be Vietnam Pro', sans-serif; font-weight: 800; font-size: 1.3rem;
    margin-right: 12px;
}

/* Config grade dropdown */
.config-selector {
    margin-bottom: 35px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: center;
}

.config-selector label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #ffd700;
}

.config-selector select {
    background: #000;
    color: #33ff33;
    border: 2px solid #33ff33;
    padding: 10px 20px;
    font-size: 0.9rem;
    font-family: 'Be Vietnam Pro', sans-serif;
    border-radius: 4px;
    cursor: pointer;
    outline: none;
    max-width: 100%;
}

/* Retro Buttons */
.btn-retro-primary {
    background: #33ff33;
    border: none;
    color: #000;
    font-family: 'Be Vietnam Pro', sans-serif; font-weight: 800; font-size: 1.3rem;
    font-size: 1.1rem;
    padding: 15px 35px;
    cursor: pointer;
    box-shadow: 0 6px 0 #1b8a1b, 0 0 15px rgba(51, 255, 51, 0.4);
    transition: all 0.1s;
    font-weight: bold;
}

.btn-retro-primary:hover {
    background: #47ff47;
    transform: translateY(2px);
    box-shadow: 0 4px 0 #1b8a1b, 0 0 25px rgba(51, 255, 51, 0.6);
}

.btn-retro-primary:active {
    transform: translateY(6px);
    box-shadow: none;
}

.btn-retro-secondary {
    background: #ff007f;
    border: none;
    color: #fff;
    font-family: 'Be Vietnam Pro', sans-serif; font-weight: 800; font-size: 1.3rem;
    font-size: 1.1rem;
    padding: 15px 35px;
    cursor: pointer;
    box-shadow: 0 6px 0 #b30059, 0 0 15px rgba(255, 0, 127, 0.4);
    transition: all 0.1s;
}

.btn-retro-secondary:hover {
    background: #ff3399;
    transform: translateY(2px);
    box-shadow: 0 4px 0 #b30059, 0 0 25px rgba(255, 0, 127, 0.6);
}

.btn-retro-secondary:active {
    transform: translateY(6px);
    box-shadow: none;
}

/* Play Screen HUD */
.hud-retro {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 30px;
    z-index: 10;
    font-family: 'Be Vietnam Pro', sans-serif;
    font-weight: 800;
    background: transparent;
    border-bottom: none;
    box-shadow: none;
}

/* UFO Fleet Progress Indicators */
.ufo-fleet-indicator-wrapper {
    position: absolute;
    top: 75px; /* placed right under the top transparent HUD */
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    width: auto;
    display: flex;
    justify-content: center;
}

.ufo-fleet-indicator {
    display: flex;
    gap: 8px;
    background: rgba(11, 16, 33, 0.6);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border: 1px solid rgba(0, 242, 254, 0.2);
    border-radius: 20px;
    padding: 6px 16px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.fleet-ufo-dot {
    width: 14px;
    height: 8px;
    border-radius: 50%;
    position: relative;
    background: rgba(0, 242, 254, 0.2);
    border: 1px solid rgba(0, 242, 254, 0.4);
    box-shadow: inset 0 0 3px rgba(0, 242, 254, 0.3);
    transition: all 0.3s ease;
}

/* Statuses */
.fleet-ufo-dot.pending {
    background: #00f2fe;
    border-color: #ffffff;
    box-shadow: 0 0 8px #00f2fe, 0 0 15px rgba(0, 242, 254, 0.6);
}

.fleet-ufo-dot.destroyed {
    background: #39ff14;
    border-color: #ffffff;
    box-shadow: 0 0 10px #39ff14, 0 0 20px rgba(57, 255, 20, 0.6);
}

.fleet-ufo-dot.escaped {
    background: #ff007f;
    border-color: #ff007f;
    box-shadow: 0 0 8px #ff007f;
    opacity: 0.5;
}

/* WAVE CLEAR Banner */
.wave-clear-banner {
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    font-family: 'Be Vietnam Pro', sans-serif;
    font-weight: 900;
    font-size: 3.5rem;
    color: #ffd700;
    text-transform: uppercase;
    text-shadow: 0 0 20px #ffd700, 0 0 40px #ff007f, 0 0 60px #ff007f;
    z-index: 20;
    pointer-events: none;
    animation: waveClearZoom 1s cubic-bezier(0.175, 0.885, 0.32, 1.275) infinite alternate;
}

@keyframes waveClearZoom {
    0% { transform: translate(-50%, -50%) scale(0.95); filter: brightness(1); }
    100% { transform: translate(-50%, -50%) scale(1.05); filter: brightness(1.3); }
}

.hud-retro-item {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.hud-retro-lbl {
    color: #a0aec0;
    font-size: 0.65rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.hud-retro-val {
    color: #ffd700;
    font-size: 1.3rem;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.6), 0 0 20px rgba(255, 215, 0, 0.3);
}

.hud-center-retro {
    flex-grow: 1;
    max-width: 400px;
    margin: 0 20px;
}

.shield-hp-container {
    display: flex;
    flex-direction: column;
    gap: 4px;
    align-items: center;
    width: 100%;
}

.hp-label {
    font-size: 0.75rem;
    letter-spacing: 1px;
    font-weight: 700;
    color: #00f2fe;
    text-shadow: 0 0 8px rgba(0, 242, 254, 0.6);
    text-transform: uppercase;
}

.hp-bar {
    width: 100%;
    height: 14px;
    background: rgba(17, 24, 39, 0.8);
    border: 1.5px solid #00f2fe;
    box-shadow: 0 0 8px rgba(0, 242, 254, 0.3);
    border-radius: 20px;
    padding: 1px;
    overflow: hidden;
}

.hp-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #39ff14 0%, #00f2fe 100%);
    transition: width 0.3s ease;
    box-shadow: 0 0 12px #00f2fe;
    border-radius: 20px;
}

/* Battle Arena Area */
.battle-arena {
    width: 100%;
    max-width: 100%;
    height: calc(100vh - 250px);
    background: radial-gradient(circle at bottom, #090a20 0%, #020205 100%);
    border: none;
    border-radius: 0;
    position: absolute;
    top: 0;
    overflow: hidden;
    z-index: 2;
    box-shadow: none;
    perspective: 350px;
}


/* UFO Invader */
.ufo-invader {
    position: absolute;
    top: 5%;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 5;
    transition: left 0.4s ease, top 0.1s linear;
}

.ufo-bubble {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 2px solid #ff007f;
    box-shadow: 0 0 20px rgba(255, 0, 127, 0.5), inset 0 0 10px rgba(255, 0, 127, 0.2);
    border-radius: 16px;
    padding: 10px 18px;
    transition: all 0.3s ease;
}

.ufo-ship-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    animation: ufoFloat 1.5s ease-in-out infinite alternate;
    filter: drop-shadow(0 0 10px rgba(255, 0, 127, 0.6));
}

@keyframes ufoFloat {
    from { transform: translateY(0) rotate(-1deg); }
    to { transform: translateY(-6px) rotate(1deg); }
}

.ufo-svg .thruster-glow {
    animation: pulseThruster 0.4s ease-in-out infinite alternate;
}

@keyframes pulseThruster {
    from { opacity: 0.6; fill: #ff007f; }
    to { opacity: 1; fill: #ffd700; filter: drop-shadow(0 0 5px #ffd700); }
}

.ufo-svg .ufo-light {
    animation: ufoRimLights 0.8s steps(2) infinite;
}

@keyframes ufoRimLights {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}

.ufo-problem {
    font-size: 1.5rem;
    font-weight: 800;
    color: #ffffff;
    margin-top: 6px;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.6);
}

.ufo-beam {
    position: absolute;
    top: 40px;
    width: 15px;
    height: 0;
    background: linear-gradient(to bottom, rgba(255, 0, 127, 0.8), rgba(255, 0, 127, 0));
    pointer-events: none;
    opacity: 0;
    transition: height 0.2s ease, opacity 0.2s ease;
}

.ufo-beam.firing {
    opacity: 1;
    height: 500px;
}

/* Cannon & Laser */
.laser-base-wrapper {
    position: absolute;
    bottom: 0px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 5;
}

.cannon-turret {
    position: relative;
    width: 60px;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.cannon-svg {
    filter: drop-shadow(0 0 8px rgba(0, 242, 254, 0.6));
    transform-origin: 30px 48px;
    transition: transform 0.15s ease-out;
}

.cannon-svg .muzzle-flash-glow {
    transition: opacity 0.05s ease-out;
}

.cannon-svg.flash-active .muzzle-flash-glow {
    opacity: 1;
    fill: #ffd700;
    r: 10;
}

.laser-bolt {
    position: absolute;
    width: 5px;
    height: 30px;
    background: #33ff33;
    box-shadow: 0 0 15px #33ff33, 0 0 30px rgba(51, 255, 51, 0.5);
    border-radius: 3px;
    display: none;
    z-index: 8;
}

/* Input Deck at Bottom */
.input-deck {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 800px;
    z-index: 10;
}

.question-board-retro {
    background: #060d1a;
    border: 2px solid #00f2fe;
    box-shadow: 0 0 20px rgba(0, 242, 254, 0.5), inset 0 0 10px rgba(0, 242, 254, 0.2);
    border-radius: 12px;
    padding: 12px 20px;
    text-align: center;
    margin-bottom: 12px;
}

.question-title-lbl {
    font-size: 0.65rem;
    color: #00f2fe;
    letter-spacing: 1.5px;
    font-weight: 700;
    margin-bottom: 4px;
    text-transform: uppercase;
}

.question-board-retro .ufo-problem {
    font-size: 1.8rem;
    font-weight: 800;
    color: #ffffff;
    text-shadow: 0 0 12px rgba(0, 242, 254, 0.6);
    margin: 0;
}


.timer-deck-container {
    height: 6px;
    background: rgba(17, 24, 39, 0.8);
    border: 1px solid rgba(0, 242, 254, 0.3);
    border-radius: 10px;
    margin-bottom: 12px;
    overflow: hidden;
}

.timer-deck-bar {
    height: 100%;
    background: linear-gradient(90deg, #ff007f 0%, #ffd700 100%);
    box-shadow: 0 0 10px #ffd700;
    transition: width 1s linear;
}

.answer-options-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

/* Arcade Option Button */
.btn-choice-retro {
    background: #080b18;
    border: 2.5px solid #5a3df3;
    color: #fff;
    padding: 15px;
    font-size: 1.3rem;
    font-weight: 700;
    font-family: 'Be Vietnam Pro', sans-serif;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    box-shadow: 0 0 10px rgba(90, 61, 243, 0.4), inset 0 0 5px rgba(90, 61, 243, 0.1);
    position: relative;
    border-radius: 10px;
}
.btn-choice-retro:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: block;
    z-index: 1;
}

.btn-choice-retro:hover {
    border-color: #00f2fe;
    color: #00f2fe;
    transform: translateY(-2px);
    box-shadow: 0 0 15px rgba(0, 242, 254, 0.6), inset 0 0 8px rgba(0, 242, 254, 0.2);
}

.btn-choice-retro:active {
    transform: translateY(1px);
    box-shadow: none;
}


/* Answer responses */
.btn-choice-retro.correct {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%) !important;
    border-color: #33ff33 !important;
    color: #fff !important;
    box-shadow: 0 4px 0 #047857, 0 0 20px rgba(51, 255, 51, 0.5) !important;
    text-shadow: 0 1px 2px rgba(0,0,0,0.5);
}

.btn-choice-retro.wrong {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%) !important;
    border-color: #ff007f !important;
    color: #fff !important;
    box-shadow: 0 4px 0 #b91c1c, 0 0 20px rgba(255, 0, 127, 0.5) !important;
}

.btn-choice-retro.disabled {
    pointer-events: none;
    opacity: 0.4;
}

/* Gameover Screen stats */
.gameover-title {
    font-family: 'Be Vietnam Pro', sans-serif; font-weight: 800; font-size: 1.3rem;
    font-size: 2.8rem;
    color: #ff007f;
    text-shadow: 0 0 15px #ff007f;
    margin-bottom: 20px;
}

.congrats-text-retro {
    color: #cbd5e0;
    font-size: 1rem;
    margin-bottom: 30px;
}

.result-stats-retro {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 35px;
}

.stat-retro-card {
    background: #090909;
    border: 2px solid #7b61ff;
    padding: 15px;
}

.stat-retro-lbl {
    font-size: 0.75rem;
    color: #a0aec0;
    font-family: 'Be Vietnam Pro', sans-serif; font-weight: 800; font-size: 1.3rem;
    margin-bottom: 8px;
}

.stat-retro-val {
    font-size: 1.45rem;
    font-weight: 800;
    color: #ffd700;
}

/* Screen shaking */
.shake-screen {
    animation: shakeArcade 0.4s ease;
}

@keyframes shakeArcade {
    0%, 100% { transform: translate(0, 0); }
    20%, 60% { transform: translate(-5px, 2px); }
    40%, 80% { transform: translate(5px, -2px); }
}

/* Particle explosion pixel style */
.pixel-particle {
    position: absolute;
    width: 8px;
    height: 8px;
    pointer-events: none;
    animation: pixelFade 0.6s steps(6) forwards;
    z-index: 10;
}

@keyframes pixelFade {
    0% { transform: scale(1) translate(0, 0); opacity: 1; }
    100% { transform: scale(0) translate(var(--x), var(--y)); opacity: 0; }
}

/* Responsive grid & Portrait optimizations */
@media (max-width: 768px) {
    .hud-retro {
        padding: 10px 15px;
    }
    .hud-retro-val {
        font-size: 1.1rem;
    }
    .hp-bar {
        height: 10px;
    }
    .battle-arena {
        margin-top: 0 !important;
        border-radius: 0 !important;
    }
    .laser-base-wrapper {
        bottom: 0px !important;
    }
    .input-deck {
        position: absolute !important;
        bottom: 20px !important;
        width: 92% !important;
    }
    .ufo-bubble {
        padding: 6px 12px;
        border-radius: 12px;
    }
    .ufo-svg {
        width: 60px;
        height: 30px;
    }
    .ufo-fleet-indicator-wrapper {
        top: 60px;
    }
    .ufo-fleet-indicator {
        padding: 4px 10px;
        gap: 5px;
    }
    .fleet-ufo-dot {
        width: 10px;
        height: 6px;
    }
    .wave-clear-banner {
        font-size: 2.2rem;
    }
    .question-board-retro {
        padding: 8px 12px;
        margin-bottom: 8px;
    }
    .question-board-retro .ufo-problem {
        font-size: 1.4rem;
    }
    .ufo-problem {
        font-size: 1.2rem;
    }
    .answer-options-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    .btn-choice-retro {
        padding: 12px;
        font-size: 1.15rem;
        border-radius: 8px;
    }
}

@media (max-width: 480px) {
    .hud-center-retro {
        margin: 0 8px;
    }
    .hp-label {
        font-size: 0.65rem;
    }
    .battle-arena {
    }
    .laser-base-wrapper {
        bottom: 0px !important;
    }
    .input-deck {
        bottom: 10px !important;
        width: 94% !important;
    }
    .ufo-fleet-indicator-wrapper {
        top: 55px;
    }
    .ufo-fleet-indicator {
        padding: 3px 8px;
        gap: 4px;
    }
    .fleet-ufo-dot {
        width: 8px;
        height: 5px;
    }
    .wave-clear-banner {
        font-size: 1.8rem;
    }
    .question-board-retro {
        padding: 6px 10px;
        margin-bottom: 6px;
    }
    .question-board-retro .ufo-problem {
        font-size: 1.25rem;
    }
    .ufo-problem {
        font-size: 1rem;
    }
}




/* ==========================================
   UNIFIED WELCOME & HELP SCREEN STYLES (LDTT)
   ========================================== */
#welcomeScreen, #helpScreen {
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    background: #090a0f;
    z-index: 1040;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    font-family: 'Quicksand', sans-serif;
    color: #fff;
    background-color: #090a0f;
}
#welcomeScreen.d-none, #helpScreen.d-none {
    display: none !important;
}
#welcomeScreen .ws-header, #helpScreen .ws-header {
    position: absolute;
    top: 0; left: 0; width: 100%;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 10;
}
#welcomeScreen .ws-logo-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 15px;
    margin-left: 15px;
}
#welcomeScreen .ws-logo-container::before {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 150px; height: 150px;
    background: radial-gradient(circle, rgba(66, 153, 225, .4) 0, rgba(159, 122, 234, .2) 40%, rgba(0, 0, 0, 0) 70%);
    border-radius: 50%;
    z-index: -1;
    filter: blur(15px);
    animation: pulseNebula 4s ease-in-out infinite alternate;
}
#welcomeScreen .ws-logo {
    max-width: 120px;
    height: auto;
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, .5));
    animation: floatLogo 6s ease-in-out infinite;
}
#welcomeScreen .ws-language-switcher {
    display: flex;
    align-items: center;
    background: rgba(15, 23, 42, .6);
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 20px;
    padding: .25rem .5rem;
    backdrop-filter: blur(5px);
    margin-right: 15px;
}
#welcomeScreen .ws-lang-btn {
    background: 0 0;
    border: none;
    color: #a0aec0;
    font-family: 'Quicksand', sans-serif;
    font-weight: 700;
    font-size: .9rem;
    padding: .25rem .5rem;
    cursor: pointer;
    transition: color .3s, text-shadow .3s;
}
#welcomeScreen .ws-lang-btn:hover { color: #e2e8f0; }
#welcomeScreen .ws-lang-btn.active {
    color: #4299e1;
    text-shadow: 0 0 8px rgba(66, 153, 225, .6);
}
#welcomeScreen .ws-lang-separator {
    color: rgba(255, 255, 255, .2);
    font-size: .8rem;
    user-select: none;
}
#welcomeScreen .ws-main, #helpScreen .ws-main {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 1rem;
    position: relative;
    z-index: 1;
}
#welcomeScreen .ws-content-wrapper, #helpScreen .ws-content-wrapper {
    text-align: center;
    padding: 2rem;
    width: 100%;
    max-width: 650px;
    animation: fadeInScale 1s ease-out forwards;
}
#welcomeScreen .ws-game-title, #helpScreen .ws-game-title {
    font-family: 'Baloo 2', cursive, sans-serif;
    font-size: clamp(2.2rem, 6vw, 3.5rem);
    line-height: 1.2;
    color: #fff;
    margin: 0;
    background: linear-gradient(to right, #4fd1c5, #f687b3, #4fd1c5);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientText 5s linear infinite;
    filter: drop-shadow(0 0 10px rgba(246, 135, 179, .5));
}
#welcomeScreen .ws-game-subtitle {
    font-size: clamp(1rem, 3vw, 1.2rem);
    color: #e2e8f0;
    font-weight: 600;
    margin-top: 1rem;
    margin-bottom: 0;
    opacity: 0;
    letter-spacing: .5px;
    animation: fadeIn 2s ease-out .5s forwards;
}
#welcomeScreen .ws-button-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    margin-top: 2.5rem;
}
#welcomeScreen .ws-btn-primary-cosmic {
    position: relative;
    padding: 1rem 3.5rem;
    font-size: 1.4rem;
    font-family: 'Quicksand', sans-serif;
    font-weight: 700;
    color: #fff;
    background: #0f172a;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    overflow: hidden;
    z-index: 1;
    transition: transform .2s, box-shadow .2s;
    margin-bottom: .5rem;
    text-decoration: none;
}
#welcomeScreen .ws-btn-primary-cosmic::before {
    content: '';
    position: absolute;
    top: -3px; left: -3px; right: -3px; bottom: -3px;
    z-index: -1;
    background: linear-gradient(45deg, #4299e1, #9f7aea, #ed64a6, #4299e1);
    background-size: 400%;
    border-radius: 52px;
    animation: animateBorder 4s linear infinite;
    opacity: .8;
    transition: opacity .3s;
}
#welcomeScreen .ws-btn-primary-cosmic::after {
    content: '';
    position: absolute;
    top: 3px; left: 3px; right: 3px; bottom: 3px;
    background: #0f172a;
    border-radius: 48px;
    z-index: -1;
    transition: background .3s;
}
#welcomeScreen .ws-btn-primary-cosmic:hover::after { background: #1e3a8a; }
#welcomeScreen .ws-btn-primary-cosmic span {
    position: relative;
    z-index: 2;
    text-shadow: 0 2px 4px rgba(0,0,0,.5);
    display: inline-block;
    transition: transform .2s;
}
#welcomeScreen .ws-btn-primary-cosmic:hover span { transform: scale(1.05); }
#welcomeScreen .ws-btn-primary-cosmic:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,.5);
}
#welcomeScreen .ws-btn-primary-cosmic:hover::before { opacity: 1; }
#welcomeScreen .ws-btn-primary-cosmic:active { transform: translateY(1px); }
#welcomeScreen .ws-more-games-link {
    color: #a0aec0;
    font-size: 1rem;
    text-decoration: none;
    font-weight: 600;
    transition: all .3s ease;
    padding: .5rem 1rem;
    border-radius: 20px;
    display: inline-block;
}
#welcomeScreen .ws-more-games-link:hover {
    color: #fff;
    background-color: rgba(255,255,255,.1);
    text-shadow: 0 0 8px rgba(255,255,255,.5);
    transform: translateY(-1px);
}
#welcomeScreen .ws-credit {
    position: absolute;
    bottom: 1rem; left: 0; width: 100%;
    text-align: center;
    font-size: .85rem;
    color: rgba(255, 255, 255, .4);
    letter-spacing: 1px;
    z-index: 10;
}
#welcomeScreen .ws-credit a {
    color: #9f7aea;
    font-weight: 700;
    text-decoration: none;
    transition: color .3s, text-shadow .3s;
}
#welcomeScreen .ws-credit a:hover {
    color: #fff;
    text-shadow: 0 0 8px rgba(159,122,234,.8);
}
#helpScreen .stars, #welcomeScreen .stars {
    position: absolute;
    top: 0; left: 0; z-index: 0;
    width: 200%; height: 200%;
    background-image: radial-gradient(2px 2px at 20px 30px,#fff,rgba(0,0,0,0)),radial-gradient(2px 2px at 40px 70px,#fff,rgba(0,0,0,0)),radial-gradient(2px 2px at 50px 160px,#fff,rgba(0,0,0,0)),radial-gradient(2px 2px at 90px 40px,#fff,rgba(0,0,0,0)),radial-gradient(2px 2px at 130px 80px,#fff,rgba(0,0,0,0)),radial-gradient(2px 2px at 160px 120px,#fff,rgba(0,0,0,0));
    background-repeat: repeat;
    background-size: 200px 200px;
    animation: moveStars 150s linear infinite;
}
#helpScreen .stars1, #welcomeScreen .stars1 { animation-duration: 50s; opacity: .3; }
#helpScreen .stars2, #welcomeScreen .stars2 { animation-duration: 100s; opacity: .2; transform: scale(1.5); }
#helpScreen .stars3, #welcomeScreen .stars3 { animation-duration: 150s; opacity: .1; transform: scale(2); }
#helpScreen::after, #welcomeScreen::after {
    content: '';
    position: absolute;
    top: 0; right: 0; bottom: 0; left: 0;
    z-index: 0;
    pointer-events: none;
    background: radial-gradient(circle at center,rgba(66,153,225,.15) 0,rgba(0,0,0,0) 60%);
}
#helpScreen .instruction-box, #helpScreen .question-count {
    border: 1px solid rgba(255,255,255,.2);
    border-radius: 12px;
    background: linear-gradient(135deg,rgba(255,255,255,.12),rgba(255,255,255,.08));
    transition: .3s;
}
#helpScreen .check-icon {
    margin-top: 2px;
    font-size: 1.4rem;
    color: #a7f3d0;
}
#helpScreen .btn-fullscreen, #helpScreen .btn-play {
    position: relative;
    z-index: 1;
    margin-bottom: .5rem;
    padding: 1rem 1.5rem;
    overflow: hidden;
    font-family: 'Quicksand', sans-serif;
    font-weight: 700;
    color: #fff;
    cursor: pointer;
    background: #0f172a;
    border: none;
    border-radius: 8px;
    transition: transform .2s, box-shadow .2s;
}
#helpScreen .btn-fullscreen span, #helpScreen .btn-play span {
    position: relative;
    z-index: 2;
    display: inline-block;
    text-shadow: 0 2px 4px rgba(0,0,0,.5);
    transition: transform .2s;
}
#helpScreen .btn-fullscreen::before, #helpScreen .btn-play::before {
    content: '';
    position: absolute;
    top: -3px; right: -3px; bottom: -3px; left: -3px;
    z-index: -1;
    background: linear-gradient(45deg,#4299e1,#9f7aea,#ed64a6,#4299e1);
    background-size: 400%;
    border-radius: 8px;
    opacity: .8;
    animation: animateBorder 4s linear infinite;
    transition: opacity .3s;
}
#helpScreen .btn-fullscreen::after, #helpScreen .btn-play::after {
    content: '';
    position: absolute;
    top: 2px; right: 2px; bottom: 2px; left: 2px;
    z-index: -1;
    background: #0f172a;
    border-radius: 8px;
    transition: background .3s;
}
#helpScreen .btn-fullscreen:hover, #helpScreen .btn-play:hover {
    box-shadow: 0 10px 20px rgba(0,0,0,.5);
}
#helpScreen .btn-fullscreen:hover::after, #helpScreen .btn-play:hover::after {
    background: #1e3a8a;
}
#helpScreen .btn-fullscreen:hover::before, #helpScreen .btn-play:hover::before {
    opacity: 1;
}
#helpScreen .btn-fullscreen:hover span, #helpScreen .btn-play:hover span {
    transform: scale(1.05);
}
#helpScreen .btn-fullscreen::before { animation: none; }

@keyframes gradientText {
    0% { background-position: 0 center }
    100% { background-position: 200% center }
}
@keyframes pulseNebula {
    0% { transform: translate(-50%,-50%) scale(.8); opacity: .5 }
    100% { transform: translate(-50%,-50%) scale(1.1); opacity: 1 }
}
@keyframes floatLogo {
    0%,100% { transform: translateY(0) }
    50% { transform: translateY(-5px) }
}
@keyframes animateBorder {
    0% { background-position: 0 0 }
    50% { background-position: 300% 0 }
    100% { background-position: 0 0 }
}
@keyframes fadeInScale {
    from { opacity: 0; transform: scale(.9) }
    to { opacity: 1; transform: scale(1) }
}
@keyframes moveStars {
    0% { transform: translateY(0) }
    100% { transform: translateY(-200px) }
}
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}