@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@100..900&display=swap");

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

img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

body {
  width: 100%;
  min-height: 100vh;
  font-family: "Montserrat", serif;
  background: url("../images/background.png") no-repeat center/cover;
}

a {
  text-decoration: none;
}

@keyframes popupAnimation {
  to {
    transform: scale(1);
  }
}

@keyframes coinAnimation {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20px);
  }
}

@keyframes coinAnimationMobile {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.main {
  width: 100%;
  height: 100%;
}

.header-block {
  padding: 45px 45px 45px 105px;
  display: flex;
  align-items: center;
  position: relative;
}

.header-block .logo-block {
  width: 320px;
  height: 124px;
}

.header-block .text-block {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  margin-top: 40px;
  text-align: center;
}

.header-block .text-block h1 {
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 8px;
}

.header-block .text-block h1, .header-block .text-block h2 {
  color: #fff;
  text-transform: uppercase;
}

.header-block .text-block h2 {
  font-size: 42px;
  font-weight: 600;
}

.header-block .text-block h2 span.small-text {
  font-size: 24px;
}

.header-block .text-block h2 span.highlighted-text {
  color: #FF9900;
}

.character-images, .animated-coins {
  position: fixed;
  left: 0;
  width: 100%;
}

.character-images {
  height: 80%;
  bottom: 0;
  overflow: hidden;
  display: grid;
  grid-template-columns: 50% 50%;
}

.animated-coins {
  top: 0;
  height: 100%;
  z-index: 1;
}

.animated-coins .coin {
  position: absolute;
  z-index: 1;
  animation: coinAnimation 5s infinite ease-in-out;
}

.animated-coins .coin1 {
  width: 140px;
  height: 150px;
  top: 25%;
  left: 22%;
  animation-delay: 1.5s;
}

.animated-coins .coin2 {
  width: 246px;
  height: 166px;
  bottom: 10%;
  right: -2%;
  animation-delay: 2.5s;
}

.animated-coins .coin3 {
  width: 96px;
  height: 81px;
  top: 17%;
  right: 23%;
  animation-delay: 3.5s;
}

.animated-coins .goldHorseshoe {
  width: 210px;
  height: 160px;
  top: 70%;
  left: 25%;
  animation-delay: 1s;
}

.animated-coins .greenGem {
  width: 8%;
  height: 8%;
  top: 30%;
  left: 5%;
  animation-delay: 2s;
}

.animated-coins .wisdom1 {
  width: 200px;
  height: 200px;
  top: 10%;
  right: 5%;
  animation-delay: 4s;
}

.animated-coins .wisdom2 {
  width: 250px;
  height: 250px;
  top: 20%;
  right: -3%;
  animation-delay: 5s;
}

.character-img {
  position: absolute;
  top: 0;
}

.character-img.character-img-left {
  left: -5%;
  bottom: -15%;
}

.character-img.character-img-right {
  right: 0;
  bottom: -15%;
}

.content {
  position: relative;
  margin: 50px auto 0;
  max-width: calc((3 * 160px) + (2 * 75px));
  padding-bottom: 120px;
  z-index: 99;
}

.content .items {
  width: 100%;
  gap: 75px;
  display: flex;
  flex-wrap: wrap;
}

.content .item {
  width: 160px;
  height: 154px;
  cursor: pointer;
  position: relative;
}

.content .item:hover {
  transform: scale(1.125);
  transition: transform 0.7s ease;
}

.content .item.active {
  transform: scale(5);
  transition: transform 0.3s ease 0.05s;
}

.content .item.active img {
  position: relative;
  z-index: 1;
}

.footer {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 120px;
  z-index: 99;
}

.footer img {
  object-fit: cover;
}

.popup {
  position: fixed;
  left: 0;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  overflow: auto;
  padding: 16px 4px;
}

.popup-content {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  border-radius: 12px;
  border: 2px solid #FF7527;
  width: 47%;
  max-width: 1000px;
  background-color: rgba(0, 0, 0, 0.6);
  color: #fff;
  padding: 42px;
  z-index: 9;
}

.popup.opened {
  opacity: 1;
  visibility: visible;
}

.popup.opened .popup-content {
  animation: popupAnimation 0.2s ease forwards;
}

.popup h5 {
  font-size: 26px;
  font-weight: 800;
  margin-bottom: 8px;
}

.popup h4 {
  font-size: 32px;
  font-weight: 600;
}

.popup h4 span {
  color: #FF9900;
}

.popup img {
  height: 340px;
  width: 340px;
  margin: 40px 0 48px;
}

.popup .btn {
  background: linear-gradient(165.95deg, #FFB800 10.01%, #FF7527 89.99%);
  border-radius: 8px;
  border: none;
  min-width: 270px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  line-height: 1.8;
  font-weight: 600;
  color: #000;
  padding: 15px;
  cursor: pointer;
  text-decoration: none;
}

@media (min-width: 1800px) {
  .footer {
    min-height: 120px;
    height: 12%;
  }
}

@media (max-width: 1720px) {
  .header-block {
    padding: 30px 30px 30px 65px;
  }

  .header-block .logo-block {
    width: 220px;
  }

  .header-block .text-block {
    margin-top: 30px;
  }

  .header-block .text-block h1 {
    font-size: 30px;
  }

  .header-block .text-block h2 {
    font-size: 35px;
  }

  .character-img.character-img-left {
    left: -18%;
  }

  .content {
    margin: 40px auto 0;
    max-width: calc((3 * 120px) + (2 * 45px));
  }

  .content .items {
    gap: 45px;
  }

  .content .item {
    width: 120px;
    height: 115px;
  }

  .footer {
    height: 90px;
  }

  .animated-coins .coin1 {
    width: 120px;
    height: 130px;
    top: 17%;
    left: 20%;
  }

  .animated-coins .coin2 {
    width: 200px;
    height: 120px;
    bottom: 8%;
    right: -4%;
  }

  .animated-coins .coin3 {
    width: 80px;
    height: 60px;
    top: 10%;
    right: 20%;
  }

  .animated-coins .goldHorseshoe {
    width: 140px;
    height: 120px;
    top: 73%;
    left: 25%;
  }

  .animated-coins .wisdom1 {
    width: 160px;
    height: 160px;
    top: 8%;
    right: 5%;
  }

  .animated-coins .wisdom2 {
    width: 160px;
    height: 160px;
    top: 15%;
    right: -3%;
  }
}

@media (max-width: 1440px) {
  .header-block {
    padding: 24px 24px 24px 40px;
  }

  .header-block .logo-block {
    width: 160px;
    height: auto;
  }

  .header-block .text-block {
    margin-top: 24px;
  }

  .header-block .text-block h1 {
    font-size: 24px;
  }

  .header-block .text-block h2 {
    font-size: 28px;
  }

  .content {
    margin: 32px auto 0;
    max-width: calc((3 * 90px) + (2 * 35px));
  }

  .content .items {
    gap: 35px;
  }

  .content .item {
    width: 90px;
    height: 100px;
  }

  .footer {
    height: 80px;
  }
}

@media (max-width: 1200px) {
  .header-block .logo-block {
    width: 140px;
  }

  .header-block .text-block h1 {
    font-size: 20px;
  }

  .header-block .text-block h2 {
    font-size: 24px;
  }

  .content {
    margin: 24px auto 0;
    max-width: calc((3 * 75px) + (2 * 28px));
  }

  .content .items {
    gap: 28px;
  }

  .content .item {
    width: 75px;
    height: 95px;
  }

  .footer {
    height: 70px;
  }

  .popup img {
    height: 270px;
    width: 270px;
    margin: 28px 0 30px;
  }

  .popup-content {
    width: 55%;
    padding: 32px;
  }

  .popup h4 {
    font-size: 28px;
  }
}

@media (max-width: 1024px) {
  .popup img {
    height: 200px;
    width: 200px;
  }

  .character-images {
    height: 70%;
  }

  .animated-coins .coin1 {
    width: 100px;
    height: 100px;
    top: 17%;
    left: 20%;
  }

  .animated-coins .coin2 {
    width: 100px;
    height: 100px;
    bottom: 8%;
    right: -4%;
  }

  .animated-coins .coin3 {
    width: 60px;
    height: 50px;
    top: 10%;
    right: 20%;
  }

  .animated-coins .goldHorseshoe {
    width: 100px;
    height: 80px;
    top: 73%;
    left: 25%;
  }

  .animated-coins .wisdom1 {
    width: 100px;
    height: 100px;
    top: 8%;
    right: 5%;
  }

  .animated-coins .wisdom2 {
    width: 100px;
    height: 100px;
    top: 15%;
    right: -3%;
  }

  .footer {
    height: 55px;
  }
}

@media (max-width: 800px) {
  .main {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .header-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 24px;
  }

  .header-block .text-block {
    position: relative;
    margin-top: 20px;
    top: auto;
    left: auto;
    transform: translate(0);
  }

  .header-block .text-block h2 {
    font-size: 20px;
  }

  .header-block .text-block h2 span.small-text {
    font-size: 20px;
  }

  .content {
    margin: 0;
    max-width: calc((3 * 70px) + (2 * 32px));
  }

  .content .items {
    gap: 32px;
  }

  .content .item {
    width: 70px;
    height: 68px;
  }

  .footer {
    height: 48px;
  }

  .popup img {
    height: 254px;
    width: 254px;
    margin: 28px 0 30px;
  }

  .popup-content {
    width: calc(100% - 2em);
    padding: 26px;
  }

  .popup h4, .popup h5 {
    font-size: 24px;
  }

  .popup .btn {
    width: 100%;
    padding: 12px;
  }

  .character-images {
    height: 45%;
  }

  .animated-coins .coin {
    animation: coinAnimationMobile 4s infinite ease-in-out;
  }

  .animated-coins .coin1 {
    width: 35px;
    height: 35px;
    top: 85%;
    left: 80%;
    animation-delay: 1.2s;
  }

  .animated-coins .coin2 {
    right: -20%;
    bottom: -2%;
  }

  .animated-coins .coin3 {
    width: 30px;
    height: 30px;
    top: 74%;
    right: 75%;
  }

  .animated-coins .goldHorseshoe {
    display: none;
  }

  .animated-coins .wisdom1 {
    top: 53%;
    animation-delay: 1.7s;
  }

  .animated-coins .wisdom2 {
    top: 67%;
    animation-delay: 2s;
  }
}

@media (max-width: 600px) {

  .animated-coins .greenGem {
    width: 8%;
    height: 8%;
    top: 60%;
    left: 5%;
    animation-delay: 2s;
  }

  .animated-coins .wisdom1 {
    width: 15%;
    height: 15%;
    top: 60%;
    left: 55%;
    animation-delay: 1s;
  }


  .animated-coins .wisdom2 {
    width: 20%;
    height: 20%;
    top: 70%;
    left: 65%;
    animation-delay: 3s;
  }

  .character-images {
    height: 45%;
    display: flex;
    justify-content: space-between;

  }

  .character-img.character-img-left {
    left: -25%;
  }

  .character-img.character-img-right {
    right: -15%;
    bottom: -15%;
  }

  .footer {
    height: 52px;
  }
}

@media (max-height: 500px) {
  .popup {
    align-items: start;
  }
}

@media (max-width: 400px) {
  .header-block {
    padding: 20px;
  }

  .header-block .logo-block {
    width: 100px;
  }

  .header-block .text-block {
    margin-top: 12px;
  }

  .header-block .text-block h1, .header-block .text-block h2, .header-block .text-block h2 > span {
    font-size: 16px;
  }
}

/* Registration Modal Styles */
.registration-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s;
}

.registration-modal.opened {
  opacity: 1;
  visibility: visible;
}

.registration-modal-content {
  background: rgba(0, 0, 0, 0.95);
  border: 2px solid #FF7527;
  border-radius: 12px;
  padding: 36px 28px 28px 28px;
  width: 100%;
  max-width: 400px;
  color: #fff;
  position: relative;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.close-modal {
  position: absolute;
  top: 16px;
  right: 20px;
  font-size: 32px;
  color: #FF7527;
  cursor: pointer;
  font-weight: bold;
  z-index: 10;
}

.registration-modal-content h3 {
  margin-bottom: 24px;
  font-size: 22px;
  font-weight: 700;
  text-align: center;
}

#registration-form {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-group {
  position: relative;
  display: flex;
  /*gap: 8px;*/
  align-items: center;
}

.form-group input[type="tel"],
.form-group input[type="text"],
.form-group input[type="email"],
.form-group select {
  flex: 1;
  padding: 10px 12px;
  border-radius: 6px;
  border: 1px solid #444;
  background: #222;
  color: #fff;
  font-size: 15px;
}

.form-group button {
  background: linear-gradient(165.95deg, #FFB800 10.01%, #FF7527 89.99%);
  border: none;
  border-radius: 6px;
  color: #000;
  font-weight: 600;
  padding: 10px 16px;
  cursor: pointer;
  font-size: 14px;
  transition: background 0.2s;
}

.form-group button:hover {
  background: linear-gradient(165.95deg, #FF9900 10.01%, #FF7527 89.99%);
}

.checkbox-group {
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
}

.submit-btn {
  width: 100%;
  margin-top: 8px;
  font-size: 22px;
  padding: 18px 0;
  font-weight: 800;
  border-radius: 12px;
  background: #fff;
  color: #23242a;
  border: none;
  letter-spacing: 1px;
  transition: background 0.2s, color 0.2s, opacity 0.2s;
  opacity: 0.7;
  cursor: not-allowed;
}

.submit-btn.active {
  background: linear-gradient(90deg, #FFB800 0%, #FF9900 100%);
  color: #fff;
  opacity: 1;
  cursor: pointer;
}

@media (max-width: 600px) {
  .registration-modal-content {
    max-width: 98vw;
    padding: 18px 6px 18px 6px;
  }

  .registration-modal-content h3 {
    font-size: 18px;
  }

  .form-group input,
  .form-group select {
    font-size: 13px;
  }

  .submit-btn {
    font-size: 15px;
    padding: 10px 0;
  }
}

.input-with-btn {
  display: flex;
  gap: 10px;
  align-items: center;
}

.input-btn-wrap {
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
}

.input-btn-wrap input[type="tel"],
.input-btn-wrap input[type="text"] {
  width: 100%;
  padding-right: 110px; /* space for button */
  padding-left: 16px;
  height: 48px;
  border-radius: 10px;
  border: none;
  background: #23242a;
  color: #fff;
  font-size: 17px;
  font-weight: 500;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.10);
  outline: none;
  transition: box-shadow 0.2s, border 0.2s;
}

.input-btn-wrap input::placeholder {
  color: #bdbdbd;
  opacity: 1;
  font-weight: 400;
}

.input-btn {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  height: 36px;
  padding: 0 18px;
  border: none;
  border-radius: 8px;
  background: linear-gradient(90deg, #FFB800 0%, #FF9900 100%);
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  box-shadow: 0 2px 8px rgba(255, 153, 0, 0.10);
  z-index: 2;
}

.input-btn:hover {
  background: linear-gradient(90deg, #FF9900 0%, #FFB800 100%);
  color: #23242a;
}

.input-with-btn select {
  width: 90px;
  min-width: 70px;
  height: 48px;
  border-radius: 10px;
  border: none;
  background: #23242a;
  color: #fff;
  font-size: 17px;
  font-weight: 500;
  padding-left: 12px;
  margin-right: 0;
}

.phone-input-row {
  position: relative;
  z-index: 100;
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
  z-index: 9999;
}

.phone-input-row-confirmation {
  position: relative;
  z-index: 100;
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
  z-index: 10;
}

.phone-select select {
  height: 48px;
  min-width: 110px;
  border-radius: 10px;
  border: none;
  background: transparent;
  color: #fff;
  font-size: 17px;
  font-weight: 500;
  padding-left: 16px;
  padding-right: 8px;
  appearance: none;
  outline: none;
  display: flex;
  align-items: center;
}

.phone-select option {
  color: #fff;
  padding-left: 0px;
  padding-right: 0px;

}

.phone-input-wrap {
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
}

.phone-input-wrap-confirmation {
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
}

.phone-input-wrap input[type="tel"],
.phone-input-wrap-confirmation input[type="text"] {
  width: 100%;
  height: 48px;
  border-radius: 10px;
  border: none;
  background: #23242a;
  color: #fff;
  font-size: 17px;
  font-weight: 500;
  padding-left: 16px;
  padding-right: 110px;
  box-sizing: border-box;
  outline: none;
}

.phone-input-wrap input::placeholder {
  color: #bdbdbd;
  opacity: 1;
  font-weight: 400;
}

.phone-input-wrap-confirmation input::placeholder {
  color: #bdbdbd;
  opacity: 1;
  font-weight: 400;
}

.phone-btn {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  height: 36px;
  padding: 0 18px;
  border: none;
  border-radius: 8px;
  /*background: linear-gradient(90deg, #FFB800 0%, #FF9900 100%);*/
  background-color: transparent;
  color: #FF9900;
  font-weight: 100;
  font-size: 12px;
  cursor: pointer;
  /*transition: background 0.2s, color 0.2s;*/
  /*box-shadow: 0 2px 8px rgba(255,153,0,0.10);*/
  z-index: 2;
}

.phone-btn:hover {
  /*background: linear-gradient(90deg, #FF9900 0%, #FFB800 100%);*/
  color: #fff;
}

.phone-select {
  /*position: absolute;*/
  /*right: 8px;*/
  /*top: 50%;*/
  /*transform: translateY(-50%);*/
}

@media (max-width: 600px) {
  .phone-input-row {
    flex-direction: column;
    gap: 6px;
  }

  .phone-select select, .phone-input-wrap input[type="tel"], .phone-input-wrap-confirmation input[type="text"] {
    width: 100%;
    min-width: unset;
  }
}

.country-notification {
  background: rgba(255, 117, 39, 0.1);
  border: 1px solid #FF7527;
  border-radius: 8px;
  padding: 16px;
  margin-bottom: 20px;
  color: #fff;
  text-align: center;
}

.country-notification p {
  margin: 0;
  font-size: 14px;
  line-height: 1.4;
}

.country-notification p:first-child {
  margin-bottom: 8px;
  font-weight: 600;
}

.custom-select {
  position: relative;
  z-index: 200;
  width: 100%;
}

.custom-select .selected {
  background: #23242a;
  color: #fff;
  padding: 5px 16px 5px 16px;
  border-radius: 10px;
  cursor: pointer;
  border: 1px solid #444;
  font-size: 17px;
  font-weight: 500;
  min-height: 48px;
  display: flex;
  align-items: center;
}

.custom-select .options {
  display: none;
  position: absolute;
  width: 100%;
  background: #23242a;
  border-radius: 10px;
  z-index: 9999;
  max-height: 220px;
  overflow-y: auto;
  overflow-x: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  border: 1px solid #444;
  margin-top: 2px;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE 10+ */
}

.custom-select .options::-webkit-scrollbar {
  width: 0;
  height: 0;
  display: none;
}

.custom-select .options.show {
  display: block;
}

.custom-select .options div {
  padding: 12px;
  cursor: pointer;
  font-size: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.custom-select .options div:hover, .custom-select .options div.active {
  background: #FF7527;
  color: #fff;
}

.phone-input-wrap input[type="tel"] {
  /*padding-left: 105px; !* space for button *!*/
}

input[type="tel"],
.phone-input-wrap,
.custom-select .selected {
  white-space: nowrap;
}

/*!* Email registration styles *!*/
/*.form-group input[type="email"] {*/
/*    width: 100%;*/
/*    padding: 12px 15px;*/
/*    border: 1px solid #ddd;*/
/*    border-radius: 5px;*/
/*    font-size: 16px;*/
/*    margin-bottom: 15px;*/
/*    background: #fff;*/
/*    color: #333;*/
/*}*/

/*.form-group input[type="email"]::placeholder {*/
/*    color: #999;*/
/*    font-style: italic;*/
/*}*/

/*.form-group input[type="email"]:focus {*/
/*    outline: none;*/
/*    border-color: #007bff;*/
/*    box-shadow: 0 0 5px rgba(0, 123, 255, 0.3);*/
/*}*/

/* Email verification code input */
.form-group input[type="text"]#confirmation-code {
  width: calc(70% - 10px);
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 16px;
  margin-right: 10px;
  background: #fff;
  color: #333;
}

.form-group input[type="text"]#confirmation-code::placeholder {
  color: #999;
  font-style: italic;
}

.form-group input[type="text"]#confirmation-code:focus {
  outline: none;
  border-color: #007bff;
  box-shadow: 0 0 5px rgba(0, 123, 255, 0.3);
}

/* Send email button */
.form-group button#send-email {
  width: 30%;
  padding: 12px 15px;
  background: #007bff;
  color: white;
  border: none;
  border-radius: 5px;
  font-size: 14px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.form-group button#send-email:hover {
  background: #0056b3;
}

.form-group button#send-email:disabled {
  background: #ccc;
  cursor: not-allowed;
}

/* Mobile responsive for email form */
@media (max-width: 600px) {
  .form-group input[type="email"],
  .form-group input[type="text"]#confirmation-code {
    width: 100%;
    margin-right: 0;
    margin-bottom: 10px;
  }

  .form-group button#send-email {
    width: 100%;
    margin-bottom: 15px;
  }
}

