
@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@500;600;700;800;900&family=DM+Sans:wght@400;500;600;700&display=swap');

:root {
  --black: #090909;
  --gold: #c9a568;
  --white: #f5f1e9;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 85px;
}

body {
  background: var(--black);
  color: var(--white);
  font-family: 'DM Sans', sans-serif;
}

a {
  text-decoration: none;
  color: inherit;
}

.site-shell {
  width: 100%;
  overflow: hidden;
}

/* NAVIGATION */

.navbar {
  height: 82px;
  padding: 0 8%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #090909;
  border-bottom: 1px solid #ffffff12;
  position: sticky;
  top: 0;
  z-index: 100;
}

.brand {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 900;
  font-size: 29px;
  letter-spacing: 2px;
  white-space: nowrap;
}

.brand span {
  color: var(--gold);
}

.brand i {
  font: 10px 'DM Sans';
  vertical-align: top;
}

.nav-links {
  display: flex;
  gap: 38px;
}

.nav-links a {
  font-size: 11px;
  letter-spacing: 1.5px;
  color: #aaa;
  transition: .3s;
}

.nav-links a:hover {
  color: var(--gold);
}

.nav-button {
  border: 1px solid var(--gold);
  color: var(--gold);
  padding: 12px 19px;
  font-size: 10px;
  letter-spacing: 1px;
  transition: .3s;
}

.nav-button:hover {
  background: var(--gold);
  color: #090909;
}

.menu-toggle {
  display: none;
  background: none;
  color: white;
  border: 0;
  font-size: 24px;
}

/* HERO */

.hero {
  min-height: 690px;
  height: calc(100vh - 82px);
  max-height: 850px;
  position: relative;
  display: flex;
  align-items: center;
  padding: 0 12%;
  background:
    linear-gradient(90deg, #080808 5%, #080808e8 45%, #08080850 100%),
    url('https://images.unsplash.com/photo-1606167668584-78701c57f13d?auto=format&fit=crop&w=2000&q=85') center/cover;
}

.hero-content {
  position: relative;
  max-width: 650px;
  z-index: 2;
}

.eyebrow {
  color: var(--gold);
  font-size: 10px;
  letter-spacing: 3px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 10px;
}

.eyebrow span {
  width: 24px;
  height: 1px;
  background: var(--gold);
  flex-shrink: 0;
}

.hero h1,
h2,
.game-info h3 {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 900;
}

.hero h1 {
  font-size: clamp(65px, 9vw, 115px);
  line-height: .88;
  margin: 28px 0;
  letter-spacing: -2px;
}

.hero h1 em,
.section-heading h2 em,
.about h2 em {
  font-style: normal;
  color: var(--gold);
}

.hero-content > p {
  color: #aaa;
  max-width: 440px;
  line-height: 1.8;
  font-size: 14px;
  margin-bottom: 32px;
}

.gold-button {
  display: inline-flex;
  align-items: center;
  gap: 30px;
  background: var(--gold);
  color: #111;
  padding: 17px 23px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1px;
  transition: .3s;
}

.gold-button:hover {
  background: white;
  transform: translateY(-3px);
}

.gold-button span {
  font-size: 18px;
}

.hero-note {
  margin-top: 55px;
  font-size: 9px;
  letter-spacing: 3px;
  color: #777;
}

.hero-side-text {
  position: absolute;
  right: 4%;
  top: 50%;
  writing-mode: vertical-rl;
  font-size: 9px;
  letter-spacing: 3px;
  color: #888;
}

/* GAME CATEGORY SECTION */

.section-pad {
  padding: 115px 9%;
}

.intro {
  background: #0d0d0d;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 55px;
  gap: 35px;
}

.section-heading h2,
.about h2 {
  font-size: clamp(43px, 6vw, 70px);
  line-height: 1;
  margin-top: 20px;
}

.section-heading > p {
  max-width: 300px;
  color: #888;
  font-size: 12px;
  line-height: 1.8;
  padding-bottom: 5px;
}

/* THREE EQUAL CARDS */

.game-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  width: 100%;
  align-items: stretch;
}

.game-card {
  min-width: 0;
  min-height: 410px;
  padding: 27px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid #ffffff18;
  transition: transform .35s, border-color .35s;
}

