/* Custom Fonts */
@font-face {
  font-family: 'Sequel';
  src: url('../assets/Fonts/Fonts/Sequel_Demo.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'SequelWide';
  src: url('../assets/Fonts/Fonts/tmpsequel100wide-75 1.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Oswald';
  src: url('../assets/Fonts/Fonts/Oswald-VariableFont_wght.ttf') format('truetype');
  font-weight: 100 900;
  font-style: normal;
}

/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  height: 100%;
  min-height: 100%;
  overflow-x: hidden;
  /* Prevents page from "bouncing" when scrolling on some browsers */
  overflow-y: scroll;
  -webkit-overflow-scrolling: touch;
  /* Ensures smooth scrolling */
  scroll-behavior: smooth;
}

/* Custom scrollbar styling */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.1);
}

::-webkit-scrollbar-thumb {
  background: rgba(58, 0, 250, 0.5);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(58, 0, 250, 0.8);
}

body {
  font-family: 'Oswald', Arial, sans-serif;
  position: relative;
  min-height: 100vh;
  height: auto;
  display: flex;
  flex-direction: column;
  color: #000;
  overflow-x: hidden;
  background-color: #000; /* Fallback color */
}

/* Fixed background with pseudo-element for better control */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('../assets/images/desktop-bg.png') no-repeat center center;
  background-size: cover;
  z-index: -1; /* Place behind content */
}

/* Layout */
.container_section {
  flex: 1;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: stretch;
  padding: 20px;
  min-height: 100vh;
  position: relative;
  z-index: 1;
}

.content {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: stretch;
  width: 100%;
  max-width: 1200px;
  gap: 40px;
  position: relative;
  padding-bottom: 100px;
}

/* Left */
.left {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  /* padding-top: 40px; */
}
.left .artist img {
  max-width: 280px;
}
.artist-desk {
  display: block;
  max-width: 280px;
  margin-top: 50px;
}
.artist-mob {
  display: none;
}
.logo_section {
  margin: 40px 0 20px 0;
  text-align: center;
}
.logo-desk {
  display: block;
  max-width: 250px;
}
.logo-mob {
  display: none;
}
.present {
  text-align: center;
  margin-top: 25px;
  /* margin-bottom: 30px; */
}
.present h2 {
  font-size: 16px;
}

/* Right */
.right-section {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  margin-top: -20px;
}

.form-header {
  width: 100%;
  text-align: left;
  padding-top: 30px;
  padding-left: 75px;
}
.form-header h2 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.1;
  color: #211d1d;
  text-align: left;
}
.form-header h2.font-myriadpro {
  font-family: 'Oswald', Arial, sans-serif !important;
}

/* Custom Font Classes */
.font-myriadpro {
  font-family: 'Oswald', Arial, sans-serif;
}
.font-sequel {
  font-family: 'Oswald', Arial, sans-serif;
}
.font-sequel-wide {
  font-family: 'Oswald', Arial, sans-serif;
  font-weight: 600;
}

.form-header p {
  font-size: 15px;
  font-weight: bold;
  margin-bottom: 14px;
  text-align: center;
  background-color: #00ff00;
  width: 64%;
  padding: 5px;
  margin-left: 50px;
  margin-right: auto;
  margin-bottom: 13px;
}

.form-wrapper {
  max-width: 420px;
  background: hsl(254, 100%, 49%);
  padding: 30px;
  width: 100%;
  box-shadow: 0 4px 24px rgba(0,0,0,0.10);
}

form {
  display: flex;
  flex-direction: column;
}
form input, form select {
  padding: 10px;
  margin-bottom: 13px;
  border: none;
  font-size: 16px;
  background: #ffeb00;
  color: #2412a3;
  font-weight: bold;
  text-transform: uppercase;
}
form input::placeholder, form select::placeholder {
  color: #3d00fc;
}

