/*
Theme Name: Luxury Profile Card
Theme URI: https://example.com/
Author: ChatGPT
Author URI: https://example.com/
Description: A clean, professional single-page profile card theme with Customizer controls.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: luxury-profile
Tags: one-column, custom-background, custom-logo, custom-menu, featured-images, accessibility-ready
*/

:root{
  --bg: #0b0f14;

  --card: rgba(255,255,255,.10);
  --card-strong: rgba(255,255,255,.14);
  --border: rgba(255,255,255,.16);

  --glass: rgba(255,255,255,.10);
  --glass-border: rgba(255,255,255,.18);
  --glass-border-strong: rgba(255,255,255,.24);

  --text: rgba(255,255,255,.92);
  --muted: rgba(255,255,255,.72);
  --shadow: 0 22px 70px rgba(0,0,0,.55);

  --radius: 26px;
  --radius-sm: 18px;
  --maxw: 1040px;

  --mx: 0;
  --my: 0;

  --font: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
}

*{ box-sizing:border-box; }
html,body{ height:100%; }

body{
  margin:0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
}

a{ color: inherit; text-decoration:none; }

a:focus-visible, button:focus-visible{
  outline: 3px solid rgba(255,255,255,.55);
  outline-offset: 3px;
  border-radius: 14px;
}

.lp-wrap{
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 42px 18px;
  position: relative;
  overflow: hidden;
  perspective: 900px;
}

.lp-bg{
  position:absolute;
  inset:0;
  background-size: cover;
  background-position: 50% 50%;
  filter: saturate(1.08) contrast(1.08);
  transform: scale(1.06) translate3d(calc(var(--mx) * 14px), calc(var(--my) * 14px), 0);
  will-change: transform, background-position;
  animation: lpBgDrift 26s ease-in-out infinite;
}

@keyframes lpBgDrift{
  0%   { background-position: 50% 50%; }
  50%  { background-position: 48% 53%; }
  100% { background-position: 50% 50%; }
}

.lp-bg::after{
  content:"";
  position:absolute;
  inset:0;
  background:
    radial-gradient(1000px 520px at 55% 30%, rgba(0,0,0,.20), rgba(0,0,0,.70)),
    linear-gradient(180deg, rgba(0,0,0,.12), rgba(0,0,0,.64));
}

.lp-card{
  width: min(840px, 100%);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  background: var(--glass);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  overflow: hidden;
  position: relative;

  transform:
    translate3d(calc(var(--mx) * -6px), calc(var(--my) * -6px), 0)
    rotateX(calc(var(--my) * 2deg))
    rotateY(calc(var(--mx) * -2deg));
  transform-style: preserve-3d;
  will-change: transform;
}

.lp-card::before{
  content:"";
  position:absolute;
  inset:0;
  border-radius: inherit;
  pointer-events:none;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.18);
}

.lp-card-inner{
  padding: 46px 32px 28px;
}

.lp-profile{
  display:flex;
  align-items:center;
  justify-content:center;
  margin-top: 6px;
}

.lp-avatar{
  width: 168px;
  height: 168px;
  border-radius: 999px;
  border: 4px solid rgba(255,255,255,.88);
  box-shadow: 0 18px 44px rgba(0,0,0,.40);
  overflow:hidden;
  background: rgba(255,255,255,.10);
}

.lp-avatar img{
  width:100%;
  height:100%;
  object-fit: cover;
  display:block;
}

.lp-title{
  text-align:center;
  font-size: clamp(34px, 4vw, 56px);
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin: 22px 0 12px;
  font-weight: 750;
}

.lp-bio{
  max-width: 640px;
  margin: 0 auto;
  text-align:center;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}

.lp-cta{
  display:flex;
  justify-content:center;
  margin: 26px 0 8px;
}

.lp-cta a{
  display:inline-flex;
  align-items:center;
  gap: 12px;
  padding: 14px 20px;
  border-radius: 999px;
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.16);
  box-shadow: 0 10px 30px rgba(0,0,0,.25);
  transition: transform .12s ease, background .12s ease, border-color .12s ease;
  font-weight: 650;
  color: rgba(255,255,255,.86);
}

.lp-cta a:hover{
  transform: translateY(-1px);
  background: rgba(255,255,255,.14);
  border-color: rgba(255,255,255,.22);
}

.lp-cta svg{
  width: 18px;
  height: 18px;
  opacity: .90;
}

.lp-social-bar{
  background: rgba(255,255,255,.94);
  padding: 18px 18px 22px;
  display:flex;
  justify-content:center;
}

.lp-social{
  display:flex;
  gap: 18px;
  flex-wrap: wrap;
  align-items:center;
  justify-content:center;
}

.lp-icon{
  width: 46px;
  height: 46px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,.10);
  background: rgba(255,255,255,.92);
  display:grid;
  place-items:center;
  box-shadow: 0 10px 28px rgba(0,0,0,.12);
  transition: transform .12s ease, box-shadow .12s ease;
}

.lp-icon:hover{
  transform: translateY(-1px);
  box-shadow: 0 14px 34px rgba(0,0,0,.16);
}

.lp-icon svg{
  width: 20px;
  height: 20px;
  fill: rgba(0,0,0,.82);
}

.lp-footer-note{
  text-align:center;
  color: rgba(255,255,255,.62);
  font-size: 13px;
  margin-top: 18px;
}

@media (max-width: 520px){
  .lp-card-inner{ padding: 42px 20px 26px; }
  .lp-avatar{ width: 140px; height: 140px; }
  .lp-bio{ font-size: 16px; }
  .lp-social-bar{ padding: 16px 12px 20px; }
}

@media (prefers-reduced-motion: reduce){
  .lp-bg{ animation: none !important; transform: none !important; }
  .lp-card{ transform: none !important; }
}
