/* --- Reset & Base --- */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  /* Clean, native sans-serif for the general UI */
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Ubuntu, sans-serif;
  background-color: #0f1220;
  color: #ffffff;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

img.center {
    display: inline;
    vertical-align:top;
    margin-right: 10px;
    width: 1em;
    height: 1em;
}

/* --- Layout --- */
.container {
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  min-height: 100vh;
  
  display: flex;
  flex-direction: column;
  justify-content: center;
  
  padding: 40px 20px;
}

/* --- Header --- */
.header {
  text-align: center;
  margin-bottom: 40px;
  animation: fadeIn 0.8s ease-out;
}

.header h1 {
  /* Jua used ONLY here for the logo feel */
  font-family: 'Jua', sans-serif; 
  font-size: 3.5rem;
  margin-bottom: 12px;
  letter-spacing: 1px;
  text-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.header p {
  font-size: 1.35rem;
  line-height: 1.5;
  opacity: 0.85;
  color: #d1d5db;
}

.whitespace-pre-line {
  white-space: pre-line;
}

/* --- Link Buttons --- */
.links {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
}

.link-button {
  position: relative;
  display: block; /* Content handled by inner div */
  width: 100%;
  min-height: 68px; /* Slightly taller for better touch targets */
  
  border-radius: 16px;
  text-decoration: none;
  color: white;
  
  background-size: cover;
  background-position: center;
  
  box-shadow: 0 4px 6px rgba(0,0,0,0.2);
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s;
  overflow: hidden; 
}

/* Overlay to darken background images/gradients */
.button-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.15); /* Slight tint for text readability */
  transition: background 0.2s;
}

/* The Layout inside the button */
.button-content {
  position: relative;
  z-index: 2;
  height: 68px; /* Match button height */
  
  display: flex;
  align-items: center;
  gap: 16px;
  
  padding: 0 24px; /* Equal spacing from both edges */
}

.button-icon {
  width: 26px;
  height: 26px;
  filter: brightness(0) invert(1); 
  flex-shrink: 0; /* Prevents icon from squishing on small screens */
}

.button-text {
  font-weight: 600; /* Slightly bold */
  font-size: 1.25rem;
  text-align: right;
  letter-spacing: 0.01em;
}

/* --- Interactions --- */
.link-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 15px rgba(0,0,0,0.3);
  opacity: 0.95;
}

.link-button:hover .button-overlay {
  background: rgba(0, 0, 0, 0); /* Brighten up on hover */
}

.link-button:active {
  transform: translateY(0);
  opacity: 0.9;
}

/* --- Animation --- */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}