
/* =========================================================
   RAZED CASINO REVIEW — GLOBAL DESIGN SYSTEM
   Premium dark interface with restrained gold accents
   ========================================================= */

:root {
  color-scheme: dark;

  /* Backgrounds */
  --bg-main: #090b10;
  --bg-card: #10141c;
  --bg-hover: #181e29;
  --bg-glass: rgba(9, 11, 16, 0.92);

  /* Accent colors */
  --accent-green: #16a879;
  --accent-green-hover: #11845f;
  --accent-green-glow: rgba(22, 168, 121, 0.16);

  --accent-gold: #e8bd69;
  --accent-gold-hover: #d4a64e;
  --accent-gold-glow: rgba(232, 189, 105, 0.16);

  /* Typography */
  --text-main: #a6adbb;
  --text-bright: #f4f5f7;
  --text-muted: #747d8d;

  /* Borders */
  --border-color: #242a35;
  --border-highlight: #363e4c;

  /* Buttons and layout */
  --cta-gold: #dcb35f;
  --cta-gold-hover: #c99b43;
  --max-width: 1200px;

  --font-family:
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    Oxygen,
    Ubuntu,
    Cantarell,
    sans-serif;

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;

  --shadow-card:
    0 8px 28px rgba(0, 0, 0, 0.18);

  --shadow-glow:
    0 0 24px var(--accent-gold-glow);

  /* Additional design tokens */
  --content-width: 780px;
  --section-space: clamp(2.5rem, 5vw, 4rem);
  --transition-fast: 160ms ease;
  --transition-normal: 240ms ease;
}


/* =========================================================
   RESET & BASE
   ========================================================= */

*,
*::before,
*::after {
  box-sizing: border-box;
}

* {
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
  -webkit-text-size-adjust: 100%;
}

body {
  min-height: 100vh;
  overflow-wrap: break-word;

  background-color: var(--bg-main);

  background-image:
    radial-gradient(
      ellipse at 50% -15%,
      rgba(220, 179, 95, 0.075),
      transparent 45%
    ),
    radial-gradient(
      ellipse at 100% 60%,
      rgba(22, 168, 121, 0.025),
      transparent 38%
    );

  background-attachment: fixed;

  color: var(--text-main);
  font-family: var(--font-family);
  font-size: 16px;
  line-height: 1.75;
  font-weight: 400;

  padding-bottom: 100px;

  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

::selection {
  color: #090b10;
  background: var(--accent-gold);
}

img,
video,
svg {
  max-width: 100%;
}

img {
  height: auto;
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: var(--text-bright);
  text-decoration: none;
  transition:
    color var(--transition-fast),
    border-color var(--transition-fast);
}

a:hover {
  color: var(--accent-gold);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--accent-gold);
  outline-offset: 4px;
}

hr {
  height: 1px;
  border: 0;
  background: var(--border-color);
  margin: 2rem 0;
}


/* =========================================================
   TYPOGRAPHY
   ========================================================= */

h1,
h2,
h3,
h4 {
  color: var(--text-bright);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.25;
  text-wrap: balance;
}

h1 {
  max-width: 950px;
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  line-height: 1.13;
  letter-spacing: -0.045em;
  margin-bottom: 1.5rem;

  background: linear-gradient(
    135deg,
    #ffffff 0%,
    #e8e9ed 65%,
    #c9ced8 100%
  );

  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

h2 {
  position: relative;

  font-size: clamp(1.45rem, 2.6vw, 1.9rem);
  line-height: 1.3;

  margin-top: var(--section-space);
  margin-bottom: 1.4rem;
  padding-bottom: 1rem;

  border-bottom: 1px solid var(--border-color);
}

h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;

  width: 64px;
  height: 2px;

  background: linear-gradient(
    90deg,
    var(--cta-gold),
    rgba(220, 179, 95, 0.12)
  );
}

h3 {
  color: var(--text-bright);
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  line-height: 1.4;

  margin-top: 1.75rem;
  margin-bottom: 0.85rem;

  letter-spacing: -0.02em;
}