/* Fix for date input and select styling */
form input[type="date"], form select, .ui-datepicker-trigger {
  background-color: #ffeb00;
  color: #3a00fa;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

/* jQuery UI Datepicker styling */
.ui-datepicker {
  background: #ffeb00;
  border: none;
  border-radius: 8px;
  padding: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  font-family: 'Oswald', Arial, sans-serif;
  width: 250px;
}

.ui-datepicker-header {
  background: #3a00fa;
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 8px;
  margin-bottom: 5px;
}

.ui-datepicker-calendar {
  width: 100%;
}

.ui-datepicker-calendar th {
  color: #3a00fa;
  font-weight: bold;
  padding: 5px 0;
}

.ui-datepicker-calendar td {
  text-align: center;
  padding: 2px;
}

.ui-datepicker-calendar td a {
  display: block;
  padding: 5px;
  text-align: center;
  text-decoration: none;
  color: #3a00fa;
  border-radius: 4px;
  background: transparent;
  border: none;
  font-weight: bold;
}

.ui-datepicker-calendar td a:hover {
  background: #3a00fa;
  color: #ffeb00;
}

.ui-datepicker-calendar .ui-state-active {
  background: #3a00fa;
  color: #ffeb00;
}

.ui-datepicker-prev, .ui-datepicker-next {
  cursor: pointer;
  position: absolute;
  top: 10px;
}

.ui-datepicker-prev {
  left: 10px;
}

.ui-datepicker-next {
  right: 10px;
}

.ui-datepicker-year, .ui-datepicker-month {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 4px;
  padding: 2px;
  color: #3a00fa;
  font-weight: bold;
  margin: 0 3px;
}
.ui-datepicker .ui-datepicker-title select {
	margin: 2px;
}

/* Ensure select dropdown arrow color matches */
form select {
  background-image: url("data:image/svg+xml;utf8,<svg fill='%232412a3' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/><path d='M0 0h24v24H0z' fill='none'/></svg>");
  background-repeat: no-repeat;
  background-position: right 8px top 50%;
  padding-right: 30px;
}

/* Fix date input color in webkit browsers */
input[type="date"]::-webkit-calendar-picker-indicator {
  filter: invert(10%) sepia(82%) saturate(5383%) hue-rotate(245deg) brightness(99%) contrast(132%);
}

.terms-notice {
  font-size: 12px;
  color: #fff;
  font-weight: bold;
  text-align: left;
  margin: 10px 0 5px 0;
  text-transform: uppercase;
  width: 100%;
  padding: 0;
}

button {
  padding: 3px;
  background: #ffeb00;
  color: #2412a3;
  font-weight: bold;
  border: none;
  cursor: pointer;
  text-transform: uppercase;
  width: 100px;
  margin: auto;
}

/* Checkboxes */
.checkboxes {
  margin: 15px 0;
}
.checkboxes label {
  display: flex;
  font-size: 12px;
  color: #fff;
  margin-bottom: 10px;
  gap: 8px;
  align-items: center;
  flex-direction: row;
}
.checkboxes input {
  margin-top: 0;
  margin-bottom: 0;
}

.form-checkbox {
  width: 14px !important;
  height: 14px !important;
  min-width: 14px !important;
  min-height: 14px !important;
  accent-color: #ffeb00;
  vertical-align: middle;
}

/* Special styling for multiline checkbox */
.multiline-checkbox {
  align-items: flex-start !important;
}

.multiline-checkbox .form-checkbox {
  margin-top: 3px; /* Move the checkbox down slightly to align with first line */
}

/* Footer spanning section */
.footer-logo-1 {
  position: absolute;
  left: 24%;
  transform: translateX(-50%);
  bottom: 0;
  padding: 20px 0;
  z-index: 10;
}
.footer-logo-1 img {
  max-height: 50px;
  object-fit: contain;
}

.footer-logo-2 {
  position: absolute;
  left: 60%;
  transform: translateX(-50%);
  bottom: 0;
  padding: 20px 0;
  z-index: 10;
}
.footer-logo-2 img {
  max-height: 35px;
  object-fit: contain;
  margin-top: 20px;
}

.footer-logo-3 {
  position: absolute;
  left: 86%;
  transform: translateX(-50%);
  bottom: 0;
  padding: 20px 0;
  z-index: 10;
}
.footer-logo-3 img {
  max-height: 45px;
  object-fit: contain;
}

/* Mobile footer */
.footer-mobile {
  display: none;
}
.footer-mobile-afrojack {
  display: none;
}

/* Responsive Design */

/* Tablet Only (768px to 1024px) */
@media (min-width: 768px) and (max-width: 1024px) {
  .container_section {
    padding: 25px;
  }
  .content {
    flex-direction: column;
    align-items: center;
    gap: 30px;
    padding-bottom: 80px;
  }
  .left {
    order: 1;
  }
  .right-section {
    order: 2;
    margin-top: 0;
  }
  .form-header {
    text-align: left;
    padding-left: 30px;
    padding-right: 30px;
  }
  .form-header h2 {
    font-size: 26px;
    text-align: left;
    width: 100%;
  }
  .form-header p {
    width: 64%;
    margin-left: 40px;
    margin-right: auto;
  }
  .form-wrapper {
    max-width: 400px;
    width: 90%;
    padding: 30px;
  }
  .left .artist img {
    max-width: 250px;
  }
  .artist-desk {
    max-width: 250px;
  }
  .logo-desk {
    max-width: 220px;
  }
  .footer-logo-1,
  .footer-logo-2,
  .footer-logo-3 {
    display: none;
  }
  .footer-mobile-afrojack {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 25px;
  }
  .footer-mobile-afrojack img {
    max-height: 35px;
  }
  .footer-mobile {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-top: 30px;
  }
  .footer-mobile img {
    max-height: 35px;
  }
}

/* Mobile (480px to 767px) */
@media (min-width: 480px) and (max-width: 767px) {
  body::before {
    background: url('../assets/images/mobile-bg.png') no-repeat center center;
    background-size: cover;
  }
  .container_section {
    padding: 15px;
  }
  .content {
    flex-direction: column;
    align-items: center;
    gap: 25px;
    padding-bottom: 60px;
  }
  .left {
    order: 1;
  }
  .right-section {
    order: 2;
    margin-top: 0;
  }
  .left .artist img {
    max-width: 200px;
  }
  .artist-desk {
    display: none;
  }
  .artist-mob {
    display: block;
  }
  .logo-desk {
    display: none;
  }
  .logo-mob {
    display: block;
    max-width: 180px;
  }
  .present h2 {
    font-size: 14px;
  }
  .form-header {
    text-align: left;
    padding-left: 25px;
    padding-right: 25px;
  }
  .form-header h2 {
    font-size: 22px;
    text-align: left;
    width: 100%;
  }
  .form-header p {
    font-size: 13px;
    width: 70%;
    padding: 4px;
  }
  .form-wrapper {
    width: 95%;
    max-width: 350px;
    padding: 25px;
  }
  form input, form select {
    padding: 12px;
    font-size: 14px;
    margin-bottom: 15px;
  }
  button {
    padding: 7px;
    width: 98px;
    font-size: 14px;
  }
  .checkboxes label {
    font-size: 11px;
  }
  .footer-logo-1,
  .footer-logo-2,
  .footer-logo-3 {
    display: none;
  }
  .footer-mobile-afrojack {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 25px;
  }
  .footer-mobile-afrojack img {
    max-height: 35px;
  }
  .footer-mobile {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-top: 30px;
  }
  .footer-mobile img {
    max-height: 35px;
  }
}

/* Small Mobile (320px to 479px) */
@media (max-width: 479px) {
  body::before {
    background: url('../assets/images/mobile-bg.png') no-repeat center center;
    background-size: cover;
  }
  .container_section {
    padding: 10px;
  }
  .content {
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding-bottom: 50px;
  }
  .left {
    order: 1;
  }
  .right-section {
    order: 2;
    margin-top: 0;
  }
  .left .artist img {
    max-width: 160px;
  }
  .artist-desk {
    display: none;
  }
  .artist-mob {
    display: block;
  }
  .logo-desk {
    display: none;
  }
  .logo-mob {
    display: block;
    max-width: 140px;
  }
  .present {
    margin-top: 8px;
  }
  .present h2 {
    font-size: 12px;
  }
  .form-header {
    padding-top: 20px;
    text-align: left;
    padding-left: 20px;
    padding-right: 20px;
  }
  .form-header h2 {
    font-size: 25px;
    line-height: 1.2;
    text-align: left;
    width: 100%;
  }
  .form-header p {
    font-size: 11px;
    width: 80%;
    padding: 3px;
    margin-bottom: 10px;
    margin-left: 25px;
    margin-right: auto;
  }
  .form-wrapper {
    width: 98%;
    max-width: 300px;
    padding: 20px;
  }
  form input, form select {
    padding: 10px;
    font-size: 13px;
    margin-bottom: 12px;
  }
  button {
    padding: 6px;
    width: 84px;
    font-size: 13px;
  }
  .checkboxes {
    margin: 12px 0;
  }
  .checkboxes label {
    font-size: 10px;
    gap: 6px;
  }
  .footer-logo-1,
  .footer-logo-2,
  .footer-logo-3 {
    display: none;
  }
  .footer-mobile-afrojack {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
  }
  .footer-mobile-afrojack img {
    max-height: 28px;
  }
  .footer-mobile {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
  }
  .footer-mobile img {
    max-height: 28px;
  }
}

/* Animation for loading spinner */
@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Tagline Quiz Styling */
.tagline-quiz {
  margin-bottom: 12px;
  background-image: linear-gradient(140deg, rgba(255, 255, 255, 0.1), rgba(0, 0, 0, 0.05));
  border-radius: 6px;
  padding: 10px;
  border: 1px solid rgba(255, 235, 0, 0.4);
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

/* Decorative design elements removed */
.tagline-quiz::before {
  display: none; /* Hide the top-left circle */
}

.tagline-quiz::after {
  display: none; /* Hide the bottom-right circle */
}

/* Heading styling */
.tagline-quiz p {
  color: #ffeb00;
  margin-bottom: 10px;
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
  position: relative;
  z-index: 1;
  padding-left: 6px;
  border-left: 3px solid #ffeb00;
}

/* Options container */
.tagline-quiz .options {
  display: flex;
  flex-direction: column;
  gap: 5px;
  position: relative;
  z-index: 1;
}

/* Individual option styling */
.tagline-quiz label {
  color: #fff;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  cursor: pointer;
  padding: 6px 10px;
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.15);
  transition: all 0.2s ease;
  border-left: 2px solid transparent;
  position: relative;
  overflow: hidden;
}

/* Radio button styling */
.tagline-quiz input[type="radio"] {
  appearance: none;
  -webkit-appearance: none;
  width: 16px;
  height: 16px;
  border: 1.5px solid #ffeb00;
  border-radius: 50%;
  margin: 0;
  position: relative;
  cursor: pointer;
  flex-shrink: 0;
  background: transparent;
}

/* Custom radio button indicator */
.tagline-quiz input[type="radio"]::after {
  content: "";
  display: block;
  width: 8px;
  height: 8px;
  background-color: #ffeb00;
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  transition: transform 0.15s ease-in-out;
}

/* Checked state styling */
.tagline-quiz input[type="radio"]:checked::after {
  transform: translate(-50%, -50%) scale(1);
}

/* Option text styling */
.tagline-quiz .option-text {
  font-weight: 600;
  letter-spacing: 0.5px;
}

/* Hover effects */
.tagline-quiz label:hover {
  background: rgba(255, 235, 0, 0.1);
  border-left-color: rgba(255, 235, 0, 0.5);
}

.tagline-quiz label:hover .option-text {
  transform: translateX(3px);
}

.tagline-quiz label:active {
  transform: scale(0.98);
}

/* Transition for smooth effects */
.tagline-quiz .option-text {
  transition: transform 0.2s ease;
}

/* Additional responsive styles for tagline quiz */
@media (max-width: 767px) {
  .tagline-quiz {
    padding: 8px;
    margin-bottom: 10px;
  }
  
  .tagline-quiz p {
    font-size: 13px;
    margin-bottom: 8px;
  }
  
  .tagline-quiz label {
    font-size: 12px;
    padding: 5px 8px;
  }
  
  .tagline-quiz input[type="radio"] {
    width: 14px;
    height: 14px;
  }
  
  .tagline-quiz input[type="radio"]::after {
    width: 7px;
    height: 7px;
  }
}

@media (max-width: 479px) {
  .tagline-quiz {
    padding: 6px;
    margin-bottom: 8px;
  }
  
  .tagline-quiz p {
    font-size: 12px;
    margin-bottom: 6px;
  }
  
  .tagline-quiz label {
    font-size: 12px;
    padding: 4px 6px;
  }
  
  .tagline-quiz input[type="radio"] {
    width: 12px;
    height: 12px;
  }
  
  .tagline-quiz input[type="radio"]::after {
    width: 6px;
    height: 6px;
  }
}

/* Loading Modal Styles */
.loading-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.7);
  z-index: 9999;
  text-align: center;
}

