body {
  background-color: #f9fafc;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  text-align: center;
  font-size: 18px;
  line-height: 1.6;
}
.container {
  max-width: 500px;
  margin: 50px auto;
  padding: 30px;
  border-radius: 12px;
  background-color: #f0f8ff;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
.title {
  font-size: 32px;
  color: #333;
  font-weight: bold;
  margin-bottom: 20px;
}
.highlight {
  color: #007acc;
}
.dice-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 20px 0;
}
.dice-img {
  width: 48px; /* The image is set to 48x48px with the .dice-img class to match the random number text size. */
  height: 48px;
}
.random-number {
  font-size: 48px;
  color: #d6336c;
  margin: 0;
}
.refresh-info {
  font-size: 18px;
  color: #555;
}
.tip {
  margin-top: 15px;
  font-size: 14px;
  color: #888;
}

.example-image-container {
  text-align: center;
  margin: 40px auto;
}

.example-img {
  width: 600px;
  max-width: 100%;
  border: 2px solid #ccc;
  border-radius: 10px;
}

/* Homepage specific styles */
.homepage-instructions {
  font-size: 20px;
  color: #555;
  margin: 25px 0;
  font-weight: 500;
}

.url-example {
  background-color: #f8f9fa;
  border: 2px solid #e9ecef;
  border-radius: 8px;
  padding: 15px 20px;
  margin: 20px 0;
  font-family: 'Courier New', Monaco, monospace;
  font-size: 20px;
  font-weight: bold;
  color: #495057;
  display: inline-block;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Layout for Input and Output sections */
.sections-container {
  display: flex;
  gap: 40px;
  justify-content: center;
  align-items: flex-start;
  max-width: 1200px;
  margin: 0 auto;
}

.input-section, .output-section {
  flex: 1;
  max-width: 500px;
}

/* Mobile/tablet responsive layout */
@media (max-width: 768px) {
  .sections-container {
    flex-direction: column;
    gap: 20px;
  }
  
  .input-section, .output-section {
    max-width: 100%;
  }
}