/* Registration success styles */
.registration-success {
  text-align: center;
  padding: 20px;
  background: #f8f9fa;
  border-radius: 10px;
  margin-top: 20px;
}

.registration-success h3 {
  color: #28a745;
  margin-bottom: 15px;
  font-size: 24px;
}

.registration-success p {
  margin-bottom: 10px;
  font-size: 16px;
  color: #333;
}

.registration-success .btn {
  display: inline-block;
  margin: 10px;
  padding: 12px 24px;
  background: #007bff;
  color: white;
  text-decoration: none;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

.registration-success .btn:hover {
  background: #0056b3;
}

/* Commented out phone registration styles */
/*
.phone-input-row {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    gap: 10px;
}

.phone-input-row-confirmation {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    gap: 10px;
}

.phone-input-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
}

.phone-input-wrap-confirmation{
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
}

.phone-input-wrap input[type="tel"],
.phone-input-wrap-confirmation input[type="text"] {
    flex: 1;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    background: #fff;
    color: #333;
}

.phone-input-wrap input::placeholder {
    color: #999;
    font-style: italic;
}

.phone-input-wrap-confirmation input::placeholder {
    color: #999;
    font-style: italic;
}

.phone-btn {
    padding: 12px 20px;
    background: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    white-space: nowrap;
}

.phone-btn:hover {
    background: #0056b3;
}

.phone-select {
    position: relative;
    min-width: 120px;
}

@media (max-width: 600px) {
    .phone-input-row {
        flex-direction: column;
        align-items: stretch;
    }
    
    .phone-select select, .phone-input-wrap input[type="tel"], .phone-input-wrap-confirmation input[type="text"] {
        width: 100%;
        margin-bottom: 10px;
    }
}
*/
/*# sourceMappingURL=styles.css.map */

.form-group {
  position: relative;
}

.form-group select {
  /* Hide default arrow for most browsers */
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background: #222;
  color: #fff;
  padding-right: 40px; /* Space for custom arrow */
  position: relative;
  border: 1px solid #444;
}

.form-group select:focus {
  outline: none;
  border-color: #FF9900;
}

.form-group .custom-arrow {
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  font-size: 18px;
  color: #FF9900;
  z-index: 10;
}

@media (max-width: 480px) {
  .character-images {
    height: 37%;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    /*position: relative;*/
    overflow: hidden;
    padding: 0 10px;
    box-sizing: border-box;
  }

  .character-img.character-img-left {
    left: 0;
    width: 40%;
    height: auto;
    /*position: relative;*/
    transform: none;
    margin-right: 5px;
  }

  .character-img.character-img-right {
    right: 0;
    width: 40%;
    height: auto;
    /*position: relative;*/
    bottom: 0;
    transform: none;
    margin-left: 5px;
  }

  /* Ensure content doesn't overlap */
  /*.content {*/
  /*  margin: 15px auto 0;*/
  /*  padding-bottom: 60px;*/
  /*  position: relative;*/
  /*  z-index: 10;*/
  /*}*/

  /*.content .items {*/
  /*  gap: 15px;*/
  /*}*/

  /*.content .item {*/
  /*  width: 60px;*/
  /*  height: 58px;*/
  /*}*/
}

/* Additional Android-specific fixes */
@media (max-width: 480px) and (-webkit-min-device-pixel-ratio: 2) {
  .character-images {
    height: 40%;
    padding: 0 15px;
  }

  .character-img.character-img-left,
  .character-img.character-img-right {
    width: 35%;
  }
}

/* Android viewport fixes */
@media (max-width: 480px) and (orientation: portrait) {
  .character-images {
    height: 45%;
    max-height: 300px;
  }

  .character-img.character-img-left,
  .character-img.character-img-right {
    /*max-width: 45%;*/
    min-width: 120px;
  }
}

/* Samsung and other Android devices */
@media (max-width: 480px) and (-webkit-min-device-pixel-ratio: 1.5) {
  .character-images {
    height: 42%;
  }

  .character-img.character-img-left {
    width: 65%;
    left: -10%;
    bottom: -40%;
  }
  .character-img.character-img-right {
    width: 37%;
  }

  .content .item {
    width: 65px;
    /*height: 68px;*/
  }
  .content .items {
    justify-content: center;
  }
}

/* Ultra-small screens */
@media (max-width: 360px) {
  .character-images {
    height: 45%;
    flex-direction: column;
    align-items: center;
    gap: 8px;
  }

  .character-img.character-img-left,
  .character-img.character-img-right {
    width: 60%;
    position: relative;
    left: auto;
    right: auto;
    margin: 0;
  }

  .content {
    margin: 10px auto 0;
    padding-bottom: 50px;
  }

  .content .items {
    gap: 10px;
  }

  .content .item {
    width: 50px;
    height: 48px;
  }
}