
    /* --- Base Reset & Global Styles --- */
::after,
::before {
  text-decoration: inherit;
  vertical-align: inherit;
}

:where(:root) {
  cursor: default;
  line-height: 1.5;
  overflow-wrap: break-word;
  -moz-tab-size: 4;
  tab-size: 4;
  -webkit-tap-highlight-color: transparent;
  -webkit-text-size-adjust: 100%;
}

:where(body) {
  margin: 0;
}

:where(dl, ol, ul) :where(dl, ol, ul) {
  margin: 0;
}

:where(hr) {
  color: inherit;
  height: 0;
}

:where(nav) :where(ol, ul) {
  list-style-type: none;
  padding: 0;
}

:where(nav li)::before {
  content: "\200B";
  float: left;
}

:where(pre) {
  font-family: monospace, monospace;
  font-size: 1em;
  overflow: auto;
}

:where(abbr[title]) {
  text-decoration: underline;
  text-decoration: underline dotted;
}

:where(b, strong) {
  font-weight: bolder;
}

:where(code, kbd, samp) {
  font-family: monospace, monospace;
  font-size: 1em;
}

:where(small) {
  font-size: 80%;
}

:where(audio, canvas, iframe, img, svg, video) {
  vertical-align: middle;
}

:where(iframe) {
  border-style: none;
}

:where(svg:not([fill])) {
  fill: currentColor;
}

:where(table) {
  border-collapse: collapse;
  border-color: inherit;
  text-indent: 0;
}

:where(button, input, select) {
  margin: 0;
}

:where(button, [type="button" i], [type="reset" i], [type="submit" i]) {
  -webkit-appearance: button;
  appearance: button;
}

:where(fieldset) {
  border: 1px solid #a0a0a0;
}

:where(progress) {
  vertical-align: baseline;
}

:where(textarea) {
  margin: 0;
  resize: vertical;
}

:where([type="search" i]) {
  -webkit-appearance: textfield;
  appearance: textfield;
  outline-offset: -2px;
}

::-webkit-inner-spin-button,
::-webkit-outer-spin-button {
  height: auto;
}

::-webkit-input-placeholder {
  color: inherit;
  opacity: 0.54;
}

::-webkit-search-decoration {
  -webkit-appearance: none;
}

::-webkit-file-upload-button {
  -webkit-appearance: button;
  font: inherit;
}

:where(dialog) {
  background-color: #fff;
  border: solid;
  color: #000;
  height: -moz-fit-content;
  height: fit-content;
  left: 0;
  margin: auto;
  padding: 1em;
  position: absolute;
  right: 0;
  width: -moz-fit-content;
  width: fit-content;
}

:where(dialog:not([open])) {
  display: none;
}

:where(details > summary:first-of-type) {
  display: list-item;
}

:where([aria-busy="true" i]) {
  cursor: progress;
}

:where([aria-controls]) {
  cursor: pointer;
}

:where([aria-disabled="true" i], [disabled]) {
  cursor: not-allowed;
}

:where([aria-hidden="false" i][hidden]) {
  display: initial;
}

:where([aria-hidden="false" i][hidden]:not(:focus)) {
  clip: rect(0, 0, 0, 0);
  position: absolute;
}

/* --- Typography & Branding --- */
@font-face {
  font-family: "Segoe UI Semilight";
  font-display: swap;
  src: url("../fonts/segoe_ui_semilight.ttf") format("truetype");
}

body {
  background-color: #301000; /* Deep dark brown/red base */
  background: url("IMG_20250919_064844323_AE.jpg") no-repeat center center fixed;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  font-family: "Segoe UI Semilight", Tahoma, Geneva, Verdana, sans-serif, Arial, Helvetica, sans-serif;
  scrollbar-color: rgba(200, 70, 30, 0.8) rgba(31, 31, 31, 0.65);
  cursor: url("../images/cursors/normal.cur"), auto;
}