h4 {
  font-size: 1.05rem;
  margin-top: 1.25rem;
  margin-bottom: 0.6rem;
}

p {
  margin-bottom: 1.35rem;
  font-size: 1rem;
  line-height: 1.85;
}

p:last-child {
  margin-bottom: 0;
}

strong,
b {
  color: #e4e7ed;
  font-weight: 650;
}

small {
  color: var(--text-muted);
  font-size: 0.85rem;
}

ul,
ol {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
}

li {
  margin-bottom: 0.65rem;
  padding-left: 0.15rem;
  line-height: 1.75;
}

li::marker {
  color: var(--accent-gold);
}

article {
  min-width: 0;
  background: transparent;
}


/* =========================================================
   HEADER & NAVIGATION
   ========================================================= */

header {
  position: sticky;
  top: 0;
  z-index: 1000;

  background: var(--bg-glass);

  border-bottom: 1px solid rgba(255, 255, 255, 0.065);

  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);

  transition:
    background var(--transition-normal),
    border-color var(--transition-normal);
}

.nav-container {
  width: 100%;
  max-width: var(--max-width);

  min-height: 76px;

  margin: 0 auto;
  padding: 1rem 1.5rem;

  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}

.logo {
  flex-shrink: 0;

  color: var(--text-bright);
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1.2;
}

.logo:hover {
  color: var(--text-bright);
}

.logo span {
  color: var(--cta-gold);

  background: linear-gradient(
    135deg,
    #f1d69b,
    #d5a74f
  );

  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

nav {
  min-width: 0;
}

nav ul {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem 1.65rem;

  margin: 0;
  padding: 0;

  list-style: none;
}

nav li {
  margin: 0;
  padding: 0;
}

nav a {
  position: relative;
  display: inline-flex;
  align-items: center;

  min-height: 40px;
  padding: 0.25rem 0;

  color: #a3aab8;
  font-size: 0.9rem;
  font-weight: 550;
  letter-spacing: 0.005em;
}

nav a:hover,
nav a.active {
  color: var(--text-bright);
}

nav a.active::after {
  content: "";

  position: absolute;
  bottom: -1rem;
  left: 0;

  width: 100%;
  height: 2px;

  background: var(--cta-gold);
  border-radius: 2px;
}

nav a:not(.active)::after {
  content: "";

  position: absolute;
  bottom: -1rem;
  left: 0;

  width: 0;
  height: 2px;

  background: var(--cta-gold);

  transition: width var(--transition-normal);
}

nav a:not(.active):hover::after {
  width: 100%;
}


/* =========================================================
   BUTTONS & CALLS TO ACTION
   ========================================================= */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;

  min-height: 44px;
  padding: 0.75rem 1.35rem;

  border: 1px solid transparent;
  border-radius: var(--radius-sm);

  font-size: 0.8rem;
  font-weight: 750;
  line-height: 1.35;
  letter-spacing: 0.055em;
  text-align: center;
  text-transform: uppercase;

  white-space: normal;

  cursor: pointer;

  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);

  transition:
    transform var(--transition-fast),
    background var(--transition-fast),
    border-color var(--transition-fast),
    box-shadow var(--transition-fast),
    color var(--transition-fast),
    filter var(--transition-fast);
}

.btn-primary {
  background: linear-gradient(
    135deg,
    #e4bf72 0%,
    #c99b43 100%
  );

  color: #17130b;
  border-color: rgba(255, 236, 190, 0.25);
}

.btn-primary:hover {
  background: linear-gradient(
    135deg,
    #f0cf8b 0%,
    #d8ad5c 100%
  );

  color: #100e09;

  transform: translateY(-2px);

  box-shadow:
    0 6px 18px rgba(220, 179, 95, 0.19);
}

.btn-green {
  background: linear-gradient(
    135deg,
    #159c72 0%,
    #107653 100%
  );

  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.09);
}

.btn-green:hover {
  background: linear-gradient(
    135deg,
    #1bb184 0%,
    #13865f 100%
  );

  color: #ffffff;
  transform: translateY(-2px);

  box-shadow:
    0 6px 18px rgba(22, 168, 121, 0.18);
}

