@tailwind base;
@tailwind components;
@tailwind utilities;

/* Add your custom styles below the Tailwind directives */
/* Copy your custom styles from application.css here */
/* Site footer – loaded last so it overrides; matches application.css footer block */
.site-footer {
  margin-top: 3rem;
  padding: 2.5rem 1.5rem 2rem;
  text-align: center;
  border-top: 1px solid #565656;
  background-color: #393A3F;
}

.site-footer__intro {
  color: #8C8C8C;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 0 1.5rem;
}

.site-footer__links {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(10rem, 1fr));
  justify-content: center;
  justify-items: center;
  gap: 2rem 2.5rem;
  max-width: 42rem;
  margin: 0 auto 2rem;
}

.site-footer__link-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  text-align: center;
}

.site-footer__links a {
  color: #E7E7E7 !important;
  text-decoration: none !important;
  font-size: 0.9375rem;
  font-weight: 600;
  border-bottom: 1px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.site-footer__links a:hover {
  color: #F2F2EE !important;
  border-bottom-color: #8C8C8C;
}

.site-footer__link-desc {
  display: block;
  color: #565656 !important;
  font-size: 0.75rem;
  font-weight: 500;
  line-height: 1.35;
}

.site-footer__legal {
  color: #565656 !important;
  font-size: 0.75rem;
  font-weight: 500;
  margin: 0;
  padding-top: 1.5rem;
  border-top: 1px solid #565656;
}
/*
 * This is a manifest file that'll be compiled into application.css, which will include all the files
 * listed below.
 *
 * Any CSS (and SCSS, if configured) file within this directory, lib/assets/stylesheets, or any plugin's
 * vendor/assets/stylesheets directory can be referenced here using a relative path.
 *
 * You're free to add application-wide styles to this file and they'll appear at the bottom of the
 * compiled file so the styles you add here take precedence over styles defined in any other CSS
 * files in this directory. Styles in this file should be added after the last require_* statement.
 * It is generally better to create a new file per style scope.
 *


 */


 ::-moz-selection { /* Code for Firefox */
   color: #0B0B12;
   background: #FF4D8D;
}

::selection {
   color: #0B0B12;
   background: #FF4D8D;
}

 @font-face {
    font-family: 'NimbusSanL';
    src: url(/assets/NimbusSanL-Reg-09b67a1a8321b4f5b902d4ee36eedd4ab99520c8e0b2daf05b443ddbcf08342d.otf) format('otf');
  }

   
  @font-face {
    font-family: "Urbanist", sans-serif;
    /* src: url(/assets/Urbanist-Regular-6cc311f0a38c71a9b852ac858dc594f6983f92e35392233a1db7342774fc552b.otf) format('otf'); */
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
  }

  @font-face {
    font-family: 'YoungSerif';
    src: url(/assets/YoungSerif-Regular-2ad9e9359a6842892a2703139945a8010a07985f8da1edcbdea6a0489b0995f5.otf) format('otf');
    font-weight: normal;
    font-style: normal;
  }

 * {
    font-family: 'Urbanist', sans-serif;
    font-weight: 600;
    /* font-family: 'NimbusSanL', sans-serif; */
    /* font-family: 'YoungSerif', sans-serif; */
    /* font-style: normal;
    font-weight: normal; */
    /* background-color: black;
    color: white; */
 }

 /* ul {
   list-style: none;
   margin: 0;
   padding: 0;
 } */
 
 ul li::before {
   content: "+ ";
 }
 

 .body {
   /* width: 80%; */
   /* margin-left: auto; */
   /* margin-right: auto; */
 }


 .content {
   /* margin-left: auto;
   margin-right: auto;
   padding: 20px;
   margin-top: 20px;
   border-top: 1px solid #565656; */
 }

 .footer {
   /* margin-left: auto;
   margin-right: auto;
   padding: 20px;
   margin-top: 20px;
   border-top: 1px solid #565656; */
 }

 .footer a {
   /* color: #EFEFEF;
   text-decoration: none; */
 }

 /* Site footer – clean, content-friendly (TrainForUltra-inspired) */
 .site-footer {
   position: relative;
   margin-top: 3rem;
   padding: 2.5rem 1.5rem 2rem;
   text-align: center;
   border-top: 1px solid rgba(139, 92, 246, 0.35);
   background: linear-gradient(180deg, rgba(139, 92, 246, 0.08), rgba(11, 11, 18, 0) 60%), #100D1A;
 }

 .site-footer::before {
   content: "";
   position: absolute;
   top: -1px;
   left: 0;
   right: 0;
   height: 1px;
   --speckle-x1: 38%;
   --speckle-x2: 82%;
   background-image:
     radial-gradient(18px 6px at var(--speckle-x1) 50%, transparent, transparent),
     linear-gradient(90deg, transparent, #FFFFFF 20%, #FFFFFF 80%, transparent);
   opacity: 0.5;
   animation: neon-speckle-fade 17s ease-in-out infinite;
   animation-delay: -9s;
 }

 .site-footer__intro {
   color: #4FF0E4;
   font-size: 0.75rem;
   font-weight: 600;
   letter-spacing: 0.25em;
   text-transform: uppercase;
   margin: 0 0 1.5rem;
 }

 .site-footer__links {
   display: grid;
   grid-template-columns: repeat(auto-fill, minmax(10rem, 1fr));
   justify-content: center;
   justify-items: center;
   gap: 2rem 2.5rem;
   max-width: 42rem;
   margin: 0 auto 2rem;
 }

 .site-footer__link-block {
   display: flex;
   flex-direction: column;
   align-items: center;
   gap: 0.35rem;
   text-align: center;
 }

 .site-footer__links a {
   color: #E7E7E7;
   text-decoration: none;
   font-size: 0.9375rem;
   font-weight: 600;
   border-bottom: 1px solid transparent;
   transition: color 0.15s ease, border-color 0.15s ease;
 }

 .site-footer__links a:hover {
   color: #4FF0E4;
   border-bottom-color: #FF4D8D;
 }

 .site-footer__link-desc {
   display: block;
   color: #565656;
   font-size: 0.75rem;
   font-weight: 500;
   line-height: 1.35;
 }

 .site-footer__legal {
   color: #6B6880;
   font-size: 0.75rem;
   font-weight: 500;
   margin: 0;
   padding-top: 1.5rem;
   border-top: 1px solid rgba(139, 92, 246, 0.2);
 }

 .footer-links {
   display: flex;
   justify-content: space-between;
   flex-direction: column;
 }

 .footer-links > li {
   min-height: 35px;
 }

 h1 {
  /* font-size: 6em; */
 }

 h2 a {
   /* text-decoration: none; */
 }

 /* h1:hover {
   color: white;
   -webkit-transition: all 0.3s ease-in-out;
   -moz-transition: all 0.3s ease-in-out;
   -o-transition: all 0.3s ease-in-out;
   -ms-transition: all 0.3s ease-in-out;
   transition: all 0.3s ease-in-out;
 } */
 
.highlight {
   /* color: #393A3F;
   background: #F2F2EE; */
   -webkit-box-decoration-break: clone;
   box-decoration-break: clone;
}

/* .highlight:hover {
   color: #393A3F;
   background: #F2F2EE;
   -webkit-box-decoration-break: clone;
   box-decoration-break: clone;
   cursor: pointer;
} */

.onyx {
   color: #393A3F;
}

.gray {
   color: #8C8C8C;
}

.iron {
   color: #DADADB;
}

.platinum {
   color: #E7E7E7;
}

.isabelline {
   color: #F2F2EE;
}

/* Black Olive: #3D3D3D

Davy's Gray: #565656

Dove Gray: #666666

Gray: #818181 */

.welcome {
   font-size: 2em;
   margin-top: 20px;
   letter-spacing: 0.1em;
}

.section {
   /* margin-top: 60px;
   margin-bottom: 20px; */
}

.section-title {
   font-family: 'NimbusSanL' !important;
   font-size: 6em;
}

.section-title2 {
  font-family: 'Urbanist' !important;
  font-size: 6em;
}

.section-title3 {
  font-family: 'YoungSerif' !important;
  font-size: 6em;
}

.section-title4 {
  font-family: serif;
  font-size: 6em;
}

mark {
   margin: 0 -0.4em;
   padding: 0.1em 0.4em;
   border-radius: 0.8em 0.3em;
   background: transparent;
   background-image: linear-gradient(
     to right,
     rgba(255, 225, 0, 0.1),
     rgba(255, 225, 0, 0.7) 4%,
     rgba(255, 225, 0, 0.3)
   );
   -webkit-box-decoration-break: clone;
   box-decoration-break: clone;
 }



 .wrapper {
   /* display: grid;
   grid-template-columns: repeat(3, 1fr);
   gap: 20px;
   grid-auto-rows: minmax(100px, auto);
   overflow: hidden; */
   display: flex;
   /* height: 500px; */

   /* Then we define the flow direction 
      and if we allow the items to wrap 
      * Remember this is the same as:
      * flex-direction: row;
      * flex-wrap: wrap;
      */
   flex-flow: row wrap;

   /* Then we define how is distributed the remaining space */
   justify-content: space-evenly;

   flex-basis: content;
 }


 /* 3 column layout */
 .one {
   /* grid-column: 1 / 3;
   grid-row: 1; */
   width: 25%;
   height: 300px;
   margin-left: auto;
   margin-right: auto;
 }
 .two {
   /* grid-column: 2 / 4;
   grid-row: 1 / 3; */
   width: 25%;
   height: 300px;
   margin-left: auto;
   margin-right: auto;
 }
 .three {
   /* grid-column: 3 / 3;
   grid-row: 1 / 3; */
   width: 25%;
   height: 300px;
   margin-left: auto;
   margin-right: auto;
 }

 .four {
  /* grid-column: 3 / 3;
  grid-row: 1 / 3; */
  width: 25%;
  height: 300px;
  margin-left: auto;
  margin-right: auto;
}


 .cell-banner {
   /* stretch images */
   background-size: cover;
   background-position: center;
   /* set the height */
   /* height: 300px; */
   max-height: 100px;
   /* set the width */
   /* width: 100%; */
   /* max-width: 400px; */
   /* set the background color */
   background-color: #000;
   /* set the background image */
 }

 .header-content {
   /* position: absolute; */
   /* top: 0; */
   /* left: 0; */
   /* right: 0; */
   /* bottom: 0; */
   /* display: flex; */
   /* flex-direction: column; */
   /* justify-content: center;
   align-items: center; */
   /* text-align: center; */
   /* color: #fff; */
   /* padding: 0 20px; */
   /* background: rgba(0, 0, 0, 0.5); */
 }

 .hero {
   max-width: 125px;
   padding-left: 10px;
 }

 .logo {
   max-width: 250px;
   padding-left: 10px;
 }

 .post {
   margin-top: 20px;
   margin-bottom: 20px;
   border-top: 1px solid #565656;
   padding: 20px;
   padding-left: 0px;
   margin-left: 0px;
 }

 /* .post > h1 {
   margin-bottom: -20px;
   font-size: 4em;
 } */

 @media (max-width: 800px) {
   /* .body {
     width: 100%;
   } */
   /* .wrapper {
      flex-direction: column;
    }
    .one {
      width: 100%;
    }
    .two {
      width: 100%;
    }
    .three {
      width: 100%;
    }
    .four {
      width: 100%;
    } */

    /* h1 {
      font-size: 3em;
    }

    h2 {
      font-size: 2em;
    }

    h3 {
      font-size: 2em;
    } */

    .post > h1 {
      font-size: 3em;
    }
 }

 .latest_status {
  /* border: 1px solid red; */
  padding: 10px;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
 }

 /* .latest_status > div {
  margin-left: 10px;
 } */

/* Links */
a {
  color: #F2F2EE;
  text-decoration: none;
}

a:hover {
  color: #4FF0E4;
  text-decoration: underline;
}

/* ============================================================
   2026 theme — 80s retro-futurism, restrained for modern eyes
   Deep indigo base, faint perspective grid, neon sunset accents
   ============================================================ */

:root {
  --bg-deep: #0B0B12;
  --bg-panel: #14101F;
  --neon-cyan: #4FF0E4;
  --neon-pink: #FF4D8D;
  --grid-line: rgba(139, 92, 246, 0.07);
}

body.retro-body {
  background-color: var(--bg-deep);
  background-image:
    radial-gradient(ellipse 90% 40% at 50% -5%, rgba(139, 92, 246, 0.18), transparent 70%),
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 100% 100%, 56px 56px, 56px 56px;
}

/* Display headings — big white Space Grotesk with a neon bar beneath */
.retro-heading {
  font-family: 'Space Grotesk', 'Urbanist', sans-serif;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #FFFFFF;
}

.retro-heading::after {
  content: "";
  display: block;
  width: 4.5rem;
  height: 3px;
  margin-top: 0.5rem;
  border-radius: 3px;
  background: #FFFFFF;
  box-shadow: 0 0 6px rgba(255, 255, 255, 0.35);
  animation: neon-speckle 14s ease-in-out infinite;
}

#on-the-trails::after {
  animation-duration: 12s;
  animation-delay: -1s;
}

#whats-new::after {
  animation-duration: 15s;
  animation-delay: -6s;
}