::selection {
  background: #ff4500; /* Orangered Selection */
  color: #fff;
}

h1,
h2,
h3 {
  background: linear-gradient(to bottom, #bebebe 0, #777 3%, #231010 55%, #000 55%, #160808 98%, #000 100%);
  box-shadow: rgba(0, 0, 0, 0.3) 0 3px 8px;
  border-left: 1px solid #4b3030;
  border-right: 1px solid #4b3030;
  border-bottom: 1px solid #000;
  padding: 2px 5px 4px 5px;
  margin: 0 auto 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 970px;
  font-weight: 400;
  font-family: "Segoe UI Semilight", Tahoma, Geneva, Verdana, sans-serif, Arial, Helvetica, sans-serif;
  margin: 0;
  position: relative;
}

h1 { font-size: 16.3px; }
h2 { font-size: 14.6px; }
h3 { font-size: 14.6px; }
h4 { margin: 0; }

a,
p,
span {
  text-shadow: 0 0 3px #000;
}

p {
  font-size: 14px;
  line-height: 19.7px;
  margin: 0;
}

a {
  color: #ff7e3c; /* Warm Orange Link */
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
  cursor: url("../images/cursors/link.cur"), auto;
}

.text-underline {
  text-decoration: underline;
}

/* --- Navigation & Links --- */
.external-links::after {
  content: "";
  display: inline-block;
  background-image: url("/images/external_links.png");
  background-size: contain;
  width: 10px;
  height: 10px;
  margin: 0 3px 0 5px;
}

.download-links,
.download-links-2 {
  flex-direction: row !important;
  justify-content: center;
}

.download-links-2::after,
.download-links::after {
  content: "";
  display: inline-block;
  background-image: url("/images/download_links.png");
  background-size: contain;
  width: 10px;
  height: 10px;
  margin-left: 5px;
}

#mainContent a:visited {
  color: #c44500; /* Burnt Orange Visited */
}

input[type="range"] {
  accent-color: #ff4500;
}

/* --- Layout Containers --- */
#background {
  width: 100%;
  height: 100vh;
  position: absolute;
}

#websiteContainer {
  width: 100%;
  max-height: 863px;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
  position: absolute;
  max-width: 700px;
}

.website-spacers {
  height: 15px;
}

#mainHeader {
  background: linear-gradient(180deg, rgba(148, 148, 148, .9) 0, rgba(71, 71, 71, .9) 20%, rgba(39, 19, 19, .9) 40%, rgba(20, 7, 7, .93) 100%);
  border-right: 1px solid #4e3e3e;
  border-left: 1px solid #4e3e3e;
  border-top: 2px solid #4e3e3e;
  border-radius: 70px 80px 0 0;
  padding: 15px 10px 13px 30px;
  backdrop-filter: blur(1px) saturate(150%);
  box-shadow: rgba(0, 0, 0, .25) 0 14px 28px, rgba(0, 0, 0, .22) 0 10px 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  z-index: 10;
}

.header-logo-text {
  display: flex;
  align-items: center;
}

.header-title {
  color: #fff;
  display: block;
  font-size: 30px;
  margin: -8px 0 -5px 0;
}

#logo {
  max-width: 70px;
  margin-right: 15px;
  margin-left: 5px;
  transition-duration: .4s;
}

#logo:hover {
  filter: brightness(80%);
  transition-duration: .4s;
  transform: rotate(4deg);
}

.header-motto {
  color: #c9c9c9;
  margin-left: 5px;
}

.toggle-buttons-divs {
  display: none;
  align-items: center;
  justify-content: center;
  padding-right: 20px;
}

.toggle-buttons-divs span {
  color: #e9e9e9;
  margin-right: 8px;
}

#navbarToggleButton {
  margin-right: 5px;
  max-width: 25px;
  cursor: url("../images/cursors/link.cur"), auto;
}

#navAndContentContainer {
  display: flex;
}

