@import url('https://fonts.googleapis.com/css2?family=Press+Start+2P&display=swap');

@font-face {
  font-family: 'Hubiy';
  src: url('/assets/fonts/Hubiy.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

body {
  background-color: #ffffff;
  margin: 0;
  font-family: 'Hubiy', sans-serif;
  color: #000;
  background-position: top center;
  background-repeat: repeat;
  background-size: 75%;
  background-image: url(/assets/imgs/bg.png);
}

section {
  padding: 40px 0 ; /* Adds space between sections */
}


.retro-header, .retro-footer {
  width: 100%;
  position: relative;
}

.retro-header {
  padding-top: 20px;
  text-align: center;
}

.retro-footer {
  background-color: #77654800;
  text-align: center;
}

.container {
  text-align: center;
  width: 80%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.retro-heading {
  font-size: 78px;
  color: #ffcc00;
  text-shadow: 10px 10px #000000d1;
  margin-bottom: 20px;
  -webkit-text-stroke: 2px black; /* width and color of the stroke */
  text-stroke: 2px black; /* fallback for other browsers */
}

.retro-subheading {
  font-size: 48px;
  color: #ffcc00;
  text-shadow: 2px 2px #000;
  margin-top: 40px;
  margin-bottom: 20px;
}

.retro-paragraph {
  font-size: 38px;
  color: #000;
  margin-bottom: 40px;
  margin-top: 40px;
  line-height: 2.2rem;
  font-weight: 500;
}

.retro-table {
  margin: 0 auto;
  border-collapse: collapse;
}

.retro-table th,
.retro-table td {
  padding: 10px;
  border: 2px solid #000;
  background-color: #ffffff64;
  line-height: 1.8rem;
}

.retro-table th {
  font-size: 32px;
}

.retro-table td {
  font-size: 32px;
}

.retro-button {
  font-family: 'Hubiy', sans-serif;
  border: 4px solid #000;
  font-size: 30px;
  padding: 10px 20px;
  text-transform: uppercase;
  cursor: pointer;
  position: relative;
  transition: all 0.1s ease-in-out;
  margin: 10px;
  outline: none;
  background-color: rgba(255, 255, 255, 0.506);
}

.retro-button:before,
.retro-button:after {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  top: -4px;
  left: -4px;
  z-index: -1;
}

.retro-button:after {
  top: 4px;
  left: 4px;
}

.retro-button:hover,
.retro-button:focus {
  top: 2px;
}

.retro-button:active {
  top: 4px;
}

/* Size Modifiers */
.retro-button--small {
  font-size: 12px;
  padding: 5px 10px;
}

.retro-button--medium {
  font-size: 16px;
  padding: 10px 20px;
}

.retro-button--large {
  font-size: 20px;
  padding: 15px 30px;
}

/* Primary Button */
.retro-button--primary {
  background-color: #ffcc00;
  color: #000;
  box-shadow: 0 4px #cc9900;
}

.retro-button--primary:before {
  background: #ff9900;
}

.retro-button--primary:after {
  background: #ffcc33;
}

.retro-button--primary:hover,
.retro-button--primary:focus {
  background-color: #ffd700;
}

/* Secondary Button */
.retro-button--secondary {
  background-color: #0099cc;
  color: #fff;
  box-shadow: 0 4px #006699;
}

.retro-button--secondary:before {
  background: #006699;
}

.retro-button--secondary:after {
  background: #33ccff;
}

.retro-button--secondary:hover,
.retro-button--secondary:focus {
  background-color: #00bfff;
}

/* Ghost Button */
.retro-button--ghost {
  background-color: transparent;
  color: #000;
  border: 4px dashed #000;
  box-shadow: none;
}

.retro-button--ghost:before,
.retro-button--ghost:after {
  display: none;
}

.retro-button--ghost:hover,
.retro-button--ghost:focus {
  background-color: rgba(0, 0, 0, 0.1);
  top: 0;
}

.retro-button--ghost:active {
  top: 4px;
}

/* Link Button */
.retro-button--link {
  background-color: transparent;
  color: #000;
  text-decoration: underline;
  border: none;
  box-shadow: none;
}

.retro-button--link:before,
.retro-button--link:after {
  display: none;
}

.retro-button--link:hover,
.retro-button--link:focus {
  color: #00f;
  top: 0;
}

.retro-button--link:active {
  top: 4px;
}

/* Destructive Button */
.retro-button--destructive {
  background-color: #ff3333;
  color: #fff;
  box-shadow: 0 4px #cc0000;
}

.retro-button--destructive:before {
  background: #cc0000;
}

.retro-button--destructive:after {
  background: #ff6666;
}

.retro-button--destructive:hover,
.retro-button--destructive:focus {
  background-color: #ff6666;
}

/* Constructive Button */
.retro-button--constructive {
  background-color: #33cc33;
  color: #fff;
  box-shadow: 0 4px #009900;
}

.retro-button--constructive:before {
  background: #009900;
}

.retro-button--constructive:after {
  background: #66ff66;
}

.retro-button--constructive:hover,
.retro-button--constructive:focus {
  background-color: #66ff66;
}

/* Typography */
.retro-typography {
  text-align: left;
  margin: 40px auto;
  max-width: 800px;
}

.retro-typography h1,
.retro-typography h2,
.retro-typography h3,
.retro-typography h4,
.retro-typography h5,
.retro-typography h6,
.retro-typography p,
.retro-typography ul,
.retro-typography ol {
  margin-bottom: 20px;
}

.retro-typography h1 {
  font-size: 32px;
  color: #ffcc00;
  text-shadow: 2px 2px #000;
}

.retro-typography h2 {
  font-size: 28px;
  color: #ffcc00;
  text-shadow: 2px 2px #000;
}

.retro-typography h3 {
  font-size: 48px;
  color: #ffcc00;
  text-shadow: 2px 2px #000;
}

.retro-typography h4 {
  font-size: 20px;
  color: #ffcc00;
  text-shadow: 2px 2px #000;
}

.retro-typography h5 {
  font-size: 18px;
  color: #ffcc00;
  text-shadow: 2px 2px #000;
}

.retro-typography h6 {
  font-size: 16px;
  color: #ffcc00;
  text-shadow: 2px 2px #000;
}

.retro-typography p {
  font-size: 14px;
}

.retro-typography ul,
.retro-typography ol {
  padding-left: 20px;
}

.retro-typography ul li,
.retro-typography ol li {
  font-size: 14px;
  margin-bottom: 10px;
}

/* Form Fields */
.retro-form {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 400px;
  margin: 0 auto;
  text-align: left;
}

.retro-label {
  font-size: 14px;
  color: #ffcc00;
  text-shadow: 1px 1px #000;
  margin-bottom: 10px;
  margin-top: 20px;
}

.retro-input,
.retro-textarea {
  font-family: 'Hubiy', sans-serif;
  font-size: 14px;
  color: #000;
  border: 4px solid #000;
  padding: 10px;
margin-bottom: 20px;
  width: 100%;
  box-sizing: border-box;
  background-color: #fff;
  outline: none;
  transition: background-color 0.2s ease-in-out;
}

.retro-input:focus,
.retro-textarea:focus {
  background-color: #e6e6e6;
}

.retro-textarea {
  resize: vertical;
  height: 100px;
}

/* Add focus and hover states for buttons */
.retro-button:hover,
.retro-button:focus {
  background-color: #e6e6e6;
  top: 2px;
}

.retro-button:active {
  top: 4px;
}

.retro-blockquote {
  position: relative;
  background-color: #ffffff75;
  border: 4px solid #000;
  padding: 20px;
  margin: 20px auto;
  font-size: 28px;
  font-family: 'Hubiy', sans-serif;
  max-width: 400px;
  color: #000;
  line-height: 1.8rem;
  font-weight: 800;
}

.retro-blockquote:before {
  content: '';
  position: absolute;
  bottom: -20px;
  left: 20px;
  width: 0;
  height: 0;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-top: 20px solid #ffffff;
  border-top-color: inherit; /* Matches the blockquote border color */
}

.retro-blockquote:after {
  content: '';
  position: absolute;
  bottom: -24px;
  left: 18px;
  width: 0;
  height: 0;
  border-left: 12px solid transparent;
  border-right: 12px solid transparent;
  border-top: 24px solid #000;
}

.retro-progress-bar {
  background-color: #000;
  border: 4px solid #000;
  width: 100%;
  max-width: 400px;
  height: 30px;
  margin: 20px auto;
  position: relative;
  overflow: hidden;
}

.retro-progress-bar__inner {
  background-color: #ffcc00;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  transition: width 0.3s ease-in-out;
}

.retro-pagination {
  display: flex;
  justify-content: center;
  margin: 20px 0;
}

.retro-pagination__link {
  display: block;
  margin: 0 5px;
  padding: 10px 15px;
  text-decoration: none;
  color: #000;
  background-color: #ffcc00;
  border: 4px solid #000;
  font-family: 'Hubiy', sans-serif;
  font-size: 16px;
  transition: background-color 0.2s ease-in-out, transform 0.1s ease-in-out;
}

.retro-pagination__link:hover,
.retro-pagination__link:focus {
  background-color: #ffd700;
  transform: translateY(-2px);
}

.retro-pagination__link:active {
  transform: translateY(2px);
}

.retro-card {
  background-color: #fff;
  border: 4px solid #000;
  padding: 20px;
  margin: 20px auto;
  font-family: 'Hubiy', sans-serif;
  color: #000;
  width: 100%;
  max-width: 400px;
  box-shadow: 0 4px #cc9900;
  transition: transform 0.2s ease-in-out;
}

.retro-card:hover {
  transform: translateY(-4px);
}

.retro-card__title {
  font-size: 18px;
  color: #ffcc00;
  text-shadow: 2px 2px #000;
  margin-bottom: 10px;
}

.retro-card__content {
  font-size: 14px;
}

.retro-alert {
  border: 4px solid #000;
  padding: 20px;
  margin: 20px auto;
  font-family: 'Hubiy', sans-serif;
  color: #000;
  width: 100%;
  max-width: 400px;
  box-shadow: 0 4px #000;
  position: relative;
  transition: transform 0.2s ease-in-out;
}

.retro-alert:hover {
  transform: translateY(-4px);
}

.retro-alert--info {
  background-color: #ffcc00;
  border-color: #000000a3;
  color: #000000;
}

.retro-alert--warning {
  background-color: #fff3cd;
  border-color: #ffeeba;
  color: #856404;
}

.retro-alert--danger {
  background-color: #f8d7da;
  border-color: #f5c6cb;
  color: #721c24;
}

.retro-alert--success {
  background-color: #d4edda;
  border-color: #c3e6cb;
  color: #155724;
}

.retro-alert__content {
  font-size: 36px;
  margin: 0;
}

.retro-tabs {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}

.retro-tab {
  background-color: #ffcc00;
  border: 4px solid #000;
  padding: 10px 20px;
  margin: 0 5px;
  cursor: pointer;
  font-family: 'Hubiy', sans-serif;
  font-size: 16px;
  transition: background-color 0.2s ease-in-out, transform 0.1s ease-in-out;
}

.retro-tab:hover,
.retro-tab:focus {
  background-color: #ffd700;
  transform: translateY(-2px);
}

.retro-tab:active {
  transform: translateY(2px);
}

.retro-tab--active {
  background-color: #ffd700;
  transform: translateY(-2px);
}

.retro-tab-content {
  border: 4px solid #000;
  padding: 20px;
  margin-top: -4px; /* To align with the tab border */
  background-color: #fff;
  font-family: 'Hubiy', sans-serif;
  color: #000;
  max-width: 400px;
  margin: 0 auto 20px;
}

.retro-badges {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.retro-badge {
  display: inline-block;
  padding: 5px 10px;
  font-family: 'Hubiy', sans-serif;
  font-size: 14px;
  border: 4px solid #000;
  text-transform: uppercase;
  margin: 5px;
}

.retro-badge--info {
  background-color: #d1ecf1;
  color: #0c5460;
  border-color: #bee5eb;
}

.retro-badge--warning {
  background-color: #fff3cd;
  color: #856404;
  border-color: #ffeeba;
}

.retro-badge--danger {
  background-color: #f8d7da;
  color: #721c24;
  border-color: #f5c6cb;
}

.retro-badge--success {
  background-color: #d4edda;
  color: #155724;
  border-color: #c3e6cb;
}

.retro-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 20px 0;
}

.retro-loading__text {
  font-family: 'Hubiy', sans-serif;
  font-size: 16px;
  color: #000;
  margin-top: 10px;
}

.retro-spinner,
.retro-coin {
  width: 50px;
  height: 50px;
  margin-bottom: 10px;
}

/* Spinner Animation */
.retro-spinner {
  border: 4px solid #f3f3f3;
  border-top: 4px solid #ffcc00;
  border-radius: 50%;
  animation: spin 2s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Coin Animation */
.retro-coin {
  background-color: #ffcc00;
  border: 4px solid #000;
  border-radius: 50%;
  position: relative;
  animation: bounce 1s infinite alternate;
  display: flex;
  align-items: center;
  justify-content: center;
}

.retro-coin__text {
  font-family: 'Hubiy', sans-serif;
  font-size: 20px;
  color: #000;
  position: absolute;
}

@keyframes bounce {
  from { transform: translateY(0); }
  to { transform: translateY(-20px); }
}
.retro-icons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px; /* Increased gap for more spacing */
  margin: 20px 0;
}

.retro-icon {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 60px;
  text-align: center;
  margin: 20px; /* Added margin for additional spacing */
}

.retro-icon svg {
  margin-bottom: 10px;
}

.retro-icon p {
  font-family: 'Hubiy', sans-serif;
  font-size: 12px;
  color: #000;
}

.retro-tooltip-container {
  position: relative;
  display: inline-block;
}

.retro-tooltip {
  visibility: hidden;
  background-color: #000;
  color: #ffcc00;
  text-align: center;
  border-radius: 4px;
  padding: 5px 10px;
  position: absolute;
  z-index: 1;
  bottom: 125%;
  left: 50%;
  margin-left: -60px;
  font-family: 'Hubiy', sans-serif;
  font-size: 24px;
  border: 4px solid #ffcc00;
  line-height: 1.8rem;
}

.retro-tooltip::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: #ffcc00 transparent transparent transparent;
}

.retro-tooltip-container:hover .retro-tooltip {
  visibility: visible;
}

.retro-accordion__button {
  background-color: #ffcc00;
  color: #000;
  cursor: pointer;
  padding: 18px;
  width: 100%;
  border: none;
  text-align: left;
  outline: none;
  font-size: 15px;
  font-family: 'Hubiy', sans-serif;
  border: 4px solid #000;
  transition: background-color 0.4s ease;
}

.retro-accordion__button:hover {
  background-color: #ffd700;
}

.retro-accordion__content {
  padding: 0 18px;
  display: none;
  overflow: hidden;
  background-color: #f9f9f9;
  border: 4px solid #000;
  font-family: 'Hubiy', sans-serif;
}

.retro-accordion__button.active + .retro-accordion__content {
  display: block;
}

.retro-modal {
  display: none;
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.4);
}

.retro-modal__content {
  background-color: #fff;
  margin: 15% auto;
  padding: 20px;
  border: 4px solid #000;
  width: 80%;
  max-width: 500px;
  font-family: 'Hubiy', sans-serif;
  font-size: 30px;
  text-align: center;
}

.retro-modal__close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}

