/* Reset and basics */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
  font-family: Inter, Arial, sans-serif;
  background-color: #000010;
}

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

/* Layout */
main {
  display: flex;
  justify-content: center;
  align-items: center;
  padding-top: 1px;
}

main .content {
  display: flex;
  gap: 1px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Box styles */
.box {
  position: relative;
  padding-bottom: 10px;
  margin: 1px auto;
  border-radius: 10px;
  width: 350px;
  text-align: center;
  transition: transform 0.3s ease-in-out;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  color: white; 
  overflow: hidden; 
  border: 1px solid #27282b;
  background-color: black;
}

.box:hover {
  transform: scale(1.05);
}

.box::before {
  content: '';
  position: absolute;
  inset: 0;
  background-color: black;
  background: url('treasure.avif') center/cover no-repeat;
  background-size: cover;
  background-position: center;
  pointer-events: none;
}

.box::after {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  border-radius: inherit;

  /* much stronger dark corners */
  background: radial-gradient(
    circle at center,
    rgba(0,0,0,0) 70%,
    rgba(0,0,0,0.95) 100%
  );
}

.box h2, 
.box p {
  position: relative;
  color: #f7f7f3;
  font-weight: normal;
}

/* Grid section */
.grid-section {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  justify-content: center;
  margin-bottom: 1px;
}

.grid-item {
  background-color: #fff;
  padding: 1px;
  text-align: center;
  justify-content: center;
  align-items: center;
  border: 1px solid #ccc;
  border-radius: 8px;
  color: black;
  z-index: 2;
}

/* Playpoints box */
.boxPP {
  position: relative;
  margin: 2px auto 0;
  padding: 10px;
  max-width: 700px;
  width: 90%;
  text-align: center;
  transition: transform 0.3s ease-in-out;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  color: white; 
  overflow: hidden; 
  border: 1px solid #27282b;
  z-index: 1;
}

.boxPP::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('playpoint.avif') center/cover no-repeat;
  z-index: -2;  
}

.boxPP h2, .boxPP h3 {
  position: relative;
  color: #f7f7f3;
}

/* Buttons */
.buy-now-button {
  position: relative;
  bottom: auto;
  width: auto;
  max-width: 200px;
  margin: 10px auto;
  display: block;
  background-color: #8e0000;
  color: white;
  padding: 10px 20px;
  text-decoration: none;
  border-radius: 20px;
  font-weight: bold;
  font-size: 16px;
  transition: background-color 0.3s ease, transform 0.3s ease;
  z-index: 2;
}

.buy-now-button:hover {background-color: #a70000; transform: scale(1.05);}

.fee-info {  font-size: 12px;  color: #666;}


/* Box image */
.box-image {
  position: relative;
  margin-bottom: 5px;
  z-index: 2; 
  max-width: 40%;
  height: auto;
  opacity: 1; 
}

.box-title {  color: white;
  font-size: 24px;
  margin: 10px 0 5px;
  font-weight: bold;
  position: relative;
  z-index: 2;
  text-shadow:     0 2px 4px rgba(0, 0, 0, 0.8),    0 0 6px rgba(0, 0, 0, 0.6);}



/* Metagame */
.metagame {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 5px 0;
}

/* Forms */
label {
  font-size: 16px;
  font-weight: bold;
  display: block;
  margin-bottom: 4px;
  color: white;
}

input[type="text"],
input[type="number"],
input[type="email"],
select,
textarea {
  width: 100%;
  padding: 5px;
  margin-bottom: 20px;
  border: 1px solid #555;
  border-radius: 4px;
  background-color: #333;
  color: #fff;
  font-size: 14px;
}

textarea {
  resize: vertical;
}

input[type="submit"],
#confirm,
#confirm3 {
  width: 100%;
  color: white;
  padding: 5px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

input[type="submit"] {
  background-color: #8e0000;
  font-size: 18px;
}

input[type="submit"]:hover {
  background-color: #a70000;
}

#confirm {
  background-color: #004687;
  font-size: 22px;
}
#confirm:hover {
  background-color: #16348C;
}

