/* --- RESET & BASICS --- */
* {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

body {
  margin: 0;
  padding: 0;
  background: linear-gradient(to bottom, #fff0f3 0%, #ffe6ea 100%);
  font-family: 'Inter', sans-serif;
  color: #1a1a1a;
  display: flex;
  justify-content: center;
  min-height: 100vh;
}

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

.fade-in {
  animation: fadeIn 0.8s ease-out forwards;
}

/* --- CONTAINER --- */
.mobile-container {
  width: 100%;
  max-width: 440px;
  padding: 40px 20px;
  display: flex;
  flex-direction: column;
  align-items: center; 
}

/* --- HEADER --- */
header {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center; 
  text-align: center;
}

.profile-wrapper {
  margin-bottom: 15px;
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
}

.profile-pic {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 20%; 
  display: block;
  box-shadow: 0 8px 20px rgba(0,0,0,0.08); 
  border: 4px solid white; 
}

.username {
  font-size: 26px;
  font-weight: 800;
  margin: 0 0 12px 0;
  text-align: center;
  letter-spacing: -0.5px;
  color: #1a1a1a;
}

.bio {
  font-size: 15px;
  line-height: 1.6;
  text-align: center;
  margin-bottom: 25px;
  color: #555;
  font-weight: 500;
  max-width: 90%;
  margin-left: auto;
  margin-right: auto;
}

.social-icon {
  width: 100%;
  display: flex;
  justify-content: center; 
  margin-bottom: 35px;
}

.social-icon i {
  font-size: 32px;
  color: #1a1a1a;
  transition: transform 0.2s;
  opacity: 0.8;
}

.social-icon i:hover {
  transform: scale(1.1);
  opacity: 1;
}

/* --- LINKS AREA --- */
.links-area {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding-bottom: 40px;
}

/* --- CARDS (Both Fanvue & Instagram) --- */
.card-link {
  width: 100%;
  background-color: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.06);
  cursor: pointer;
  transition: transform 0.2s;
  position: relative;
  display: block; 
  text-decoration: none; 
  /* Ensures flex layout works for reordering if needed */
  display: flex;
  flex-direction: column;
}

.card-link:active {
  transform: scale(0.98);
}

/* CARD TEXT (Now comes first) */
.card-text {
  padding: 18px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: white;
  border-bottom: 1px solid rgba(0,0,0,0.03); /* Subtle separator */
}

.text-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: left;
}

.main-text {
  font-weight: 700;
  font-size: 17px;
  color: #1a1a1a;
}

.sub-text {
  font-size: 13px;
  color: #888;
}

/* The Bold Warning Text Style */
.warning-text {
  color: #d63031; /* Reddish color */
  font-weight: 700; /* Bold */
}

.icon-box {
  width: 36px;
  height: 36px;
  background-color: #f5f5f5;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.icon-box i {
  font-size: 14px;
  color: #333;
}

/* CARD IMAGE (Now comes second) */
.card-image {
  width: 100%;
  height: 0;
  padding-bottom: 110%; 
  position: relative;
  overflow: hidden;
}

.card-image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center; 
}

/* --- MODAL --- */
.modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.6); 
  backdrop-filter: blur(8px); 
  -webkit-backdrop-filter: blur(8px);
  align-items: center;
  justify-content: center;
}

.modal-content {
  background-color: white;
  padding: 35px;
  border-radius: 24px;
  text-align: center;
  width: 80%;
  max-width: 320px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.15);
  animation: popUp 0.3s ease;
}

@keyframes popUp {
  from { transform: scale(0.95); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.modal-content h3 {
  margin: 0 0 12px 0;
  font-size: 20px;
  color: #1a1a1a;
}

.modal-content p {
  color: #666;
  font-size: 15px;
  margin-bottom: 25px;
  line-height: 1.5;
}

.modal-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.confirm-btn {
  background-color: #1a1a1a;
  color: white;
  border: none;
  padding: 16px;
  border-radius: 14px;
  font-weight: 600;
  cursor: pointer;
  font-size: 16px;
}

.cancel-btn {
  background-color: transparent;
  color: #888;
  border: none;
  padding: 10px;
  font-size: 15px;
  cursor: pointer;
}