:root {
    --yellow: #ffcc00;
    --yellow-soft: #ffe27a;
    --yellow-dark: #b99100;
    --dark: #090b10;
    --dark-2: #10141d;
    --dark-3: #171d28;
    --text: #f6f7fb;
    --muted: #b9c0cf;
    --line: rgba(255, 255, 255, 0.12);
    --card: rgba(255, 255, 255, 0.07);
    --card-strong: rgba(255, 255, 255, 0.11);
    --shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
    --radius-lg: 28px;
    --radius-md: 20px;
    --radius-sm: 14px;
    --container: 1180px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    font-family: 'Inter', Arial, sans-serif;
    background:
        radial-gradient(circle at top left, rgba(255, 204, 0, 0.18), transparent 28rem),
        radial-gradient(circle at 80% 10%, rgba(255, 255, 255, 0.08), transparent 22rem),
        linear-gradient(135deg, #080a0f 0%, #111723 45%, #080a0f 100%);
    color: var(--text);
    line-height: 1.7;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: linear-gradient(to bottom, rgba(0,0,0,.8), transparent 75%);
}

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

img {
    display: block;
    max-width: 100%;
}

.container {
    width: min(var(--container), calc(100% - 40px));
    margin-inline: auto;
}

.section-shell {
    padding: 96px 0;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(9, 11, 16, 0.78);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--line);
}

.navbar {
    min-height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.brand-mark {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--yellow), var(--yellow-soft));
    color: #151515;
    box-shadow: 0 12px 30px rgba(255, 204, 0, 0.22);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
}

.nav-links a {
    padding: 9px 16px;
    border-radius: 999px;
    color: var(--muted);
    font-size: 0.92rem;
    font-weight: 600;
    transition: 0.25s ease;
}

.nav-links a:hover {
    color: #151515;
    background: var(--yellow);
}

.hero {
    min-height: calc(100vh - 78px);
    display: flex;
    align-items: center;
    padding-top: 72px;
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
    align-items: center;
    gap: 56px;
}

.eyebrow,
.section-kicker,
.project-tag,
.availability {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: fit-content;
    border: 1px solid rgba(255, 204, 0, 0.32);
    border-radius: 999px;
    background: rgba(255, 204, 0, 0.10);
    color: var(--yellow-soft);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.eyebrow,
.section-kicker,
.availability {
    padding: 8px 12px;
}

.hero h1 {
    margin-top: 24px;
    max-width: 790px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(3.1rem, 8vw, 6.7rem);
    line-height: 0.95;
    letter-spacing: -0.07em;
}

.hero-subtitle {
    max-width: 680px;
    margin-top: 26px;
    color: var(--muted);
    font-size: clamp(1.02rem, 2vw, 1.25rem);
}

.hero-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 34px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 52px;
    padding: 0 22px;
    border-radius: 999px;
    font-weight: 800;
    transition: 0.25s ease;
}

.btn-primary {
    background: linear-gradient(135deg, var(--yellow), var(--yellow-soft));
    color: #141414;
    box-shadow: 0 18px 42px rgba(255, 204, 0, 0.22);
}

.btn-secondary {
    color: var(--text);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--line);
}

.btn:hover,
.project-link:hover,
.contact-card:hover {
    transform: translateY(-4px);
}

.quick-info {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    max-width: 710px;
    margin-top: 42px;
}

.quick-info div {
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.055);
}

.quick-info strong,
.quick-info span {
    display: block;
}

.quick-info strong {
    font-size: 1.05rem;
    color: var(--text);
}

.quick-info span {
    margin-top: 4px;
    color: var(--muted);
    font-size: 0.9rem;
}

.profile-card {
    position: relative;
    isolation: isolate;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 36px;
    background: linear-gradient(180deg, rgba(255,255,255,.12), rgba(255,255,255,.05));
    box-shadow: var(--shadow);
    overflow: hidden;
}

