:root {
  --bg-color: #f7f0e8;
  --text-primary: #000000;
  --text-dark: #121212;

  --card-bg: #ffffff;

  /* Brand Colors */
  --color-pink-border: #5f084b;
  --color-pink-shadow: #fe9bba;
  --color-pink-light: #ffc4d6;

  --color-brown-border: #373326;
  --color-brown-shadow: #89660a;

  --color-blue-border: #071e54;
  --color-blue-shadow: #1c97e8;

  --shadow-dark: rgba(54, 54, 54, 0.8);
  --border-dark: #363636;

  --font-main: "Playfair Display", serif;
}

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

body {
  background-color: var(--bg-color);
  font-family: var(--font-main);
  color: var(--text-primary);
  display: flex;
  justify-content: center;
  min-height: 100vh;
  overflow-x: hidden;
}

.mobile-container {
  width: 100%;
  max-width: 430px; /* Typical large phone width */
  position: relative;
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 1;
}

/* Background Decoration */
.bg-decoration {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 190px;
  z-index: 0;
  overflow: hidden;
}

.bg-decoration img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 1;
}

/* Header */
.profile-header {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 24px;
  position: relative;
  height: 250px; /* Space for absolute positioning mimicry */
}

.name-badge {
  position: relative;
  z-index: 10;
  background: white;
  padding: 12px 24px;
  border-radius: 6px;
  border: 1px solid var(--border-dark);
  box-shadow: 2px 3px 0px var(--shadow-dark);
  width: 100%;
  text-align: center;
  top: 10px;
}

.name-badge h1 {
  font-size: 22px;
  font-weight: 400;
  font-style: italic;
  color: black;
}

.profile-image-container {
  margin-top: 50px;
  display: flex;
  justify-content: center;
}

.profile-image-card {
  width: 120px;
  height: 120px;
  background: white;
  border: 1px solid var(--border-dark);
  box-shadow: 2px 3px 0px var(--shadow-dark);
  border-radius: 6px;
  overflow: hidden;
  position: relative;
  z-index: 5;
}

.profile-image-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Main Content */
.section-title {
  margin-bottom: 20px;
  text-align: center;
}

.section-title p {
  font-size: 20px;
  font-style: italic;
  color: black;
}

.links-container {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Link Cards */
.link-card {
  display: flex;
  align-items: center;
  background: white;
  border-radius: 14px;
  padding: 12px;
  text-decoration: none;
  color: black;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  gap: 16px;
}

.link-card:active {
  transform: translate(2px, 2px);
  box-shadow: none !important;
}

.card-content h2 {
  font-size: 18px;
  font-weight: 500;
  font-style: italic;
  line-height: 1.2;
}

.card-icon-wrapper {
  width: 80px;
  height: 80px;
  flex-shrink: 0;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-pink-light);
}

.simple-icon {
  width: 40px;
  height: 40px;
  border-radius: 4px;
}

/* Special Card Styles */
.card-glow-mode {
  border: 2px solid var(--color-pink-border);
  box-shadow: 4px 4px 0px var(--color-pink-shadow);
}

.card-brown {
  border: 2px solid var(--color-brown-border);
  box-shadow: 4px 4px 0px var(--color-brown-shadow);
}

.card-blue {
  border: 2px solid var(--color-blue-border);
  box-shadow: 4px 4px 0px var(--color-blue-shadow);
}

/* Custom Icon for Glow Mode */
.glow-mode-icon {
  width: 100%;
  height: 100%;
  background: var(--bg-color); /* Inner square */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
}

.glow-text {
  font-size: 20px;
  font-style: italic;
  line-height: 1;
  text-align: center;
  color: #121212;
}

.sparkle {
  position: absolute;
  bottom: 10px;
  right: 15px;
  font-size: 16px;
}

.sticker-badge {
  position: absolute;
  top: 5px;
  left: 5px;
  background: var(--color-pink-shadow);
  border: 0.5px solid var(--color-pink-border);
  border-radius: 10px;
  padding: 2px 6px;
  transform: rotate(-5deg);
}

.sticker-badge span {
  font-size: 6px;
  color: black;
  font-weight: 600;
  text-transform: uppercase;
}

/* Footer */
.social-footer {
  margin-top: 40px;
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: center;
  padding-bottom: 40px;
}

.social-btn {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s;
}

.social-btn:hover {
  transform: scale(1.1);
}