.btn:active {
  transform: translateY(0);
  box-shadow: none;
}

.btn-lg {
  min-height: 52px;
  padding: 1rem 1.8rem;

  border-radius: var(--radius-md);

  font-size: 0.875rem;
}

.btn:disabled,
.btn[aria-disabled="true"] {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
}


/* =========================================================
   MAIN LAYOUT
   ========================================================= */

.container {
  width: 100%;
  max-width: var(--max-width);

  margin: 0 auto;
  padding: 3rem 1.5rem;
}

article > :first-child {
  margin-top: 0;
}

article > p {
  max-width: var(--content-width);
}

article > ul,
article > ol {
  max-width: var(--content-width);
}

article > h2 {
  scroll-margin-top: 110px;
}


/* =========================================================
   HERO / DUAL-LINK FEATURE BANNER
   ========================================================= */

.dual-link-box {
  position: relative;
  isolation: isolate;
  overflow: hidden;

  margin: 2.5rem 0;
  padding: clamp(2rem, 5vw, 3.25rem) 2rem;

  text-align: center;

  background:
    radial-gradient(
      ellipse at 50% 0%,
      rgba(220, 179, 95, 0.075),
      transparent 65%
    ),
    linear-gradient(
      145deg,
      #151a24 0%,
      #10141c 100%
    );

  border: 1px solid var(--border-highlight);
  border-radius: var(--radius-lg);

  box-shadow: var(--shadow-card);
}

.dual-link-box::before {
  content: "";

  position: absolute;
  z-index: -1;
  top: 0;
  left: 0;
  right: 0;

  height: 2px;

  background: linear-gradient(
    90deg,
    transparent,
    var(--cta-gold),
    transparent
  );

  opacity: 0.8;
}

.dual-link-box h3 {
  margin-top: 0;
  margin-bottom: 1rem;

  color: var(--text-bright);

  font-size: clamp(1.35rem, 3vw, 1.8rem);
  letter-spacing: -0.035em;
}

.dual-link-box p {
  max-width: 650px;
  margin: 0 auto 1.75rem;

  color: var(--text-main);
  font-size: 1rem;
  line-height: 1.8;
}

.link-buttons {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.9rem;
}


/* =========================================================
   FEATURE CARDS & RESPONSIVE GRID
   ========================================================= */

.grid-3 {
  display: grid;
  grid-template-columns: repeat(
    auto-fit,
    minmax(min(100%, 290px), 1fr)
  );

  gap: 1.25rem;
  margin: 2.5rem 0;
}

.card {
  position: relative;
  min-width: 0;

  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: stretch;

  padding: 1.65rem;

  background: linear-gradient(
    155deg,
    rgba(20, 25, 35, 0.98),
    rgba(15, 19, 27, 0.98)
  );

  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);

  box-shadow: var(--shadow-card);

  transition:
    transform var(--transition-normal),
    border-color var(--transition-normal),
    background var(--transition-normal),
    box-shadow var(--transition-normal);
}

.card:hover {
  transform: translateY(-3px);

  border-color: rgba(220, 179, 95, 0.32);

  background: linear-gradient(
    155deg,
    #181e29,
    #111620
  );

  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.25);
}

.card h3 {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;

  margin-top: 0;
  margin-bottom: 0.85rem;

  color: var(--text-bright);

  font-size: 1.2rem;
  line-height: 1.4;
}

.card p {
  flex-grow: 1;

  margin-bottom: 1rem;

  color: var(--text-main);
  font-size: 0.94rem;
  line-height: 1.8;
}

.card .btn {
  width: 100%;
  margin-top: 1rem;
}


/* =========================================================
   TABLES
   ========================================================= */

table {
  width: 100%;

  margin: 2.25rem 0;

  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  border-collapse: separate;
  border-spacing: 0;

  background: var(--bg-card);

  box-shadow: var(--shadow-card);

  overflow: hidden;
}

