/* ================= GLOBAL SETTINGS ================= */

:root {

  /* ================= 1. BRANDING & COLORS (change these to match your vibe! - accent: buttons/links, text: color, bg: page, surface: boxes) ================= */

  --accent: #da5e94;
  --text: #1f1f1f;
  --bg: #fff;
  --outer-bg: #fee1ec;
  --surface: #ffffff;

  /* ================= 2. TYPOGRAPHY (paste your google font stack here to change the whole site) ================= */

  --font-main: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  /* ================= 3. LAYOUT & GEOMETRY (container: max width, pad: side spacing, radius: corners, banner: header height, section-pad: vertical spacing) ================= */

  --container: 1260px;
  --pad: 20px;
  --radius: 14px;

  --banner-min-h: 220px;
  --banner-max-h: 420px;

  --section-pad: 15px;
  --content-top-gap: 32px;
  --content-bottom-gap: 40px;

  /* ================= 4. ADVANCED SETTINGS (controls shadows, borders, and secondary colors) ================= */

  --muted: #5f5f5f;
  --line: #d9d9d9;
  --nav-bg: #e6e6e6;
  --footer-bg: #dedede;

  --shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  --page-shadow: 0 0 35px rgba(0, 0, 0, 0.1);
}

/* ================= BASE ================= */

* {
  box-sizing: border-box;
}

html {
  height: 100%;
  margin: 0;
  overflow-y: scroll;
}

body {
  height: 100%;
  margin: 0;

  font-family: var(--font-main);
  background: var(--outer-bg);
  color: var(--text);
  line-height: 1.5;
}

.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  max-width: 1300px;
  margin: 0 auto;
  background: var(--bg);
  box-shadow: var(--page-shadow);
}

.site-main {
  flex: 1;
  padding-top: var(--content-top-gap);
}

.container {
  width: min(var(--container), calc(100% - (var(--pad) * 2)));
  margin: 0 auto;
}

/* ================= LINK STYLING ================= */

a {
  color: var(--text);
  text-decoration: underline;
  text-decoration-color:#224893;
  text-underline-offset: 3px;

  /* ================= SMOOTH COLOR TRANSITION ================= */
  transition: color 180ms ease, text-decoration-color 180ms ease;
}

a:hover {
  color: var(--accent);
  text-decoration-color: rgba(0, 0, 0, 0.35);
}

/* ================= ICON SPACING (FONT AWESOME) ================= */

.icon,
.btn i,
.nav-cta i,
.nav-toggle i {
  display: inline-block;
  margin-right: 8px;
}

.nav-dark i {
  margin-right: 0;
}

.nav-links a,
.brand,
.nav-cta {
  text-decoration-color: initial;
  transition: none;
}

.site-header {
  width: 100%;
}

/* ================= NAVIGATION ================= */

.header-bar {
  position: sticky;
  top: 0;
  z-index: 999;
  background: var(--nav-bg);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  flex-wrap: wrap;
}

.brand {
  font-weight: 700;
  color: var(--text);
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 14px;
  padding: 0;
  margin: 0;
  flex-wrap: wrap;
}

.nav-links a {
  color: var(--text);
  font-weight: bold;
  padding: 8px 10px;
  border-radius: 10px;
}

.nav-links a.active {
  background: rgba(0, 0, 0, 0.08);
  color: var(--text);
}

.nav-links a:hover {
  background: #ffe8f2;
  color: var(--text);
}

.nav a,
.nav a:hover,
.nav a:focus,
.nav a:active {
  text-decoration: none;
  text-decoration-color: initial;
}


.nav-actions {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.nav-dark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  cursor: pointer;
}

.nav-dark:hover {
  background: #f7f7f7;
}

.nav-cta {
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--text);
  background: var(--surface);
  display: inline-flex;
  align-items: center;
}

.nav-cta:hover {
  background: #f7f7f7;
}

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text);
  border-radius: 12px;
  padding: 8px 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  cursor: pointer;
  align-items: center;
}

