/* 1336 Studios — static rebuild */
:root {
  --accent: #19a3ff;
  --accent-dark: #0b86d8;
  --black: #000;
  --nav: #0a0a0e;
  --dark: #13131a;
  --panel: #1f1f27;
  --panel-2: #191920;
  --muted: #8b8b99;
  --text: #1a1a1a;
  --line: #e4e4e4;
  --container: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Montserrat", system-ui, sans-serif;
  color: var(--text);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}
body.dark { background: var(--dark); color: #fff; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, h5 { margin: 0; font-weight: 500; }
.container { max-width: var(--container); margin: 0 auto; padding: 0 20px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  background: var(--accent); color: #fff;
  font-size: 12px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase;
  padding: 0 32px; height: 56px; border: 0; cursor: pointer;
  transition: background .2s, box-shadow .2s;
}
.btn:hover { background: var(--accent-dark); box-shadow: -14px 0 0 0 rgba(25,163,255,.35); }
.btn.sm { height: 44px; padding: 0 22px; }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: var(--nav); height: 80px;
  border-bottom: 1px solid rgba(255,255,255,.04);
}
.nav .container { height: 100%; display: flex; align-items: center; justify-content: space-between; }
.nav .logo img { width: 50px; height: 50px; object-fit: contain; }
.nav ul { list-style: none; display: flex; align-items: center; margin: 0; padding: 0; height: 100%; }
.nav li { height: 100%; }
.nav li a {
  position: relative; display: flex; align-items: center; height: 100%;
  padding: 0 26px; color: #fff; font-size: 14px; font-weight: 500;
}
.nav li a::after {
  content: ""; position: absolute; left: 26px; right: 26px; bottom: 0; height: 3px;
  background: var(--accent); transform: scaleX(0); transition: transform .2s;
}
.nav li a:hover, .nav li.active a { color: var(--accent); }
.nav li a:hover::after, .nav li.active a::after { transform: scaleX(1); }
.nav li.search { border-left: 1px solid rgba(255,255,255,.12); margin-left: 10px; }
.nav li.search a { padding: 0 28px; }
.nav li.search a::after { display: none; }
.sandwich { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.sandwich span { display: block; width: 24px; height: 2px; background: #fff; margin: 5px 0; }

/* Mobile menu */
.mobile-menu {
  position: fixed; inset: 0; z-index: 100; background: rgba(5,5,8,.97);
  display: none; flex-direction: column; align-items: center; justify-content: center; gap: 28px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a { color: #fff; font-size: 22px; font-weight: 500; }
.mobile-menu a:hover { color: var(--accent); }
.mobile-menu .close { position: absolute; top: 20px; right: 24px; font-size: 34px; background: none; border: 0; color: #fff; cursor: pointer; }

/* Search modal */
.search-modal {
  position: fixed; inset: 0; z-index: 110; background: rgba(5,5,8,.95);
  display: none; align-items: flex-start; justify-content: center; padding-top: 18vh;
}
.search-modal.open { display: flex; }
.search-modal form { display: flex; align-items: center; width: min(760px, 92vw); border-bottom: 2px solid var(--accent); }
.search-modal input { flex: 1; background: none; border: 0; outline: 0; color: #fff; font: 500 28px "Montserrat", sans-serif; padding: 16px 12px; }
.search-modal button, .search-modal .close { background: none; border: 0; color: #fff; font-size: 22px; cursor: pointer; padding: 10px; }
.search-modal .close { color: var(--muted); }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 640px; height: calc(100vh - 80px); max-height: 860px;
  background: #000 center/cover no-repeat;
  display: flex; align-items: center; color: #fff; overflow: hidden;
}
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,.1) 60%, transparent 100%); }
.hero .container { position: relative; width: 100%; }
.hero .caption { max-width: 560px; }
.hero .caption span { display: block; color: var(--accent); font-size: 13px; font-weight: 700; letter-spacing: 4px; margin-bottom: 10px; }
.hero .caption h1 { font-size: 40px; font-weight: 700; line-height: 1.2; margin-bottom: 40px; text-shadow: 0 2px 20px rgba(0,0,0,.4); }
.hero-thumbs { position: absolute; left: 0; right: 0; bottom: 60px; }
.hero-thumbs .progress { height: 1px; background: rgba(255,255,255,.2); margin-bottom: 36px; }
.hero-thumbs .progress div { height: 100%; width: 0; background: var(--accent); animation: progress 8s linear infinite; }
@keyframes progress { to { width: 100%; } }
.hero-thumbs .thumb {
  display: block; width: 184px; height: 96px; border-radius: 6px;
  background: center/cover no-repeat; box-shadow: 0 10px 30px rgba(0,0,0,.4);
}

/* ---------- Section headers ---------- */
.section { padding: 80px 0; }
.section-header { border-bottom: 1px solid var(--line); padding-bottom: 20px; margin-bottom: 30px; display: flex; align-items: end; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.section-header h2 { font-size: 34px; }
.section-header.center { flex-direction: column; align-items: center; text-align: center; border: 0; }
.section-header.center span { color: var(--muted); font-size: 15px; }
.dark .section-header { border-color: rgba(255,255,255,.08); }
.tabs { list-style: none; display: flex; gap: 24px; margin: 0; padding: 0; }
.tabs a { font-size: 13px; font-weight: 700; text-transform: uppercase; color: var(--muted); cursor: pointer; }
.tabs a.active, .tabs a:hover { color: var(--accent); }

/* ---------- News grid ---------- */
.news-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.news-card {
  position: relative; aspect-ratio: 5/6; overflow: hidden; display: block;
  background: #000 center/cover no-repeat; color: #fff;
}
.news-card::after { content: ""; position: absolute; inset: 0; background: rgba(25,163,255,.3); opacity: 0; transition: opacity .25s; }
.news-card:hover::after { opacity: 1; }
.news-card .overlay {
  position: absolute; inset: auto 0 0 0; z-index: 1; padding: 20px 16px;
  background: linear-gradient(0deg, rgba(0,0,0,.85), transparent);
}
.news-card .category { display: inline-block; background: var(--accent); font-size: 10px; font-weight: 700; padding: 4px 8px; margin-bottom: 10px; }
.news-card h3 { font-size: 17px; margin-bottom: 10px; }
.news-card .date { font-size: 11px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: rgba(255,255,255,.75); }

/* ---------- Teams ---------- */
.teams { background: var(--dark); color: #fff; }
.game-tabs { display: flex; justify-content: center; gap: 10px; margin-bottom: 36px; list-style: none; padding: 0; }
.game-tabs li { background: var(--accent); padding: 10px 22px; }
.game-tabs img { height: 42px; width: auto; }
.team-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.team-box { background: var(--panel); display: flex; flex-direction: column; }
.team-body { padding: 28px 20px 30px; text-align: center; flex: 1; }
.team-body h3 { font-size: 20px; }
.team-body h3 a:hover { color: var(--accent); }
.team-body > span { display: block; color: var(--muted); font-size: 11px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; margin: 6px 0 22px; }
.members { list-style: none; display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; }
.members a { display: block; transition: transform .2s; }
.members a:hover { transform: translateY(-3px); }
.avatar {
  width: 44px; height: 44px; border-radius: 50%; object-fit: cover;
  border: 2px solid var(--panel); background: #3a3a46;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 700; font-size: 15px;
}
.team-foot { display: grid; grid-template-columns: 1fr 1fr; }
.team-foot .col { padding: 12px 16px; background: var(--panel-2); }
.team-foot h5 { color: var(--muted); font-size: 11px; font-weight: 500; text-transform: uppercase; }
.team-foot p { margin: 2px 0 0; font-size: 13px; font-weight: 700; text-transform: uppercase; }
.team-foot .btn { height: 100%; width: 100%; justify-content: center; }

/* ---------- Page hero (Work with us / News) ---------- */
.page-hero { background: #0b0b10 url("../img/banner.jpg") center/cover; position: relative; color: #fff; padding: 120px 0; text-align: center; }
.page-hero::before { content: ""; position: absolute; inset: 0; background: rgba(8,8,12,.72); }
.page-hero .container { position: relative; }
.page-hero h2 { font-size: 46px; font-weight: 700; text-transform: uppercase; }
.page-hero h4 { color: var(--accent); font-size: 16px; margin-top: 12px; }

/* ---------- Inner pages (team / employee / about) ---------- */
.inner { padding: 50px 0 90px; }
.inner-header {
  position: relative; height: 380px; background: #000 center/cover no-repeat;
  display: flex; align-items: flex-end;
}
.inner-header::before { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,.75), transparent 60%); }
.inner-header-info { position: relative; display: flex; align-items: center; gap: 24px; padding: 30px; }
.inner-header-info .avatar, .inner-header-info img { width: 130px; height: 130px; border-radius: 50%; object-fit: cover; border: 4px solid var(--accent); font-size: 40px; }
.inner-header-info .name { font-size: 30px; font-weight: 700; }
.inner-header-info .handle { color: var(--accent); font-weight: 700; margin-top: 6px; }
.inner-body { background: var(--panel); }
.inner-body .top { display: flex; flex-wrap: wrap; border-bottom: 1px solid rgba(255,255,255,.06); }
.inner-body .top .stat { padding: 24px 30px; border-right: 1px solid rgba(255,255,255,.06); }
.inner-body .top .stat .label { display: block; color: var(--muted); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; }
.inner-body .top .stat .value { display: block; font-size: 17px; font-weight: 700; margin-top: 4px; }
.inner-body .top .team-logo { display: flex; align-items: center; gap: 22px; padding: 24px 30px; }
.inner-body .top .team-logo figure { margin: 0; background: var(--accent); padding: 14px 20px; }
.inner-body .top .team-logo img { height: 48px; }
.inner-body .top .team-logo h4 { font-size: 22px; }
.inner-body .top h3 { padding: 26px 30px; font-size: 24px; font-weight: 700; }
.inner-body .bottom { padding: 34px 30px 40px; }
.inner-body .bottom h4 { font-size: 18px; margin-bottom: 14px; padding-bottom: 14px; border-bottom: 1px solid rgba(255,255,255,.06); }
.inner-body .bottom p { color: #c5c5d0; line-height: 1.8; margin: 0; }
.inner-body .bottom p a { color: var(--accent); }
.inner-body .bottom .empty { color: var(--muted); font-style: italic; }

/* Roster cards */
.roster { margin-top: 70px; }
.roster .section-header h2 { font-size: 30px; }
.card-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.card { background: var(--panel); display: flex; flex-direction: column; }
.card figure { margin: 0; aspect-ratio: 1; overflow: hidden; background: #2a2a34; }
.card figure img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.card:hover figure img { transform: scale(1.05); }
.card figure .avatar { width: 100%; height: 100%; border-radius: 0; border: 0; font-size: 64px; background: linear-gradient(135deg, #2b2b37, #1a1a22); color: rgba(255,255,255,.85); }
.card-info { padding: 20px; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; flex: 1; }
.card-info .label { background: var(--accent); color: #fff; font-size: 10px; font-weight: 700; text-transform: uppercase; padding: 4px 8px; margin-bottom: 8px; }
.card-info h4 { font-size: 18px; }
.card-info .subtitle { color: var(--muted); font-size: 13px; margin-bottom: 16px; }
.card-info .btn { margin-top: auto; }

/* ---------- Single post / job ---------- */
.single { padding: 60px 0 100px; }
.single .container { max-width: 960px; }
.single .featured { margin: 0 0 40px; }
.single .featured img { width: 100%; }
.single .wrapper { display: grid; grid-template-columns: 60px 1fr; gap: 30px; }
.share { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; position: sticky; top: 110px; align-self: start; }
.share a { width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; border: 1px solid var(--line); color: #555; transition: all .2s; }
.share a:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.post-title { font-size: 38px; font-weight: 700; margin-bottom: 14px; }
.post-details { display: block; color: #777; font-size: 14px; margin-bottom: 34px; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.post-details .author, .post-details a { color: var(--accent); font-weight: 500; }
.post-content { font-size: 16px; line-height: 1.8; color: #333; }
.post-content h2 { font-size: 26px; font-weight: 700; margin: 40px 0 14px; }
.post-content h3 { font-size: 20px; font-weight: 700; margin: 32px 0 10px; }
.post-content ul { padding-left: 22px; }
.post-content li { margin-bottom: 8px; }
.post-content figure { margin: 24px 0; }
.post-content a { color: var(--accent); }
.job-specs { margin-top: 36px; padding: 22px 24px; background: #f5f7fa; border-left: 3px solid var(--accent); display: grid; gap: 8px; font-size: 14px; }
.job-specs strong { display: inline-block; min-width: 120px; }
.apply { margin-top: 36px; }

/* ---------- Jobs list ---------- */
.jobs { padding: 70px 0 100px; }
.job-filters { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 30px; }
.job-filters input, .job-filters select {
  font: 500 14px "Montserrat", sans-serif; height: 48px; padding: 0 16px;
  border: 1px solid var(--line); background: #fff; color: var(--text); outline: none;
}
.job-filters input { flex: 1 1 260px; }
.job-filters input:focus, .job-filters select:focus { border-color: var(--accent); }
.job-item {
  display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  padding: 26px 28px; border: 1px solid var(--line); margin-bottom: -1px; transition: background .2s;
}
.job-item:hover { background: #f7fbff; }
.job-item h2 { font-size: 20px; font-weight: 700; }
.job-item h2 a:hover { color: var(--accent); }
.job-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.job-tags span { font-size: 12px; background: #eef1f5; padding: 5px 10px; }
.job-item .more { color: var(--accent); font-weight: 700; font-size: 13px; white-space: nowrap; }
.no-jobs { display: none; padding: 30px; color: #777; }

/* Search results */
.results { list-style: none; padding: 0; margin: 0; }
.results li { padding: 20px 0; border-bottom: 1px solid var(--line); }
.results a { font-size: 19px; font-weight: 700; }
.results a:hover { color: var(--accent); }
.results p { margin: 6px 0 0; color: #666; font-size: 14px; }

/* ---------- Footer ---------- */
footer { background: var(--black); color: #fff; }
.footer-content { display: grid; grid-template-columns: 90px 1fr auto; gap: 40px; padding: 60px 0 40px; border-bottom: 1px solid rgba(255,255,255,.08); }
.footer-content .logo img { width: 50px; }
.footer-widget ul { list-style: none; margin: 0; padding: 0; }
.footer-widget .title { font-size: 22px; margin-bottom: 26px; }
.contact li { display: flex; gap: 16px; margin-bottom: 20px; }
.contact i { color: var(--accent); margin-top: 3px; width: 16px; }
.contact span { display: block; font-weight: 700; font-size: 14px; }
.contact a { color: var(--muted); font-size: 12px; }
.contact a:hover { color: var(--accent); }
.latest li { margin-bottom: 16px; font-size: 14px; }
.latest a { color: var(--muted); }
.latest a:hover { color: var(--accent); }
.latest li.all a { color: #fff; font-weight: 500; }
.hq { padding: 34px 0 44px; }
.hq .city { display: flex; align-items: center; gap: 14px; font-size: 22px; }
.hq .city i { color: var(--accent); font-size: 16px; }
.hq .address { display: block; color: var(--muted); font-size: 12px; margin: 8px 0 0 30px; }
.bottom-bar { background: var(--accent); }
.bottom-bar .container { display: flex; align-items: center; justify-content: space-between; height: 60px; font-size: 13px; }
.bottom-bar p { margin: 0; }
.bottom-bar a { font-weight: 700; }
.back-to-top { cursor: pointer; width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; background: rgba(0,0,0,.18); border: 0; color: #fff; font-size: 18px; }

/* ---------- Gridiron Remastered home ---------- */
.hero .caption { max-width: 640px; }
.hero .caption h1 { margin-bottom: 16px; }
.hero .caption h1 em { font-style: normal; color: var(--accent); }
.hero .caption p { font-size: 18px; line-height: 1.6; margin: 0 0 34px; color: rgba(255,255,255,.9); text-shadow: 0 2px 12px rgba(0,0,0,.5); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.btn i { font-size: 16px; }
.btn-discord { background: #5865f2; }
.btn-discord:hover { background: #4752c4; box-shadow: -14px 0 0 0 rgba(88,101,242,.35); }

.eyebrow { display: block; color: var(--accent); font-size: 13px; font-weight: 700; letter-spacing: 4px; text-transform: uppercase; margin-bottom: 10px; }
.game { background: var(--dark); color: #fff; }
.game-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 60px; align-items: center; }
.game h2 { font-size: 40px; font-weight: 700; margin-bottom: 20px; }
.game p { color: #c5c5d0; line-height: 1.8; margin: 0 0 18px; }
.pills { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 26px 0 32px; }
.pills li { border: 1px solid rgba(25,163,255,.5); color: #fff; font-size: 12px; font-weight: 700; text-transform: uppercase; padding: 7px 12px; }
.game-logo { margin: 0; }
.game-logo img { width: 100%; max-width: 480px; margin: 0 auto; filter: drop-shadow(0 10px 40px rgba(25,163,255,.25)); }

.trailer { background: #0b0b10; color: #fff; padding-top: 0; }
.video { position: relative; aspect-ratio: 16/9; background: #000; box-shadow: 0 20px 60px rgba(0,0,0,.5); }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.features-sec { background: #fff; }
.features { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.feature { border: 1px solid var(--line); padding: 30px 28px; transition: border-color .2s, transform .2s; }
.feature:hover { border-color: var(--accent); transform: translateY(-3px); }
.feature i { color: var(--accent); font-size: 26px; margin-bottom: 18px; }
.feature h3 { font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.feature p { color: #555; line-height: 1.7; margin: 0; font-size: 15px; }

.shots-sec { background: var(--dark); color: #fff; }
.shots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.shots a { display: block; aspect-ratio: 16/9; overflow: hidden; background: #000; }
.shots img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s, opacity .2s; }
.shots a:hover img { transform: scale(1.06); opacity: .9; }

.cta { position: relative; background: #000 center/cover no-repeat; color: #fff; text-align: center; padding: 120px 0; }
.cta::before { content: ""; position: absolute; inset: 0; background: rgba(8,8,12,.78); }
.cta .container { position: relative; max-width: 760px; }
.cta h2 { font-size: 42px; font-weight: 700; margin-bottom: 18px; }
.cta p { color: #d0d0da; line-height: 1.8; margin: 0 0 34px; }
.cta .btn-row { justify-content: center; }

.socials { list-style: none; display: flex; gap: 10px; padding: 0; margin: 20px 0 0 30px; }
.socials a { width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; background: #16161c; color: #fff; font-size: 17px; transition: background .2s; }
.socials a:hover { background: var(--accent); }
.inner-body .bottom p + p { margin-top: 18px; }

@media (max-width: 900px) {
  .game-grid { grid-template-columns: 1fr; gap: 40px; }
  .game-logo { order: -1; }
  .shots { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .game h2, .cta h2 { font-size: 30px; }
  .cta { padding: 80px 0; }
  .shots { grid-template-columns: 1fr; }
  .features { grid-template-columns: 1fr; }
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .footer-content { grid-template-columns: 1fr; gap: 30px; }
  .single .wrapper { grid-template-columns: 1fr; }
  .share { position: static; flex-direction: row; }
}
@media (max-width: 768px) {
  .nav { height: 64px; }
  .nav ul { display: none; }
  .sandwich { display: block; }
  .hero { height: auto; min-height: 520px; }
  .hero .caption h1 { font-size: 28px; }
  .hero-thumbs { display: none; }
  .section { padding: 56px 0; }
  .section-header h2 { font-size: 26px; }
  .page-hero { padding: 80px 0; }
  .page-hero h2 { font-size: 32px; }
  .inner-header { height: 300px; }
  .inner-header-info { flex-direction: column; align-items: flex-start; gap: 14px; padding: 20px; }
  .inner-header-info .avatar, .inner-header-info img { width: 96px; height: 96px; font-size: 30px; }
  .inner-header-info .name { font-size: 24px; }
  .post-title { font-size: 28px; }
  .team-list, .card-list { grid-template-columns: 1fr; }
}
