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

:root {
    --gold:       #F5C518;
    --gold-light: #FFE066;
    --gold-glow:  rgba(245,197,24,0.45);
    --navy:       #04081F;
    --navy-mid:   #081035;
    --navy-card:  rgba(8,18,60,0.75);
    --white:      #FFFFFF;
    --muted:      #8fa3cc;
    --radius:     18px;
}

html, body { height: 100%; font-family: "Outfit", sans-serif; background: var(--navy); color: var(--white); overflow-x: hidden; }

/* ===== ANIMATED BRAND BACKGROUND ===== */
.bg-scene {
    position: fixed;
    inset: 0;
    z-index: 0;
    background: linear-gradient(160deg, #04081F 0%, #07102e 50%, #030818 100%);
    overflow: hidden;
}

/* Gold diagonal sweep animation */
.bg-scene::before {
    content: '';
    position: absolute;
    inset: -50%;
    background: conic-gradient(
        from 0deg at 50% 50%,
        transparent 0deg,
        rgba(245,197,24,0.04) 60deg,
        transparent 120deg,
        rgba(245,197,24,0.06) 180deg,
        transparent 240deg,
        rgba(245,197,24,0.04) 300deg,
        transparent 360deg
    );
    animation: bgSpin 18s linear infinite;
}

@keyframes bgSpin { to { transform: rotate(360deg); } }

/* Gold orb top */
.bg-scene::after {
    content: '';
    position: absolute;
    top: -180px;
    left: 50%;
    transform: translateX(-50%);
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(245,197,24,0.18) 0%, transparent 65%);
    animation: orbPulse 5s ease-in-out infinite;
}

@keyframes orbPulse {
    0%, 100% { transform: translateX(-50%) scale(1);   opacity: 0.8; }
    50%       { transform: translateX(-50%) scale(1.2); opacity: 1; }
}

/* Gold particles */
.particles { position: fixed; inset: 0; z-index: 0; pointer-events: none; }
.particle {
    position: absolute;
    width: 2px; height: 2px;
    border-radius: 50%;
    background: var(--gold);
    animation: particleFloat linear infinite;
    opacity: 0;
}
.particle:nth-child(1)  { left:  8%; animation-duration: 10s; animation-delay: 0s;   width:3px; height:3px; }
.particle:nth-child(2)  { left: 18%; animation-duration: 14s; animation-delay: 2s; }
.particle:nth-child(3)  { left: 27%; animation-duration: 11s; animation-delay: 5s;   width:3px; height:3px; }
.particle:nth-child(4)  { left: 36%; animation-duration: 16s; animation-delay: 1s; }
.particle:nth-child(5)  { left: 47%; animation-duration: 13s; animation-delay: 7s;   width:4px; height:4px; }
.particle:nth-child(6)  { left: 58%; animation-duration: 15s; animation-delay: 3s; }
.particle:nth-child(7)  { left: 68%; animation-duration: 12s; animation-delay: 9s; }
.particle:nth-child(8)  { left: 77%; animation-duration: 17s; animation-delay: 4s;   width:3px; height:3px; }
.particle:nth-child(9)  { left: 86%; animation-duration: 10s; animation-delay: 6s; }
.particle:nth-child(10) { left: 93%; animation-duration: 14s; animation-delay: 8s; }

@keyframes particleFloat {
    0%   { transform: translateY(100vh); opacity: 0; }
    10%  { opacity: 0.7; }
    90%  { opacity: 0.4; }
    100% { transform: translateY(-80px); opacity: 0; }
}

/* ===== LAYOUT ===== */
.page-wrapper {
    position: relative; z-index: 1;
    min-height: 100dvh;
    display: flex; justify-content: center;
    padding: 36px 16px 56px;
}

.container { width: 100%; max-width: 420px; position: relative; }

/* ===== SHARE BTN ===== */
.share-btn {
    position: absolute; top: 0; right: 0;
    width: 40px; height: 40px;
    background: rgba(245,197,24,0.08);
    border: 1px solid rgba(245,197,24,0.25);
    border-radius: 50%; cursor: pointer;
    color: var(--gold); font-size: 0.85rem;
    display: flex; align-items: center; justify-content: center;
    transition: 0.3s;
}
.share-btn:hover { background: var(--gold); color: var(--navy); }

/* ===== PROFILE HEADER ===== */
.profile-header {
    text-align: center;
    padding: 48px 0 28px;
    display: flex; flex-direction: column; align-items: center; gap: 10px;
}

/* Logo with animated glow */
.logo-wrap {
    position: relative;
    width: 110px; height: 110px;
    margin-bottom: 10px;
}

.logo-glow {
    position: absolute;
    inset: -8px;
    border-radius: 50%;
    background: var(--gold);
    opacity: 0.3;
    filter: blur(14px);
    animation: logoGlow 3s ease-in-out infinite;
    z-index: 0;
}

@keyframes logoGlow {
    0%, 100% { opacity: 0.25; transform: scale(1);   }
    50%       { opacity: 0.5;  transform: scale(1.1); }
}

.logo-img {
    position: relative;
    width: 110px; height: 110px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center;
    z-index: 1;
    animation: logoPulse 4s ease-in-out infinite;
}

@keyframes logoPulse {
    0%, 100% { transform: scale(1);    filter: drop-shadow(0 0 6px var(--gold-glow)); }
    50%       { transform: scale(1.04); filter: drop-shadow(0 0 18px var(--gold-glow)); }
}

.gym-name {
    font-family: "Barlow Condensed", sans-serif;
    font-size: 2.4rem; font-weight: 900;
    text-transform: uppercase; letter-spacing: 0.02em;
    color: var(--white);
    text-shadow: 0 0 30px rgba(245,197,24,0.3);
}

