/* =========================
   RESET
========================= */

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

/* =========================
   BODY
========================= */

body {
  min-height: 100vh;
  font-family: Arial, Helvetica, sans-serif;
  background: #f5f5f5;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}


body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: url('images/cover.png') no-repeat center center / cover;
  filter: blur(8px);
  transform: scale(1.05);
  /* Prevents white edge bleed from blur */
  z-index: -1;
}

/* =========================
   PAGE
========================= */

.page {
  width: 100%;

  display: flex;
  justify-content: center;
  align-items: center;
}

/* =========================
   CARD
========================= */

.SocialCard {
  min-height: 700px;
  /* Changed from height: 700px to allow flex growth */
  width: 550px;
  background: whitesmoke;
  border-radius: 25px;
  box-shadow: 0 10px 25px rgba(2, 2, 2, 0.25);
  /* Fixed rgba alpha channel */
  position: relative;
  text-align: center;
  background-color: #f4efe6; 
  
  /* Apply your seamless paper texture */
  background-image: url('images/card.webp'); 
  background-repeat: repeat;

  /* Adds depth to make the paper look realistic and slightly worn around the edges */
  box-shadow: 
    inset 0 0 15px rgba(100, 70, 40, 0.15), /* Inner aging glow */
    0 10px 25px rgba(0, 0, 0, 0.2);
}

/* =========================
   BLUE HEADER
========================= */

.card-header {
  height: 260px;
  background: linear-gradient(#AC9C8D, #AC9C8D);
  border-radius: 15px;
}

/* =========================
   PROFILE IMAGE
========================= */

.profile-image {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
  border: 5px solid whitesmoke;
  margin-bottom: 100px;
  /* Overlay: image center sits on header bottom edge */
  position: absolute;
  top: 85px;
  /* header(185px) - halfImage(100px) = 85px */
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* =========================
   CONTENT
========================= */

.profile-content {
  margin-top: 100px;
  padding: 0 35px 30px;
}

.profile-content h1 {
  font-size: 28px;
  font-weight: 500;
  color: #222;
  margin-top: 110px;
  /* 100px (half image below header) + 10px gap */
  /* Reduced from 100px so content moves back up */
  margin-bottom: 6px;
}

.role {
  font-size: 18px;
  color: #555;
  margin-bottom: 22px;
}

/* =========================
   SOCIAL LINKS
========================= */

.social-links {
  display: flex;
  justify-content: center;
  /* Centers the icons horizontally */
  align-items: center;
  /* Keeps them vertically aligned */
  gap: 1.95rem;
  /* Adds clean, even spacing between each icon */
  margin: 1.25rem 0;
  margin-bottom: 1.5rem;
}

.social-links i.fa {
  font-size: 1.95rem;
  /* Increases the icon size (adjust up/down as needed) */
  color: #212121;
  /* Dark color for contrast (change to match your theme) */
  cursor: pointer;
  /* Makes the cursor a pointer on hover */
  transition: all 0.2s ease-in-out;
  /* Smooth hover transition */
}

.social-links i.fa:hover {
  color: #af251b;
  /* Accent color when hovering over an icon */
  transform: translateY(-3px) scale(1.1);
  /* Subtle lift and enlarge effect */
}

/* =========================
   ACTION BUTTONS
========================= */

.action-buttons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 45px;
  /* Spaces the buttons evenly horizontally */
  margin-top: 30px;
}

.action-buttons button,
.action-buttons a {
  display: flex;
  align-items: center;
  gap: 25px;
  padding: 10px 20px;
  background-color: #b21301;
  color: #ffffff;
  border: none;
  border-radius: 8px;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 800;
  font-size: 18px;
  cursor: pointer;
  text-decoration: none;
  transition: background-color 0.2s ease, transform 0.2s ease;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

.action-buttons button:hover,
.action-buttons a:hover {
  background-color: #cd5252;
  transform: translateY(-2px);
  color: #722f08;
}

/* =========================
   STATISTICS
========================= */

.statistics {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  color: #333;
  font-size: 25px;
}


.stat {
  display: flex;
  align-items: center;
  gap: 7px;
  
}

.stat-btn {
    border: none;
    background: transparent;
    font: inherit;
    color: inherit;
    cursor: pointer;

    display: flex;
    align-items: center;
    gap: 7px;

    transition: transform 0.15s ease;
}

.stat-btn:active {
    transform: scale(0.9);
}

.stat-btn:hover .icon {
    transform: scale(1.15);
}

.stat-btn .icon {
    transition: transform 0.15s ease, color 0.15s ease;
}

.comment-link {
    color: inherit;
    text-decoration: none;
}


.share-icon {
  transform: rotate(-20deg);
}


.divider {
  width: 2px;
  height: 30px;
  background: #e1e1e1;
}