/* ============================================================
   2F Gaming – Static Site Stylesheet
   Dark gaming theme, preserving original layout feel
   ============================================================ */

/* ----- Reset / Base ----- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { font-size: 16px; scroll-behavior: smooth; }

body {
  background-color: #0d0d0d;
  color: #cccccc;
  font-family: 'Helvetica Neue', Arial, 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', Meiryo, sans-serif;
  line-height: 1.8;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a { color: #a0c8e8; text-decoration: none; }
a:hover { color: #ffffff; text-decoration: underline; }

/* ----- Header / Navigation ----- */
header {
  background-color: #000000;
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 100px;
}

/* Logo block */
.site-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}
.site-logo:hover { text-decoration: none; }

.site-logo-img {
  height: 72px;
  width: auto;
  flex-shrink: 0;
}

.site-logo-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.site-logo-name {
  font-size: 1.75rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.04em;
  line-height: 1.1;
}

.site-logo-sub {
  font-size: 0.78rem;
  color: #aaaaaa;
  letter-spacing: 0.06em;
  text-transform: none;
  line-height: 1.3;
}

nav ul {
  list-style: none;
  display: flex;
  align-items: stretch;
}

nav ul li {
  border-left: 1px solid #333333;
}
nav ul li:last-child {
  border-right: 1px solid #333333;
}

nav ul li a {
  display: flex;
  align-items: center;
  padding: 8px 22px;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #cccccc;
  transition: background 0.2s, color 0.2s;
  white-space: nowrap;
  text-decoration: none;
}

nav ul li a:hover,
nav ul li a.active {
  background-color: #1a1a1a;
  color: #ffffff;
  text-decoration: none;
}

/* hamburger (mobile) */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}
.nav-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: #cccccc;
  transition: 0.3s;
}

/* ----- Hero Banner ----- */
.hero-banner {
  background-color: #000000;
  padding: 24px 24px 0;
}

.hero-banner-inner {
  max-width: 980px;
  margin: 0 auto;
}

.hero-banner-img {
  width: 100%;
  display: block;
}

/* ----- Tagline Section ----- */
.tagline-section {
  background-color: #000000;
  padding: 0 24px 40px;
}

.tagline-inner {
  max-width: 980px;
  margin: 0 auto;
  background-color: #111111;
  display: flex;
  align-items: center;
  min-height: 220px;
  padding: 48px 56px;
  gap: 0;
}

.tagline-left {
  flex: 0 0 auto;
  padding-right: 48px;
}

.tagline-text {
  font-size: 2.6rem;
  font-weight: 700;
  font-style: italic;
  color: #3ecfcf;
  line-height: 1.2;
  text-shadow: 0 0 20px rgba(62,207,207,0.3);
}

.tagline-divider {
  width: 1px;
  background-color: #333333;
  align-self: stretch;
  flex-shrink: 0;
}

.tagline-right {
  flex: 1;
  padding-left: 48px;
}

.tagline-desc {
  font-size: 0.9rem;
  color: #dddddd;
  line-height: 1.8;
}

/* ----- Main content ----- */
main {
  flex: 1;
  max-width: 900px;
  margin: 0 auto;
  padding: 60px 24px 80px;
  width: 100%;
}

/* ----- Page headings ----- */
.page-heading {
  font-size: 1.8rem;
  color: #ffffff;
  border-left: 4px solid #4a88bb;
  padding-left: 16px;
  margin-bottom: 32px;
  letter-spacing: 0.04em;
}

/* ----- Section blocks ----- */
.section-block {
  margin-bottom: 48px;
}

.section-block h3 {
  font-size: 1.1rem;
  color: #7aa8cc;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.section-block p {
  margin-bottom: 12px;
  color: #bbbbbb;
}

/* ----- Game list ----- */
.game-list {
  list-style: none;
  padding-left: 0;
  columns: 2;
  column-gap: 32px;
}

.game-list li {
  padding: 4px 0;
  color: #bbbbbb;
  border-bottom: 1px dotted #2a2a2a;
  break-inside: avoid;
}

.game-list li::before {
  content: '▸ ';
  color: #4a88bb;
}

/* ----- Member cards ----- */
.members-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 24px;
}

.member-card {
  background: #141414;
  border: 1px solid #1e2e3e;
  border-radius: 6px;
  padding: 20px 24px;
  transition: border-color 0.2s, transform 0.2s;
}

.member-card:hover {
  border-color: #3a6a9a;
  transform: translateY(-2px);
}

.member-card h4 {
  font-size: 1rem;
  color: #ffffff;
  margin-bottom: 6px;
}

.member-card .role {
  font-size: 0.8rem;
  color: #7aa8cc;
  margin-bottom: 10px;
  font-style: italic;
}

.member-card ul {
  list-style: none;
  padding: 0;
  font-size: 0.85rem;
  color: #aaaaaa;
}

.member-card ul li::before {
  content: '• ';
  color: #4a88bb;
}

/* ----- Sponsors ----- */
.sponsor-card {
  background: #141414;
  border: 1px solid #1e2e3e;
  border-radius: 6px;
  padding: 24px;
  margin-bottom: 24px;
}

