*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  height: 100%;
  font-family: 'Quicksand', sans-serif;
  line-height: 1.5;
  scroll-behavior: smooth;
  background-color: #fffef9;
  color: #222222;
}

img,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  text-decoration: none;
  color: inherit;
}

button,
input,
textarea,
select {
  font-family: inherit;
  font-size: inherit;
  background: none;
  border: none;
  outline: none;
}

ul,
ol {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Pirata One', cursive;
  font-weight: normal;
}

:root {
  --gold-tone: #3CE4D5;
  --sky-ocean: #5F60A3;
  --sand-bg: #fdf6e3;
  --dark-ink: #1e1e1e;
}

.treahead-block {
  width: 100%;
  background-color: var(--sand-bg);
  border-bottom: 2px dashed var(--gold-tone);
}

.treahead-block__top {
  max-width: 1300px;
  margin: 0 auto;
  padding: 1.2rem 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.treahead-block__logo {
  font-family: 'Pirata One', cursive;
  font-size: 2.2rem;
  color: var(--gold-tone);
  letter-spacing: 1px;
  text-shadow: 1px 1px 1px rgba(0,0,0,0.1);
}

.treahead-block__btnarea {
  display: flex;
  gap: 1rem;
}

.treahead-block__playbtn {
  background-color: var(--gold-tone);
  color: #fff;
  padding: 0.6rem 1.4rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
}

.treahead-block__playbtn:hover {
  background-color: #c09a2b;
}

.treahead-block__disclaimer {
  background-color: #1a1a1a;
  padding: 0.8rem 1rem;
  text-align: center;
}

.treahead-block__disctext {
  color: #fff;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.3px;
}

.treahead-block__disctext a {
  font-weight: 800;
  color: #db0101;
  text-decoration: underline;
}

@media (max-width: 768px) {

  .treahead-block__logo {
    font-size: 1.8rem;
  }

  .treahead-block__playbtn {
    width: 100%;
  }

  .treahead-block__disctext {
    font-size: 0.85rem;
  }
}

.entrywave-screen {
  background: var(--sand-bg);
  padding: 3rem 1rem;
}

.entrywave-screen__wrap {
  display: flex;
  flex-wrap: wrap;
  max-width: 1300px;
  margin: 0 auto;
  gap: 2rem;
}

.entrywave-screen__left,
.entrywave-screen__right {
  flex: 1 1 450px;
}

.entrywave-screen__title {
  font-family: 'Pirata One', cursive;
  font-size: 2.7rem;
  color: var(--gold-tone);
  margin-bottom: 1rem;
}

.entrywave-screen__text {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  color: #333;
}

.entrywave-screen__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.entrywave-screen__btn {
  background-color: var(--gold-tone);
  color: #fff;
  padding: 0.7rem 1.6rem;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
}

.entrywave-screen__image img {
  max-width: 100%;
  border-radius: 8px;
}

.entrywave-screen__timer {
  font-size: 2rem;
  font-weight: bold;
  color: var(--sky-ocean);
}

.entrywave-screen__nextdraw {
  margin: 0.8rem 0 1.2rem;
  font-size: 0.95rem;
  color: #333;
}

.entrywave-screen__promo {
  font-size: 1.05rem;
  background: #fff2d8;
  padding: 1rem;
  border-left: 6px solid var(--gold-tone);
  border-radius: 6px;
  color: #1e1e1e;
  box-shadow: 0 2px 6px rgba(0,0,0,0.06);
}

.entrywave-screen__promo-bold {
  color: var(--sky-ocean);
  font-weight: 700;
}

.entrywave-modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 99;
}

.entrywave-modal.active {
  display: flex;
}

.entrywave-modal__content {
  background: #fffef9;
  padding: 2rem;
  border-radius: 10px;
  width: 90%;
  max-width: 400px;
  position: relative;
  box-shadow: 0 0 20px rgba(0,0,0,0.2);
}

.entrywave-modal__close {
  position: absolute;
  top: 10px;
  right: 15px;
  background: none;
  border: none;
  font-size: 1.6rem;
  color: #666;
  cursor: pointer;
}