.profile-card::before {
    content: '';
    position: absolute;
    inset: 14px;
    z-index: -1;
    border: 1px solid rgba(255, 204, 0, 0.22);
    border-radius: 28px;
}

.profile-glow {
    position: absolute;
    width: 240px;
    height: 240px;
    top: -60px;
    right: -70px;
    border-radius: 50%;
    background: rgba(255, 204, 0, 0.18);
    filter: blur(12px);
    z-index: -1;
}

.foto-perfil {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    object-position: 50% 38%;
    border-radius: 28px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    filter: saturate(1.02) contrast(1.03);
}

.profile-info {
    margin-top: 18px;
    padding: 20px;
    border-radius: 24px;
    background: rgba(0, 0, 0, 0.28);
    border: 1px solid var(--line);
}

.availability {
    color: #ccffda;
    border-color: rgba(112, 255, 149, 0.22);
    background: rgba(112, 255, 149, 0.08);
    letter-spacing: 0;
    text-transform: none;
    font-size: 0.82rem;
}

.availability i {
    color: #57ff85;
    font-size: 0.5rem;
}

.profile-info h2 {
    margin-top: 14px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.55rem;
}

.profile-info p {
    margin-top: 4px;
    color: var(--muted);
    font-size: 0.95rem;
}

.two-columns {
    display: grid;
    grid-template-columns: 0.85fr 1.35fr;
    gap: 54px;
    align-items: start;
}

.section-heading h2 {
    margin-top: 14px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(2.2rem, 5vw, 4rem);
    line-height: 1;
    letter-spacing: -0.05em;
}

.section-heading p,
.about-text p {
    color: var(--muted);
    font-size: 1.04rem;
}

.section-heading.center {
    max-width: 720px;
    margin: 0 auto 42px;
    text-align: center;
}

.section-heading.center .section-kicker {
    margin-inline: auto;
}

.section-heading.center p {
    margin-top: 16px;
}

.about-text {
    padding: 34px;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: var(--card);
    box-shadow: 0 18px 60px rgba(0, 0, 0, 0.22);
}

.about-text p + p {
    margin-top: 18px;
}

.highlights-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-top: 28px;
}

.highlight-card,
.skill-panel,
.project-card,
.contact-card {
    border: 1px solid var(--line);
    background: var(--card);
    box-shadow: 0 18px 60px rgba(0, 0, 0, 0.20);
}

.highlight-card,
.skill-panel {
    padding: 28px;
    border-radius: var(--radius-lg);
}

.highlight-card i,
.skill-panel i,
.contact-card i {
    width: 48px;
    height: 48px;
    display: inline-grid;
    place-items: center;
    border-radius: 16px;
    background: rgba(255, 204, 0, 0.12);
    color: var(--yellow);
    font-size: 1.15rem;
}

.highlight-card h3,
.skill-panel h3,
.project-content h3 {
    margin-top: 18px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.35rem;
    letter-spacing: -0.03em;
}

.highlight-card p {
    margin-top: 10px;
    color: var(--muted);
}

.skills {
    background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.035), transparent);
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.skill-panel h3 {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 0;
}

.skill-panel i {
    flex: 0 0 auto;
}

.skill-panel ul {
    margin-top: 18px;
    list-style: none;
}

.skill-panel li {
    position: relative;
    padding: 11px 0 11px 26px;
    color: var(--muted);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.skill-panel li:last-child {
    border-bottom: 0;
}

.skill-panel li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 21px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--yellow);
    box-shadow: 0 0 0 5px rgba(255, 204, 0, 0.12);
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.project-card {
    display: flex;
    flex-direction: column;
    border-radius: 30px;
    overflow: hidden;
    transition: 0.28s ease;
}

.project-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 204, 0, 0.42);
}

.project-preview {
    min-height: 245px;
    background: #0f131c;
    border-bottom: 1px solid var(--line);
}

.browser-bar {
    height: 38px;
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 0 16px;
    background: rgba(255, 255, 255, 0.08);
}

