/* General styles */
body {
  font-family: Arial, sans-serif;
  background-color: rgb(245, 245, 247);
  margin: 0;
  padding: 0;
}

.container {
  max-width: 600px;
  margin: 0 auto;
  padding: 60px;
  padding-bottom: 20px;
  background-color: rgb(245, 245, 247);
}

/* Header styles */
header {
  text-align: center;
  margin-bottom: 10px;
  font-size: 22px;
  padding: 0 15px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

header p {
  font-size: 18px;
}

.profile-icon {
  width: 170px;
  height: 170px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 25%;
  padding: 0px;
  overflow: hidden;
}

h1 {
  margin: 0px;
}

h2 {
  margin-top: 10px;
  margin-bottom: 15px;
  font-size: 28px;
}

/* Common card link styles */
.card-link {
  text-decoration: none;
  color: inherit;
  display: block;
  box-shadow: none;
  margin-top: 20px;
}

/* Featured Product Card styles */
.featured-product-card {
  display: flex;
  flex-direction: column;
  background-color: #fff;
  border-radius: 25px;
  padding: 20px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.card-link:hover .featured-product-card {
  transform: scale(1.05);
  background-color: #f0f0f0;
}

.featured-product-card .card-image-container {
  width: 100%;
  aspect-ratio: 2240 / 1271;
  overflow: hidden;
}

.featured-product-card .card-image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.featured-product-card .card-content {
  display: flex;
  flex-direction: column;
  margin-top: 10px;
  flex-grow: 1;
}

.featured-product-card h2 {
  margin-top: 0;
  font-weight: 600;
  margin-bottom: 10px;
  font-size: 22px;
}

.featured-product-card .card-description {
  font-size: 14px;
  color: #666;
  margin: 0;
  line-height: 1.4;
}

/* Travel Tips Card styles */
.tips-card {
  background-color: #ffffff;
  border-radius: 16px;
  padding: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: all 0.3s ease;
  margin-bottom: 20px;
  border: none;
}

.card-link:hover .tips-card {
  background-color: #ffffff;  /* Keep it white even on hover */
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}
.tips-card .card-content {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0;
}

.tips-card h2 {
  font-size: 18px;
  margin: 0;
  margin-bottom: 18px;
  font-weight: 600;
}

.tips-card .card-description {
  font-size: 16px;
  color: #666;
  margin: 0;
  line-height: 1.4;
}

.tips-card .arrow-indicator {
  font-size: 14px;
  color: #666;
  margin-top: 0;
  display: inline-block;
}

/* Button styles */
.main-container {
  display: flex;
  margin-top: 10px;  /* Added margin-top */
}

button {
  font-size: 15px;
  padding: 15px;
  border-radius: 9999px;
  background: rgba(0, 0, 0, 1);
  box-shadow: 0 0.025em 0.4em -0.02em hsl(0 0% 100% / 0.25),
              0 0.05em 0 0 hsl(260 0% 50%) inset,
              0 -0.05em 0 0 hsl(260 0% 0%) inset;
  border: 0;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.card-button {
  pointer-events: none;
}

/* Button animation styles */
.spinner-container {
  position: absolute;
  inset: 0;
  transition: opacity 300ms;
  opacity: 1;
  container-type: inline-size;
}

.front-layer {
  transition-duration: 300ms;
  border-radius: 9999px;
  inset: 0.125rem;
  position: absolute;
  background: radial-gradient(40% 50% at center 100%, rgba(255, 239, 206, 0.15), transparent),
              radial-gradient(80% 100% at center 120%, rgba(255, 239, 204, 0.2), transparent),
              rgba(5, 5, 5, 1);
}

.text {
  position: relative;
  color: white;
}

.spinner {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100cqw;
  height: 100cqw;
  transition: opacity 300ms;
  background-image: linear-gradient(transparent, transparent 30%, #fffa, transparent 70%, transparent);
  animation: spinner 2s linear infinite;
}

@keyframes spinner {
  0% { transform: translate(-50%, -50%) rotate(0deg); }
  100% { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Social icons styles */
.social-icons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  margin-top: 40px;
  padding-top: 20px;
}

.social-icons a {
  display: inline-block;
  transition: transform 0.3s ease;
  background-color: white;
  border-radius: 50%;
  padding: 15px;
}

.social-icons a:hover {
  transform: scale(1.1);
}

.social-icon {
  width: 25px;
  height: 25px;
  object-fit: cover;
  display: block;
  margin: 0 auto;
}

/* Media queries */
@media screen and (max-width: 480px) {
  .container {
      padding: 30px;
  }
  
  header p {
      font-size: 14px;
      margin-bottom: 0;
  }

  header h1 {
    font-size: 26px;
}
  
  .profile-icon {
      width: 100px;
      height: 100px;
  }
  
  h1 {
      font-size: 32px;
      margin-bottom: 0;
  }
  
  h2 {
      font-size: 20px;
  }
  
  /* Featured Product Card mobile styles */
  .featured-product-card {
      padding: 20px;
  }
  
  .featured-product-card h2 {
      font-size: 16px;
  }
  
  /* Tips Card mobile styles */
  .tips-card {
      padding: 20px;
  }
  
  .tips-card h2 {
      font-size: 20px;
  }
  
  .tips-card .card-description {
      font-size: 14px;
  }
  
  button {
      font-size: 14px;
      padding: 10px;
  }
  
  .social-icons {
      gap: 10px;
  }
  
  .social-icons a {
      padding: 12px;
  }
  
  .social-icon {
      width: 20px;
      height: 20px;
  }
}

.ticker-wrap {
  width: 100%;
  overflow: hidden;
  height: 40px;
  margin: 0;
  background: rgb(245, 245, 247);
  position: relative;
}

.ticker {
  display: flex;
  width: max-content;
  animation: ticker 20s linear infinite;
  will-change: transform;
  transform: translateX(25vw);  /* Start at 25% of viewport width */
}

.ticker-item {
  display: inline-block;
  font-family: 'Righteous', cursive;  /* Add this line */
  padding: 0 20px;
  font-size: 30px;
  color: rgb(42,96,172);
}

@keyframes ticker {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }  /* Move by half the width since we duplicated the items */
}

/* Adjust the top padding/margin of the container after ticker */
.container:last-of-type {
  padding-top: 0px;  /* Reduce top padding */
  padding-bottom: 0px;
}