thead {
  background: #171d28;
}

th,
td {
  padding: 1rem 1.2rem;

  text-align: left;
  vertical-align: top;

  border-bottom: 1px solid var(--border-color);

  font-size: 0.92rem;
  line-height: 1.7;
}

th {
  color: #e7eaf0;

  font-size: 0.76rem;
  font-weight: 750;

  letter-spacing: 0.065em;
  text-transform: uppercase;

  background: rgba(255, 255, 255, 0.025);
}

td {
  color: var(--text-main);
}

td strong {
  color: var(--text-bright);
}

td a {
  color: var(--accent-gold);
}

td a:hover {
  color: #f3d69a;
}

tr:last-child td {
  border-bottom: none;
}

tbody tr {
  transition: background var(--transition-fast);
}

tbody tr:hover {
  background: var(--bg-hover);
}


/* =========================================================
   STICKY BOTTOM CTA
   ========================================================= */

.sticky-cta {
  position: fixed;
  z-index: 999;

  left: 0;
  right: 0;
  bottom: 0;

  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;

  width: 100%;

  padding: 0.9rem max(1.5rem, calc((100vw - 1200px) / 2));

  background: rgba(13, 16, 23, 0.96);

  border-top: 1px solid var(--border-highlight);

  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);

  box-shadow: 0 -8px 28px rgba(0, 0, 0, 0.28);
}

.sticky-cta::before {
  content: "";

  position: absolute;
  top: -1px;
  left: 0;

  width: 100%;
  height: 1px;

  background: linear-gradient(
    90deg,
    transparent,
    rgba(220, 179, 95, 0.65),
    transparent
  );
}

.sticky-cta-text {
  display: flex;
  align-items: center;
  gap: 0.65rem;

  color: var(--text-bright);

  font-size: 0.96rem;
  font-weight: 650;
  line-height: 1.5;
}

.sticky-cta > div {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.75rem;
  flex-shrink: 0;
}


/* =========================================================
   FOOTER
   ========================================================= */

footer {
  width: 100%;
  max-width: var(--max-width);

  margin: 4rem auto 0;
  padding: 2.5rem 1.5rem 1rem;

  border-top: 1px solid var(--border-color);

  color: var(--text-muted);

  font-size: 0.85rem;
  line-height: 1.8;

  text-align: center;
}

footer p {
  max-width: 900px;

  margin: 0 auto 0.65rem;

  color: var(--text-muted);
  font-size: 0.85rem;
  line-height: 1.8;
}

footer a {
  color: #aeb5c1;
}

footer a:hover {
  color: var(--accent-gold);
}


/* =========================================================
   ADDITIONAL ELEMENTS
   ========================================================= */

/* Inline links within review content */
article p a,
article li a {
  color: var(--accent-gold);
  text-decoration: underline;
  text-decoration-color: rgba(220, 179, 95, 0.3);
  text-underline-offset: 3px;
}

article p a:hover,
article li a:hover {
  color: #f0d49b;
  text-decoration-color: currentColor;
}

/* Blockquotes */
blockquote {
  margin: 2rem 0;
  padding: 1.25rem 1.5rem;

  background: rgba(255, 255, 255, 0.025);

  border-left: 3px solid var(--cta-gold);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;

  color: #c2c8d2;
}

blockquote p {
  margin-bottom: 0;
}

/* Code and technical details, if present */
code {
  padding: 0.15rem 0.35rem;

  color: #e8c77e;
  background: rgba(255, 255, 255, 0.045);

  border-radius: 4px;

  font-size: 0.9em;
}

/* Keyboard accessibility */
:focus-visible {
  outline: 2px solid var(--accent-gold);
  outline-offset: 3px;
}

/* More comfortable anchor navigation */
[id] {
  scroll-margin-top: 100px;
}


/* =========================================================
   RESPONSIVE: TABLETS
   ========================================================= */

