:root{
  --bg: #F7F6F2;
  --text-main: #1E2430;
  --text-soft: #5B6472;
  --border: #E8E6DF;
  --accent: #E8A33D;
  --accent-soft: #FCEBD0;
  --card-bg: #FFFFFF;
  --shadow-sm: 0 2px 8px rgba(30,36,48,0.05);
  --shadow-md: 0 10px 30px rgba(30,36,48,0.08);
}

*{ box-sizing: border-box; margin: 0; padding: 0; }

body.links-page{
  font-family: 'Inter', sans-serif;
  color: var(--text-main);
  min-height: 100vh;
  background: var(--bg);
  background-image:
    radial-gradient(circle at 15% 10%, rgba(232,163,61,0.14), transparent 40%),
    radial-gradient(circle at 85% 90%, rgba(232,163,61,0.10), transparent 40%);
  display: flex;
  justify-content: center;
  padding: 100px 20px 60px 20px;
  line-height: 1.6;
}

/* TOP RIGHT CONTROLS */
.top-controls{
  position: fixed;
  top: 24px;
  right: 24px;
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 10;
}

.theme-toggle, .lang-toggle{
  display: flex;
  align-items: center;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 5px;
  gap: 2px;
  box-shadow: var(--shadow-sm);
  opacity: 0.85;
}

.theme-icon{
  font-size: 0.82rem;
  padding: 6px 9px;
  color: var(--text-soft);
  display: flex;
  align-items: center;
}

.lang-option{
  font-size: 0.72rem;
  font-weight: 700;
  padding: 6px 11px;
  border-radius: 999px;
  color: var(--text-soft);
}

.lang-option.active{
  background: var(--accent);
  color: #fff;
}

/* MAIN CARD COLUMN */
.links-card{
  width: 100%;
  max-width: 420px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.avatar-ring{
  position: relative;
  padding: 5px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), #C97A2E);
  margin-bottom: 18px;
}

.avatar-ring.big .avatar{
  width: 108px;
  height: 108px;
}

.avatar{
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid var(--card-bg);
  display: block;
}

.avatar img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  display: block;
}

.status-dot{
  position: absolute;
  bottom: 8px;
  right: 8px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #3BB273;
  border: 3px solid var(--card-bg);
}

.links-name{
  font-family: 'Sora', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  text-align: center;
  letter-spacing: -0.3px;
}

.links-role{
  color: var(--accent);
  font-weight: 700;
  font-size: 0.95rem;
  text-align: center;
  margin-top: 4px;
}

.links-location{
  color: var(--text-soft);
  font-size: 0.85rem;
  text-align: center;
  margin-top: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
  justify-content: center;
}

.links-location i{
  color: var(--text-soft);
  font-size: 0.8rem;
}

/* SOCIAL ICONS */
.social-row{
  display: flex;
  gap: 14px;
  margin: 24px 0 28px 0;
}

.social-circle{
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--card-bg);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-main);
  font-size: 1.1rem;
  text-decoration: none;
  box-shadow: var(--shadow-sm);
  transition: transform 0.18s ease, box-shadow 0.18s ease, color 0.18s ease;
}

.social-circle:hover{
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  color: var(--accent);
}

/* PORTFOLIO / LINK TILE */
.link-tile{
  width: 100%;
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 16px 18px;
  text-decoration: none;
  color: var(--text-main);
  box-shadow: var(--shadow-sm);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  margin-bottom: 24px;
}

.link-tile:hover{
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.link-tile-icon{
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  border-radius: 11px;
  background: var(--bg);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--text-soft);
}

.link-tile-text{ flex: 1; min-width: 0; }

.link-tile-text h3{
  font-family: 'Sora', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
}

.link-tile-text p{
  font-size: 0.8rem;
  color: var(--text-soft);
  margin-top: 2px;
}

.link-tile-arrow{
  color: var(--text-soft);
  font-size: 0.85rem;
}

/* GET IN TOUCH CARD */
.contact-card{
  width: 100%;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 28px;
  text-align: left;
  box-shadow: var(--shadow-sm);
}

.contact-icon{
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  margin-bottom: 14px;
}

.contact-title{
  font-family: 'Sora', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.contact-subtitle{
  color: var(--text-soft);
  font-size: 0.88rem;
  margin-bottom: 18px;
}

.send-email-btn{
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: var(--text-main);
  color: #fff;
  font-weight: 700;
  font-size: 0.88rem;
  padding: 11px 20px;
  border-radius: 10px;
  text-decoration: none;
  transition: transform 0.18s ease, background 0.18s ease;
}

.send-email-btn:hover{
  background: #000;
  transform: translateY(-2px);
}

.contact-email{
  margin-top: 14px;
  font-size: 0.82rem;
  color: var(--text-soft);
  word-break: break-all;
}

@media (max-width: 480px){
  .links-card{ max-width: 340px; }
  .top-controls{ top: 16px; right: 16px; }
}