/* --- Navigation Menu --- */
#navigationMenu {
  background: linear-gradient(100deg, rgba(30, 20, 20, .85) 50%, rgba(37, 27, 27, .9) 100%);
  border-right: 1px solid #473737;
  border-left: 1px solid #473737;
  border-bottom: 1px solid #473737;
  border-bottom-left-radius: 40px;
  backdrop-filter: blur(1px);
  box-shadow: rgba(0, 0, 0, .25) 0 14px 28px, rgba(0, 0, 0, .22) 0 10px 10px;
  display: block;
  height: 710px;
  min-width: 125px;
  max-width: 250px;
  padding: 8px 11px 14px 11px;
  overflow: auto;
}

.nav-categories {
  background: rgba(36, 26, 26, .35);
  border: 1px solid #423232;
  display: flex;
  flex-direction: column;
  padding: 2px 3px;
  margin-bottom: 5px;
}

.navbar-titles {
  background: linear-gradient(to bottom, #fff 0, rgba(129, 90, 90, .75) 3%, rgba(56, 36, 36, .75) 50%, rgba(27, 12, 12, .75) 50%, rgba(12, 0, 0, .75) 100%);
  border: 1px solid #000;
  color: #f7f4f4;
  padding-bottom: 1px;
  margin: 1px 1px 3px 1px;
  font-size: 12.6px;
  font-weight: 400;
  text-align: center;
}

.nav-icons {
  height: 18.4px;
  margin: 1px 3px 0 4px;
  z-index: 1;
}

.nav-active,
.nav-inactive {
  border: 1px solid #0f0f0f;
  border-radius: 5px;
  color: #eee;
  display: flex;
  align-items: center;
  margin: auto auto 2px auto;
  width: 93%;
  font-size: 12.5px;
  position: relative;
}

.nav-active {
  background: linear-gradient(to bottom, rgba(255, 255, 255, .25) 0, rgba(117, 117, 117, .2) 20%, rgba(92, 92, 92, .2) 50%, rgba(73, 29, 23, .3) 50%, rgba(204, 65, 60, .7) 100%) !important;
  color: #facd57; /* Sunset Gold/Orange text */
  transform: scale(1.03);
}

.nav-inactive {
  background: linear-gradient(to bottom, rgba(255, 255, 255, .25) 0, rgba(117, 117, 117, .15) 20%, rgba(92, 92, 92, .15) 60%, rgba(0, 0, 0, .3) 60%, rgba(41, 41, 41, .3) 100%);
}

.nav-inactive:hover {
  background: linear-gradient(to bottom, rgba(255, 255, 255, .25) 0, rgba(117, 117, 117, .2) 20%, rgba(92, 92, 92, .2) 50%, rgba(63, 43, 43, .3) 50%, rgba(161, 101, 101, .3) 100%);
  transform: scale(1.03);
}

.nav-active:before,
.nav-inactive:before {
  background: linear-gradient(to bottom, rgba(117, 117, 117, .7) 0, rgba(255, 255, 255, .1) 100%);
  border-radius: 20px;
  position: absolute;
  content: "";
  height: 11px;
  width: 90%;
  top: 0;
  left: 5%;
  opacity: .3;
}

.nav-categories hr {
  display: none;
}

#navigationMenu div {
  display: flex;
  align-items: center;
}

.nav-buttons-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3px 0;
}

.nav-buttons-container img {
  width: 88px;
  height: 31px;
  transition-duration: .4s;
}

.nav-buttons-container img:hover {
  filter: brightness(80%);
  transition-duration: .4s;
}

#navSoundToggle,
#navThemeChanger {
  background: linear-gradient(to bottom, #fff 0, #fdc196 3%, #913c2a 30%, #582115 55%, #310e0b 55%, #5c221a 100%);
  box-shadow: 1px 1px 5px rgba(0, 0, 0, .2);
  border: 1px solid #000;
  color: #fff;
  cursor: url("../images/cursors/link.cur"), auto;
  width: 100%;
  padding: 5px 0;
  transition-duration: .1s;
  position: relative;
  font-size: 12.9px;
}