@media (max-width: 960px) {
  .nav-container {
    gap: 1.25rem;
    padding: 1rem 1.25rem;
  }

  nav ul {
    gap: 0.5rem 1rem;
  }

  nav a {
    font-size: 0.86rem;
  }

  .container {
    padding-right: 1.25rem;
    padding-left: 1.25rem;
  }

  .grid-3 {
    gap: 1rem;
  }

  .card {
    padding: 1.35rem;
  }

  .sticky-cta {
    padding-right: 1.25rem;
    padding-left: 1.25rem;
  }
}


/* =========================================================
   RESPONSIVE: MOBILE
   ========================================================= */

@media (max-width: 768px) {
  body {
    padding-bottom: 130px;
    font-size: 15px;
  }

  .nav-container {
    flex-direction: column;
    justify-content: center;
    gap: 0.85rem;

    padding: 0.9rem 1rem 1rem;
  }

  .logo {
    font-size: 1.35rem;
  }

  nav {
    width: 100%;
  }

  nav ul {
    justify-content: center;
    gap: 0.2rem 1.15rem;
  }

  nav a {
    min-height: 34px;
    font-size: 0.85rem;
  }

  nav a.active::after,
  nav a:not(.active)::after {
    bottom: -0.1rem;
  }

  .container {
    padding: 2rem 1rem;
  }

  h1 {
    font-size: clamp(1.9rem, 7vw, 2.65rem);
    line-height: 1.15;
    margin-bottom: 1.2rem;
  }

  h2 {
    margin-top: 2.75rem;
    margin-bottom: 1.15rem;

    font-size: 1.5rem;
  }

  h3 {
    font-size: 1.12rem;
  }

  p {
    font-size: 0.96rem;
    line-height: 1.8;
  }

  .grid-3 {
    grid-template-columns: minmax(0, 1fr);
    gap: 1rem;
    margin: 1.75rem 0;
  }

  .card {
    padding: 1.4rem;
  }

  .dual-link-box {
    margin: 2rem 0;
    padding: 2rem 1.15rem;
  }

  .link-buttons {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
  }

  .link-buttons .btn {
    width: 100%;
  }

  .btn-lg {
    min-height: 48px;
    padding: 0.85rem 1.2rem;
  }

  /* Keep wide tables accessible on narrow screens */
  table {
    display: block;
    max-width: 100%;
    overflow-x: auto;

    white-space: normal;

    -webkit-overflow-scrolling: touch;
  }

  th,
  td {
    min-width: 115px;
    padding: 0.8rem 0.9rem;
    font-size: 0.85rem;
  }

  .sticky-cta {
    flex-direction: column;
    justify-content: center;
    align-items: stretch;
    gap: 0.65rem;

    padding: 0.8rem 1rem;

    text-align: center;
    visibility: hidden;
  }

  .sticky-cta-text {
    justify-content: center;
    font-size: 0.88rem;
  }

  .sticky-cta > div {
    display: flex;
    width: 100%;
    justify-content: center;
    gap: 0.6rem;
  }

  .sticky-cta .btn {
    flex: 1;
    min-width: 0;

    width: auto;
    min-height: 42px;

    padding: 0.65rem 0.75rem;

    font-size: 0.74rem;
    letter-spacing: 0.025em;
  }

  footer {
    margin-top: 3rem;
    padding: 2rem 1rem 0;
  }
}


/* =========================================================
   RESPONSIVE: SMALL PHONES
   ========================================================= */

@media (max-width: 380px) {
  .nav-container {
    padding-right: 0.75rem;
    padding-left: 0.75rem;
  }

  nav ul {
    gap: 0.15rem 0.85rem;
  }

  nav a {
    font-size: 0.8rem;
  }

  .container {
    padding-right: 0.85rem;
    padding-left: 0.85rem;
  }

  h1 {
    font-size: 1.8rem;
  }

  .sticky-cta {
    padding-right: 0.65rem;
    padding-left: 0.65rem;
  }

  .sticky-cta .btn {
    font-size: 0.67rem;
    padding-right: 0.45rem;
    padding-left: 0.45rem;
  }
}


/* =========================================================
   REDUCED MOTION ACCESSIBILITY
   ========================================================= */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}