.loading-content {
  position: relative;
  top: 40vh;
  color: #fff;
  font-size: 2em;
}

.loading-logo {
  width: 120px;
  margin-bottom: 20px;
}

.loader {
  margin: 20px auto;
  border: 8px solid #f3f3f3;
  border-top: 8px solid #3f00ff;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  animation: spin 1s linear infinite;
}

/* Scratch Card Full Page Styles */
.scratch-card-full-page {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10000;
  overflow-y: auto;
  background-color: #000; /* Fallback color */
}

.scratch-card-full-page::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('../assets/images/desktop-bg.png') no-repeat center center;
  background-size: cover;
  z-index: -1;
}

/* Legacy Scratch Card Modal Styles */
.scratch-card-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: linear-gradient(135deg, rgba(63,0,255,0.9), rgba(0,0,0,0.8));
  z-index: 10000;
  text-align: center;
}

.modal-content {
  position: relative;
  top: 15vh;
  background: linear-gradient(135deg, #fff, #f8f9fa);
  border-radius: 24px;
  padding: 40px 32px;
  max-width: 400px;
  margin: 0 auto;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
  border: 3px solid #FFD700;
}

.modal-logo-container {
  margin-bottom: 24px;
}

.modal-logo {
  width: 140px;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.2));
}

.modal-title {
  color: #3f00ff;
  margin-bottom: 8px;
  font-size: 1.8em;
  text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.modal-subtitle {
  color: #666;
  margin-bottom: 24px;
  font-size: 1.1em;
}

.voucher-container {
  margin-bottom: 24px;
  position: relative;
}

.voucher-wrapper {
  background: linear-gradient(45deg, #FFD700, #FFA500);
  padding: 4px;
  border-radius: 12px;
  display: inline-block;
}

.voucher-code {
  background: silver;
  color: silver;
  font-size: 1.8em;
  padding: 16px 40px;
  border-radius: 8px;
  letter-spacing: 3px;
  cursor: pointer;
  user-select: none;
  display: inline-block;
  font-weight: bold;
  position: relative;
  overflow: hidden;
}

.copy-voucher-btn {
  position: absolute;
  top: -10px;
  right: -10px;
  background: #3f00ff;
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  font-size: 1.2em;
  cursor: pointer;
  display: none;
  box-shadow: 0 4px 12px rgba(63,0,255,0.3);
}

.voucher-info {
  color: #888;
  font-size: 0.9em;
  margin: 0;
}

/* City dropdown styling (currently commented out in HTML) */
.city-dropdown {
  text-transform: uppercase;
  color: #3a00fa;
  background-color: #ffeb00;
}

/* Canvas pointer events fix */
body[data-visually-revealed="true"] #scratchCanvas {
  pointer-events: none !important;
}

/* Ensure copy elements always receive clicks */
#directCopyBtn, #voucherCodeInput {
  pointer-events: auto !important;
  position: relative !important;
  z-index: 999999 !important;
}
