html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
  text-align: start;
}

/* Watchfaces Styling */
.watchfaces-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}

.watchfaces-container h1 {
  text-align: center;
  margin-bottom: 10px;
  font-size: 2.5rem;
  font-weight: 700;
  color: #333;
}

.subtitle {
  text-align: center;
  margin-bottom: 40px;
  color: #666;
  font-size: 1.1rem;
}

.watchfaces-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

@media (max-width: 768px) {
  .watchfaces-grid {
    grid-template-columns: 1fr;
  }
}

.watchface-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.watchface-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 12px rgba(0, 0, 0, 0.15);
}

.watchface-image {
  width: 100%;
  aspect-ratio: 1 / 1;
  background: #f5f5f5;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.watchface-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.watchface-content {
  padding: 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.watchface-content h2 {
  font-size: 1.5rem;
  margin: 0 0 10px 0;
  color: #333;
}

.watchface-content p {
  flex-grow: 1;
  color: #666;
  margin-bottom: 20px;
  line-height: 1.5;
}

.play-store-link {
  display: block;
  text-align: center;
  text-decoration: none;
}

.play-store-badge {
  height: 60px;
  width: auto;
  transition: transform 0.2s ease;
}

.play-store-badge:hover {
  transform: scale(1.05);
}

/* Privacy Policy Styling */
.privacy-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 20px;
  line-height: 1.7;
  color: #333;
}

.privacy-container h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: #1a1a1a;
}

.effective-date {
  color: #666;
  font-size: 1rem;
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 2px solid #e5e5e5;
}

.privacy-section {
  margin-bottom: 35px;
}

.privacy-section h2 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: #1a1a1a;
  margin-top: 25px;
}

.privacy-section p {
  margin-bottom: 12px;
  color: #555;
}

.privacy-section ul {
  margin-left: 25px;
  margin-bottom: 15px;
}

.privacy-section ul li {
  margin-bottom: 10px;
  color: #555;
}

.privacy-section strong {
  color: #1a1a1a;
}

.privacy-footer {
  margin-top: 50px;
  padding-top: 20px;
  border-top: 2px solid #e5e5e5;
  text-align: center;
  color: #666;
  font-style: italic;
}

/* About Page Hero Image */
.about-hero {
  width: 100%;
  margin: -40px -20px 30px -20px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.about-hero-image {
  width: 100%;
  max-height: 300px;
  display: block;
  object-fit: contain;
}

@media (min-width: 768px) {
  .about-hero {
    border-radius: 12px;
    margin: -40px 0 30px 0;
  }
  
  .about-hero-image {
    border-radius: 12px;
  }
}