@import url("https://fonts.googleapis.com/css2?family=Rajdhani:wght@500;600;700&family=Inter:wght@400;500;600&display=swap");

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body { background: #050505; color: #f2f2f2; font-family: Inter, system-ui, sans-serif; line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
h1, h2, h3, .logo, .eyebrow, .btn-primary, .btn-ghost, .links a { font-family: Rajdhani, sans-serif; text-transform: uppercase; }

.nav { position: fixed; inset: 0 0 auto; z-index: 10; display: flex; justify-content: space-between; align-items: center;
  padding: 22px clamp(18px, 5vw, 64px); transition: all .35s ease; }
.nav.scrolled { background: rgba(5,5,5,.85); backdrop-filter: blur(12px); padding-top: 14px; padding-bottom: 14px; border-bottom: 1px solid #1a1a1a; }
.logo { font-weight: 700; letter-spacing: .3em; font-size: 20px; display: inline-flex; align-items: center; gap: 10px; }
.logo-mark { width: 40px; height: 32px; object-fit: cover; }
.hero-logo { display: block; width: min(320px, 70vw); height: auto; margin-bottom: 8px; }
.links { display: flex; gap: clamp(14px, 3vw, 36px); }
.links a { font-size: 15px; letter-spacing: .15em; color: #9a9a9a; position: relative; transition: color .25s; }
.links a::after { content: ""; position: absolute; left: 0; bottom: -4px; height: 1px; width: 100%; background: #fff; transform: scaleX(0); transform-origin: left; transition: transform .3s; }
.links a:hover { color: #fff; }
.links a:hover::after { transform: scaleX(1); }

.hero { min-height: 100vh; display: flex; flex-direction: column; justify-content: center; padding: 120px clamp(18px, 5vw, 64px) 60px; position: relative; overflow: hidden; }
.grid-bg { position: absolute; inset: 0; background-image: linear-gradient(#141414 1px, transparent 1px), linear-gradient(90deg, #141414 1px, transparent 1px);
  background-size: 64px 64px; mask-image: radial-gradient(ellipse at 70% 40%, #000 10%, transparent 70%); z-index: -1; animation: drift 30s linear infinite; }
@keyframes drift { to { background-position: 64px 64px; } }
.eyebrow { font-size: 14px; letter-spacing: .35em; color: #8a8a8a; font-weight: 600; margin-bottom: 14px; }
h1 { font-size: clamp(72px, 18vw, 220px); line-height: .85; font-weight: 700; letter-spacing: .04em; }
.lead { color: #b5b5b5; max-width: 560px; font-size: clamp(16px, 2vw, 18px); margin-top: 24px; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.btn-primary, .btn-ghost { display: inline-block; padding: 14px 30px; font-size: 16px; font-weight: 700; letter-spacing: .15em; border: 1px solid #fff; cursor: pointer; transition: all .3s ease; }
.btn-primary { background: #fff; color: #000; }
.btn-primary:hover { background: transparent; color: #fff; }
.btn-ghost { background: transparent; color: #fff; border-color: #444; }
.btn-ghost:hover { border-color: #fff; }
.btn-primary.big { margin-top: 32px; padding: 18px 44px; font-size: 18px; }
.games { display: flex; flex-wrap: wrap; gap: 40px; margin-top: 64px; border-top: 1px solid #1c1c1c; padding-top: 24px; max-width: 560px; }
.games span { display: block; font-size: 12px; letter-spacing: .25em; text-transform: uppercase; color: #6f6f6f; }
.games strong { font-family: Rajdhani, sans-serif; font-size: 28px; letter-spacing: .08em; }
.games .muted strong { color: #6f6f6f; font-size: 22px; }

.fade { opacity: 0; transform: translateY(18px); animation: up .9s cubic-bezier(.2,.7,.2,1) forwards; }
.d1 { animation-delay: .1s } .d2 { animation-delay: .2s } .d3 { animation-delay: .35s } .d4 { animation-delay: .5s } .d5 { animation-delay: .65s }
@keyframes up { to { opacity: 1; transform: none; } }
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }

.section { padding: 110px clamp(18px, 5vw, 64px); max-width: 1200px; margin: 0 auto; }
h2 { font-size: clamp(44px, 8vw, 80px); line-height: 1; font-weight: 700; letter-spacing: .03em; }
.head { margin-bottom: 48px; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.card { border: 1px solid #1f1f1f; background: #0b0b0b; padding: 32px 28px; position: relative; transition: border-color .35s, transform .35s, opacity .8s; }
.card:hover { border-color: #fff; transform: translateY(-4px); }
.avatar { width: 72px; height: 72px; border: 1px solid #333; display: grid; place-items: center; font-family: Rajdhani, sans-serif; font-size: 34px; font-weight: 700; margin-bottom: 28px; transition: all .35s; }
.game-img { display: block; width: 100%; max-width: 300px; aspect-ratio: 300 / 168; object-fit: cover; margin-top: 14px; border: 1px solid #333; }
.card:hover .avatar { background: #fff; color: #000; border-color: #fff; }
.avatar { overflow: hidden; }
.avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.num { position: absolute; top: 28px; right: 28px; font-family: Rajdhani, sans-serif; color: #444; letter-spacing: .1em; }
.card h3 { font-size: 30px; letter-spacing: .04em; line-height: 1.1; }
.role { color: #8a8a8a; text-transform: uppercase; letter-spacing: .25em; font-size: 12px; margin-top: 8px; }

.recruit-box { border: 1px solid #1f1f1f; padding: clamp(28px, 6vw, 72px); background: linear-gradient(135deg, #0d0d0d, #050505); }
.points { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 28px; }
.points li { font-size: 14px; letter-spacing: .12em; text-transform: uppercase; color: #ddd; }
.points li::before { content: "— "; color: #666; }
.form-wrap { max-height: 0; opacity: 0; overflow: hidden; transition: max-height .7s ease, opacity .6s ease; }
.form-wrap.open { max-height: 1000px; opacity: 1; margin-top: 36px; }
.apply-form { display: grid; gap: 16px; max-width: 680px; }
.two { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.apply-form label span { display: block; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: #8a8a8a; margin-bottom: 6px; }
.apply-form input, .apply-form textarea { width: 100%; background: #080808; border: 1px solid #2a2a2a; color: #fff; padding: 12px 14px; font: inherit; transition: border-color .25s; }
.apply-form input:focus, .apply-form textarea:focus { border-color: #fff; outline: none; }
.apply-form .btn-primary { justify-self: start; }
.form-error { color: #fff; font-size: 14px; border-left: 2px solid #fff; padding-left: 10px; }
.apply-done h3 { font-size: 32px; }
.apply-done p { color: #b5b5b5; margin-top: 6px; }

.footer { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; padding: 32px clamp(18px, 5vw, 64px); border-top: 1px solid #1a1a1a; color: #6f6f6f; font-size: 13px; letter-spacing: .15em; text-transform: uppercase; }
.footer .logo { color: #fff; font-size: 16px; }
.discord-copy { background: none; border: 0; padding: 0; color: #6f6f6f; font: inherit; letter-spacing: inherit; text-transform: none; cursor: pointer; transition: color .25s; }
.discord-copy:hover { color: #fff; }
.foot-yt { color: #aaa; transition: color .3s; }
.foot-yt:hover { color: #fff; }

/* Logo colourway: hot pink + chrome */
:root { --pink: #ff3d8b; --pink-soft: rgba(255,61,139,.18); }
:focus-visible { outline-color: var(--pink); }
.eyebrow { color: var(--pink); }
.links a::after { background: var(--pink); }
.links a:hover { color: #fff; }
h1, h2 { background: linear-gradient(180deg, #fff 30%, #a9a9b3); -webkit-background-clip: text; background-clip: text; color: transparent; }
.btn-primary { background: var(--pink); border-color: var(--pink); color: #fff; }
.btn-primary:hover { background: transparent; color: var(--pink); }
.btn-ghost:hover { border-color: var(--pink); color: var(--pink); }
.card:hover { border-color: var(--pink); box-shadow: 0 0 30px var(--pink-soft); }
.card:hover .avatar { border-color: var(--pink); }
.num { color: var(--pink); opacity: .7; }
.points li::before { color: var(--pink); }
.recruit-box { background: radial-gradient(ellipse at top right, var(--pink-soft), transparent 60%), linear-gradient(135deg, #0d0d0d, #050505); }
.hero { background: radial-gradient(ellipse at 50% 30%, rgba(255,61,139,.14), transparent 60%); }
.apply-form input:focus, .apply-form textarea:focus { border-color: var(--pink); }
.form-error { border-left-color: var(--pink); }
.foot-yt:hover, .discord-copy:hover { color: var(--pink); }
.accent-link { color: var(--pink); word-break: break-all; }
.accent-link:hover { text-decoration: underline; }
.playstyle { border: 1px solid #2a2a2a; padding: 14px; display: flex; flex-wrap: wrap; gap: 12px 24px; }
.playstyle legend { padding: 0 6px; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: #8a8a8a; }
.playstyle .opt { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; font-family: Rajdhani, sans-serif; text-transform: uppercase; letter-spacing: .1em; }
.playstyle input { accent-color: var(--pink); width: 18px; height: 18px; }
.links { flex-wrap: wrap; justify-content: flex-end; }

@media (max-width: 520px) {
  .logo { font-size: 16px; letter-spacing: .2em; }
  .links a { font-size: 13px; letter-spacing: .08em; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .fade, .reveal { opacity: 1; transform: none; }
}
