/* StealAnEgg.asia — content pages (codes / guide / legal) */

:root {
  --font: 'Fredoka One', 'Trebuchet MS', system-ui, sans-serif;
  --radius: 20px;
  --ink: #14351a;
  --green-grad: linear-gradient(180deg, #7fff20 0%, #22dd10 50%, #14b80a 100%);
  --green-shadow: #0a6e08;
  --lime: #22dd10;
  --stroke:
    -2px -2px 0 #14351a, 2px -2px 0 #14351a,
    -2px  2px 0 #14351a, 2px  2px 0 #14351a,
     0   -2px 0 #14351a, 0    2px 0 #14351a,
    -2px  0   0 #14351a, 2px  0   0 #14351a;
}

* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body {
  font-family: var(--font);
  color: var(--ink);
  background:
    radial-gradient(ellipse 65% 90% at 0% 30%, #28e8c8 0%, transparent 60%),
    radial-gradient(ellipse 60% 80% at 100% 60%, #80ff30 0%, transparent 60%),
    radial-gradient(ellipse 80% 50% at 50% 0%, #72d4f0 0%, transparent 60%),
    linear-gradient(135deg, #4cd4c0 0%, #60bce8 40%, #78e060 75%, #a0ff38 100%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.05; font-weight: 400; color: #fff; text-shadow: var(--stroke); }
p { line-height: 1.5; }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 1rem; top: 1rem; background: #fff; padding: .5rem .8rem; border-radius: 10px; z-index: 99; }

.toasts { position: fixed; bottom: 1rem; left: 50%; transform: translateX(-50%); z-index: 300; display: grid; gap: .4rem; width: min(92vw, 360px); }
.toast { background: #14351a; color: #fff; border-radius: 12px; padding: .65rem .9rem; font-size: .85rem; text-align: center; }
.toast--ok { background: #22dd10; color: #fff; text-shadow: var(--stroke); }
.toast--err { background: #f4482e; color: #fff; }

.wrap { width: min(100% - 2rem, 64rem); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* nav */
.nav { padding: .8rem 0; }
.nav__inner { width: min(100% - 2rem, 64rem); margin-inline: auto; display: flex; align-items: center; gap: .6rem; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: .5rem; text-decoration: none; color: #fff; text-shadow: var(--stroke); font-size: 1.1rem; margin-right: auto; }
.brand__mark { width: 34px; height: 34px; display: grid; place-items: center; background: #fff; border-radius: 10px; color: #14351a; text-shadow: none; }
.brand small { display: block; font-size: .6rem; letter-spacing: .12em; text-transform: uppercase; color: #f0fff0; }
.nav__links { display: flex; gap: .2rem; align-items: center; flex-wrap: wrap; }
.nav__links a { text-decoration: none; color: #fff; text-shadow: var(--stroke); font-size: .9rem; padding: .4rem .6rem; border-radius: 10px; }
.nav__links a:hover, .nav__links a[aria-current="page"] { background: rgba(255,255,255,.28); }
.nav__burger { display: none; }

/* layout */
.section { padding: clamp(1.4rem, 4vw, 2.4rem) 0; }
.section--tight { padding-top: 0; }
.kicker { display: inline-block; font-size: .78rem; letter-spacing: .13em; text-transform: uppercase; color: #0a6e08; background: rgba(255,255,255,.7); border-radius: 999px; padding: .2rem .6rem; }
.pill { display: inline-flex; gap: .45rem; align-items: center; background: #fff; border-radius: 999px; padding: .3rem .75rem; font-size: .74rem; text-transform: uppercase; letter-spacing: .08em; color: #0a6e08; }
.pill__dot { width: 8px; height: 8px; border-radius: 50%; background: #22dd10; }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .4rem;
  font-family: var(--font); font-size: 1rem; color: #fff; text-decoration: none;
  text-shadow: var(--stroke); cursor: pointer;
  background-image: var(--green-grad);
  border: 3px solid var(--green-shadow); border-radius: 14px;
  padding: .55rem 1rem; box-shadow: 0 4px 0 var(--green-shadow), inset 0 3px rgba(255,255,255,.4);
  transition: transform .12s, filter .12s;
}
.btn:hover { filter: brightness(1.06); transform: translateY(-1px); }
.btn:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--green-shadow); }
.btn--ghost { background-image: linear-gradient(180deg, #fff, #e9f0ff); color: #14351a; text-shadow: none; border-color: #b8c0ca; box-shadow: 0 4px 0 #b8c0ca; }
.btn--sm { font-size: .82rem; padding: .35rem .7rem; border-width: 2px; border-radius: 11px; box-shadow: 0 3px 0 var(--green-shadow); }
.btn--roblox { background-image: linear-gradient(180deg, #fff, #ececec); color: #14351a; text-shadow: none; border-color: #14351a; box-shadow: 0 4px 0 #14351a; }

/* cards */
.card, .codes-head, .cta, .faq details, .legal {
  background: #fff; border: 3px solid #5de8d8; border-radius: var(--radius);
  box-shadow: 0 8px 24px rgba(75, 35, 15, .18);
}
.card { padding: 1.1rem; }
.card h3 { color: #14351a; text-shadow: none; font-size: 1.05rem; }
.card p { color: #5d6b60; font-size: .9rem; margin: .4rem 0 0; }
.card__ico { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; background: #e9ffe0; border: 2px solid #22dd10; color: #0a6e08; margin-bottom: .7rem; }
.card__ico svg { width: 22px; height: 22px; }
.card__num { display: block; font-size: .74rem; letter-spacing: .12em; color: #22dd10; margin-bottom: .25rem; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: .9rem; }

/* codes */
.codes-head { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between; padding: 1rem 1.1rem; margin-bottom: 1rem; }
.codes-head h2 { font-size: 1.5rem; }
.codes-head p { color: #6b7a6f; font-size: .85rem; margin: .25rem 0 0; }
.codes-list { display: grid; gap: .6rem; }
.code { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; background: #fff; border: 2px solid #dbe6dc; border-radius: 14px; padding: .65rem .8rem; box-shadow: 0 4px 0 #dbe6dc; }
.code__value { font-family: ui-monospace, Consolas, monospace; font-weight: 700; letter-spacing: .06em; margin-right: auto; color: #0a6e08; word-break: break-all; }
.code__reward { order: 3; width: 100%; font-size: .82rem; color: #6b7a6f; }
.code__meta { order: 3; width: 100%; display: flex; align-items: center; gap: .4rem; font-size: .72rem; color: #8a978d; }
.code__dot { width: 7px; height: 7px; border-radius: 50%; background: #22dd10; }
.code.is-expired { opacity: .6; }
.code.is-expired .code__value { color: #8a978d; text-decoration: line-through; }
.code.is-expired .code__dot { background: #f4482e; }

/* faq */
.faq { display: grid; gap: .55rem; }
.faq details { padding: .15rem .3rem; border-color: #dbe6dc; }
.faq details[open] { border-color: #22dd10; }
.faq summary { cursor: pointer; list-style: none; padding: .8rem .9rem; color: #14351a; font-family: var(--font); display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: #22dd10; }
.faq details[open] summary::after { content: "–"; }
.faq p { padding: 0 .9rem .9rem; margin: 0; color: #5d6b60; font-size: .9rem; }

/* legal */
.legal { max-width: 60rem; margin: 0 auto; padding: clamp(1.2rem, 4vw, 2rem); }
.legal h1 { font-size: clamp(2rem, 6vw, 2.8rem); margin-bottom: 1rem; }
.legal h2 { color: #14351a; text-shadow: none; font-size: 1.2rem; margin: 1.6rem 0 .4rem; }
.legal p, .legal li { color: #5d6b60; font-size: .95rem; }
.legal .updated { font-size: .75rem; text-transform: uppercase; letter-spacing: .1em; color: #0a6e08; }
.legal ul { padding-left: 1.2rem; }
.legal code { background: #f1f7f2; padding: .1rem .3rem; border-radius: 5px; }

/* cta */
.cta { text-align: center; padding: clamp(1.5rem, 5vw, 2.4rem); background: #fff; }
.cta h2 { font-size: clamp(1.7rem, 5vw, 2.4rem); }
.cta p { color: #5d6b60; max-width: 44ch; margin: .6rem auto 1.1rem; }
.cta__fine { font-size: .72rem; color: #8a978d; margin-top: .9rem; }

/* footer */
.footer { margin-top: 2rem; padding: 1.4rem 0 3rem; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 1.2rem; }
@media (max-width: 700px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
.footer h4 { margin: 0 0 .5rem; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: #f0fff0; text-shadow: var(--stroke); }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .35rem; font-size: .86rem; }
.footer a { color: #fff; text-shadow: var(--stroke); text-decoration: none; }
.footer__about { color: #f0fff0; font-size: .84rem; max-width: 32ch; text-shadow: 0 1px 0 rgba(0,0,0,.2); }
.footer__bottom { display: flex; flex-wrap: wrap; gap: .6rem; justify-content: space-between; margin-top: 1.6rem; padding-top: 1rem; border-top: 2px solid rgba(255,255,255,.4); color: #f0fff0; font-size: .76rem; }

@media (max-width: 640px) {
  .nav__burger { display: none; }
  .nav__links { width: 100%; }
}

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; } }
