/*
* Custom Landing Page Styles
* Minimalist link.me inspired design
*/

/* Light Clean Background with Blurred Image
–––––––––––––––––––––––––––––––––––––––––––––––––– */
body.linkme-style {
  position: relative;
  min-height: 100vh;
  background: #ffffff;
}

body.linkme-style::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100%;
  background-image: url('../images/IMG_8117.JPG');
  background-size: cover;
  background-position: 50%;
  background-repeat: no-repeat;
  filter: blur(50px);
  pointer-events: none;
  z-index: 0;
}

/* Promo Photos - Responsive Full Width with Margins
–––––––––––––––––––––––––––––––––––––––––––––––––– */
.promo-photo {
  width: 100%;                       /* Full width of parent */
  max-width: 400px;                  /* Max width on larger screens */
  height: auto;                      /* Auto height to maintain aspect ratio */
  border-radius: 0.75rem;            /* 12px rounded corners */
  object-fit: contain;               /* Show full image without cropping */
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  transition: box-shadow 0.2s ease;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.promo-photo:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.promo-photo-top {
  margin-bottom: 3vh;                /* Increased spacing between photos */
}

/* Mobile responsive */
@media (max-width: 34.375rem) {
  .promo-photo {
    border-radius: 0.5rem;           /* 8px on mobile */
  }

  .container-enhanced {
    padding-left: 1rem;              /* Ensure padding on mobile */
    padding-right: 1rem;
  }
}

/* Very small screens */
@media (max-width: 400px) {
  .promo-photo {
    width: 100%;                     /* Full width - padding from container provides margins */
  }

  .photo-container {
    width: 100%;                     /* Full width - padding from container provides margins */
  }

  .container-enhanced {
    padding-left: 1rem;              /* Ensure side margins */
    padding-right: 1rem;
  }
}

/* Main CTA Button - Minimalist Style
–––––––––––––––––––––––––––––––––––––––––––––––––– */
.button-primary-hero {
  width: 100%;
  max-width: 20rem !important;       /* 320px - compact */
  min-height: 3rem !important;       /* 48px - standard height */
  font-size: 1rem !important;        /* 16px - clean readable size */
  font-weight: 600 !important;
  margin-bottom: 1rem !important;
  background: #000000;               /* Simple black like link.me */
  border: none;
  border-radius: 0.5rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
  transition: all 0.2s ease;
}

.button-primary-hero:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  background: #1a1a1a;
}

/* Enhanced Typography - Minimalist
–––––––––––––––––––––––––––––––––––––––––––––––––– */
.model-name {
  font-size: 1.5rem;                 /* 24px - clean and readable */
  font-weight: 700;
  color: #ffffff;                    /* White for model name */
  margin-top: 1vh;                   /* 1% of viewport height */
  margin-bottom: 2.5vh;              /* Increased spacing below name */
  letter-spacing: -0.01em;
  display: flex;
  align-items: flex-start;           /* Align badge to top of text */
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.model-handle {
  color: #cccccc;                    /* Slightly darker than white */
  font-weight: 500;
}

@media (max-width: 34.375rem) {
  .model-name {
    font-size: 1.25rem;              /* 20px on mobile */
  }
}

/* Verified Badge */
.verified-badge {
  font-size: 1.25rem;
  color: #1DA1F2;                    /* Twitter blue */
  flex-shrink: 0;
  margin-top: 0.125rem;              /* Fine-tune alignment with top of letters */
}

.model-description {
  font-size: 0.938rem;               /* 15px - subtle */
  color: #666666;
  margin-bottom: var(--spacing-l);
  line-height: 1.5;
  max-width: 24rem;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 34.375rem) {
  .model-description {
    font-size: 0.875rem;             /* 14px on mobile */
  }
}

/* Enhanced Container Spacing
–––––––––––––––––––––––––––––––––––––––––––––––––– */
.container-enhanced {
  position: relative;
  z-index: 1;
  padding-top: 2vh;                  /* 2% of viewport height */
  padding-bottom: 3vh;               /* 3% of viewport height - space at bottom */
  padding-left: 1rem;                /* Left padding for mobile */
  padding-right: 1rem;               /* Right padding for mobile */
}

/* Button Stack Spacing
–––––––––––––––––––––––––––––––––––––––––––––––––– */
.button-stack-enhanced {
  margin-top: var(--spacing-l);
}

/* Photo Container for Overlay
–––––––––––––––––––––––––––––––––––––––––––––––––– */
.photo-container {
  position: relative;
  width: 100%;                       /* Full width of parent */
  max-width: 400px;                  /* Match photo width */
  display: block;                    /* Changed from inline-block to block */
  margin-top: 0;                     /* No additional top margin */
  margin-left: auto;
  margin-right: auto;
}

.photo-container .promo-photo-bottom {
  display: block;
  position: relative;
  z-index: 1;
  cursor: default;
  width: 100%;                       /* Full width of container */
  max-width: none;                   /* Remove max-width for bottom photo */
}

/* Blur effect when warning is shown */
.photo-blurred {
  filter: blur(20px);
  transition: filter 0.3s ease;
  pointer-events: none;  /* Disable clicks on blurred photo */
}

/* Hover effect for direct link photos (Reddit, Twitter, Unknown) */
.photo-hoverable {
  transition: transform 0.2s ease;
}

.photo-hoverable:hover {
  transform: translateY(-5px);
}

/* Full-screen transparent overlay for click detection
–––––––––––––––––––––––––––––––––––––––––––––––––– */
.full-screen-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: transparent;
  z-index: 999;
  cursor: default;
}

/* Modal Content Box - Positioned over bottom image
–––––––––––––––––––––––––––––––––––––––––––––––––– */
.modal-content-box {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(255, 255, 255, 0.95);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  padding: 2.5rem 2rem;
  border-radius: 1rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  max-width: 320px;
  z-index: 1000;
  cursor: default;
}

/* Warning Icon - Font Awesome */
.warning-icon {
  font-size: 48px !important;
  color: #333333;
  margin-bottom: 1rem;
  display: block;
  flex-shrink: 0;
  line-height: 1;
}

/* Warning Title */
.warning-title {
  font-size: 16px;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 0.5rem;
}

/* Warning Text */
.warning-text {
  font-size: 14px;
  font-weight: 400;
  color: #666666;
  max-width: 250px;
  margin-bottom: 1.5rem;
  line-height: 1.4;
}

/* Continue Button */
.continue-button {
  background-color: #000000;
  color: #ffffff;
  border: none;
  border-radius: 25px;
  padding: 0.75rem 2rem;
  min-width: 120px;
  min-height: 44px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.continue-button:hover {
  background-color: #333333;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.continue-button span {
  color: #ffffff;
}
