/* styles.css — FC Ultimate Hub */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');
@import url('/tax-calculator/tax-calculator.css');
* {
  font-family: 'Inter', sans-serif !important;
}
:root {
  --font-main: 'Inter', sans-serif;
  --color-bg: #fff;
  --color-text: #181818;
  --color-accent: #007aff;
  --color-card: #f7f7f8;
  --color-border: #e5e5e7;
  --color-link: #007aff;
  --color-discord: #5865f2;
  --transition: 0.3s cubic-bezier(.4,0,.2,1);
}
[data-theme="dark"] {
  --color-bg: #18191a;
  --color-text: #f5f6fa;
  --color-accent: #0a84ff;
  --color-card: #23272a;
  --color-border: #2c2f33;
  --color-link: #0a84ff;
}
* {
  box-sizing: border-box;
}
html, body {
  padding: 0;
  margin: 0;
  font-family: 'Inter', sans-serif !important;
  background: var(--color-bg);
  color: var(--color-text);
  transition: none !important;
  min-height: 100vh;
  width: 100%;
  box-sizing: border-box;
  overflow-x: hidden !important;
}
body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  width: 100vw;
  max-width: 100vw;
  overflow-x: hidden;
}

/* GLOBAL LINK RESET: Remove all effects from all links site-wide */
a:not(.discord-btn):not(.main-btn),
a:not(.discord-btn):not(.main-btn):hover,
a:not(.discord-btn):not(.main-btn):focus,
a:not(.discord-btn):not(.main-btn):active,
a:not(.discord-btn):not(.main-btn):visited,
a:not(.discord-btn):not(.main-btn):focus-visible,
a:not(.discord-btn):not(.main-btn):link,
a:not(.discord-btn):not(.main-btn):target {
  text-decoration: none !important;
  color: inherit !important;
  background: none !important;
  border: none !important;
  box-shadow: none !important;
  outline: none !important;
  transition: none !important;
}
a::after, a::before {
  display: none !important;
  content: none !important;
}
header {
  border-bottom: 1px solid var(--color-border);
  background: var(--color-bg);
  position: sticky;
  top: 0;
  z-index: 10;
  transition: background var(--transition), border var(--transition);
}
header .container, .hero, .features {
  width: 100%;
  max-width: 98vw;
  box-sizing: border-box;
}
img, video {
  max-width: 100%;
  height: auto;
  display: block;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 700px;
  margin: 0 auto;
  padding: 1.5rem 1rem 1.2rem 1rem;
}
header h1 {
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: -1px;
  margin: 0;
}
#theme-toggle {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.5rem;
  color: var(--color-text);
  border-radius: 50%;
  padding: 0.4em 0.5em;
  outline: none !important;
  box-shadow: none !important;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 2.5rem;
  min-height: 2.5rem;
  transition: color 0.2s, background 0.2s;
}
#theme-toggle:focus,
#theme-toggle:active,
#theme-toggle:focus-visible {
  outline: none !important;
  box-shadow: none !important;
  border: none !important;
}
@media (max-width: 1024px) {
  #theme-toggle:focus,
  #theme-toggle:active {
    outline: none !important;
    box-shadow: none !important;
    border: none !important;
  }
}
@media (min-width: 700px) {
  #theme-toggle {
    font-size: 2rem;
    min-width: 3rem;
    min-height: 3rem;
    padding: 0.5em 0.7em;
  }
}
@media (max-width: 600px) {
  #theme-toggle {
    font-size: 1.2rem;
    min-width: 2rem;
    min-height: 2rem;
    padding: 0.3em 0.4em;
  }
}
main {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 2.5rem 1rem 1.5rem 1rem;
}
.hero {
  max-width: 600px;
  text-align: center;
  margin-bottom: 2.5rem;
}
.hero-header-row {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.6rem;
  margin-bottom: 1.1rem;
  text-align: left;
  flex-wrap: nowrap;
}
.hero-header-row h2 {
  font-size: 2.2rem;
  font-weight: 700;
  margin: 0;
  letter-spacing: -1px;
  line-height: 1.1;
  text-align: left;
  white-space: nowrap;
  flex-shrink: 0;
}
.hero-icon {
  font-size: 2.3rem;
  display: flex;
  align-items: baseline;
  flex-direction: row;
  line-height: 1;
  margin-top: 0;
  margin-left: 0.2em;
  gap: 0.1em;
  white-space: nowrap;
}
.hero h2 {
  font-size: 2.1rem;
  font-weight: 700;
  margin-bottom: 1.1rem;
  letter-spacing: -1px;
}
.hero p {
  font-size: 1.18rem;
  margin-bottom: 1.7rem;
  line-height: 1.7;
  text-align: center;
}
.discord-invite,
.discord-invite.large {
  display: block;
  width: 100%;
  max-width: 400px;
  margin: 1.5rem auto 0 auto;
  background: #5A68F2;
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 1.13rem;
  padding: 0.7em 1.5em;
  border-radius: 999px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  box-shadow: none;
  outline: none;
  transition: none;
  text-align: center;
  line-height: 1.2;
  letter-spacing: 0.01em;
}
.discord-invite.large {
  font-size: 1.18rem;
  padding: 1em 2.2em;
  margin-top: 1.5rem;
}
.discord-invite:hover,
.discord-invite:focus,
.discord-invite.large:hover,
.discord-invite.large:focus {
  background: #5A68F2;
  color: #fff;
  box-shadow: none;
  outline: none;
  text-decoration: none;
  border: none;
  transition: none;
}
.features {
  max-width: 520px;
  background: var(--color-card);
  border-radius: 1.2em;
  box-shadow: 0 2px 16px 0 rgba(0,0,0,0.04);
  padding: 2rem 1.5rem 1.5rem 1.5rem;
  border: 1px solid var(--color-border);
  margin-bottom: 2rem;
  transition: background var(--transition), border var(--transition);
}
.features h3 {
  font-size: 1.2rem;
  margin-bottom: 1.1rem;
  font-weight: 600;
}
.features ul {
  list-style: none;
  padding: 0;
  margin: 0 0 1.2rem 0;
}
.features li {
  font-size: 1.08rem;
  margin-bottom: 0.7em;
  padding-left: 1.2em;
  position: relative;
}
.features li:before {
  content: '•';
  color: var(--color-accent);
  position: absolute;
  left: 0;
  font-size: 1.2em;
  top: 0.1em;
}
.cta {
  text-align: center;
}
footer {
  border-top: 1px solid var(--color-border);
  background: var(--color-bg);
  padding: 1.2rem 0 1.1rem 0;
  text-align: center;
  font-size: 0.98rem;
  color: #888;
  transition: background var(--transition), border var(--transition);
}
@media (max-width: 480px) {
  header .container, .hero, .features {
    max-width: 100vw;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }
  .hero-header-row h2, .hero h2 {
    font-size: 1.1rem;
  }
  .hero-icon {
    font-size: 1.1rem;
  }
  .features {
    padding: 1rem 0.3rem 0.8rem 0.3rem;
  }
}
@media (min-width: 481px) and (max-width: 768px) {
  header .container, .hero, .features {
    max-width: 95vw;
    padding-left: 1rem;
    padding-right: 1rem;
  }
  .hero-header-row h2, .hero h2 {
    font-size: 1.5rem;
  }
  .hero-icon {
    font-size: 1.5rem;
  }
  .features {
    padding: 1.5rem 1rem 1rem 1rem;
  }
}
@media (min-width: 769px) and (max-width: 1024px) {
  header .container, .hero, .features {
    max-width: 90vw;
    padding-left: 2rem;
    padding-right: 2rem;
  }
  .hero-header-row h2, .hero h2 {
    font-size: 2rem;
  }
  .hero-icon {
    font-size: 2rem;
  }
  .features {
    padding: 2rem 1.5rem 1.2rem 1.5rem;
  }
}
@media (min-width: 1025px) {
  header .container, .hero, .features {
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 2.5rem;
    padding-right: 2.5rem;
  }
  .hero-header-row h2, .hero h2 {
    font-size: 2.7rem;
  }
  .hero-icon {
    font-size: 2.7rem;
  }
  .features {
    max-width: 600px;
    padding: 2.2rem 2rem 1.7rem 2rem;
    margin-bottom: 2.5rem;
  }
}
.main-btn {
  display: inline-block;
  background: var(--color-accent, #007aff);
  color: #fff;
  font-weight: 600;
  padding: 0.7em 1.5em;
  border-radius: 2em;
  font-size: 1.1rem;
  text-decoration: none;
  border: none;
  margin: 0.2em 0.2em 0.2em 0;
  cursor: pointer;
  box-shadow: none;
  outline: none;
  transition: none !important;
}
.main-btn.discord {
  background: var(--color-discord, #5865f2);
}
.hero-buttons {
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  justify-content: center;
}
.discord-btn, .discord-btn:visited {
  display: block;
  width: 100%;
  max-width: 400px;
  margin: 1.5rem auto 0 auto;
  background: #5A68F2;
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  padding: 0.7em 1.5em;
  border-radius: 999px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  box-shadow: none;
  outline: none;
  transition: none;
  text-align: center;
  line-height: 1.2;
  letter-spacing: 0.01em;
}
.discord-btn:hover,
.discord-btn:focus {
  background: #5A68F2;
  color: #fff;
  box-shadow: none;
  outline: none;
  text-decoration: none;
  border: none;
  transition: none;
}
.discord-buttons {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.2rem;
  margin: 1.7rem 0 0 0;
}
.site-header {
  width: 100vw;
  max-width: 100vw;
  background: var(--color-bg);
  border-bottom: 1px solid var(--color-border);
  position: sticky;
  top: 0;
  z-index: 100;
  transition: background 0.2s, border 0.2s;
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1100px;
  margin: 0 auto;
  padding: 1.1rem 1rem 1.1rem 1rem;
  width: 100%;
  box-sizing: border-box;
}
.site-title {
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: -1px;
  margin: 0;
  color: var(--color-text);
  font-family: 'Inter', sans-serif;
}
#theme-toggle {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.5rem;
  color: var(--color-text);
  border-radius: 50%;
  padding: 0.4em 0.5em;
  outline: none !important;
  box-shadow: none !important;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 2.5rem;
  min-height: 2.5rem;
  transition: color 0.2s, background 0.2s;
}
#theme-toggle:focus,
#theme-toggle:active,
#theme-toggle:focus-visible {
  outline: none !important;
  box-shadow: none !important;
  border: none !important;
}
@media (max-width: 700px) {
  .site-header .container {
    padding: 0.7rem 0.7rem 0.7rem 0.7rem;
  }
  .site-title {
    font-size: 1.1rem;
  }
  #theme-toggle {
    font-size: 1.2rem;
    min-width: 2rem;
    min-height: 2rem;
    padding: 0.2em 0.3em;
  }
}
[data-theme="dark"] .site-header {
  background: var(--color-bg);
  border-bottom: 1px solid var(--color-border);
}
[data-theme="dark"] .site-title,
[data-theme="dark"] #theme-toggle {
  color: var(--color-text);
}
@media (max-width: 1023px) {
  *, *::before, *::after { box-sizing: border-box; }
  html, body { margin: 0; padding: 0; overflow-x: hidden !important; }
}

/* Remove legacy navbar styles if present */
.main-navbar, .navbar, .main-navbar-container {
  display: none !important;
  height: 0 !important;
  width: 0 !important;
  overflow: hidden !important;
  padding: 0 !important;
  margin: 0 !important;
  border: none !important;
  box-shadow: none !important;
}