.sponsor-card h4 {
  font-size: 1.05rem;
  color: #ffffff;
  margin-bottom: 8px;
}

.sponsor-card a {
  word-break: break-all;
}

.sponsor-card p {
  font-size: 0.9rem;
  color: #aaaaaa;
  margin-top: 8px;
}

/* ----- Results ----- */
.results-section {
  margin-bottom: 40px;
}

.results-section h3 {
  font-size: 1.1rem;
  color: #7aa8cc;
  border-bottom: 1px solid #1e2e3e;
  padding-bottom: 8px;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.result-entry {
  margin-bottom: 16px;
  padding-left: 16px;
  border-left: 2px solid #2a3a4a;
}

.result-entry .event {
  font-weight: 600;
  color: #cccccc;
  font-size: 0.92rem;
}

.result-entry ul {
  list-style: none;
  padding-left: 12px;
  margin-top: 4px;
}

.result-entry ul li {
  font-size: 0.88rem;
  color: #aaaaaa;
  padding: 2px 0;
}

.result-entry ul li::before {
  content: '◦ ';
  color: #4a88bb;
}

/* ----- Contact notice ----- */
.contact-notice {
  background: #141414;
  border: 1px solid #1e2e3e;
  border-radius: 6px;
  padding: 32px;
  text-align: center;
  color: #aaaaaa;
}

.contact-notice p {
  margin-bottom: 16px;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  border: 1px solid #2a3a4a;
  border-radius: 4px;
  color: #a0c8e8;
  font-size: 0.9rem;
  transition: background 0.2s, border-color 0.2s;
}

.social-links a:hover {
  background: #1e2f3f;
  border-color: #4a88bb;
  text-decoration: none;
}

/* ----- Trademark / small text ----- */
.trademark-list {
  font-size: 0.78rem;
  color: #777777;
  margin-top: 40px;
  border-top: 1px solid #1a1a1a;
  padding-top: 24px;
}

.trademark-list p {
  margin-bottom: 4px;
}

/* ----- Footer ----- */
footer, .site-footer {
  background-color: #000000;
  padding: 20px 24px;
}

.site-footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
}

.footer-inner {
  max-width: 900px;
  margin: 0 auto;
}

.footer-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px 20px;
  margin-bottom: 20px;
}

