/* === BASE STYLES === */
    :root {
      /* Light Mode Defaults */
      --bg: url("assets/videos/hearts.mp4");
      --text: #625B66;
      --primary: #FD1D89;
      --primary-light: #FF5DA8;
      --secondary: #6c757d; /* Lighter gray for cards */
      --card: #F8F8F8;
      --footer: #E0E0E0;
      --grain: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.02'/%3E%3C/svg%3E");
    }

    .dark-mode {
      --bg: #121212;
      --text: #FFFFFF;
      --primary: #FF007F;
      --primary-light: #FF3D9B;
      --secondary: #868e96; /* Even lighter gray for dark mode */
      --card: #252525;
      --footer: #000000;
    }

    body {
      font-family: 'Poppins', Helvetica, sans-serif;
      background-color: var(--bg);
      color: var(--text);
      margin: 0;
      padding: 0;
      background-image: var(--grain);
      transition: all 0.3s ease;
      min-height: 100vh;
	  font-size: 13px;
	  font-weight: bold;
    }
	
    .container {
      max-width: 600px;
      margin: 0 auto;
      padding: 20px;
      width: 90%;
    }

    /* === AVATAR & HEADER === */
	.avatar {
	  width: 200px;
	  height: 200px;
	  border-radius: 50%;
	  object-fit: cover;
	  border: 3px solid white;
	  margin: -10px auto 10px;
	  display: block;
	  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
	  background: linear-gradient(135deg, var(--primary), var(--primary-light));
	}

    .avatar {
    box-shadow: 0 0 0 3px white, 0 4px 20px rgba(0, 0, 0, 0.3);
    }


    

	header {
  /* NEW: Background image instead of solid color */
  background: url('https://xglamourx.com/assets/images/xgx.jpg') no-repeat top center/cover;
  color: white;
  text-align: center;
  padding: 50px 20px 30px;
  border-radius: 10px;
  margin-bottom: 20px;
  font-size: 22px;
  /* NEW: Required for overlay positioning */
  position: relative;
  overflow: hidden; /* Keeps rounded corners clean */
}

header {
  display: block; /* Ensures the element is visible */
}

/* NEW: Dark overlay */
header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5); /* 60% opacity black - adjust as needed */
  z-index: 0;
}

/* NEW: Ensure content stays above overlay */
.header-title, 
.header-subtitle,
.avatar {
  position: relative;
  font-family: 'Poppins', Helvetica, sans-serif;
  z-index: 1; /* Puts them above the dark overlay */
}

.header-subtitle,
.avatar {
  position: relative;
  font-weight: normal;
  text-transform: uppercase;
  font-size: 16px;
}

