* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
  background-color: #d8d4cf;
  min-height: 100vh;
}

/* Mobile Layout */
.mobile-layout {
  min-height: 100vh;
}

.content-wrapper {
  min-height: 100vh;
}

/* Desktop Layout */
.desktop-layout {
  min-height: 100vh;
  background-color: #cbc7bd;
  padding: 48px 16px;
}

.phone-container {
  max-width: 420px;
  margin: 0 auto;
  border-radius: 24px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  overflow: hidden;
}

/* Hero Section */
.hero-section {
  position: relative;
  height: 55vh;
  min-height: 400px;
  overflow: hidden;
}

.desktop-hero {
  height: 350px;
  min-height: 350px;
  border-radius: 24px 24px 0 0;
}

.hero-background {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 0%, transparent 50%, #d8d4cf 100%);
}

.share-button {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
  border: none;
  color: rgba(255, 255, 255, 0.8);
  cursor: pointer;
  transition: background 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  animation: fadeIn 0.5s ease-out 0.5s both;
}

.share-button:hover {
  background: rgba(255, 255, 255, 0.3);
}

.hero-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px;
  text-align: center;
}

.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  font-weight: 600;
  color: white;
  margin-bottom: 8px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  animation: slideUp 0.5s ease-out 0.2s both;
}

.hero-tagline {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.125rem;
  font-weight: 300;
  letter-spacing: 0.05em;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
  animation: slideUp 0.5s ease-out 0.3s both;
}

.social-icons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-top: 24px;
  animation: slideUp 0.5s ease-out 0.4s both;
}

.social-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: background 0.2s;
  font-size: 24px;
}

.social-icon:hover {
  background: rgba(255, 255, 255, 0.3);
  color: white;
}

/* Links Section */
.links-section {
  background-color: #d8d4cf;
  padding: 24px 16px 32px;
}

.desktop-links {
  border-radius: 0 0 24px 24px;
}

.links-container {
  max-width: 448px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.link-button {
  display: flex;
  align-items: stretch;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(156, 163, 175, 0.3);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: box-shadow 0.2s;
  animation: slideUp 0.4s ease-out both;
}

.link-button:nth-child(1) { animation-delay: 0.1s; }
.link-button:nth-child(2) { animation-delay: 0.2s; }
.link-button:nth-child(3) { animation-delay: 0.3s; }
.link-button:nth-child(4) { animation-delay: 0.4s; }
.link-button:nth-child(5) { animation-delay: 0.5s; }

.link-button:hover {
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.link-main {
  flex: 1;
  display: flex;
  align-items: center;
  padding: 16px 24px;
  text-decoration: none;
  color: #1f2937;
  transition: background 0.2s;
}

.link-main:hover {
  background: rgba(249, 250, 251, 0.5);
  color: #1f2937;
}

.link-icon {
  font-size: 20px;
  color: #374151;
  margin-right: 16px;
}

.ltk-icon {
  width: 20px;
  height: 20px;
  margin-right: 16px;
  object-fit: contain;
}

.link-text {
  flex: 1;
  text-align: center;
  font-weight: 500;
  padding-right: 16px;
}

.link-share {
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-left: 1px solid rgba(156, 163, 175, 0.3);
  background: transparent;
  color: #9ca3af;
  cursor: pointer;
  transition: all 0.2s;
  font-size: 16px;
}

.link-share:hover {
  background: #f3f4f6;
  color: #4b5563;
}

/* Footer */
.footer-text {
  text-align: center;
  font-size: 0.875rem;
  color: rgba(156, 163, 175, 0.7);
  margin-top: 32px;
}

.footer-text-desktop {
  text-align: center;
  font-size: 0.875rem;
  color: rgba(156, 163, 175, 0.7);
  margin-top: 32px;
}

/* Share Modal */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
}

.modal-backdrop.show {
  opacity: 1;
  visibility: visible;
}

.share-modal {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1001;
  transform: translateY(100%);
  transition: transform 0.3s ease-out, opacity 0.3s ease-out;
  pointer-events: none;
}

.share-modal.show {
  transform: translateY(0);
  pointer-events: auto;
}

@media (min-width: 768px) {
  .share-modal {
    bottom: auto;
    top: 50%;
    left: 50%;
    right: auto;
    transform: translate(-50%, -50%) scale(0.9);
    opacity: 0;
    visibility: hidden;
    max-width: 448px;
    width: 100%;
  }
  
  .share-modal.show {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
    visibility: visible;
  }
}

.share-modal-content {
  background: white;
  border-radius: 24px 24px 0 0;
  padding: 24px;
  max-height: 80vh;
  overflow: hidden;
}

@media (min-width: 768px) {
  .share-modal-content {
    border-radius: 24px;
  }
}

.share-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.share-modal-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: #111827;
}

.share-modal-close {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: transparent;
  color: #6b7280;
  cursor: pointer;
  transition: background 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.share-modal-close:hover {
  background: #f3f4f6;
}

.share-preview {
  background: #1f2937;
  border-radius: 16px;
  padding: 16px;
  margin-bottom: 24px;
  text-align: center;
}

.share-preview-title {
  color: white;
  font-weight: 600;
  font-size: 1.125rem;
  margin-bottom: 4px;
}

.share-preview-url {
  color: #9ca3af;
  font-size: 0.875rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  margin: 0;
}

.share-options-container {
  overflow-x: auto;
  margin: 0 -8px;
  padding: 0 8px 8px;
  position: relative;
  -webkit-mask-image: linear-gradient(to right, black 85%, transparent 100%);
  mask-image: linear-gradient(to right, black 85%, transparent 100%);
}

.share-options {
  display: flex;
  gap: 16px;
  min-width: max-content;
}

.share-option {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  min-width: 72px;
  text-decoration: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.share-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  transition: transform 0.2s;
}

.share-option:hover .share-icon {
  transform: scale(1.05);
}

.share-label {
  font-size: 0.75rem;
  color: #4b5563;
}

/* Share icon colors */
.bg-gray { background: #e5e7eb; color: #374151; }
.bg-black { background: #000; }
.bg-facebook { background: #1877F2; }
.bg-whatsapp { background: #25D366; }
.bg-linkedin { background: #0A66C2; }
.bg-messenger { background: linear-gradient(135deg, #00B2FF, #006AFF); }
.bg-snapchat { background: #FFFC00; color: #000; }
.bg-telegram { background: #0088cc; }
.bg-pinterest { background: #E60023; }
.bg-email { background: #6b7280; }
.bg-more { background: #d1d5db; color: #374151; }
.text-white { color: white; }

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Hide scrollbar but allow scrolling */
.share-options-container {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.share-options-container::-webkit-scrollbar {
  display: none;
}