.gym-tagline {
    font-family: "Barlow Condensed", sans-serif;
    font-size: 1rem; font-weight: 700;
    letter-spacing: 5px; text-transform: uppercase;
    color: var(--gold);
    animation: taglineGlow 3s ease-in-out infinite;
}

@keyframes taglineGlow {
    0%, 100% { text-shadow: 0 0 6px var(--gold-glow); }
    50%       { text-shadow: 0 0 18px var(--gold-glow), 0 0 30px rgba(245,197,24,0.3); }
}

.gym-handle { font-size: 0.85rem; color: var(--muted); }

.gym-bio {
    font-size: 0.9rem; color: rgba(255,255,255,0.72);
    line-height: 1.7; max-width: 310px;
}

/* ===== SOCIAL ICONS (TOP) with pulse ===== */
.social-row { display: flex; gap: 16px; margin-top: 6px; }

.social-icon {
    width: 50px; height: 50px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.25rem;
    position: relative;
    transition: transform 0.3s;
    text-decoration: none;
}
.social-icon:hover { transform: scale(1.15); }

/* Pulse ring */
.social-icon::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    opacity: 0;
    animation: socialPulse 2.5s ease-out infinite;
}

.si-wa  { background: #25D366; color: white; }
.si-wa::before  { border: 2px solid #25D366; animation-delay: 0s; }

.si-ig  { background: linear-gradient(135deg,#f09433,#e6683c,#dc2743,#cc2366,#bc1888); color: white; }
.si-ig::before  { border: 2px solid #e6683c; animation-delay: 0.5s; }

.si-tt  { background: #010101; border: 1px solid #333; color: white; }
.si-tt::before  { border: 2px solid #ff0050; animation-delay: 1s; }

@keyframes socialPulse {
    0%   { transform: scale(1);   opacity: 0.8; }
    100% { transform: scale(1.8); opacity: 0; }
}

/* ===== LINKS SECTION ===== */
.links-section { display: flex; flex-direction: column; gap: 13px; padding-bottom: 28px; }

/* Section divider label */
.section-label {
    font-size: 0.7rem; font-weight: 700; letter-spacing: 3px;
    text-transform: uppercase; color: var(--gold);
    opacity: 0.6; text-align: center; padding: 4px 0 0;
}

.link-btn {
    display: flex; align-items: center; gap: 14px;
    padding: 16px 20px;
    background: var(--navy-card);
    border: 1px solid rgba(245,197,24,0.18);
    border-radius: var(--radius);
    backdrop-filter: blur(14px);
    text-decoration: none;
    transition: all 0.28s cubic-bezier(0.23,1,0.32,1);
    position: relative; overflow: hidden;
}

/* shimmer sweep on hover */
.link-btn::after {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 60%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(245,197,24,0.12), transparent);
    transition: 0.5s;
    pointer-events: none;
}
.link-btn:hover::after { left: 140%; }

.link-btn:hover {
    transform: translateY(-4px);
    border-color: var(--gold);
    box-shadow: 0 12px 28px rgba(0,0,0,0.4), 0 0 18px var(--gold-glow);
}

/* Highlighted */
.highlight-btn {
    background: linear-gradient(135deg, var(--gold) 0%, #d4aa0f 100%);
    border: none;
    box-shadow: 0 6px 22px rgba(245,197,24,0.4);
}
.highlight-btn:hover {
    box-shadow: 0 14px 34px rgba(245,197,24,0.55);
}
.highlight-btn .btn-text { color: #04081F; font-weight: 800; }
.highlight-btn .btn-icon { background: rgba(0,0,0,0.12); color: #04081F; }
.highlight-btn .btn-arrow { color: rgba(4,8,31,0.5); }

/* Review special border */
.review-btn {
    border: 2px solid var(--gold);
    background: rgba(245,197,24,0.05);
}

/* Button parts */
.btn-icon {
    width: 42px; height: 42px; flex-shrink: 0;
    border-radius: 13px;
    background: rgba(245,197,24,0.1); color: var(--gold);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.1rem;
}
.btn-icon.ic-wa  { background: rgba(37,211,102,0.12); color: #25D366; }
.btn-icon.ic-ig  { background: linear-gradient(135deg,#f09433,#dc2743,#bc1888); color: white; }
.btn-icon.ic-tt  { background: rgba(255,255,255,0.07); color: white; }
.btn-icon.ic-map { background: rgba(66,133,244,0.12); color: #4a8ff7; }
.btn-icon.ic-star{ background: rgba(245,197,24,0.15); color: var(--gold); }
.btn-icon.ic-msg { background: rgba(138,110,255,0.12); color: #a78bfa; }

.btn-text { flex: 1; font-size: 0.97rem; font-weight: 600; color: var(--white); }

.btn-arrow { font-size: 0.75rem; color: var(--muted); transition: transform 0.25s; }
.link-btn:hover .btn-arrow { transform: translateX(4px); color: var(--gold); }

/* ===== FOOTER ===== */
.page-footer { text-align: center; padding: 10px 0 24px; }

.picode-badge {
    display: inline-flex; align-items: center; gap: 5px;
    font-size: 0.82rem; color: var(--muted);
    padding: 9px 20px;
    border-radius: 50px;
    border: 1px solid rgba(255,255,255,0.08);
    background: rgba(255,255,255,0.03);
    text-decoration: none;
    transition: 0.3s;
}
.picode-badge:hover { color: var(--gold); border-color: rgba(245,197,24,0.3); }
.picode-badge b { color: var(--gold); }
.picode-badge .heart { color: #f43f5e; }