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

html {
  min-height: 100%;
  scroll-behavior: smooth;
}

body {
  min-height: 100%;
  margin: 0 16px; /* keep text away from fixed sidebars */
  font-family: 'Nunito', 'Segoe UI', sans-serif;
  background: #e6d8c3 url('./im/bg-letter.jpg') center top / cover no-repeat fixed;
  color: #333333; /* Shadow Espresso */
  line-height: 1.6;
}

header {
  background: url('./im/bg.jpg') center/cover no-repeat;
  color: white;
  text-align: center;
  padding: 3vh 2rem;
  position: relative;
  overflow: hidden;
}

header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4); /* Phantom Veil */
  z-index: 0;
}

header img,
header p {
  position: relative;
  z-index: 1;
  opacity: 0;
  font-family: 'Prata';
}

.show-on-load p {
  animation: bounceIn 1s ease-out forwards;
  animation-delay: 0.6s;
}

.show-on-load img {
  animation: bounceIn 1s ease-out forwards;
  animation-delay: 0.6s;
}

/* stagger timing so it doesn’t all jump at once */
.show-on-load p      { animation-delay: 0.2s; }
.show-on-load img     { animation-delay: 0.5s; }
.show-on-load .tag-line { animation-delay: 0.8s; }


header h1 {
  font-size: 3.5rem;
  text-shadow: 0px 2px 12px black;
}

header p {
  font-size: 1.4rem;
  max-width: 700px;
  margin: 0 auto;
  color: #f1faee;
  text-shadow: 0px 0px 4px #2b1b0f;
}

p.location {
  font-size: 3.5rem;
  text-shadow: 0px 2px 12px black;
  animation-delay: 1.1s;
}

.tag-line {
	font-size: 1rem;
}


.teaser-panel {
  position: relative;
  max-width: 900px;
  margin: 3rem auto;
  padding: 3rem 2rem;
  text-align: center;
  font-family: 'Raleway', sans-serif;
  color: #fff;
  background: radial-gradient(circle at top left, rgba(255,215,140,0.25) 0%, rgba(0,0,0,0.8) 100%);
  border: 3px solid #d4af37;
  border-radius: 16px;
  box-shadow: 0 0 25px rgba(0,0,0,0.7), inset 0 0 80px rgba(0,0,0,0.3);
  overflow: hidden;
}

.teaser-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.4);
  z-index: 0;
}

.teaser-panel h2,
.teaser-panel p {
  position: relative;
  z-index: 1;
}

.teaser-panel h2 {
  font-family: 'Prata', serif;
  font-size: 2.6rem;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #ffd700;
  text-shadow: 0 0 10px #000, 0 0 20px #000;
}

.teaser-panel p {
  font-size: 1.2rem;
  line-height: 1.8;
  color: #f8f8f8;
  text-shadow: 0 0 6px rgba(0,0,0,0.7);
  max-width: 720px;
  margin: 0 auto;
}


.carousel-info-btn-wrap {
  text-align: center;
}

.more-info-btn {
  display: inline-block;
  width: 250px;
  padding: 0.5rem 1.25rem;
  background: #bfa46f; /* your gold tone */
  color: #fff;
  font-family: 'Raleway', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  border: 1px solid #000;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease;
}

.more-info-btn:hover {
  background: #d6bb7e;
  transform: scale(1.05);
}

.more-info-btn:disabled,
.more-info-btn.disabled {
  background: #aaa;
  cursor: not-allowed;
  transform: none;
  opacity: 0.4;
}

.copyright {
	width: 100%;
	text-align: center;
	font-size: 1.2rem;
	padding: 20px 0px;
}

nav {
  font-family: 'Raleway';
  background: linear-gradient(
	  to right,
	  #7b6546,
	  #a89672,
	  #7b6546,
	  #a89672,
	  #7b6546,
	  #a89672
	);

  padding: 1rem 0;
  text-align: center;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  border-top: 1px solid black;
  border-bottom: 1px solid black;
}

nav a {
  color: #f1faee;
  margin: 0 0.8rem;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: color 0.3s ease;
}

nav a:hover {
  color: #4a3220;
}

.container {
  max-width: 960px;
  margin: 2rem auto;
  padding: 0 1rem;
}

.section {
  max-width: 960px;
  background: #f4f1e3;
  border-radius: 12px;
  border: 1px solid black;
  margin: 2rem auto;
  padding: 1rem 1rem 2rem 1rem;
  opacity: 0;
  transform: translateY(100px);
  transition: opacity 1s ease-out, transform 1s ease-out;
  scroll-margin-top: 80px;
}

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

.section h2 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: #3b2a1a;
}

.section p {
  font-size: 1.15rem;
  color: #2e2b2b;
}

