body {
  margin: 0;
  font-family: 'OpenSans', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color: #2c3e50;
  background: #f8f9fa;
  position: relative;
  overflow-x: hidden;
  min-height: 100dvh;
}

@font-face {
  font-family: 'OpenSans';
  font-weight: bold;
  src: url('./open_sans/OpenSans-Bold.ttf');
}

@font-face {
  font-family: 'OpenSans';
  font-weight: normal;
  src: url('./open_sans/OpenSans-SemiBold.ttf');
}

@font-face {
  font-family: 'OpenSans';
  font-weight: 100;
  src: url('./open_sans/OpenSans-Regular.ttf');
}

button {
  outline: 0;
  border: 0;
}

* {
  outline: none;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-tap-highlight-color: rgba(0,0,0,0) !important;
  -webkit-appearance: none;
  text-decoration: none;
}

::-webkit-scrollbar {
  position: relative;
  z-index: 30;
  width: 5px;
  height: 5px;
  border-radius: 3px;
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: #d0d0d0;
  border-radius: 3px;
}

/* Animated gradient background */
.background-gradient {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, #35bd8e 0%, #2ea674 50%, #28a869 100%);
  background-size: 200% 200%;
  animation: gradientShift 15s ease infinite;
  z-index: -2;
}

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Subtle pattern overlay */
.background-pattern {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
  z-index: -1;
}
.background-gradient,
.background-pattern {
  position: fixed;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.modalContent {
  display: flex;
  width: 100%;
  min-height: 100dvh;
  justify-content: center;
  align-items: center;
  padding: 20px;
  animation: fadeIn 0.6s ease-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.modalView {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 500px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 24px;
  padding: 40px 30px;
  box-shadow: 
    0 20px 60px rgba(0, 0, 0, 0.15),
    0 0 0 1px rgba(255, 255, 255, 0.5) inset;
  animation: slideUp 0.6s ease-out;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.modalHeader {
  display: flex;
  justify-content: center;
  align-items: center;
  padding-bottom: 30px;
  margin-bottom: 30px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.logo-image {
  width: 100%;
  max-width: 220px;
  animation: logoFade 0.8s ease-out 0.2s both;
}

@keyframes logoFade {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.modalIcon {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-bottom: 30px;
  margin-top: 10px;
}

.icon-wrapper {
  padding: 20px;
  background: linear-gradient(135deg, #f5f7fa 0%, #ffffff 100%);
  border-radius: 20px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  animation: iconBounce 0.8s ease-out 0.3s both;
}

@keyframes iconBounce {
  0% {
    opacity: 0;
    transform: translateY(-20px) scale(0.8);
  }
  60% {
    transform: translateY(5px) scale(1.05);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.icon-wrapper > img {
  width: 100%;
  max-width: 80px;
  display: block;
}

.modalInfo {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 15px;
}

.platform-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: linear-gradient(135deg, #35bd8e 0%, #2ea674 100%);
  color: white;
  border-radius: 20px;
  font-size: 13px;
  font-weight: bold;
  text-transform: capitalize;
  box-shadow: 0 4px 12px rgba(53, 189, 142, 0.3);
  animation: badgePop 0.6s ease-out 0.4s both;
}

@keyframes badgePop {
  0% {
    opacity: 0;
    transform: scale(0.5);
  }
  70% {
    transform: scale(1.1);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

.platform-icon {
  width: 16px;
  height: 16px;
}

.modalInfoTitle {
  font-weight: bold;
  color: #1a202c;
  text-align: center;
  font-size: 24px;
  line-height: 1.3;
  animation: textSlide 0.8s ease-out 0.5s both;
}

@keyframes textSlide {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.modalInfoSubtitle {
  margin-top: 8px;
  text-align: center;
  color: #64748b;
  line-height: 1.6;
  font-size: 15px;
  max-width: 400px;
  animation: textSlide 0.8s ease-out 0.6s both;
}

.modalOptions {
  display: flex;
  justify-content: center;
  align-items: center;
  padding-top: 30px;
  margin-top: 30px;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  animation: buttonSlide 0.8s ease-out 0.7s both;
}

@keyframes buttonSlide {
  from {
    opacity: 0;
    transform: translateY(15px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.download-button {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  width: 100%;
  max-width: 280px;
  height: 54px;
  background: linear-gradient(135deg, #35bd8e 0%, #2ea674 100%);
  color: #fff;
  font-size: 16px;
  border-radius: 14px;
  font-weight: bold;
  box-shadow: 
    0 6px 20px rgba(53, 189, 142, 0.35),
    0 2px 4px rgba(0, 0, 0, 0.1);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.download-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

.download-button:hover::before {
  left: 100%;
}

.download-button:hover {
  transform: translateY(-2px);
  box-shadow: 
    0 8px 25px rgba(53, 189, 142, 0.4),
    0 4px 8px rgba(0, 0, 0, 0.15);
}

.download-button:active {
  transform: translateY(0);
  box-shadow: 
    0 4px 15px rgba(53, 189, 142, 0.3),
    0 2px 4px rgba(0, 0, 0, 0.1);
}

.download-icon {
  width: 20px;
  height: 20px;
}

.info-message {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 24px;
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
  color: #92400e;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(251, 191, 36, 0.2);
}

.info-message svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.footer-text {
  margin-top: 25px;
  text-align: center;
  font-size: 14px;
  color: #94a3b8;
  font-weight: 500;
  animation: textSlide 0.8s ease-out 0.8s both;
}

/* Responsive Design */
@media (max-width: 600px) {
  .modalView {
    padding: 30px 24px;
    border-radius: 20px;
  }

  .modalInfoTitle {
    font-size: 20px;
  }

  .modalInfoSubtitle {
    font-size: 14px;
  }

  .download-button {
    max-width: 100%;
    height: 50px;
    font-size: 15px;
  }

  .logo-image {
    max-width: 180px;
  }
}

@media (max-width: 768px) {
  .modalView {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: rgba(255, 255, 255, 0.98);
  }
}

@media (max-width: 400px) {
  .modalContent {
    padding: 15px;
  }

  .modalView {
    padding: 25px 20px;
  }

  .modalInfoTitle {
    font-size: 18px;
  }
}