.nav-toggle:hover {
  background: #f7f7f7;
}

/* ================= DROPDOWNS ================= */

.nav-item-has-children {
  position: relative;
}

.sub-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 160px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 6px;
  margin: 6px 0 0 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  list-style: none;
  z-index: 100;
}

.nav-item-has-children:hover .sub-menu {
  display: block;
}

.sub-menu li {
  display: block;
}

.sub-menu a {
  display: block;
  white-space: nowrap;
  font-size: 14px;
}

/* ================= HEADER IMAGE ================= */

.header-image {
  width: 100%;
  background-image: url("header2.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  height: 520px;
  min-height: var(--banner-min-h);
  max-height: var(--banner-max-h);

  position: relative;
}

.header-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
}

.header-content {
  color: #fff;
  padding: 22px 0;
}

.header-kicker {
  margin: 0 0 6px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 12px;
  opacity: 0.9;
}

.header-title {
  margin: 0 0 10px;
  font-size: 42px;
  line-height: 1.1;
}

.header-text {
  margin: 0;
  max-width: 600px;
  opacity: 0.92;
}

/* ================= CONTENT ================= */

.section {
  padding: var(--section-pad) 0;
  position: relative;
}

.section+.section {
  margin-top: 30px;
}

.section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  margin: 0 auto;
  width: min(var(--container), calc(100% - (var(--pad) * 2)));
  border-top: 1px solid var(--line);
}

.section h1,
.section h2,
.section h3,
.section h4 {
  margin: 0 0 10px;
  color: #912456;
}

.section p {
  margin: 0 0 24px;
  color: var(--text);
}

/* ================= BLOCKQUOTE ================= */

blockquote {
  max-width: 760px;
  margin: 12px auto;
  padding: 16px 20px;

  background: var(--surface);
  border-left: 4px solid var(--accent);
  border-radius: 10px;

  color: var(--text);

  box-shadow: var(--shadow);
}

blockquote .icon {
  margin-right: 4px;
}

/* ================= OPTIONAL BUTTON COMPONENT (USES ACCENT) ================= */

.btn {
  display: inline-block;
  margin-top: 10px;
  background: var(--accent);
  color: #fff;
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.15);
}

.btn:hover {
  filter: brightness(0.95);
}

.btn i {
  margin-right: 8px;
}

/* ================= BOXES ================= */

.box {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 22px 12px 22px;
  box-shadow: var(--shadow);

  transition: transform 150ms ease, box-shadow 150ms ease;
}

/* ================= BOXES GRID ================= */

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 0;
}

.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

/* ================= FORMS ================= */

.form {
  display: grid;
  gap: 12px;
  margin-top: 12px;
}

.form-field {
  display: grid;
  gap: 6px;
}

.form-label {
  font-size: 14px;
  color: var(--muted);
  font-weight: bold;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.02);
}

.form-textarea {
  min-height: 130px;
  resize: vertical;
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.10);
}