.browser-bar span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.32);
}

.project-preview iframe {
    display: block;
    width: 100%;
    height: 207px;
    border: 0;
    background: #fff;
}

.project-content {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 24px;
}

.project-tag {
    padding: 6px 10px;
    color: var(--yellow);
    font-size: 0.72rem;
}

.project-content h3 {
    font-size: 1.55rem;
}

.project-content p {
    margin-top: 12px;
    color: var(--muted);
}

.project-link {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    width: fit-content;
    margin-top: auto;
    padding-top: 22px;
    color: var(--yellow-soft);
    font-weight: 800;
    transition: 0.25s ease;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 0.72fr 1.28fr;
    gap: 42px;
    align-items: center;
    padding: 38px;
    border: 1px solid var(--line);
    border-radius: 36px;
    background: linear-gradient(135deg, rgba(255, 204, 0, 0.12), rgba(255, 255, 255, 0.05));
    box-shadow: var(--shadow);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.contact-card {
    display: grid;
    gap: 10px;
    min-height: 166px;
    padding: 22px;
    border-radius: 24px;
    transition: 0.25s ease;
    overflow-wrap: anywhere;
}

.contact-card:hover {
    background: var(--card-strong);
    border-color: rgba(255, 204, 0, 0.42);
}

.contact-card span {
    color: var(--muted);
    font-size: 0.92rem;
    font-weight: 700;
}

.contact-card strong {
    color: var(--text);
    font-size: 1rem;
    line-height: 1.35;
}

.site-footer {
    border-top: 1px solid var(--line);
    background: rgba(0, 0, 0, 0.28);
}

.footer-content {
    min-height: 92px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    color: var(--muted);
    font-size: 0.94rem;
}

.footer-content a {
    color: var(--yellow-soft);
    font-weight: 800;
}

@media (max-width: 1050px) {
    .hero-grid,
    .two-columns,
    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .hero {
        min-height: auto;
    }

    .profile-card {
        max-width: 540px;
        margin-inline: auto;
    }

    .project-grid,
    .skills-grid,
    .highlights-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 760px) {
    .container {
        width: min(100% - 28px, var(--container));
    }

    .section-shell {
        padding: 72px 0;
    }

    .navbar {
        min-height: auto;
        padding: 16px 0;
        align-items: flex-start;
        flex-direction: column;
    }

    .nav-links {
        width: 100%;
        justify-content: flex-start;
        overflow-x: auto;
        border-radius: 18px;
    }

    .nav-links a {
        white-space: nowrap;
    }

    .hero-grid {
        gap: 34px;
    }

    .quick-info,
    .project-grid,
    .skills-grid,
    .highlights-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .hero-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    .about-text,
    .contact-wrapper {
        padding: 24px;
        border-radius: 26px;
    }

    .project-preview {
        min-height: 220px;
    }

    .project-preview iframe {
        height: 182px;
    }

    .footer-content {
        align-items: flex-start;
        flex-direction: column;
        justify-content: center;
        padding: 24px 0;
    }
}

@media (max-width: 430px) {
    .hero h1 {
        font-size: 3.1rem;
    }

    .section-heading h2 {
        font-size: 2.2rem;
    }

    .profile-info,
    .project-content,
    .highlight-card,
    .skill-panel,
    .contact-card {
        padding: 20px;
    }
}

.profile-photo-frame {
    position: relative;
    isolation: isolate;
    margin-top: 4px;
}

.profile-photo-frame::before {
    content: '';
    position: absolute;
    inset: 24px -12px -16px 22px;
    z-index: 1;
    border: 1px solid rgba(255, 204, 0, 0.34);
    border-radius: 30px;
    background:
        linear-gradient(135deg, rgba(255, 204, 0, 0.14), rgba(255, 255, 255, 0.04)),
        rgba(0, 0, 0, 0.18);
    clip-path: polygon(0 0, 90% 0, 100% 10%, 100% 100%, 10% 100%, 0 90%);
    transform: rotate(1.2deg);
}

.profile-photo-frame::after {
    content: '';
    position: absolute;
    inset: -8px;
    z-index: 4;
    pointer-events: none;
    border-radius: 32px;
    background: repeating-linear-gradient(
        180deg,
        rgba(255, 204, 0, 0.08) 0,
        rgba(255, 204, 0, 0.08) 1px,
        transparent 1px,
        transparent 12px
    );
    mix-blend-mode: screen;
    opacity: 0.45;
}

.profile-photo-frame .foto-perfil {
    position: relative;
    z-index: 3;
    transform: translate(-6px, -8px);
    box-shadow:
        20px 24px 60px rgba(0, 0, 0, 0.38),
        0 0 34px rgba(255, 204, 0, 0.18);
}

.binary-code {
    position: absolute;
    z-index: 5;
    padding: 6px 9px;
    border: 1px solid rgba(255, 204, 0, 0.28);
    border-radius: 999px;
    background: rgba(9, 11, 16, 0.72);
    color: var(--yellow-soft);
    font-family: 'Space Grotesk', monospace;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.32);
    backdrop-filter: blur(10px);
}

