:root {
    --color-background: #080606;
    --color-surface: rgba(17, 16, 16, 0.82);
    --color-surface-strong: rgba(9, 8, 8, 0.92);
    --color-text: #f4eee7;
    --color-muted: #b8aaa0;
    --color-metal: #9a9a9a;
    --color-accent: #ff6a00;
    --color-accent-hot: #ffd166;
    --color-border: rgba(255, 106, 0, 0.32);
    --shadow-soft: 0 24px 80px rgba(0, 0, 0, 0.7);
    font-family: "Poppins", sans-serif;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    min-height: 100vh;
    color: var(--color-text);
    background:
        radial-gradient(circle at 18% 18%, rgba(255, 106, 0, 0.34), transparent 22rem),
        radial-gradient(circle at 84% 72%, rgba(255, 209, 102, 0.16), transparent 24rem),
        linear-gradient(90deg, rgba(0, 0, 0, 0.9), rgba(10, 8, 7, 0.72) 48%, rgba(0, 0, 0, 0.9)),
        url("images/background.jpg") center / cover fixed,
        var(--color-background);
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
    background-size: 72px 72px;
    mix-blend-mode: overlay;
}

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

.profile-page {
    width: min(1120px, calc(100% - 32px));
    min-height: 100vh;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
    gap: clamp(24px, 5vw, 72px);
    align-items: center;
    padding: clamp(32px, 7vw, 88px) 0;
}

/* Perfil contenido */
@property --angle {
    syntax: "<angle>";
    initial-value: 0deg;
    inherits: false;
}

.profile-content {
    display: grid;
    gap: 42px;
    padding: clamp(22px, 4vw, 42px);
    border: 1px solid rgba(255, 106, 0, 0.18);
    border-radius: 8px;
    background: linear-gradient(145deg, rgba(13, 12, 12, 0.9), rgba(31, 28, 26, 0.72));
    box-shadow: var(--shadow-soft), inset 0 0 0 1px rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(4px);
}

.profile-content::before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: -3px;
    border-radius: inherit;

    background: conic-gradient(
        from var(--angle),
        transparent 0deg,
        transparent 250deg,
        #ff0000 280deg,
        #ff5e00 305deg,
        #ffd000 325deg,
        #ffffff 335deg,
        #ff5e00 345deg,
        transparent 360deg
    );

    animation: fireWalk 2s linear infinite;
}

/* fin Perfil contenido */

/* Mantiene limpio el interior */
.profile-content::after {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 2px;
    border-radius: 12px;
    background: #111;
}

@keyframes fireWalk {
    from {
        --angle: 0deg;
    }

    to {
        --angle: 360deg;
    }
}


.eyebrow {
    margin: 0 0 12px;
    color: var(--color-accent);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0;
    text-shadow: 0 0 18px rgba(255, 106, 0, 0.72);
    text-transform: uppercase;
}

h1,
h2,
p {
    margin-top: 0;
}

h1 {
    max-width: 680px;
    margin-bottom: 18px;
    font-size: clamp(3rem, 9vw, 6.8rem);
    line-height: 0.9;
    letter-spacing: 0;
    text-shadow:
        0 0 20px rgba(255, 106, 0, 0.28),
        0 4px 0 rgba(0, 0, 0, 0.62);
}

.summary {
    max-width: 560px;
    margin-bottom: 0;
    color: var(--color-muted);
    font-weight: 300;
    font-size: clamp(1rem, 2vw, 1.18rem);
    line-height: 1.7;
}

.social-section {
    display: grid;
    gap: 18px;
}

.social-section h2 {
    margin-bottom: 0;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0;
    text-transform: uppercase;
    color: var(--color-metal);
}

.social-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.social-link {
    min-height: 92px;
    display: grid;
    align-content: center;
    gap: 6px;
    padding: 18px;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.08), transparent 28%),
        linear-gradient(145deg, rgba(28, 27, 27, 0.92), rgba(8, 8, 8, 0.92));
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.46), inset 0 1px 0 rgba(255, 255, 255, 0.08);
    transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.social-link:hover,
.social-link:focus-visible {
    border-color: rgba(255, 209, 102, 0.8);
    background:
        linear-gradient(135deg, rgba(255, 106, 0, 0.28), transparent 34%),
        linear-gradient(145deg, rgba(33, 28, 25, 0.96), rgba(9, 8, 8, 0.96));
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.58), 0 0 30px rgba(255, 106, 0, 0.24);
    transform: translateY(-3px);
    outline: none;
}

.social-name {
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-text);
}

.social-handle {
    color: var(--color-muted);
    font-weight: 300;
    font-size: 0.88rem;
}

.photo-panel {
    align-self: stretch;
    min-height: min(680px, 78vh);
    display: flex;
    align-items: start;
}

.photo-placeholder {
    width: 100%;
    min-height: 420px;
    position: relative;
    display: grid;
    align-items: start;
    justify-items: center;
    overflow: hidden;
    border: 0;
    border-radius: 0;
    background:
        radial-gradient(circle at 52% 28%, rgba(255, 106, 0, 0.42), transparent 30%),
        radial-gradient(circle at 50% 46%, rgba(255, 209, 102, 0.16), transparent 34%),
        linear-gradient(180deg, transparent 0%, rgba(7, 6, 6, 0.72) 100%);
    filter: drop-shadow(0 28px 70px rgba(0, 0, 0, 0.8));
}

.photo-placeholder::before {
    content: "";
    position: absolute;
    inset: 12% 8% 0;
    z-index: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(255, 106, 0, 0.22), rgba(0, 0, 0, 0));
    clip-path: polygon(18% 0, 100% 0, 82% 100%, 0 100%);
    opacity: 0.58;
}

.photo-placeholder img {
    width: min(100%, 520px);
    height: auto;
    display: block;
    position: relative;
    z-index: 1;
    object-fit: contain;
    object-position: top center;
    filter: contrast(1.08) saturate(1.08) drop-shadow(0 0 28px rgba(255, 106, 0, 0.18));
    transform: scaleX(-1);
}

@media (max-width: 800px) {
    .profile-page {
        grid-template-columns: 1fr;
        align-items: start;
    }

    .photo-panel {
        min-height: 0;
        order: -1;
    }

    .photo-placeholder {
        min-height: 360px;
    }
}

@media (max-width: 560px) {
    .profile-page {
        width: min(100% - 24px, 1120px);
        padding: 24px 0 40px;
    }

    .profile-content {
        gap: 32px;
    }

    .social-grid {
        grid-template-columns: 1fr;
    }

    .social-link {
        min-height: 82px;
    }
}