.btn {
  display: inline-block;
  margin-top: 2rem;
  background: #39e646;
  color: white;
  padding: 0.75rem 1.5rem;
  font-weight: bold;
  border-radius: 30px;
  text-decoration: none;
  transition: background 0.3s ease, transform 0.3s ease;
}

.btn:hover {
  background: #7fff50;
  transform: translateY(-2px);
}

.sidebar {
  position: fixed;
  top: 0;
  bottom: 0;
  width: 16px;
  background: #c77b30;
  color: #7b3f3f;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2rem 0;
  font-size: 0.8rem;
  z-index: 999;
}

.sidebar-left  { left: 0; }
.sidebar-right { right: 0; }

.sidebar span {
  margin: 0.5rem 1px;
  opacity: 0.8;
  transition: opacity 0.3s;
}

.sidebar span:hover {
  opacity: 1;
}

@keyframes bounceIn {
  0% { opacity: 0; transform: translateY(-80px) scale(0.9); }
  60% { opacity: 1; transform: translateY(20px) scale(1.05); }
  80% { opacity: 1; transform: translateY(-5px) scale(1); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

.add-to-cart-btn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 9999;
  background-color: #28a745;
  color: white;
  padding: 12px 20px;
  border: 1px solid black;
  border-radius: 6px;
  font-size: 16px;
  cursor: pointer;
  box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.8);
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: auto;
}

.add-to-cart-btn.visible {
  opacity: 1;
  animation: spin-in 0.6s ease;
}

.add-to-cart-btn.hidden {
  opacity: 0;
}

@keyframes spin-in {
  0%   { transform: rotate(-360deg) scale(0.7); }
  100% { transform: rotate(0deg) scale(1); }
}

.im-logo {
  max-width: 80%;
  max-height: 200px;
  border: double 8px black;
  background: white;
  border-radius: 8px;
}
.im-logo.location {
  max-width: 60%;
  max-height: 160px;
}

/* Carousel */
.main-carousel { opacity: 0; transition: opacity .3s ease; }
.main-carousel.is-ready { opacity: 1; }

.tile {
  min-width: 250px;
  max-width: 250px;
  flex: 0 0 auto;
  background: #f4f1e3;
  border: 1px solid black;
  border-radius: 12px;
  overflow: hidden;
  scroll-snap-align: start;
  text-align: center;
  transition: transform .3s;
  margin: 12px;
  box-shadow: 0px 4px 12px #202020;
}
.tile img { width:100%; height:160px; object-fit:cover; }
.tile h3 { margin:.5rem 0; font-size:1.1rem; color:#3b2a1a; }
.tile:hover { transform:scale(1.03); }

/* Buy section */
.buy-box {
  text-align:center;
  background:#f4f1e3;
  border:1px solid black;
  border-radius:12px;
  padding:1.5rem 1rem;
  margin-top:2rem;
}

.buy-description {
  color:black;
  font-size:10px;
  line-height:16px;
  font-weight:500;
  margin-top:16px;
}

#butBuy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  margin: auto;
  margin-top: 14px;
  width: 100%;
  max-width: 640px;
}

.currency-label {
  display:inline-block;
  font-weight:600;
}

.currency-select {
  font-size:16px;
  padding:4px 8px;
  border:1px solid #ccc;
  border-radius:4px;
  background:#fff;
  appearance:none;
  background-image:
     url('data:image/svg+xml;utf8,<svg fill="%23333" height="20" viewBox="0 0 20 20" width="20"><path d="M5 7l5 5 5-5z"/></svg>');
  background-repeat:no-repeat;
  background-position:right 8px center;
  background-size:16px;
}

.but-continue {
  padding: 1rem 1.5rem;
  font-size: 1.5rem;
  z-index: 1000;
  background: #2563eb;
  color: #fff;
  border: 1px solid white;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
  transition: background 0.3s ease, transform 0.2s ease;
}

.but-continue:hover {
  background: green;
  transform: scale(1.05);
}

#game-desc {
	margin:8px;
}

#payment-request-button { margin-top: 14px; }

/* Disabled controls */
button:disabled,
button[disabled],
input[type="button"]:disabled,
input[type="submit"]:disabled,
[aria-disabled="true"],
[role="button"][aria-disabled="true"] {
  opacity: .5;
  cursor: not-allowed;
  filter: grayscale(1);
  pointer-events: none;
}

/* Email input */
.email-input {
  background: #ffffcc;
  width: 300px;
  padding: 0.5rem 0.75rem;
  max-width: 100%;
  font-size: 16px;
  line-height: 22px;
  border: 6px double #ccc;
  border-radius: 8px;
  outline: none;
  transition: border-color 0.2s;
  text-align: center;
  margin-top: 14px;
}
.email-input.invalid { border-color: red; }
.email-input.valid { border-color: green; }