#navThemeChanger {
  border-bottom-left-radius: 13px;
  margin-top: 2px;
}

#navSoundToggle:hover,
#navThemeChanger:hover {
  background: linear-gradient(to bottom, #fdc196 0, #913c2a 30%, #582115 56%, #310e0b 56%, #bb4431 100%);
}

#navSoundToggle:before,
#navThemeChanger:before {
  background: linear-gradient(to bottom, #fff 0, rgba(255, 255, 255, .5) 100%);
  position: absolute;
  content: "";
  height: 14px;
  width: 100%;
  top: 0;
  left: 0;
  opacity: .3;
}

.privacy-category {
  background: 0 0 !important;
  border: none !important;
  margin-top: -4px;
}

.privacy-policy-link {
  font-size: 10.5px;
}

/* --- Main Content --- */
#mainContent {
  background: rgba(45, 30, 30, .7);
  border-right: 1px solid #3b2b2b;
  border-bottom: 1px solid #3b2b2b;
  border-bottom-right-radius: 3px;
  backdrop-filter: blur(1px) saturate(150%);
  box-shadow: rgba(0, 0, 0, .25) 0 14px 28px, rgba(0, 0, 0, .22) 0 10px 10px;
  color: #dadada;
  padding: 12px 10px 8px 10px;
  height: 712px;
  width: 100%;
  overflow-y: auto;
  overflow-x: hidden;
}

.glass-borders {
  background-image: linear-gradient(rgba(58, 48, 48, .1), rgba(36, 26, 26, .1), rgba(36, 26, 26, .1));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12), inset 0 0 8px rgba(255, 255, 255, .1), 0 5px 5px rgba(0, 0, 0, .5);
  border: 1px solid #685858;
  padding: 5px;
  margin: 8px auto 8px auto;
}

.aero-borders {
  border: 1px solid #4b3b3b;
}

.section-banners {
  background: rgba(37, 27, 27, .796);
  box-shadow: rgba(0, 0, 0, .3) 0 3px 8px;
  border-bottom: none;
}

.section-banners img {
  border-bottom: 1px solid #000;
  width: 100%;
}

.styled-containers {
  background: rgba(37, 27, 27, .83);
  box-shadow: rgba(0, 0, 0, .3) 0 3px 8px;
  padding: 10px 10px 10px 10px;
  max-width: 935px;
}

.styled-containers span {
  font-size: 14px;
}

.styled-containers-spaced {
  padding: 0 10px 10px 10px;
}

.styled-containers-spaced h2,
.styled-containers-spaced h3 {
  margin-top: 10px;
}

.styled-containers-headers p,
.styled-containers-spaced p {
  margin: 4px 5px 0 5px;
}

.styled-containers-headers {
  background: rgba(37, 27, 27, .8);
  box-shadow: rgba(0, 0, 0, .3) 0 3px 8px;
  border-top: none;
  padding: 3px 10px 10px 10px;
}

.styled-containers-layer-2 {
  background: rgba(37, 27, 27, .635);
}

.gallery-containers {
  padding: 5px;
}

.gallery-containers a {
  background: rgba(25, 15, 15, .8);
  border-top: 1px solid #423232;
  border-left: 1px solid #423232;
  border-bottom: 1px solid #130a0a;
  border-right: 1px solid #423232;
  display: flex;
  align-items: center;
  flex-direction: column;
  padding: 6px 7px;
  min-height: 100px;
  transition-duration: .2s;
}

.gallery-containers a:hover {
  filter: brightness(85%);
  transform: scale(1.02);
  transition-duration: .15s;
}

.gallery-containers img {
  border-top: 1px solid #271717;
  border-left: 1px solid #271717;
  border-right: 1px solid #3f2f2f;
  border-bottom: 1px solid #3f2f2f;
  width: 100%;
}