.form .btn {
  width: 100%;
  text-align: center;
}

  textarea {font-size:10px;letter-spacing:1px;color:#999;}

b{display: inline-block; background: #c540b5; color: #fff; padding: 0px 8px 0px 8px; font-family: 'Inconsolata', sans-serif; font-size: 12px; text-transform: uppercase; line-height: 100%;}
i { color: #cb3b65; }
em { color: #061b3a; }
u { color: #8e878b; text-decoration: underline; }

/* ================= FOOTER ================= */

.site-footer {
  background: var(--footer-bg);
  border-top: 1px solid var(--line);
  padding: 16px 0;
  margin-top: var(--content-bottom-gap);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-left {
  display: grid;
  gap: 6px;
}

.footer-inner p {
  margin: 0;
  color: var(--muted);
}

.footer-credit {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.footer-credit a {
  color: var(--muted);
}

.footer-credit a:hover {
  color: var(--text);
  text-decoration: underline;
}

.footer-links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--muted);
}

.footer-links a:hover {
  color: var(--text);
  text-decoration: underline;
}

.container img {
  vertical-align: bottom;
}

/* ================= MOBILE ================= */

@media (max-width: 900px) {
  .grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .grid-2 {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .header-image {
    height: 320px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .js .nav-links {
    display: none;
    width: 100%;
    flex-direction: column;
    gap: 8px;
    padding-top: 10px;
    border-top: 1px solid var(--line);
  }

  .js #sticky-nav.nav-open .nav-links {
    display: flex;
  }

  .nav-actions {
    margin-left: auto;
  }
}

@media (max-width: 520px) {
  :root {
    --pad: 14px;
  }
}

/* ================= THEME TRANSITION UTILITY ================= */

.theme-transition,
.theme-transition *,
.theme-transition *:before,
.theme-transition *:after {
  transition: all 0.1s ease-out !important;
  transition-delay: 0 !important;
}

.highlightCard {
	border: 1px solid #000;
	background: #fff;
}
.dimmedCard {
	opacity:0.3;
	filter:alpha(opacity=30);
}

#cardlist a {
        text-transform:lowercase;
}

.collecting-deck {
    display: inline-block;
    vertical-align: top;
    width: 49%;
}

div.deck img {
vertical-align:top;
}

select, textarea {
  padding: 10px;
  width: 450px;
  background-color: #fff;
  border: none;
  border: 1px solid #000;
  font-family: 'Trebuchet Ms';
  font-size: inherit; }

input[type=submit] {
  padding: 5px;
  border: none; /*rewriting standard style, it is necessary to be able to change the size*/
  width: 115px;
  background-color: #fff;
  border: 1px solid #000;
  font-family: 'Trebuchet Ms';
  font-size: inherit;
}

input[type=text] {
  width: 450px;
  padding: 10px;
  border: none;
  background-color: #fff;
  border: 1px solid #000;
  font-family: 'Trebuchet Ms';
  font-size: inherit;
}

#search {
  width: 250px;
  padding: 5px;
  border: 1px solid #000;
  background-color: #fff;
  font-family: 'Trebuchet Ms';
  font-size: inherit;
}

#cardlists li {
    display: inline-block;
}
    .cardname { 
	line-height: 15px;
    width: 150px;
    display: block;
    font-size: 8px;
	text-align: center;
	background: #003e70;
    color: #fff;
	margin: 4px; }
	
li {
    margin: 0 10px;
    padding: 5px;
    display: inline-block;
    word-wrap: break-word;
}

/************************
N E E D E D
************************/
#needed-deck {
    font-weight: normal;
    color: #888888;
    text-align: left;
    display: inline-block;
    width: 31%;
    margin: 0;
    border-top: 1px solid #eeeeee;
    vertical-align: top;
}
#needed-cards {
    font-weight: normal;
    color: #888888;
    text-align: left;
    display: inline-block;
    width: 68%;
    margin: 0;
    border-top: 1px solid #eeeeee;
    vertical-align: top;
}
#needed-trading #needed-cards {
    color: white !important;
}
#needed-pending {
    font-weight: normal;
    color: #FFC03C;
	text-shadow: 1px 1px 2px rgba(255, 192, 60, 0.5);
}
#needed {
    text-align: left;
    font-family: calibri;
    font-size: 11px;
}
#needed b, #needed strong {
    text-align: left;
    font-family: calibri;
    font-size: 12px;
    font-weight: normal;
    letter-spacing: 1px;
}

.list-inline {
display: block;
}
    .cardname { line-height: 20px;
    width: 135px;
    display: block;
    font-size: 10px;
    margin: 3px; }

li {
    margin: 0 10px;
    padding: 5px;
    display: inline-block;
    text-align: center;
}

#container img {
  vertical-align: bottom;
}