.email-description {
  color:black;
  font-size:12px;
  line-height:16px;
  font-weight:500;
  margin-top:0;
}


/* Rdemeption code input */
.redemption-input {
  background: #ffffcc;
  padding: 0.5rem 0.75rem;
  max-width: 60%;
  font-size: 14px;
  line-height: 22px;
  border: 6px double black;
  border-radius: 8px;
  outline: none;
  transition: border-color 0.2s;
  text-align: center;
  margin-top: 14px;
}

.redemption-description {
  color:orange;
  font-size:12px;
  line-height:16px;
  font-weight:500;
  margin-top:0;
}

.redemption-btn {
  padding: 0.8rem 1.5rem;
  font-size: 1.2rem;
  z-index: 1000;
  background: #2563eb;
  color: #fff;
  border: 1px solid white;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
  transition: background 0.3s ease, transform 0.2s ease;
}

.redemption-btn:hover {
  background: green;
  transform: scale(1.05);
}


.panel-disabled.invalid {
  opacity:.5;
  cursor:not-allowed;
  filter:grayscale(1);
  pointer-events:none;
}

.im48 {
	width:48px;
	height:48px;
}

.map {
  width: 100%;
  max-width: 640px;
  margin: 20px auto;
  border-radius: 6px 6px 0px 0px;
}

.map-container {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  border: 2px solid #ccc;
  border-radius: 6px 6px 0px 0px;
  overflow: hidden;
  background: white;
}

.map-container iframe {
  width: 100%;
  height: 280px;
  display: block;
  border: 0;
}

.map-address {
	display: block;
	width: 100%;
	max-width: 800px;
	padding: 0.75em 1em;
	font-size: 1rem;
	border: 2px solid #ccc;
	border-radius: 0px 0px 6px 6px;
	box-shadow: 0 2px 4px rgba(0,0,0,0.1);
	text-align: center;
	background: #ddd;
}

.photos-container {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  max-width: 900px;
  margin: 0 auto;
  padding: 1em 0;
}

.im-location {
  width: calc(50% - 6px);
  max-width: 640px;
  border: 1px solid gray;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}
.im-location.left {
	margin-right:6px;
}
.im-location.right {
	margin-left:6px;
}


.description-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 2em;
  background: linear-gradient(to bottom right, #fff, #f8f8f8);
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.1);
  font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  font-size: 1.1rem;
  line-height: 1.7;
  color: #333;
  text-align: center;
  letter-spacing: 0.2px;
}

.description-container strong {
  color: #111;
}

.description-container:hover {
  transform: scale(1.01);
  transition: transform 0.3s ease;
}


.social {
  margin:40px 0px 0px 0px;
  display: block;
  width: 100%;
  text-align: center;
}
.social:hover {
  transform: scale(1.03);
  box-shadow: 0 6px 18px rgba(0,0,0,0.5);
}


.reviewer {
	float:right;
}


.imageGrid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  align-items: stretch;
}

.highlightCard,
.locationCard {
  text-align: center;
}

.highlightCard img,
.locationCard img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  display: block;
  border-radius: 0.75rem;
}

article {
	cursor: pointer;
    transition: 0.3s ease;
}
article:hover {
	transform: scale(1.05);
}

.splitSection {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 2rem;
  align-items: center;
}

.splitMedia img {
  width: 100%;
  height: auto;
  border-radius: 0.75rem;
  display: block;
}

figcaption {
	padding-top:0.5rem;
	font-size:0.8rem;
}

.locationCard h3 {
	padding:8px 0px 0px 0px;
}

.locationsLink {
	padding:20px 20px 0px 20px;
	width:100%;
	text-align:center;
	font-weight:900;
  font-size: 1.5rem;
}

.locationsLink a {
  color: #4a3220;
  margin: 0 0.8rem;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.locationsLink a:hover {
  color: #000;
}

/*	
//	MOBILE
*/

@media (max-width: 768px) {

  .splitSection {
    grid-template-columns: 1fr;
  }

	header h1 { font-size: 2.2rem; }
	header p { font-size: 1rem; }
	nav a { margin: 0 0.4rem; }
	.tag-line {
		font-size: 0.8rem;
	}
	p.location {
		font-size: 1.5rem;
	}
	.teaser-panel h2 {
		font-family: 'Prata', serif;
		font-size: 1.4rem;
	}
	.teaser-panel {
		margin: 1rem auto;
		padding: 2rem 2rem;
	}
	.teaser-panel p {
		font-size: 0.7rem;
		line-height: 1.5;
	}
	.copyright {
		font-size: 1rem;
	}
}