.game-card:hover {
  transform: translateY(-8px);
  border-color: #ffffff55;
}

.blackjack-card {
  background: linear-gradient(145deg, #1c4834, #0b2119 80%);
}

.poker-card {
  background: linear-gradient(145deg, #63252d, #250e13 80%);
}

.uno-category {
  background: linear-gradient(145deg, #66501b, #241d0b 80%);
}

.card-number {
  font-size: 9px;
  letter-spacing: 2px;
  color: #ffffff99;
  position: relative;
  z-index: 2;
}

.game-symbol {
  position: absolute;
  top: 22px;
  right: 24px;
  line-height: 1;
  pointer-events: none;
  user-select: none;
}

.blackjack-symbol,
.poker-symbol {
  font-family: Georgia, serif;
  font-size: 145px;
  opacity: .15;
}

.uno-category-symbol {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 66px;
  font-weight: 900;
  color: #ffcc42;
  opacity: .3;
  transform: rotate(-18deg);
  top: 40px;
}

.game-info {
  position: relative;
  z-index: 2;
  width: 100%;
}

.game-tag {
  font-size: 9px;
  letter-spacing: 2px;
  color: var(--gold);
}

.game-info h3 {
  font-size: clamp(34px, 3.6vw, 48px);
  margin: 10px 0;
  white-space: nowrap;
}

.game-info p {
  font-size: 12px;
  color: #ccc;
  line-height: 1.8;
  margin-bottom: 25px;
  max-width: 260px;
}

.game-link {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.2px;
  border-bottom: 1px solid #ffffff55;
  padding-bottom: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  gap: 8px;
}

.game-link span {
  font-size: 16px;
}

/* GAME DETAIL SECTIONS */

.game-detail {
  min-height: 540px;
  padding: 90px 12%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  position: relative;
  overflow: hidden;
}

.detail-content {
  max-width: 510px;
  position: relative;
  z-index: 2;
  flex: 1;
}

.detail-content h2 {
  font-size: clamp(75px, 10vw, 125px);
  line-height: .95;
  margin: 20px 0;
  letter-spacing: -3px;
}

.detail-content h2 span {
  color: var(--gold);
}

.detail-content > p {
  color: #c4c4c4;
  font-size: 13px;
  line-height: 1.9;
  max-width: 440px;
}

.detail-content ul {
  list-style: none;
  margin: 24px 0 30px;
}

.detail-content li {
  color: #ccc;
  font-size: 11px;
  margin: 13px 0;
}

.download-button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 270px;
  padding: 17px 20px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1px;
  color: #111;
  transition: .3s;
}

.download-button:hover {
  background: white !important;
  transform: translateY(-3px);
}

.download-button span {
  font-size: 20px;
}

.detail-content small {
  display: block;
  font-size: 8px;
  letter-spacing: 1px;
  color: #999;
  margin-top: 14px;
}

.blackjack-detail {
  background: linear-gradient(110deg, #102c20, #091b14);
}

.poker-detail {
  background: linear-gradient(110deg, #35131b, #16090e);
}

.uno-detail {
  background: linear-gradient(110deg, #25200e, #111);
}

.blackjack-detail .download-button {
  background: #c9a568;
}

.poker-detail .download-button {
  background: #c97b82;
}

.uno-detail .download-button {
  background: #ffca37;
}

/* BLACKJACK ART */

.detail-art {
  width: 340px;
  height: 340px;
  position: relative;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.playing-card {
  width: 145px;
  height: 215px;
  background: #eee9df;
  color: #111;
  border-radius: 9px;
  position: absolute;
  font: 900 65px Georgia;
  padding: 15px;
  box-shadow: 0 15px 50px #0008;
}

.playing-card small {
  display: block;
  font-size: 30px;
}

.card-a {
  transform: rotate(-17deg) translateX(-45px);
  z-index: 2;
}

.card-k {
  transform: rotate(15deg) translateX(45px);
  color: #a32b37;
}

/* POKER ART */

.art-caption {
  position: absolute;
  bottom: 0;
  font-size: 10px;
  letter-spacing: 5px;
  font-weight: 700;
  color: #ffffff77;
  text-align: center;
  width: 100%;
}

.poker-chip {
  width: 230px;
  height: 230px;
  border: 14px dashed #d9b7a1;
  outline: 9px solid #8e3544;
  outline-offset: -1px;
  background: radial-gradient(circle, #8e3544, #35131b);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 90px;
  color: #f5dfc7;
  box-shadow: 0 20px 60px #0009;
}

.poker-chip small {
  font-size: 11px;
  letter-spacing: 4px;
}

/* UNO ART - SEPARATE CLASS NAMES */

.uno-playing-card {
  width: 120px;
  height: 190px;
  border: 6px solid white;
  border-radius: 15px;
  display: grid;
  place-items: center;
  font: 900 75px 'Barlow Condensed';
  color: white;
  position: absolute;
  box-shadow: 0 15px 40px #0009;
  text-shadow: 2px 3px 5px #0008;
}

.uno-red {
  background: #e62b32;
  transform: rotate(-18deg) translateX(-65px);
  z-index: 1;
}

.uno-yellow {
  background: #f2c52e;
  color: #161616;
  transform: rotate(0deg) translateY(-8px);
  z-index: 2;
}

.uno-blue {
  background: #2364d2;
  transform: rotate(18deg) translateX(65px);
  z-index: 3;
}

/* ABOUT */

.about {
  text-align: center;
  background: #0b0b0b;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.about h2 {
  margin: 28px 0;
}

.about > p {
  max-width: 550px;
  font-size: 13px;
  line-height: 2;
  color: #999;
  margin-bottom: 30px;
}

/* FOOTER */

footer {
  padding: 38px 9%;
  background: #060606;
  border-top: 1px solid #ffffff15;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

footer p,
footer div {
  color: #777;
  font-size: 9px;
  letter-spacing: 1.5px;
}

/* ANIMATIONS */

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .8s ease, transform .8s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* TABLET */

@media (max-width: 900px) {
  .navbar {
    padding: 0 5%;
  }

  .nav-links {
    gap: 18px;
  }

  .section-pad {
    padding: 85px 6%;
  }

  .game-grid {
    gap: 14px;
  }

  .game-card {
    padding: 20px;
    min-height: 390px;
  }

  .game-info h3 {
    font-size: 35px;
  }

  .game-info p {
    font-size: 11px;
  }

  .game-detail {
    padding: 75px 7%;
  }

  .detail-art {
    width: 290px;
  }
}

/* MOBILE */

@media (max-width: 650px) {
  .navbar {
    height: 70px;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: #101010;
    flex-direction: column;
    padding: 25px;
    gap: 25px;
    border-top: 1px solid #ffffff15;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-button {
    display: none;
  }

  .menu-toggle {
    display: block;
    cursor: pointer;
  }

  .hero {
    min-height: 620px;
    height: auto;
    padding: 100px 7%;
    background-position: 60% center;
  }

  .hero h1 {
    font-size: clamp(55px, 12vw, 75px);
  }

  .hero-side-text {
    display: none;
  }

  .hero-note {
    margin-top: 35px;
  }

  .section-pad {
    padding: 75px 7%;
  }

  .section-heading {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    margin-bottom: 35px;
  }

  .section-heading h2 {
    font-size: 48px;
  }

  .game-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }

  .game-card {
    min-height: 340px;
    padding: 25px;
  }

  .game-info h3 {
    font-size: 46px;
  }

  .game-info p {
    font-size: 12px;
  }

  .game-detail {
    flex-direction: column;
    align-items: flex-start;
    padding: 75px 7%;
    gap: 20px;
  }

  .detail-content {
    width: 100%;
  }

  .detail-content h2 {
    font-size: 85px;
  }

  .detail-art {
    align-self: center;
    width: 290px;
    height: 310px;
    margin-top: 20px;
  }

  footer {
    flex-direction: column;
    text-align: center;
    padding: 35px 15px;
  }
}

/* SMALL PHONES */

@media (max-width: 380px) {
  .hero h1 {
    font-size: 53px;
  }

  .section-heading h2 {
    font-size: 41px;
  }

  .detail-content h2 {
    font-size: 70px;
  }

  .detail-art {
    transform: scale(.85);
    transform-origin: center;
    margin-left: -10px;
  }
}

/* ACCESSIBILITY */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
  }
}