.retro-modal__close:hover,
.retro-modal__close:focus {
  color: #000;
  text-decoration: none;
}

.retro-breadcrumbs {
  display: flex;
  align-items: center;
  font-family: 'Hubiy', sans-serif;
}

.retro-breadcrumbs__link {
  color: #ffcc00;
  text-decoration: none;
  margin: 0 5px;
}

.retro-breadcrumbs__separator {
  color: #000;
  margin: 0 5px;
}

.retro-toast {
  visibility: hidden;
  min-width: 250px;
  margin-left: -125px;
  background-color: #000;
  color: #ffcc00;
  text-align: center;
  border: 4px solid #ffcc00;
  padding: 16px;
  position: fixed;
  z-index: 1;
  left: 50%;
  bottom: 30px;
  font-family: 'Hubiy', sans-serif;
  font-size: 12px;
}

.retro-toast.show {
  visibility: visible;
  animation: fadein 0.5s, fadeout 0.5s 2.5s;
}

@keyframes fadein {
  from {bottom: 0; opacity: 0;}
  to {bottom: 30px; opacity: 1;}
}

@keyframes fadeout {
  from {bottom: 30px; opacity: 1;}
  to {bottom: 0; opacity: 0;}
}

.retro-slider {
  -webkit-appearance: none;
  width: 100%;
  max-width: 400px;
  height: 12px;
  background: #ffcc00;
  border: 4px solid #000;
  outline: none;
  padding: 0;
  margin: 10px 0;
}

