:root {
  --egg-white: #FAF3E0;
  --yolk-soft: #FFD700;
  --yolk-hard: #DAA520;
  --boiling-water: #0077B6;
  --background-dark: #121212;
  --steam-gray: #3A3A3A;
  --accent-orange: #EB9234;
  --success-green: #4CAF50;
  --eggshell: #C4B199;
}

body {
  background-color: var(--background-dark);
  color: var(--egg-white);
  font-family: 'Segoe UI', sans-serif;
  margin: 0;
  padding: 0;
  line-height: 1.6;
}

header {
  text-align: center;
  padding: 2rem 1rem;
}



.icon-placeholder {
  width: 100px;
  height: 100px;
  background-color: var(--yolk-hard);
  border-radius: 50%;
  margin: 0 auto 1rem;
  box-shadow: 0 0 8px var(--yolk-soft);
  line-height: 100px;
  font-weight: bold;
  color: var(--background-dark);
  text-align: center;
}

h1 {
  color: var(--yolk-soft);
  font-size: 2.2rem;
  animation: bounceIn 3s ease-out;
}

main {
  max-width: 800px;
  margin: auto;
  padding: 1rem 2rem;
}

section {
  margin-bottom: 2rem;
}

.highlight {
  color: var(--accent-orange);
  font-weight: bold;
}

.screenshot-container {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

.screenshot {
  width: 200px;
  height: 400px;
  background-color: var(--steam-gray);
  border-radius: 12px;
  box-shadow: 0 0 6px var(--boiling-water);
}

@keyframes pulse {
  0%   { transform: scale(1); }
  50%  { transform: scale(1.02); }
  100% { transform: scale(1); }
}

.cta {
  background: linear-gradient(145deg, var(--yolk-soft), var(--accent-orange));
  color: var(--background-dark);
  padding: 1.5rem;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  animation: pulse 5s infinite;
  transition: transform 0.3s ease;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 1.5rem;
}

@media (min-width: 700px) {
  .cta-row {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: stretch; /* Ensures cards are equal height */
    gap: 2rem;
  }
  .cta {
    flex: 1 1 0;
    margin-bottom: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .cta h3 {
    margin-top: 0.5rem;
    margin-bottom: 1rem;
  }
  .cta p {
    flex: 1;
    margin-bottom: 0.5rem;
  }
}

.platform-icon {
  width: 48px;
  height: 48px;
  object-fit: contain;
  margin-bottom: 0.75rem;
  display: block;
  margin-left: auto;
  margin-right: auto;
  /* Remove extra vertical space if present in image files */
}

.cta-row {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

@media (min-width: 700px) {
  .cta-row {
    flex-direction: row;
    justify-content: center;
    align-items: stretch; /* Ensures cards are equal height */
    gap: 2rem;
  }
  .cta {
    flex: 1 1 0;
    margin-bottom: 0;
    height: 100%; /* Make cards fill the row height */
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
  }
}

  .app-icon {
    width: 100px;
    height: 100px;
    border-radius: 15%;
    box-shadow: 0 0 6px var(--yolk-soft);
    animation: eggWobble 4s infinite;
    transition: transform 0.3s ease;
  }

  @keyframes eggWobble {
  0%, 100% { transform: rotate(0deg); }
  25% { transform: rotate(1deg); }
  50% { transform: rotate(-1deg); }
  75% { transform: rotate(1deg); }
}

@keyframes bounceIn {
  0% { transform: scale(0.8); opacity: 0; }
  60% { transform: scale(1.05); opacity: 1; }
  100% { transform: scale(1); }
}

/* Add to styles.css */
.video-container {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  height: 0;
  overflow: hidden;
  margin-bottom: 2em;
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* Portrait aspect ratio for mobile-style video */
.video-container.portrait {
  aspect-ratio: 9 / 16;
  width: 100%;
  max-width: 315px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  overflow: hidden;
  height: auto; /* Let aspect-ratio control height */
  padding-bottom: 0;
}

.video-container.portrait iframe {
  width: 100%;
  height: 100%;
  border-radius: 16px;
  box-shadow: 0 0 12px var(--boiling-water);
}

/* Add to egg_styles.css */
.centered-contact {
  text-align: center;
}

.centered-contact .social-links {
  justify-content: center;
}

/* Add to egg_styles.css */
.social-links {
  margin-top: 1rem;
  display: flex;
  gap: 1.5rem;
  justify-content: flex-start;
  align-items: center;
}

.social-icon {
  width: 32px;
  height: 32px;
  display: inline-block;
  transition: transform 0.2s;
}

.social-icon:hover {
  transform: scale(1.15);
}


.social-label {
  font-weight: 500;
  margin-right: 0.75rem;
  font-size: 1rem;
}