/* Optional: Improve text readability */
.header-title {
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

    /* === LINK CARDS === */
    .link-card {
      background: #fb008a; /* Lighter gray */
      padding: 15px;
      margin: 10px 0;
      border-radius: 8px;
      text-align: center;
      transition: all 0.2s;
      border: 1px solid transparent;
      cursor: pointer;
      color: white;
      box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    }

    .link-card:hover {
      border-color: var(--primary);
      transform: translateY(-2px);
    }
	
	.link-card-container {
    display: block;
    text-decoration: none;
    color: inherit;
    -webkit-tap-highlight-color: transparent; /* This removes the mobile tap highlight */
  }
  
  .link-card {
    background: #625B66;
    padding: 15px;
    margin: 10px 0;
    border-radius: 8px;
    text-align: center;
    transition: all 0.2s;
    border: 1px solid transparent;
    color: white;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  }

    /* === TOGGLE SWITCH === */
    .toggle-container {
      text-align: right;
      margin: 10px 0;
    }

    .toggle-switch {
      position: relative;
      display: inline-block;
      width: 60px;
      height: 30px;
    }

    .toggle-switch input {
      opacity: 0;
      width: 0;
      height: 0;
    }

    .slider {
      position: absolute;
      cursor: pointer;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background: #fb008a;
      transition: .4s;
      border-radius: 34px;
    }

    .slider:before {
      position: absolute;
      content: "";
      height: 22px;
      width: 22px;
      left: 4px;
      bottom: 4px;
      background-color: white;
      transition: .4s;
      border-radius: 50%;
    }

    input:checked + .slider {
      background: #fb008a;
    }

    input:checked + .slider:before {
      transform: translateX(30px);
    }

    /* === SOCIAL ICONS (FOOTER) === */
    .social-icons {
      display: flex;
      justify-content: center;
      gap: 15px;
      margin: 15px 0;
    }

    .social-icons a {
      color: #fb008a; /* Pink icons */
      font-size: 20px;
      transition: transform 0.3s;
    }

    .social-icons a:hover {
      transform: scale(1.2);
      color: var(--primary);
    }

    .footer-text {
      text-align: center;
      margin: -10px 0;
      color: var(--text);
    }

/* === NEWSLETTER ACCORDION === */
.newsletter-accordion {
  margin: 20px 0;
  width: 100%;
}

.accordion-btn {
  background: #fb008a;
  color: white;
  border: none;
  padding: 15px;
  margin: 10px 0;
  border-radius: 8px;
  cursor: pointer;
  display: block;
  width: 100%;
  font-weight: bold;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  font-family: 'Poppins', Helvetica, sans-serif;
  font-size: 13px;
}

.accordion-btn:hover {
  transform: translateY(-2px);
}

.accordion-btn::after {
  content: '\f078';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  right: 20px;
  transition: transform 0.3s ease;
}

.accordion-btn.active::after {
  transform: rotate(180deg);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  background: var(--card);
  border-radius: 0 0 8px 8px;
  margin-top: -10px;
}

.accordion-content form {
  padding: 20px;
}

/* Form Styles */
.form-group {
  margin-bottom: 15px;
  width: 100%;
}

.form-group input {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 5px;
  background: var(--bg);
  color: var(--text);
  box-sizing: border-box;
}

.submit-btn {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: white;
  border: none;
  padding: 15px;
  border-radius: 5px;
  cursor: pointer;
  display: block;
  width: 100%;
  font-weight: bold;
  transition: transform 0.2s;
  text-align: center;
  margin: 0; /* Remove any default margins */
}

.submit-btn:hover {
  transform: translateY(-2px);
}


    /* === CONTACT FORM (POP-UP) === */
    .contact-btn {
  background: #fb008a;
  color: white;
  border: none;
  padding: 15px; /* Match link-card padding */
  margin: 10px 0; /* Match link-card margin */
  border-radius: 8px; /* Match link-card border-radius */
  cursor: pointer;
  display: block;
  width: 100%; /* Full width like link cards */
  font-weight: bold;
  transition: transform 0.2s;
  text-align: center; /* Center button text like cards */
  box-shadow: 0 2px 5px rgba(0,0,0,0.1); /* Optional: match card shadow */
  font-size: 13px;
}

/* Remove the max-width constraint (delete this line if it exists) */
/* max-width: 200px; */

    .contact-btn:hover {
  border: 1px solid white; /* Match card hover effect */
  transform: translateY(-2px); /* Match card hover lift */
}

/* === CONTACT FORM (POP-UP) === */
.modal-content {
  display: flex;
  flex-direction: column;
  align-items: center; /* Center everything horizontally */
  width: 90%;
  max-width: 400px;
}

#contactForm {
  width: 100%; /* Make form take full width of modal-content */
  display: flex;
  flex-direction: column;
  align-items: center; /* Center form elements */
}

.form-group {
  margin-bottom: 15px;
  width: 100%; /* Match button width */
  max-width: 300px; /* Same as button if you want fixed width */
}

.form-group input,
.form-group textarea {
  width: 100%; /* Full width of form-group */
  padding: 12px; /* Slightly larger padding for better touch */
  border: 1px solid #ddd;
  border-radius: 8px; /* Match button radius */
  background: var(--bg);
  color: var(--text);
  font-family: inherit; /* Match body font */
  box-sizing: border-box; /* Include padding in width calculation */
}