.retro-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  background: #000;
  cursor: pointer;
}

.retro-slider::-moz-range-thumb {
  width: 20px;
  height: 20px;
  background: #000;
  cursor: pointer;
}

#game-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 20px auto; /* Adjust as necessary */
}

#mobile-controls {
  text-align: center;
  margin-top: 20px;
}

#mobile-controls button {
  width: 90px;
  height: 90px;
  font-size: 30px;
  margin: 0 10px;
}

@media only screen and (max-width: 768px) {
  #mobile-controls {
    display: block;
  }
}

.myButton {
  font-family: 'Hubiy', sans-serif;  /* Retro font style */
  border: 4px solid #000;            /* Bold black border */
  font-size: 30px;                   /* Larger text */
  padding: 10px 20px;                /* Padding inside the button */
  text-transform: uppercase;         /* Uppercase text */
  cursor: pointer;                   /* Pointer cursor on hover */
  position: fixed;                   /* Keep the button fixed at the bottom-right */
  bottom: 20px;                      /* Distance from bottom */
  right: 20px;                       /* Distance from right */
  transition: all 0.1s ease-in-out;  /* Smooth transitions */
  background-color: rgba(255, 255, 255, 0.5); /* Semi-transparent white */
  outline: none;                     /* Remove default outline */
  z-index: 1000;                     /* Ensure it stays on top of other elements */
}

.myButton:hover {
  background-color: rgba(255, 255, 255, 0.8); /* Lighter on hover */
  transform: scale(1.05);                     /* Slightly enlarge on hover */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);  /* Add a shadow for depth */
}