.binary-code-1 {
    top: 18px;
    left: -18px;
    transform: rotate(-8deg);
}

.binary-code-2 {
    right: -20px;
    top: 44%;
    transform: rotate(7deg);
}

.binary-code-3 {
    bottom: 48px;
    left: -14px;
    transform: rotate(6deg);
}

.screen-cut {
    position: absolute;
    z-index: 5;
    display: block;
    border-radius: 999px;
    background: linear-gradient(90deg, transparent, var(--yellow), transparent);
    box-shadow: 0 0 18px rgba(255, 204, 0, 0.52);
}

.cut-1 {
    width: 112px;
    height: 3px;
    top: 22px;
    right: 34px;
}

.cut-2 {
    width: 3px;
    height: 112px;
    right: 22px;
    bottom: 66px;
    background: linear-gradient(180deg, transparent, var(--yellow), transparent);
}

.suggestions {
    padding-top: 32px;
}

.suggestions-wrapper {
    padding: 38px;
    border: 1px solid var(--line);
    border-radius: 36px;
    background: linear-gradient(135deg, rgba(255, 204, 0, 0.10), rgba(255, 255, 255, 0.045));
    box-shadow: var(--shadow);
}

.suggestion-board {
    display: grid;
    grid-template-columns: minmax(280px, 0.82fr) minmax(320px, 1.18fr);
    gap: 24px;
    margin-top: 34px;
}

.suggestion-form {
    display: grid;
    gap: 12px;
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: 28px;
    background: rgba(0, 0, 0, 0.26);
}