.gallery-images-containers {
  display: grid;
  grid-column-gap: 15px;
  grid-row-gap: 15px;
}

/* --- Page Navigation --- */
#pageNav {
  background: linear-gradient(to bottom, #1a1010 50%, #241414 70%, #311a1a 85%, #3d2a2a 100%);
  position: sticky;
  border-top-right-radius: 60px;
  border-top-left-radius: 60px;
  margin-bottom: -10px;
  bottom: -10px;
  z-index: 3;
}

#pageNav h2 {
  border-top-right-radius: 100px;
  border-top-left-radius: 100px;
  width: 96%;
  margin: 7px auto 0 auto;
}

.page-swap-div {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 7px 0 0 0;
}

.page-swap-div a {
  background: linear-gradient(to bottom, #fff 0, #fdc196 3%, #913c2a 30%, #582115 56%, #310e0b 56%, #5c221a 100%);
  border: 1px solid #000;
  box-shadow: 1px 1px 5px rgba(0, 0, 0, .2);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3px 15px 7px 15px;
  color: #fff;
  margin: 0 3px;
  transition-duration: .1s;
  line-height: 0;
  position: relative;
}

.page-swap-div a:hover {
  background: linear-gradient(to bottom, #fff 0, #fdc196 3%, #913c2a 30%, #582115 56%, #310e0b 56%, #bb4431 100%);
}

.page-swap-div a:before {
  background: linear-gradient(to bottom, #fff 0, rgba(255, 255, 255, .5) 100%);
  position: absolute;
  content: "";
  height: 15px;
  width: 100%;
  top: 0;
  left: 0;
  opacity: .3;
}

.page-swap-div a:visited {
  color: #fff !important;
}

.page-swap-div img {
  width: 20px;
  margin-left: 4px;
  margin-bottom: -3px;
}

.page-swap-div a:nth-child(2) img {
  margin-right: 4px;
}

/* --- Spotlight --- */
#spotlight {
  margin-top: 50px;
  margin-bottom: 60px;
  contain: none;
  overflow: visible;
}

.spl-header {
  transform: translateY(0);
  margin-top: -51px;
  background: linear-gradient(to bottom, #777 0, #616161 10%, #231010 55%, #000 55%, #000 60%, #201010 100%);
  border-bottom: 1px solid #000;
  padding-left: 7px;
}

.spl-next,
.spl-prev {
  border-radius: 0;
}

.spl-title {
  font-size: 18px;
  text-align: center;
}

.spl-footer {
  background: linear-gradient(to bottom, #777 0, #616161 10%, #231010 55%, #000 55%, #000 60%, #201010 100%);
  border-top: 1px solid #000;
  margin-bottom: -60px;
}

/* --- Theme Menu --- */
#themeMenu {
  background: rgba(20, 0, 0, .6);
  border-left: 1px solid #3b2b2b;
  border-bottom-right-radius: 3px;
  backdrop-filter: blur(1px);
  padding: 8px 0 0 0;
  position: fixed;
  top: 0;
  right: 0;
  max-width: 180px;
  height: 99.2%;
  overflow-y: auto;
  overflow-x: hidden;
}

#themeMenu h2 {
  color: #fff;
  margin: 0 10px;
}

#themeImages {
  height: 93%;
  padding: 0 10px;
  overflow: auto;
}

#themeMenu img {
  border: 1px solid #000;
  cursor: url("../images/cursors/link.cur"), auto;
  max-width: 98.5%;
  margin-top: 5px;
  transition-duration: .2s;
}

#themeMenu img:hover {
  transition-duration: .2s;
  filter: brightness(.8);
}

#themeMenu span {
  display: block;
  text-align: center;
  color: #fff;
  font-size: .8em;
  margin: -3px 0 3px 0;
}

#themeMenu a {
  background: linear-gradient(to bottom, #ffebeb 0, #fa8c8c 3%, #f31414 55%, #a30909 55%, #eb1717 100%);
  border: 1px solid #790000;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 5px 10px 0 10px;
  padding-bottom: 2px;
}