.entrywave-modal__title {
  font-family: 'Pirata One', cursive;
  color: var(--gold-tone);
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.entrywave-modal__input {
  width: 100%;
  padding: 0.6rem;
  margin-bottom: 0.3rem;
  border-radius: 6px;
  border: 1px solid #ccc;
}

.entrywave-modal__error {
  color: crimson;
  font-size: 0.85rem;
  margin: 0 0 0.8rem;
}

.entrywave-modal__submit {
  width: 100%;
  padding: 0.7rem;
  background: var(--gold-tone);
  color: #fff;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
}

.entrywave-modal__switch {
  text-align: center;
  margin-top: 1rem;
  font-size: 0.9rem;
}

.entrywave-modal__switch span {
  color: var(--sky-ocean);
  font-weight: bold;
  cursor: pointer;
}

.entrywave-toast {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: var(--gold-tone);
  color: #fff;
  padding: 1.2rem 2rem;
  border-radius: 10px;
  display: none;
  font-size: 1rem;
  z-index: 1000;
}

@media (max-width: 768px) {
  .entrywave-screen__wrap {
    flex-direction: column;
  }

  .entrywave-screen__buttons {
    flex-direction: column;
  }

  .entrywave-screen__btn {
    width: 100%;
  }

  .entrywave-screen__title {
    font-size: 2rem;
  }
}

.aboutrealm-section {
  background-color: #fffef9;
  padding: 4rem 1rem;
}

.aboutrealm-section__container {
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}

.aboutrealm-section__title {
  font-family: 'Pirata One', cursive;
  font-size: 2.4rem;
  color: var(--gold-tone);
  margin-bottom: 1.5rem;
}

.aboutrealm-section__text {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #2a2a2a;
  margin-bottom: 1.2rem;
}

.whygoldpick-section {
  background-color: #fff9ec;
  padding: 4rem 1rem;
}

.whygoldpick-section__container {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.whygoldpick-section__title {
  font-family: 'Pirata One', cursive;
  font-size: 2.4rem;
  color: var(--gold-tone);
  margin-bottom: 2.5rem;
}

.whygoldpick-section__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}

.whygoldpick-section__item {
  background-color: #fff;
  border-radius: 12px;
  padding: 2rem 1.5rem;
  box-shadow: 0 0 14px rgba(0,0,0,0.05);
  transition: transform 0.3s ease;
}

.whygoldpick-section__item:hover {
  transform: translateY(-5px);
}

.whygoldpick-section__item i {
  font-size: 2.2rem;
  color: var(--sky-ocean);
  margin-bottom: 1rem;
}

.whygoldpick-section__item h3 {
  font-size: 1.2rem;
  margin-bottom: 0.7rem;
  color: var(--dark-ink);
}

.whygoldpick-section__item p {
  font-size: 0.97rem;
  color: #444;
  line-height: 1.6;
}

.goldcall-section {
  background: url("../shiny-assets/bg-calltoaction.jpg") center/cover no-repeat;
  padding: 5rem 1rem;
  position: relative;
  text-align: center;
}

.goldcall-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.4);
}

.goldcall-section__wrapper {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
}

.goldcall-section__title {
  font-family: 'Pirata One', cursive;
  font-size: 2.5rem;
  color: #fff;
  margin-bottom: 2rem;
}

.goldcall-section__btn {
  background-color: var(--gold-tone);
  color: #fff;
  padding: 0.9rem 2.2rem;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
}

.disclaimerblock-section {
  background: #fff2e5;
  padding: 4rem 1rem;
  text-align: center;
}

.disclaimerblock-section__container {
  max-width: 900px;
  margin: 0 auto;
}

.disclaimerblock-section__headline {
  font-family: 'Pirata One', cursive;
  font-size: 2.2rem;
  color: var(--sky-ocean);
  margin-bottom: 2.5rem;
}

.disclaimerblock-section__item {
  margin-bottom: 2rem;
}

.disclaimerblock-section__item h3 {
  font-size: 1.3rem;
  color: #1a1a1a;
  margin-bottom: 0.5rem;
}

.disclaimerblock-section__item p {
  font-size: 1rem;
  color: #444;
  line-height: 1.7;
}

.supportlinks-section {
  background: #fff;
  padding: 3rem 1rem;
  text-align: center;
}

.supportlinks-section__container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 2rem;
}

.supportlinks-section__container img {
  max-width: 180px;
  height: auto;
}

.footerwave-section {
  background: #1e1e1e;
  color: #ccc;
  padding: 2rem 1rem;
  text-align: center;
}

.footerwave-section__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 1rem;
}

.footerwave-section__links a {
  color: #ccc;
  font-size: 0.95rem;
  text-decoration: underline;
}

.footerwave-section__copy {
  font-size: 0.85rem;
  color: #777;
}

.cookiedock-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #1e1e1e;
  color: #eee;
  padding: 1rem;
  text-align: center;
  font-size: 0.95rem;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  z-index: 999;
}

.cookiedock-bar a {
  color: var(--gold-tone);
  text-decoration: underline;
}

.cookiedock-bar button {
  background: var(--gold-tone);
  color: #fff;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  cursor: pointer;
}

.agegate-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.agegate-modal__content {
  background: #fffef9;
  padding: 3rem 2rem;
  text-align: center;
  max-width: 500px;
  border-radius: 12px;
  box-shadow: 0 0 25px rgba(0,0,0,0.3);
}

.agegate-modal__content h2 {
  font-family: 'Pirata One', cursive;
  font-size: 2rem;
  color: var(--gold-tone);
  margin-bottom: 1rem;
}

.agegate-modal__content p {
  font-size: 1.1rem;
  color: #333;
  margin-bottom: 2rem;
}

.agegate-modal__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.agegate-modal__buttons button {
  background: var(--sky-ocean);
  color: #fff;
  border: none;
  padding: 0.7rem 1.5rem;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  transition: background 0.3s ease;
}

.agegate-modal__buttons button:hover {
  background: #4A4B8E;
}