.suggestion-form label {
    color: var(--yellow-soft);
    font-size: 0.84rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.suggestion-form input,
.suggestion-form textarea {
    width: 100%;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    outline: none;
    background: rgba(255, 255, 255, 0.07);
    color: var(--text);
    font: inherit;
    padding: 14px 16px;
    transition: 0.25s ease;
}

.suggestion-form textarea {
    resize: vertical;
    min-height: 132px;
}

.suggestion-form input::placeholder,
.suggestion-form textarea::placeholder {
    color: rgba(246, 247, 251, 0.46);
}

.suggestion-form input:focus,
.suggestion-form textarea:focus {
    border-color: rgba(255, 204, 0, 0.56);
    box-shadow: 0 0 0 4px rgba(255, 204, 0, 0.10);
}

.suggestion-form .btn {
    margin-top: 8px;
    border: 0;
    cursor: pointer;
}

.postit-wall {
    position: relative;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-content: start;
    gap: 20px;
    min-height: 420px;
    padding: 28px;
    border: 10px solid rgba(88, 55, 24, 0.92);
    border-radius: 28px;
    background:
        radial-gradient(circle at 20% 20%, rgba(255, 204, 0, 0.12) 0 2px, transparent 3px),
        radial-gradient(circle at 80% 60%, rgba(255, 255, 255, 0.08) 0 1px, transparent 3px),
        linear-gradient(135deg, #4a2b17, #2c1a10);
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.08),
        inset 0 18px 50px rgba(0, 0, 0, 0.32),
        0 18px 60px rgba(0, 0, 0, 0.24);
    overflow: hidden;
}

.postit-wall::before {
    content: '';
    position: absolute;
    inset: 14px;
    pointer-events: none;
    border: 1px dashed rgba(255, 255, 255, 0.15);
    border-radius: 18px;
}

.postit-note,
.empty-postit {
    position: relative;
    z-index: 1;
    min-height: 150px;
    padding: 30px 18px 18px;
    border-radius: 10px 10px 18px 10px;
    background: linear-gradient(160deg, #fff1a8, #ffd95e);
    color: #25210f;
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.24);
    transform: rotate(var(--rotation, -2deg));
    transform-origin: top center;
}

.postit-note:nth-child(even) {
    background: linear-gradient(160deg, #fff7c7, #ffe985);
}

.postit-note strong,
.empty-postit strong {
    display: block;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.02rem;
    letter-spacing: -0.02em;
}

.postit-note p,
.empty-postit p {
    margin-top: 10px;
    color: rgba(37, 33, 15, 0.82);
    font-size: 0.95rem;
    line-height: 1.45;
    overflow-wrap: anywhere;
}

.pin {
    position: absolute;
    top: 10px;
    left: 50%;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 35%, #fff, #ff3d3d 35%, #8d0000 72%);
    box-shadow:
        0 5px 8px rgba(0, 0, 0, 0.32),
        0 0 0 4px rgba(0, 0, 0, 0.08);
    transform: translateX(-50%);
}

.suggestion-frame {
    position: absolute;
    width: 1px;
    height: 1px;
    border: 0;
    opacity: 0;
    pointer-events: none;
}

@media (max-width: 1050px) {
    .suggestion-board {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 760px) {
    .suggestions-wrapper {
        padding: 24px;
        border-radius: 26px;
    }

    .postit-wall {
        grid-template-columns: 1fr;
        min-height: 320px;
        padding: 22px;
        border-width: 8px;
    }

    .binary-code {
        font-size: 0.66rem;
    }

    .binary-code-1,
    .binary-code-3 {
        left: 0;
    }

    .binary-code-2 {
        right: 0;
    }
}

.profile-photo-frame {
    transition: transform 0.32s ease, filter 0.32s ease;
}

.profile-photo-frame:hover {
    transform: translateY(-6px) scale(1.015);
    filter: drop-shadow(0 0 24px rgba(255, 204, 0, 0.32));
}

.profile-photo-frame:hover .foto-perfil {
    filter: saturate(1.16) contrast(1.08) brightness(1.09);
    box-shadow:
        24px 28px 70px rgba(0, 0, 0, 0.46),
        0 0 44px rgba(255, 204, 0, 0.36),
        0 0 90px rgba(255, 204, 0, 0.16);
}

.profile-photo-frame:hover::before {
    border-color: rgba(255, 204, 0, 0.68);
    box-shadow: 0 0 36px rgba(255, 204, 0, 0.18);
}

.profile-photo-frame:hover::after {
    opacity: 0.75;
    animation: photoScan 1.45s linear infinite;
}

.profile-shine {
    position: absolute;
    inset: -22%;
    z-index: 7;
    pointer-events: none;
    border-radius: 34px;
    background: linear-gradient(115deg, transparent 31%, rgba(255, 255, 255, 0.46) 47%, rgba(255, 204, 0, 0.24) 52%, transparent 68%);
    mix-blend-mode: screen;
    opacity: 0;
    transform: translateX(-78%) rotate(8deg);
}

.profile-photo-frame:hover .profile-shine {
    animation: shinePass 1.15s ease;
}

.binary-particle,
.binary-spark {
    position: absolute;
    z-index: 8;
    pointer-events: none;
    font-family: 'Space Grotesk', monospace;
    font-weight: 800;
    letter-spacing: 0.12em;
    color: var(--yellow-soft);
    text-shadow:
        0 0 8px rgba(255, 204, 0, 0.9),
        0 0 18px rgba(255, 204, 0, 0.45);
}

.binary-particle {
    left: 50%;
    top: 50%;
    padding: 5px 8px;
    border: 1px solid rgba(255, 204, 0, 0.24);
    border-radius: 999px;
    background: rgba(9, 11, 16, 0.62);
    backdrop-filter: blur(8px);
    font-size: 0.68rem;
    opacity: 0;
    animation: binaryFloat var(--float-time, 4.8s) ease-in-out infinite;
    animation-delay: var(--delay, 0s);
}

.particle-1 { --float-x: -138px; --float-y: -118px; --delay: 0s; --float-time: 5.1s; }
.particle-2 { --float-x: 142px; --float-y: -104px; --delay: .55s; --float-time: 4.7s; }
.particle-3 { --float-x: -164px; --float-y: 6px; --delay: 1.1s; --float-time: 5.4s; }
.particle-4 { --float-x: 158px; --float-y: 28px; --delay: 1.65s; --float-time: 4.9s; }
.particle-5 { --float-x: -118px; --float-y: 122px; --delay: 2.2s; --float-time: 5.2s; }
.particle-6 { --float-x: 126px; --float-y: 132px; --delay: 2.75s; --float-time: 4.6s; }
.particle-7 { --float-x: 8px; --float-y: -148px; --delay: 3.1s; --float-time: 5.5s; }
.particle-8 { --float-x: 10px; --float-y: 150px; --delay: 3.6s; --float-time: 4.8s; }

.binary-spark {
    font-size: 0.84rem;
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.35);
    animation: sparkBurst 1.3s ease-out forwards;
}

@keyframes binaryFloat {
    0% {
        transform: translate(-50%, -50%) translate(0, 0) scale(0.45) rotate(-8deg);
        opacity: 0;
    }

    18% {
        opacity: 1;
    }

    72% {
        opacity: 0.9;
    }

    100% {
        transform: translate(-50%, -50%) translate(var(--float-x), var(--float-y)) scale(1.05) rotate(10deg);
        opacity: 0;
    }
}

@keyframes sparkBurst {
    0% {
        opacity: 0;
        transform: translate(-50%, -50%) translate(0, 0) scale(0.35) rotate(0deg);
        filter: blur(2px);
    }

    18% {
        opacity: 1;
        filter: blur(0);
    }

    100% {
        opacity: 0;
        transform: translate(-50%, -50%) translate(var(--spark-x), var(--spark-y)) scale(1.18) rotate(18deg);
        filter: blur(1px);
    }
}

@keyframes shinePass {
    0% {
        opacity: 0;
        transform: translateX(-78%) rotate(8deg);
    }

    28% {
        opacity: 1;
    }

    100% {
        opacity: 0;
        transform: translateX(78%) rotate(8deg);
    }
}

@keyframes photoScan {
    0% {
        background-position: 0 0;
    }

    100% {
        background-position: 0 24px;
    }
}

@media (max-width: 760px) {
    .binary-particle {
        font-size: 0.58rem;
    }

    .particle-1 { --float-x: -96px; --float-y: -94px; }
    .particle-2 { --float-x: 98px; --float-y: -86px; }
    .particle-3 { --float-x: -108px; --float-y: 4px; }
    .particle-4 { --float-x: 104px; --float-y: 18px; }
    .particle-5 { --float-x: -86px; --float-y: 92px; }
    .particle-6 { --float-x: 88px; --float-y: 96px; }
    .particle-7 { --float-x: 6px; --float-y: -108px; }
    .particle-8 { --float-x: 6px; --float-y: 108px; }
}

