* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: #ffffff; font-family: Arial, sans-serif; background-color: #ffffff; background-position: top left; background-size: auto; background-attachment: fixed; background-repeat: repeat; }
a { color: inherit; text-decoration: none; }
.site-header { height: 40px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 0 10px; background: #050505; font-size: 13px; }
.site-logo { justify-self: start; font-size: 21px; }
.site-header nav { display: flex; align-items: center; justify-content: center; gap: 10px; }
.site-header nav a { display: inline-flex; align-items: center; justify-content: center; min-height: 28px; padding: 6px 12px; border: 1px solid rgba(255, 255, 255, .2); border-radius: 999px; background: rgba(255, 255, 255, .04); color: #ffffff; font-size: 12px; font-weight: 600; letter-spacing: .02em; transition: background-color .15s ease, border-color .15s ease, transform .15s ease, box-shadow .15s ease; }
body[data-time-period="dawn"] .site-header nav a { background-color: #3f183f; border-color: #f5b3c4; color: #f5b3c4; }
body[data-time-period="noon"] .site-header nav a { background-color: #173d24; border-color: #b7dfb2; color: #b7dfb2; }
body[data-time-period="afternoon"] .site-header nav a { background-color: #4d3f1b; border-color: #d5d994; color: #d5d994; }
body[data-time-period="evening"] .site-header nav a { background-color: #5c2410; border-color: #f4b07a; color: #f4b07a; }
body[data-time-period="night"] .site-header nav a { background-color: #b8e7ff; border-color: #102d63; color: #102d63; }
body[data-time-period="midnight"] .site-header nav a { background-color: #9bc9ff; border-color: #102d63; color: #102d63; }
.site-header nav a:hover, .site-footer a:hover { text-decoration: none; }
.site-header nav a:hover { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .35); transform: translateY(-1px); box-shadow: 0 4px 12px rgba(0, 0, 0, .2); }
.site-header nav a[aria-current="page"] { font-weight: 800; border-color: currentColor; background: rgba(255, 255, 255, .14); box-shadow: 0 0 0 2px currentColor, inset 0 0 10px rgba(255, 255, 255, .12); }
.games-nav-item { position: relative; display: inline-flex; }
.games-menu { position: absolute; top: calc(100% + 6px); left: 50%; z-index: 10; display: flex; min-width: 220px; flex-direction: column; gap: 5px; padding: 8px; visibility: hidden; opacity: 0; transform: translate(-50%, -4px); border: 1px solid rgba(255, 255, 255, .24); background: rgba(5, 5, 5, .96); box-shadow: 0 8px 18px rgba(0, 0, 0, .3); transition: opacity .15s ease, transform .15s ease, visibility .15s ease; }
.games-nav-item:hover .games-menu, .games-nav-item:focus-within .games-menu { visibility: visible; opacity: 1; transform: translate(-50%, 0); }
.site-header nav .games-menu a { justify-content: flex-start; min-height: 30px; padding: 7px 9px; border: 1px solid rgba(255, 255, 255, .16); border-radius: 4px; background: rgba(255, 255, 255, .06); font-size: 11px; white-space: nowrap; }
.site-header nav .games-menu a:hover { transform: translateX(2px); }
body[data-time-period="dawn"] .site-header nav a:hover { background-color: #4e214f; border-color: #f7b8c9; }
body[data-time-period="noon"] .site-header nav a:hover { background-color: #214d2c; border-color: #d8f5d6; }
body[data-time-period="afternoon"] .site-header nav a:hover { background-color: #5f4422; border-color: #ece8a0; }
body[data-time-period="evening"] .site-header nav a:hover { background-color: #6a2b12; border-color: #ffc98b; }
body[data-time-period="night"] .site-header nav a:hover { background-color: #d9f2ff; border-color: #102d63; }
body[data-time-period="midnight"] .site-header nav a:hover { background-color: #b5d9ff; border-color: #102d63; }
.time-toggle { justify-self: end; padding: 3px 0; border: 0; color: #ffffff; background: transparent; cursor: pointer; font-size: 13px; line-height: 1; }.time-toggle:hover { background: transparent; text-decoration: underline; }
.time-toggle[data-time-period="dawn"] { color: #f5b3c4; }.time-toggle[data-time-period="noon"] { color: #b7dfb2; }.time-toggle[data-time-period="afternoon"] { color: #d5d994; }.time-toggle[data-time-period="evening"] { color: #f4b07a; }.time-toggle[data-time-period="night"] { color: #b6ddf5; }.time-toggle[data-time-period="midnight"] { color: #ffe56b; }
.hero { min-height: 480px; display: grid; grid-template-columns: 50% 50%; gap: 0; margin: 16px; padding: 0; border: 6px solid #050505; background: transparent; }
.hero-copy { position: relative; display: flex; flex-direction: column; justify-content: center; color: #ffffff; padding: 48px clamp(28px, 5vw, 64px); overflow: hidden; box-shadow: inset 0 0 24px rgba(154, 214, 255, .18), inset 0 0 48px rgba(0, 0, 0, .4); }
.hero-copy::before { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(0, 0, 0, .78), rgba(0, 0, 0, .78)); z-index: 1; }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: saturate(1.1) contrast(1.12); z-index: 0; }
.hero-logo, .hero-copy p, .hero-learn { position: relative; z-index: 2; }
.hero-logo { display: block; width: min(100%, 360px); height: auto; margin: 0 0 30px; filter: drop-shadow(0 0 20px rgba(144, 214, 255, .7)) drop-shadow(0 3px 5px rgba(0, 0, 0, .55)); }
.hero-copy p { max-width: 560px; margin: 0; color: #ffffff; font-size: clamp(19px, 2vw, 23px); line-height: 1.4; text-shadow: 0 0 18px rgba(255, 255, 255, .18), 0 0 32px rgba(99, 176, 255, .22); }
.learn-button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 38px; width: fit-content; padding: 9px 12px; border: 3px solid #050505; color: #ffffff; background-color: rgba(255, 255, 255, .12); box-shadow: inset 0 0 12px rgba(0, 0, 0, .25), 0 0 18px rgba(125, 185, 255, .25), 0 4px 8px rgba(0, 0, 0, .2); font-size: 13px; line-height: 1.2; transition: background-color .2s ease, transform .2s ease, box-shadow .2s ease; }.learn-button:hover { color: #ffffff; background-color: rgba(0, 0, 0, .28); transform: translateY(-2px); box-shadow: inset 0 0 16px rgba(0, 0, 0, .32), 0 0 24px rgba(125, 185, 255, .35), 0 6px 10px rgba(0, 0, 0, .24); }.hero-learn { margin-top: 28px; color: #ffffff; }
.trailer-panel { position: relative; min-height: 430px; display: block; background: #8bcddd; overflow: hidden; }
.trailer-panel iframe { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; border: 0; }
.trailer-fallback { position: absolute; inset: 0; display: grid; place-content: center; color: #ffffff; font-size: clamp(42px, 6vw, 62px); line-height: 1.15; }
.games-wrap {
  margin: 0 50px;
  padding: 18px 0 25px;
  border: 5px solid rgba(0, 0, 0, .85);
  outline: 2px solid rgba(0, 0, 0, .28);
  outline-offset: -8px;
  background: rgba(0, 0, 0, .82);
  box-shadow: inset 0 0 16px rgba(0, 0, 0, .14), 0 0 0 1px rgba(0, 0, 0, .7);
}
.games-heading { margin: 0 0 18px; padding: 0 18px; font-size: clamp(22px, 2vw, 34px); font-weight: 700; line-height: 1.2; color: #ffffff; text-align: center; }
.games { display: grid; grid-template-columns: repeat(3, 1fr); gap: 31px; padding: 8px 18px 0; }
.game-card { position: relative; min-height: 202px; display: flex; align-items: flex-start; gap: 18px; padding: 20px; border: 1px solid rgba(0, 0, 0, .78); outline: 1px solid rgba(0, 0, 0, .28); outline-offset: -6px; box-shadow: 0 6px 16px rgba(0, 0, 0, .18), 0 0 20px rgba(145, 196, 255, .12), inset 0 0 22px rgba(0, 0, 0, .18); background-color: rgba(23, 42, 114, .92); transition: transform .12s ease, filter .12s ease, box-shadow .12s ease; }
.game-details { display: flex; min-width: 0; flex: 1; flex-direction: column; padding-top: 4px; }
.game-details strong { display: block; font-size: clamp(22px, 2.5vw, 30px); line-height: 1; font-weight: 700; }
.game-details small { display: block; margin-top: 18px; font-size: 15px; line-height: 1.35; }
.release-date { position: absolute; left: 20px; bottom: 20px; display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .02em; opacity: .9; }
body[data-time-period="dawn"] .game-card { background-color: rgba(233, 143, 174, .92); }
body[data-time-period="noon"] .game-card { background-color: rgba(88, 169, 94, .92); }
body[data-time-period="afternoon"] .game-card { background-color: rgba(229, 138, 70, .92); }
body[data-time-period="evening"] .game-card { background-color: rgba(237, 107, 47, .92); }
body[data-time-period="night"] .game-card { background-color: rgba(23, 42, 114, .92); }
body[data-time-period="midnight"] .game-card { background-color: rgba(8, 22, 55, .92); }
body[data-time-period="dawn"] .game-card .learn-button { background-color: #3f183f; }
body[data-time-period="noon"] .game-card .learn-button { background-color: #173d24; }
body[data-time-period="afternoon"] .game-card .learn-button { background-color: #4d3f1b; }
body[data-time-period="evening"] .game-card .learn-button { background-color: #5c2410; }
body[data-time-period="night"] .game-card .learn-button { background-color: #b8e7ff; }
body[data-time-period="midnight"] .game-card .learn-button { background-color: #9bc9ff; }
body[data-time-period="night"] .game-card .learn-button,
body[data-time-period="midnight"] .game-card .learn-button { color: #102d63; }
body[data-time-period="dawn"] .game-card .game-details { color: #3f183f; }
body[data-time-period="noon"] .game-card .game-details { color: #173d24; }
body[data-time-period="afternoon"] .game-card .game-details { color: #4d3f1b; }
body[data-time-period="evening"] .game-card .game-details { color: #5c2410; }
body[data-time-period="night"] .game-card .game-details { color: #b8e7ff; }
body[data-time-period="midnight"] .game-card .game-details { color: #9bc9ff; }
.game-card:hover { transform: translateY(-4px); filter: brightness(1.04); box-shadow: 0 10px 22px rgba(0, 0, 0, .24), 0 0 26px rgba(141, 214, 255, .2); }
.game-card .logo-slot { flex: 0 0 112px; width: 112px; height: 112px; display: flex; align-items: flex-start; justify-content: flex-start; font-size: 16px; line-height: 1.18; text-align: left; }.game-card .logo-slot img { display: block; width: 100%; height: 100%; object-fit: contain; object-position: top left; }
.game-actions { position: static; }
.game-card .learn-button { position: absolute; right: 20px; bottom: 20px; background-color: #9bc9ff; }
.game-card .game-details { padding-bottom: 30px; }
.about { min-height: 204px; margin: 24px 50px 13px; padding: 33px 25px; border: 3px solid #050505; outline: 1px solid rgba(0, 0, 0, .28); outline-offset: -6px; box-shadow: 0 6px 16px rgba(0, 0, 0, .18), inset 0 0 22px rgba(0, 0, 0, .18); background: #333333; }
.about-inner { display: flex; align-items: center; gap: 30px; }
.about-logo-wrap { display: flex; align-items: center; justify-content: center; width: 180px; min-width: 180px; align-self: center; }
.about-logo { display: block; width: 100%; max-width: 140px; height: auto; filter: drop-shadow(0 0 18px rgba(255, 255, 255, .15)); }
.about-copy { flex: 1; }
.about h2 { margin: 0 0 22px; font-size: 57px; font-weight: 400; }
.about p { max-width: 620px; margin: 7px 0; font-size: 16px; line-height: 1.4; }
.about-copy strong { font-weight: 700; }
.site-footer { min-height: 49px; display: flex; justify-content: center; align-items: center; gap: 8px; padding: 10px; background: #050505; font-size: 22px; }
.bonfire-main { width: min(1360px, calc(100% - 40px)); margin: 0 auto; padding: 48px 44px 64px; border: 5px solid rgba(0, 0, 0, .85); outline: 2px solid rgba(0, 0, 0, .28); outline-offset: -8px; background: rgba(0, 0, 0, .82); box-shadow: inset 0 0 16px rgba(0, 0, 0, .14), 0 0 0 1px rgba(0, 0, 0, .7); }
.bonfire-hero { display: grid; gap: 28px; justify-items: center; text-align: center; }
.bonfire-hero-copy { width: 100%; display: flex; flex-direction: column; align-items: center; }
.bonfire-tag { background: rgba(0, 0, 0, .28); }
.bonfire-logo { display: block; width: min(100%, 560px); height: auto; margin: 30px auto 0; filter: drop-shadow(0 4px 16px rgba(0, 0, 0, .42)); }
.bonfire-hero p { max-width: 700px; margin: 28px auto 0; color: #ffffff; font-size: clamp(30px, 4vw, 46px); line-height: 1.2; text-shadow: 0 2px 12px rgba(0, 0, 0, .42); }
.bonfire-tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; width: 100%; margin-bottom: 18px; }
.bonfire-tags a, .bonfire-tags span { padding: 7px 15px; border: 1px solid rgba(255, 255, 255, .28); border-radius: 999px; background: rgba(0, 0, 0, .24); color: #ffffff; font-size: 11px; letter-spacing: .05em; text-transform: uppercase; transition: background-color .15s ease, border-color .15s ease, transform .15s ease; }
.bonfire-tags a:hover { border-color: rgba(255, 255, 255, .7); background: rgba(0, 0, 0, .48); transform: translateY(-1px); }
.bonfire-hero-copy p { margin-top: 0; }
.bonfire-main-shot, .bonfire-video-hero, .bonfire-feature img { display: block; width: 100%; height: auto; object-fit: cover; border: 5px solid #050505; box-shadow: 0 12px 28px rgba(0, 0, 0, .3), 0 0 26px rgba(255, 224, 137, .16); }
.bonfire-main-shot { max-height: 780px; }
.bonfire-video-hero { width: 100%; min-height: 420px; height: clamp(280px, 52vw, 680px); background: #000000; border: 5px solid #050505; }
.bonfire-feature { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(260px, .92fr); align-items: center; gap: clamp(28px, 6vw, 86px); margin-top: 26px; padding: 26px 0; }
.bonfire-feature-right { grid-template-columns: minmax(260px, .92fr) minmax(0, 1.08fr); }
.bonfire-feature div { padding: 12px clamp(0px, 2vw, 24px); }
.bonfire-feature h2 { margin: 0 0 18px; color: #ffffff; font-size: clamp(30px, 4vw, 54px); line-height: 1.05; text-shadow: 0 3px 16px rgba(0, 0, 0, .35); }
.bonfire-feature p { margin: 0; color: #ffffff; font-size: clamp(16px, 1.7vw, 21px); line-height: 1.55; text-shadow: 0 2px 10px rgba(0, 0, 0, .32); }
.bonfire-feature img { max-height: 560px; }
.bonfire-embed-wrap { margin-top: 34px; }
.bonfire-embed-wrap iframe { display: block; width: 100%; height: 167px; border: 0; }
.news-page { padding: 24px 50px 30px; }
.news-hero { margin-bottom: 24px; }
.news-hero-inner { display: inline-block; padding: 18px 28px 16px; border: 1px solid rgba(5, 5, 5, .18); border-radius: 18px; background: rgba(255, 255, 255, .18); backdrop-filter: blur(4px); box-shadow: 0 10px 24px rgba(0, 0, 0, .08), inset 0 0 14px rgba(255, 255, 255, .08); }
.news-hero h1 { display: flex; align-items: center; gap: 12px; margin: 0; font-size: clamp(38px, 5vw, 64px); font-weight: 400; color: #050505; letter-spacing: -.04em; text-shadow: 0 2px 10px rgba(255, 255, 255, .25); }
.news-icon { display: inline-flex; align-items: center; justify-content: center; font-size: .8em; filter: drop-shadow(0 2px 6px rgba(0, 0, 0, .18)); }
body[data-time-period="dawn"] .news-hero h1 { color: #3f183f; }
body[data-time-period="noon"] .news-hero h1 { color: #173d24; }
body[data-time-period="afternoon"] .news-hero h1 { color: #4d3f1b; }
body[data-time-period="evening"] .news-hero h1 { color: #5c2410; }
body[data-time-period="night"] .news-hero h1 { color: #b8e7ff; }
body[data-time-period="midnight"] .news-hero h1 { color: #9bc9ff; }
.news-grid { display: grid; grid-template-columns: repeat(2, minmax(260px, 1fr)); gap: 31px; }
.news-card { position: relative; min-height: 220px; display: flex; flex-direction: column; gap: 14px; padding: 22px 20px 20px; border: 1px solid rgba(0, 0, 0, .78); outline: 1px solid rgba(0, 0, 0, .28); outline-offset: -6px; box-shadow: 0 6px 16px rgba(0, 0, 0, .18), 0 0 20px rgba(145, 196, 255, .12), inset 0 0 22px rgba(0, 0, 0, .18); background-color: rgba(23, 42, 114, .92); color: #ffffff; transition: transform .12s ease, filter .12s ease, box-shadow .12s ease; }
body[data-time-period="dawn"] .news-card { background-color: rgba(233, 143, 174, .92); color: #3f183f; }
body[data-time-period="noon"] .news-card { background-color: rgba(88, 169, 94, .92); color: #173d24; }
body[data-time-period="afternoon"] .news-card { background-color: rgba(229, 138, 70, .92); color: #4d3f1b; }
body[data-time-period="evening"] .news-card { background-color: rgba(237, 107, 47, .92); color: #5c2410; }
body[data-time-period="night"] .news-card { background-color: rgba(23, 42, 114, .92); color: #b8e7ff; }
body[data-time-period="midnight"] .news-card { background-color: rgba(8, 22, 55, .92); color: #9bc9ff; }
.news-card:hover { transform: translateY(-4px); filter: brightness(1.04); box-shadow: 0 10px 22px rgba(0, 0, 0, .24), 0 0 26px rgba(141, 214, 255, .2); }
.news-tag { display: inline-block; width: fit-content; padding: 6px 10px; border-radius: 999px; background: rgba(0, 0, 0, .18); border: 1px solid rgba(255, 255, 255, .22); font-size: 11px; letter-spacing: .07em; text-transform: uppercase; }
.news-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.latest-news-tag { background: #ffe56b; border-color: #050505; color: #050505; opacity: 1; }
.game-tag { position: absolute; left: 76px; bottom: 48px; transform: translateX(-50%); text-align: center; white-space: nowrap; }
.news-card h2 { margin: 0; font-size: clamp(22px, 2vw, 30px); line-height: 1.1; font-weight: 700; }
.news-card p { margin: 0; font-size: 15px; line-height: 1.5; }
.news-card .learn-button { margin-top: auto; }
.news-date { position: absolute; left: 20px; bottom: 20px; display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: .02em; opacity: .9; }
.one-goodness-card { display: flex; flex-direction: column; }
.one-goodness-card .play-status { margin-top: auto; font-weight: 600; opacity: .95; }
.one-goodness-card .itch-button { margin-top: 8px; }
.itch-button { display: inline-flex; align-items: center; justify-content: center; align-self: flex-end; min-height: 36px; padding: 9px 14px; border: 1px solid rgba(0, 0, 0, .3); border-radius: 999px; background: rgba(255, 255, 255, .12); color: inherit; font-size: 13px; font-weight: 700; box-shadow: inset 0 0 12px rgba(0, 0, 0, .12), 0 4px 10px rgba(0, 0, 0, .12); transition: transform .12s ease, filter .12s ease, background-color .12s ease; }
.itch-button:hover { transform: translateY(-1px); filter: brightness(1.04); background: rgba(255, 255, 255, .2); }
@media (max-width: 700px) { .site-header { height: auto; min-height: 46px; gap: 8px; align-items: flex-start; padding: 8px 10px; }.site-header nav { flex-wrap: wrap; justify-content: flex-end; gap: 5px 9px; font-size: 11px; }.time-toggle { flex-shrink: 0; }.hero { display: block; min-height: 0; margin: 12px; padding: 18px; }.hero-copy { min-height: 420px; padding: 42px 26px; }.hero-logo { width: min(100%, 280px); margin-bottom: 24px; }.hero-copy p { font-size: 18px; }.trailer-panel { min-height: 300px; }.games { grid-template-columns: 1fr; gap: 18px; padding: 18px 32px 24px; }.game-card { min-height: 150px; }.about { margin-inline: 32px; padding: 26px 20px; }.about-inner { flex-direction: column; align-items: flex-start; }.about-logo-wrap { width: 140px; min-width: 140px; justify-content: flex-start; }.about h2 { font-size: 42px; }.news-page { padding: 18px 24px 24px; }.news-grid { grid-template-columns: 1fr; gap: 18px; }.bonfire-main { width: calc(100% - 32px); padding: 28px 16px 40px; }.bonfire-hero { gap: 20px; }.bonfire-hero h1 { font-size: clamp(46px, 15vw, 70px); }.bonfire-hero p { margin: 0; font-size: 18px; }.bonfire-main-shot, .bonfire-feature img { border-width: 3px; }.bonfire-feature, .bonfire-feature-right { display: flex; flex-direction: column; gap: 22px; margin-top: 42px; padding: 18px 0; }.bonfire-feature-right div { order: 1; }.bonfire-feature-right img { order: 2; }.bonfire-feature div { width: 100%; padding: 0 4px; }.bonfire-feature h2 { font-size: 34px; }.bonfire-feature p { font-size: 17px; }.site-footer { font-size: 17px; } }