/* --- Magnific Popup --- */
.mfp-bg {
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1042;
  overflow: hidden;
  position: fixed;
  background: #0b0505;
  opacity: .8;
}

.mfp-wrap {
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1043;
  position: fixed;
  outline: 0 !important;
  -webkit-backface-visibility: hidden;
}

.mfp-container {
  text-align: center;
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  padding: 0 8px;
  box-sizing: border-box;
}

.mfp-container:before {
  content: "";
  display: inline-block;
  height: 100%;
  vertical-align: middle;
}

.mfp-content {
  position: relative;
  display: inline-block;
  vertical-align: middle;
  margin: 0 auto;
  text-align: left;
  z-index: 1045;
}

button.mfp-close {
  width: 44px;
  height: 44px;
  line-height: 44px;
  position: absolute;
  right: 0;
  top: 0;
  opacity: .65;
  color: #fff;
  font-size: 28px;
}

.mfp-arrow {
  position: absolute;
  opacity: .65;
  top: 50%;
  width: 90px;
  height: 110px;
}

.mfp-arrow-left:after {
  border-right: 17px solid #ff7e3c;
}

.mfp-arrow-right:after {
  border-left: 17px solid #ff7e3c;
}

/* --- Responsive Media Queries --- */
@media (max-width: 750px), (max-height: 915px) and (max-width: 1000px) {
  .website-spacers { display: none; }
  #background { pointer-events: none; }
  #websiteContainer { top: 0; bottom: 0; left: 0; right: 0; margin: 0; }
  #mainHeader { border-top: none; border-radius: 0; padding: 5px 10px 5px 13px; position: fixed; top: 0; width: 100%; }
  #logo { width: 28px; margin-right: 8px; margin-left: 0; }
  .header-title { font-size: 13px; }
  .header-motto { display: none; }
  .toggle-buttons-divs { display: block; }
  #navAndContentContainer { position: fixed; top: 38px; }
  #navigationMenu { position: absolute; border-bottom-left-radius: 0; height: calc(100vh - 61px); z-index: 10; display: none; }
  #mainContent { border-bottom-right-radius: 0; height: calc(100vh - 57px); }
  #themeMenu { top: 38px; height: calc(100vh - 40px); }
  #themeImages { height: calc(100vh - 115px); }
}

@media (max-width: 641px) {
  h1 { font-size: 16px; }
  h2, h3 { font-size: 14px; }
  #pageNav h2 { display: none; }
  .page-swap-div a { padding: 6px 6px 10px 6px; font-size: .9em; }
}

@media (max-width: 370px) {
  h1 { font-size: 14px; }
  h2 { font-size: 13px; }
  h3 { font-size: 12px; }
  .page-swap-div a:nth-child(2) { display: none; }
}

