/*
Theme Name: R5 x BetMGM Gaming
Template: r5-base
*/

body { background-color: #111111 !important; color:#ffffff !important; }

.ff-container-game {
  position: relative;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0,0,0,0.45);
  background: #000;
}

/* Maintain 16:9 aspect ratio */
.ff-container-game::before {
  content: "";
  display: block;
  padding-top: 56.25%;
}

.ff-container-game iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Give it more breathing room on larger screens */
@media (min-width: 1200px) {
  .ff-container-game {
    max-width: 1600px;
  }
}

/* Mobile: give the game more height */
@media (max-width: 768px) {
  .ff-container-game::before {
    padding-top: 120%;   /* was 56.25% (16:9), now taller */
  }
}

/* Gravity Forms 2.9 Dark Mode Override */
body .gform_wrapper {

	--gf-local-color-text: #ffffff;
	--gf-local-color-label: #ffffff;
	--gf-local-color-placeholder: #ffffff;
	--gf-local-color-description: #ffffff;

	color: #ffffff;
}

/* Labels + descriptions */
body .gform_wrapper .gfield_label,
body .gform_wrapper .gfield_description,
body .gform_wrapper .ginput_complex label,
body .gform_wrapper .gform-field-label,
body .gform_wrapper legend {
	color: #ffffff !important;
}



/* Small phones: go full arcade mode */
@media (max-width: 480px) {
  .ff-container-game::before {
    padding-top: 140%;
  }
}

.ff-header {
  background: #000;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.ff-header a {
  text-decoration: none;
  font-size: 14px;
}

.ff-header a:hover {
  opacity: 0.7;
}