#through-the-lens::after {
  animation-duration: 18s;
  animation-delay: -11s;
}

/* Inline accent for a word inside normal text — white with a neon underline */
.retro-accent {
  font-family: 'Space Grotesk', 'Urbanist', sans-serif;
  font-weight: 700;
  color: #FFFFFF;
  background-image: linear-gradient(90deg, #FFFFFF, #FFFFFF);
  background-repeat: no-repeat;
  background-size: 100% 3px;
  background-position: 0 100%;
  padding-bottom: 2px;
  animation: neon-speckle-bg 16s ease-in-out infinite;
  animation-delay: -4s;
}

/* Hero headline — main-character scale */
.retro-hero-title {
  font-family: 'Space Grotesk', 'Urbanist', sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: #FFFFFF;
}

/* Small uppercase kicker above section headings */
.retro-eyebrow {
  display: block;
  font-family: 'Space Grotesk', monospace;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--neon-cyan);
  margin-bottom: 0.35rem;
}

/* Cards — dark glass panel with a neon edge that lights up on hover */
.retro-card {
  background: linear-gradient(160deg, rgba(139, 92, 246, 0.10), rgba(20, 16, 31, 0.85) 55%);
  border: 1px solid rgba(139, 92, 246, 0.28);
  border-radius: 0.75rem;
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.retro-card:hover {
  border-color: rgba(255, 77, 141, 0.55);
  box-shadow: 0 0 20px rgba(255, 77, 141, 0.14), 0 0 44px rgba(139, 92, 246, 0.12);
  transform: translateY(-2px);
}

/* Section divider — a thin horizon line, white by default */
.retro-divider {
  border: 0;
  height: 2px;
  max-width: 800px;
  margin: 0 auto;
  --speckle-x1: 24%;
  --speckle-x2: 68%;
  background-image:
    radial-gradient(18px 6px at var(--speckle-x1) 50%, transparent, transparent),
    linear-gradient(90deg, transparent, #FFFFFF 20%, #FFFFFF 80%, transparent);
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.35);
  border-radius: 2px;
  animation: neon-speckle-fade 19s ease-in-out infinite;
}

/* Nav links — gradient underline sweeps in on hover */
.retro-nav-link {
  position: relative;
  text-decoration: none !important;
  letter-spacing: 0.04em;
  padding-bottom: 3px;
}

.retro-nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--neon-cyan), var(--neon-pink));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}