.footer-nav a {
  font-size: 0.82rem;
  color: #888888;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.footer-nav a:hover { color: #cccccc; text-decoration: none; }

.footer-social {
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer-social a {
  color: #ffffff;
  display: flex;
  align-items: center;
  opacity: 0.8;
  transition: opacity 0.2s;
}

.footer-social a:hover {
  opacity: 1;
  text-decoration: none;
}

.footer-copy {
  font-size: 0.78rem;
  color: #888888;
}

/* ----- SCC Tournament Sub-nav ----- */
.scc-subnav {
  background: #0d1a24;
  border-bottom: 1px solid #1a2a3a;
  padding: 0 24px;
  overflow-x: auto;
  white-space: nowrap;
  text-align: center;
}
.scc-subnav ul {
  max-width: 1100px;
  margin: 0 auto;
  list-style: none;
  display: inline-flex;
  gap: 4px;
  padding: 0;
}
.scc-subnav ul li a {
  display: block;
  padding: 12px 14px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #7aa8cc;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}
.scc-subnav ul li a:hover,
.scc-subnav ul li a.active {
  color: #ffffff;
  border-bottom-color: #4a88bb;
  text-decoration: none;
}
.scc-subnav ul li span.active {
  display: block;
  padding: 12px 14px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ffffff;
  border-bottom: 2px solid #4a88bb;
}

/* ----- Tournament landing hero ----- */
.landing-hero {
  background: linear-gradient(160deg, #050d15 0%, #0a1c2e 60%, #0d0d0d 100%);
  padding: 80px 24px 60px;
  text-align: center;
  border-bottom: 1px solid #1a2a3a;
}
.landing-hero h2 {
  font-size: clamp(1.6rem, 5vw, 3rem);
  color: #ffffff;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.landing-hero .badge-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin: 24px 0 16px;
}
.landing-hero .badge {
  padding: 8px 20px;
  border: 1px solid #3a6a9a;
  border-radius: 3px;
  font-size: 1rem;
  font-weight: 700;
  color: #a0c8e8;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.landing-hero .cta-btn {
  display: inline-block;
  margin-top: 20px;
  padding: 14px 36px;
  background: #1a3a5a;
  border: 2px solid #4a88bb;
  border-radius: 4px;
  color: #ffffff;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: background 0.2s;
}
.landing-hero .cta-btn:hover {
  background: #2a5a8a;
  text-decoration: none;
}

/* ----- Prize tiers ----- */
.prize-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
  margin-top: 16px;
}
.prize-tier {
  background: #141414;
  border: 1px solid #1e2e3e;
  border-radius: 6px;
  padding: 18px 20px;
}
.prize-tier h4 {
  font-size: 0.85rem;
  color: #7aa8cc;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 12px;
  border-bottom: 1px solid #1e2e3e;
  padding-bottom: 8px;
}
.prize-tier ul {
  list-style: none;
  padding: 0;
}
.prize-tier ul li {
  padding: 3px 0;
  color: #bbbbbb;
  font-size: 0.86rem;
}
.prize-tier ul li::before {
  content: '◦ ';
  color: #4a88bb;
}

/* ----- Staff grid ----- */
.staff-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 12px;
  margin-top: 16px;
}
.staff-item {
  background: #141414;
  border: 1px solid #1e2e3e;
  border-radius: 4px;
  padding: 14px 18px;
}
.staff-item .staff-role {
  font-size: 0.73rem;
  color: #7aa8cc;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 4px;
}
.staff-item .staff-name {
  color: #cccccc;
  font-size: 0.92rem;
}

/* ----- Rules section ----- */
.rules-section {
  margin-bottom: 48px;
}
.rules-section h3 {
  font-size: 1rem;
  color: #7aa8cc;
  margin-bottom: 16px;
  border-left: 3px solid #4a88bb;
  padding-left: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.rules-section ol {
  padding-left: 24px;
  color: #bbbbbb;
  font-size: 0.9rem;
  line-height: 2;
}
.rules-section ol li {
  margin-bottom: 4px;
}

/* ----- Widget embed ----- */
.widget-wrap {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 24px;
}
.widget-wrap iframe {
  width: 100%;
  min-height: 600px;
  border: 1px solid #1e2e3e;
  border-radius: 4px;
  background: #0a0a0a;
}

/* ----- News / blog ----- */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 24px;
}
.news-card {
  background: #141414;
  border: 1px solid #1e2e3e;
  border-radius: 6px;
  overflow: hidden;
  transition: border-color 0.2s, transform 0.2s;
}
.news-card:hover {
  border-color: #3a6a9a;
  transform: translateY(-2px);
}
.news-card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  display: block;
}
.news-card .news-body {
  padding: 16px 18px;
}
.news-card h4 {
  font-size: 0.95rem;
  color: #ffffff;
  margin-bottom: 8px;
}
.news-card p {
  font-size: 0.83rem;
  color: #aaaaaa;
  line-height: 1.6;
}
.news-card .news-date {
  font-size: 0.75rem;
  color: #666;
  margin-bottom: 6px;
}

/* ----- Coming-soon teaser ----- */
.teaser-hero {
  min-height: calc(100vh - 130px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(160deg, #050d15 0%, #0a1c2e 60%, #0d0d0d 100%);
  padding: 60px 24px;
  text-align: center;
}
.teaser-hero h2 {
  font-size: clamp(2rem, 6vw, 4rem);
  color: #ffffff;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.teaser-hero .teaser-stats {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 20px 0;
}
.teaser-hero .teaser-stats p {
  font-size: clamp(1rem, 3vw, 1.5rem);
  color: #7aa8cc;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 700;
}
.teaser-hero .teaser-coming {
  font-size: clamp(1.2rem, 4vw, 2rem);
  color: #4a88bb;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-top: 24px;
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

/* ----- Org chart image ----- */
.org-chart {
  text-align: center;
  margin-top: 24px;
}
.org-chart img {
  max-width: 100%;
  height: auto;
  border: 1px solid #1e2e3e;
  border-radius: 4px;
}

/* ----- JeSoCo special ----- */
.jesoco-section {
  background: #0d1820;
  border: 1px solid #1a2a3a;
  border-radius: 6px;
  padding: 28px 32px;
  margin-bottom: 24px;
}
.jesoco-section h3 {
  font-size: 0.95rem;
  color: #7aa8cc;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ----- Responsive ----- */
@media (max-width: 768px) {
  .header-inner {
    position: relative;
    flex-wrap: wrap;
    min-height: 64px;
    padding: 10px 16px;
  }

  .site-logo-img { height: 44px; }
  .site-logo-name { font-size: 1.3rem; }
  .site-logo-sub { font-size: 0.70rem; }

  .nav-toggle { display: flex; }

  nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #111111;
    border-top: 1px solid #1e2e3e;
    padding: 12px 0;
    z-index: 200;
  }

  nav.open { display: block; }

  nav ul {
    flex-direction: column;
    gap: 0;
  }

  nav ul li {
    border-left: none;
    border-top: 1px solid #222;
  }
  nav ul li:last-child { border-right: none; }

  nav ul li a { padding: 12px 16px; }

  .hero-banner { padding: 12px 12px 0; }

  .tagline-inner {
    flex-direction: column;
    padding: 32px 24px;
    gap: 24px;
  }

  .tagline-left { padding-right: 0; }
  .tagline-divider {
    width: 100%;
    height: 1px;
    align-self: auto;
  }
  .tagline-right { padding-left: 0; }

  .tagline-text { font-size: 2rem; }

  .tagline-section { padding-bottom: 24px; }

  .site-footer-inner {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .game-list { columns: 1; }

  .members-grid { grid-template-columns: 1fr; }
}
