:root {
  --bg-color: #ffffff;
  --text-color: #1e1e1e;
  --accent-color: #cf6841;
  --border-color: #ddd;
  --hover-bg: #f2f2f2;
}

[data-theme="dark"] {
  --bg-color: rgba(20, 20, 20, 0.85);
  --text-color: #f0f0f0;
  --accent-color: #cf6841;
  --border-color: #444;
  --hover-bg: #1e1e1e;
}

[data-theme="high-contrast"] {
  --bg-color: #000;
  --text-color: #fff;
  --accent-color: #ffff00;
  --border-color: #fff;
  --hover-bg: #222;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Inter', sans-serif;
}

body, html {
  height: 100%;
  overflow: hidden;
}

body {
  background: linear-gradient(to bottom, #0c5d6e, #0d2531);
  color: var(--text-color);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

#background-wrap {
  bottom: 0;
  left: 0;
  padding-top: 50px;
  position: fixed;
  right: 0;
  top: 0;
  z-index: -1;
}

.cloud {
  background: #fff;
  background: linear-gradient(top, #fff 5%, #f1f1f1 100%);
  border-radius: 100px;
  box-shadow: 0 8px 5px rgba(0, 0, 0, 0.1);
  height: 120px;
  position: relative;
  width: 350px;
}

.cloud:after, .cloud:before {
  background: #fff;
  content: '';
  position: absolute;
  z-index: -1;
}

.cloud:after {
  border-radius: 100px;
  height: 100px;
  left: 50px;
  top: -50px;
  width: 100px;
}

.cloud:before {
  border-radius: 200px;
  width: 180px;
  height: 180px;
  right: 50px;
  top: -90px;
}

.x1 { animation: animateCloud 45s linear infinite; transform: scale(0.65); }
.x2 { animation: animateCloud 30s linear infinite; transform: scale(0.3); }
.x3 { animation: animateCloud 40s linear infinite; transform: scale(0.5); }
.x4 { animation: animateCloud 28s linear infinite; transform: scale(0.4); }
.x5 { animation: animateCloud 35s linear infinite; transform: scale(0.55); }

@keyframes animateCloud {
  0% { margin-left: -1000px; }
  100% { margin-left: 100%; }
}

.container {
  position: relative;
  z-index: 2;
  background-color: var(--bg-color);
  padding: 3rem;
  border-radius: 12px;
  max-width: 800px;
  width: 90%;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6);
  text-align: center;
}

.logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 1.0rem;
}

.logo-image {
  width: 320px;
  height: auto;
}

.logo-text {
  margin-top: 0.5rem;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent-color);
}

.description {
  font-size: 1rem;
  color: var(--text-color);
  margin-bottom: 2rem;
}

.options {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.option {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: 1;
  padding: 1.2rem 1rem;
  text-align: center;
  transition: background 0.3s;
  text-decoration: none;
  color: var(--accent-color);
  border-right: 1px solid var(--border-color);
}

.option:hover {
  background-color: var(--hover-bg);
}

.option:not(:last-child) {
  border-right: 1px solid var(--border-color);
  border-left: 1px solid var(--border-color);
}

.option-icon {
  height: 40px;
  margin-bottom: 1rem;
}

.mobile-options {
  display: flex;
  justify-content: space-between;
  overflow: hidden;
  border-top: none !important;
  margin-bottom: 0.5rem;
}

.mobile-option {
  padding: 0.5rem 0.5rem;
}

.mobile-option .option-icon {
  height: 36px;
  margin-bottom: 0;
}

.mobile-option .option-text {
  font-size: 0.9rem;
}

.support {
  margin-top: 2rem;
  font-size: 0.9rem;
  color: var(--text-color);
}

.support-link {
  color: var(--accent-color);
  text-decoration: none;
}

.guidance-section {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.guidance-text {
  margin-bottom: 0.75rem;
  color: var(--text-color);
}

.guidance-button {
  display: inline-block;
  background-color: var(--accent-color);
  color: white;
  font-weight: 600;
  padding: 0.75rem 2rem;
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.2s ease;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

[data-theme="high-contrast"] .guidance-button {
  color: black;
  font-weight: 700;
}

.guidance-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.3);
}

.theme-toggle {
  margin-top: 2rem;
}

.theme-toggle-button {
  background: none;
  border: none;
  padding: 0rem;
  margin: 0 3rem;
  cursor: pointer;
  border-radius: 8px;
  transition: background 0.3s;
}

.theme-toggle-button:hover {
  background-color: var(--hover-bg);
}

.theme-icon {
  width: 25px;
  height: 25px;
  transition: filter 0s ease;
}

[data-theme="dark"] .theme-icon,
[data-theme="high-contrast"] .theme-icon {
  filter: invert(100%);
}

@media (max-width: 768px) {
  .options {
    flex-direction: column;
    border: none;
  }

  .option {
    border: none !important;
    border-bottom: 1px solid var(--border-color);
  }

  .option:last-child {
    border-bottom: none;
  }
  
  .mobile-options {
    flex-direction: column;
    border: none;
  }

  .mobile-option {
    border: none !important;
    border-bottom: 1px solid var(--border-color);
  }

  .mobile-option:last-child {
    border-bottom: none;
  }
}