.retro-nav-link:hover::after,
.retro-nav-link:focus-visible::after {
  transform: scaleX(1);
}

/* Bowling-alley neon flicker — bars sit white, and one lone pink bulb
   sparks briefly at a couple of points per cycle. Single color, not a
   rainbow: each bar runs the same rhythm on its own duration + negative
   delay so they never sync up and the effect reads as ambient. */
@keyframes neon-speckle {
  0%, 100% { background-color: #FFFFFF; box-shadow: 0 0 6px rgba(255, 255, 255, 0.35); }
  4%   { background-color: var(--neon-pink); box-shadow: 0 0 10px rgba(255, 77, 141, 0.55); }
  8%   { background-color: #FFFFFF; box-shadow: 0 0 6px rgba(255, 255, 255, 0.35); }
  52%  { background-color: var(--neon-pink); box-shadow: 0 0 10px rgba(255, 77, 141, 0.55); }
  56%  { background-color: #FFFFFF; box-shadow: 0 0 6px rgba(255, 255, 255, 0.35); }
}

@keyframes neon-speckle-bg {
  0%, 100% { background-image: linear-gradient(90deg, #FFFFFF, #FFFFFF); }
  4%   { background-image: linear-gradient(90deg, var(--neon-pink), var(--neon-pink)); }
  8%   { background-image: linear-gradient(90deg, #FFFFFF, #FFFFFF); }
  52%  { background-image: linear-gradient(90deg, var(--neon-pink), var(--neon-pink)); }
  56%  { background-image: linear-gradient(90deg, #FFFFFF, #FFFFFF); }
}

/* A small pink speckle of light drifts onto the white line at one spot,
   then a different spot later in the cycle — a single loose bulb, not
   the whole tube changing color. */
@keyframes neon-speckle-fade {
  0%, 100% {
    background-image:
      radial-gradient(18px 6px at var(--speckle-x1) 50%, transparent, transparent),
      linear-gradient(90deg, transparent, #FFFFFF 20%, #FFFFFF 80%, transparent);
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.35);
  }
  4% {
    background-image:
      radial-gradient(18px 6px at var(--speckle-x1) 50%, var(--neon-pink), transparent 70%),
      linear-gradient(90deg, transparent, #FFFFFF 20%, #FFFFFF 80%, transparent);
    box-shadow: 0 0 12px rgba(255, 77, 141, 0.5);
  }
  8% {
    background-image:
      radial-gradient(18px 6px at var(--speckle-x1) 50%, transparent, transparent),
      linear-gradient(90deg, transparent, #FFFFFF 20%, #FFFFFF 80%, transparent);
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.35);
  }
  52% {
    background-image:
      radial-gradient(18px 6px at var(--speckle-x2) 50%, var(--neon-pink), transparent 70%),
      linear-gradient(90deg, transparent, #FFFFFF 20%, #FFFFFF 80%, transparent);
    box-shadow: 0 0 12px rgba(255, 77, 141, 0.5);
  }
  56% {
    background-image:
      radial-gradient(18px 6px at var(--speckle-x2) 50%, transparent, transparent),
      linear-gradient(90deg, transparent, #FFFFFF 20%, #FFFFFF 80%, transparent);
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.35);
  }
}

/* Devise auth screens — match retro card / panel styling */
.retro-auth {
  max-width: 28rem;
  margin-left: auto;
  margin-right: auto;
  padding: 1.5rem 1rem 2.5rem;
}

.retro-auth-panel {
  background: linear-gradient(160deg, rgba(139, 92, 246, 0.10), rgba(20, 16, 31, 0.85) 55%);
  border: 1px solid rgba(139, 92, 246, 0.28);
  border-radius: 0.75rem;
  padding: 1.75rem 1.5rem;
}

.retro-form-field {
  margin-bottom: 1.25rem;
}

.retro-form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: #e5e7eb;
  margin-bottom: 0.5rem;
  letter-spacing: 0.04em;
}

.retro-form-input {
  width: 100%;
  box-sizing: border-box;
  background: rgba(11, 11, 18, 0.85);
  color: #f3f4f6;
  border: 1px solid rgba(139, 92, 246, 0.35);
  border-radius: 0.5rem;
  padding: 0.625rem 0.875rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.retro-form-input:focus {
  outline: none;
  border-color: rgba(79, 240, 228, 0.6);
  box-shadow: 0 0 0 3px rgba(79, 240, 228, 0.12);
}

.retro-form-hint {
  display: block;
  font-size: 0.8125rem;
  font-weight: 500;
  color: #9ca3af;
  margin-top: 0.35rem;
}

.retro-form-check {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
  color: #d1d5db;
  font-size: 0.875rem;
}

.retro-form-check input {
  accent-color: var(--neon-cyan);
}

.retro-form-button {
  width: 100%;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.35), rgba(255, 77, 141, 0.2));
  border: 1px solid rgba(139, 92, 246, 0.45);
  color: #ffffff;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 0.625rem 1rem;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.retro-form-button:hover {
  border-color: rgba(79, 240, 228, 0.55);
  box-shadow: 0 0 16px rgba(139, 92, 246, 0.22);
}

.retro-form-button--danger {
  background: linear-gradient(135deg, rgba(190, 24, 93, 0.45), rgba(127, 29, 29, 0.35));
  border-color: rgba(244, 63, 94, 0.45);
}

.retro-form-button--danger:hover {
  border-color: rgba(251, 113, 133, 0.65);
  box-shadow: 0 0 16px rgba(244, 63, 94, 0.2);
}

.retro-auth-links {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(139, 92, 246, 0.2);
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  font-size: 0.875rem;
}

.retro-auth-links a,
.retro-auth-links button {
  color: var(--neon-cyan);
  text-decoration: none;
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  cursor: pointer;
  text-align: left;
}

.retro-auth-links a:hover,
.retro-auth-links button:hover {
  color: #ffffff;
  text-decoration: underline;
}

.retro-auth-error {
  margin-bottom: 1.25rem;
  padding: 1rem;
  color: #ffe4e6;
  background: rgba(127, 29, 29, 0.35);
  border: 1px solid rgba(244, 63, 94, 0.55);
  border-radius: 0.5rem;
}

.retro-auth-error h2 {
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.retro-auth-error ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.retro-auth-error li {
  font-size: 0.875rem;
  font-weight: 500;
}

.retro-auth-error li::before {
  content: none;
}

.retro-auth-section {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(139, 92, 246, 0.2);
}

.retro-auth-section-title {
  font-family: 'Space Grotesk', 'Urbanist', sans-serif;
  font-size: 1.125rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.75rem;
}

@media (prefers-reduced-motion: reduce) {
  .retro-card,
  .retro-nav-link::after {
    transition: none;
  }
  .retro-card:hover {
    transform: none;
  }
  .retro-heading::after,
  .retro-accent,
  .retro-divider,
  .site-footer::before {
    animation: none;
  }
}