#confirm3 {
  background-color: #1E90FF;
  font-size: 18px;
}
#confirm3:hover {
  background-color: #16348C;
}

.hidden-element {
  display: none;
}

/* Form containers */
#form1,
.paypal-box,
.coinbase {
  background-color: rgba(0, 0, 0, 0.8); 
  padding: 15px;
  border: 1px solid #3B3B3B;
  border-radius: 10px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
  width: 100%;
  color: white;
  margin: 10px 0; 
  box-sizing: border-box;
}

#form1 { max-width: 600px; }
.paypal-box, .coinbase { max-width: 400px; }

/* FAQ */
.faq-section {
  background-color: rgba(0, 0, 0, 0.85);
  padding: 5px;
  color: white;
  margin: 2px auto;
  max-width: 700px;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

.faq-section h3 {
  text-align: center;
  font-size: 20px;
  color: #DBDBDB;
}

.faq-item {
  margin-bottom: 25px;
  padding: 15px;
  display: flex; 
  align-items: flex-start; 
  background-color: rgba(255, 255, 255, 0.05);
  border-left: 4px solid #f1c40f;
  transition: background-color 0.3s, transform 0.3s;
}

.faq-item:hover {
  background-color: rgba(255, 255, 255, 0.1);
  transform: translateX(5px);
}

.faq-image-box {
  min-width: 50px; 
  margin-right: 20px;
}

.faq-image-box img {
  width: auto;
  height: 50px; 
}

.faq-content { flex: 1; }
.faq-content h4 {
  margin: 0 0 10px 0;
  font-size: 16px;
  color: #f1c40f;
  cursor: pointer;
}
.faq-content p {
  margin: 0;
  font-size: 14px;
  color: #fff;
  line-height: 1.6;
}

/* Generic containers */
.container {
  background-color: rgba(0, 0, 0, 0.85);
  color: white;
  font-size: 14px;
  max-width: 700px;
  margin: 10px auto;
  padding: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

/* Headings */
h2, h4 { color: #f1c40f; font-size: 16px; }
h3 { color: #DBDBDB; font-size: 16px; }

/* Footer */
footer {
  background: rgba(0, 0, 0, 0.6);
  text-align: center;
  font-size: 12px;
  padding: 3px;
  position: relative;
  width: 100%;
}

footer a {
  color: #f1c40f;
  text-decoration: none;
  margin-right: 15px;
}
footer a:hover { text-decoration: underline; }
footer p { font-size: 10px; color: #bbb; }

/* Social media */
.social-media {
  margin-top: 10px;
}

.social-media a {
  margin: 0 10px;
  display: inline-block;
}

.social-media img {
  width: 24px;
  height: 24px;
  transition: transform 0.3s ease-in-out;
}
.social-media img:hover { transform: scale(1.1); }

/* Responsive */
@media (max-width: 768px) {
  main .content {
    flex-direction: column; 
    align-items: center;
  }
  .box {
    width: 100%; 
    max-width: 300px; 
  }
  .buy-now-button {
    max-width: 150px;
  }
}

@media (max-width: 600px) {
  .grid-item { width: 100%; }
}

@media (max-width: 480px) {
  .box { max-width: 100%; }
  .box h2, .box p { font-size: 1em; }
  .boxPP {
    width: 100%;
    max-width: 400px;
    padding: 1px;
    font-size: 0.9em;
  }
}

@media (max-width: 400px) {
  .grid-item { width: 100%; }
}

/* Header */
header {
  background-color: white;
  top: 0;
  left: 0;
  width: 100%;
  text-align: center;
  overflow: hidden;
  z-index: 10;
}

header img {
  max-width: 300px;
  object-fit: cover;
}

/* Images */
img {
  display: block;
  margin: 0 auto;
  max-width: 150px;
}