@media (max-width: 300px) {
  .header-text span { display: none; }
  .header-text:after { color: #fff; content: "The FA Archive"; }
  #mainContent { padding: 15px 5px 3px 5px; }
}

@media (min-width: 800px) { #websiteContainer { max-width: 750px; } }
@media (min-width: 880px) { #websiteContainer { max-width: 830px; } }
@media (min-width: 1060px) { #websiteContainer { max-width: 1000px; } }

    /* INTRO & LAUNCH STYLES */
        .intro-video { position: fixed; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; z-index: 10; }
        .launch-screen { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: green; color: white; text-align: center; display: flex; justify-content: center; align-items: center; font-size: 24px; cursor: pointer; z-index: 15; }
        .skip-btn { position: fixed; bottom: 20px; left: 20px; padding: 10px 20px; background-color: rgb(66, 133, 244); color: white; border: none; border-radius: 20px; cursor: pointer; z-index: 20; }

    
      .search-bars {
    display: flex;
    gap: 12px;
    margin: 20px 0;
    flex-wrap: wrap;
    /* Optional: Adding a soft glow to the container area */
    padding: 10px;
}

.search-bars input {
    flex: 1;
    min-width: 240px;
    padding: 12px 20px;
    font-size: 14px;
    
    /* The "Glass" Look */
    background: linear-gradient(180deg, 
        rgba(255, 255, 255, 0.9) 0%, 
        rgba(240, 245, 255, 0.7) 50%, 
        rgba(220, 235, 255, 0.8) 100%);
    
    /* Rounded & Bordered */
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 50px; /* Bubbles are very Frutiger Aero */
    
    /* Depth: Outer glow and inner shadow */
    box-shadow: 
        0 4px 15px rgba(0, 120, 255, 0.2), 
        inset 0 -2px 5px rgba(0, 0, 0, 0.1),
        inset 0 2px 5px rgba(255, 255, 255, 0.8);
    
    color: #1a3a5a;
    outline: none;
    transition: all 0.3s ease;
}

.search-bars input::placeholder {
    color: #6a8caf;
    font-style: italic;
}

/* Hover & Focus Effects */
.search-bars input:hover {
    border-color: #80c4ff;
    box-shadow: 0 0 12px rgba(100, 200, 255, 0.6);
}

.search-bars input:focus {
    background: white;
    border-color: #3498db;
    box-shadow: 0 0 20px rgba(52, 152, 219, 0.4);
}
    /* MAIN TILE STYLE */
.tile {
    /* Restore JS color but use an overlay for the "Glass" look */
    background-color: var(--tile-colour, #2d89ef);
    
    /* Dark Frutiger aesthetic uses deep shadows and highlights */
    background-image: linear-gradient(
        180deg, 
        rgba(255, 255, 255, 0.15) 0%, 
        rgba(255, 255, 255, 0.05) 50%, 
        rgba(0, 0, 0, 0.1) 50%, 
        rgba(0, 0, 0, 0.2) 100%
    );

    color: #e0e0e0; /* Off-white for that "Dark" look */
    border-radius: 12px; /* Slightly tighter rounded corners */
    padding: 20px;
    height: 120px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: space-between;

    /* The "Dark Glass" Border: bright top, dark bottom */
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    border-right: 1px solid rgba(0, 0, 0, 0.3);
    border-bottom: 2px solid rgba(0, 0, 0, 0.5);

    /* Shadow stack for depth */
    box-shadow: 
        0 8px 25px rgba(0, 0, 0, 0.5),           /* Deep outer shadow */
        inset 0 1px 1px rgba(255, 255, 255, 0.2); /* Subtle inner rim */
    
    backdrop-filter: blur(12px); /* Makes the JS color look like thick smoked glass */
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.tile:hover {
    transform: translateY(-3px) scale(1.02);
    filter: brightness(1.2); /* Makes the JS color "glow" on hover */
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6), 0 0 15px rgba(255, 255, 255, 0.1);
}

/* ADD TILE (Dark Mode Version) */
.tile.add-tile {
    background: #1a1a1a; /* Darker base for "Frutiger Dark" */
    color: #00a2ff;      /* Neon blue accent */
    font-size: 48px;
    font-weight: 300;
    align-items: center;
    justify-content: center;
    border: 1px dashed rgba(255, 255, 255, 0.1);
}

.tile.add-tile:hover {
    background: #252525;
}

/* ADD TILE FORM (INSIDE TILE) */
.tile.add-tile form {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
}

.tile.add-tile input {
    background: rgba(0, 0, 0, 0.5);
    color: white;
    padding: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    outline: none;
    font-size: 12px;
}

.tile.add-tile button {
    background: linear-gradient(180deg, #444 0%, #111 100%);
    border: 1px solid #000;
    color: #00a2ff;
    border-radius: 4px;
    padding: 6px;
    cursor: pointer;
    font-weight: bold;
    font-size: 12px;
    text-transform: uppercase;
} 