.submit-btn {
  background: #fb008a;
  color: white;
  border: none;
  padding: 15px;
  margin: 10px 0;
  border-radius: 8px;
  cursor: pointer;
  display: block;
  width: 100%;
  max-width: 300px; /* Match form fields */
  font-weight: bold;
  transition: transform 0.2s;
  text-align: center;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}



    .modal {
      display: none;
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(0, 0, 0, 0.7);
      z-index: 1000;
      justify-content: center;
      align-items: center;
    }

    .modal-content {
      background: var(--card);
      padding: 20px;
      border-radius: 10px;
      width: 90%;
      max-width: 400px;
      position: relative;
    }

    .close-btn {
      position: absolute;
      top: 10px;
      right: 10px;
      font-size: 20px;
      cursor: pointer;
      color: var(--text);
    }

    .form-group {
      margin-bottom: 15px;
      width: 100%;
      max-width: 300px;
      margin-left: auto;
      margin-right: auto;
    }

    .form-group input,
    .form-group textarea {
      width: 100%;
      padding: 10px;
      border: 1px solid #ddd;
      border-radius: 5px;
      background: var(--bg);
      color: var(--text);
    }
	
	.form-message {
  padding: 12px;
  margin: 15px 0;
  border-radius: 5px;
  text-align: center;
  display: none;
  animation: fadeIn 0.3s ease;
}

.form-message.success {
  display: block;
  background: #4CAF50;
  color: white;
}

.form-message.error {
  display: block;
  background: #f44336;
  color: white;
}

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

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

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

/* Form notification CSS */
.form-notification {
  padding: 12px;
  margin-top: 15px;
  border-radius: 4px;
  font-family: 'Poppins', sans-serif;
  text-align: center;
  display: none; /* Hidden by default */
}

.form-notification.success {
  background-color: #d4edda;
  color: #155724;
  display: block;
}

.form-notification.error {
  background-color: #f8d7da;
  color: #721c24;
  display: block;
}

/* Add this for smooth transitions */
.form-notification {
  transition: opacity 0.3s ease;
}
.form-notification.hidden {
  opacity: 0;
}

/* Social Icons */
.social-icons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin: 20px 0;
}

.social-icons a, 
.social-icons button { /* Changed from .share-btn to target all buttons */
  color: #fb008a; /* Pink color */
  font-size: 24px;
  transition: transform 0.3s, color 0.3s;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.social-icons a:hover, 
.social-icons button:hover {
  transform: scale(1.2);
  color: var(--primary-light); /* Lighter pink on hover */
}

/* X Icon */
.x-icon {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-weight: bold;
  font-style: normal;
  display: inline-block;
  width: 1em;
  text-align: center;
}

/* Bluesky Icon */
.bluesky-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 21px;
  height: 21px;
  color: #fb008a;
  padding-top: 6px;
}

.bluesky-icon svg {
  width: 100%;
  height: 100%;
}

/* Share Dialog */
.share-dialog {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: var(--card);
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
  z-index: 1000;
  color: var(--text);
}

.share-dialog.active {
  display: block;
}

.share-options {
  display: flex;
  gap: 15px;
  margin-top: 15px;
  justify-content: center;
}

.share-options a {
  color: #fb008a;
  font-size: 24px;
}

.close-share {
  display: block;
  margin: 15px auto 0;
  padding: 5px 15px;
  background: #fb008a;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

/* TikTok Icon */
.fa-tiktok {
  position: relative;
  top: 1px;
}

/* Telegram Icon */
.fa-telegram {
  position: relative;
  left: 1px;
}

/* Share Dialog Styling */
.share-dialog {
  font-family: 'Poppins', sans-serif;
  text-align: center;
  max-width: 300px;
  width: 90%;
}

.share-dialog-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}

.share-dialog h3 {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text);
  letter-spacing: 0.5px;
}

/* Make sure Poppins is loaded */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600&display=swap');


    /* === RESPONSIVE FIXES === */
    @media (max-width: 480px) {
      .avatar {
        width: 120px;
        height: 120px;
        margin-top: -0px;
      }
      header {
        padding: 40px 15px 25px;
      }
      .link-card {
        padding: 12px;
      }
    }