:root {
    --bg:           #060c14;
    --card:         #0d1520;
    --card-border:  #1a2535;
    --primary:      #4ade80;
    --primary-glow: rgba(74, 222, 128, 0.1);
    --orange:       #fb923c;
    --orange-glow:  rgba(251, 146, 60, 0.15);
    --text:         #e2e8f0;
    --muted:        #64748b;
    --border:       #1e2d3d;
    --radius:       14px;
    --radius-sm:    8px;
}

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

body {
    font-family: 'Inter', sans-serif;
    background: var(--bg);
    color: var(--text);
    min-height: 100vh;
}

html, body {
    height: 100%;
    overflow-x: hidden;
}



/* ── Site shell (page + ad gutters) ────────────────────────────── */

.site-shell {
    display: grid;
    grid-template-columns: 160px 1fr 160px;
    grid-template-areas: "left main right";
    gap: 0;
}

/* Hide gutters when viewport is too narrow to fit them */
@media (max-width: 1460px) {
    .site-shell {
        grid-template-columns: 0 1fr 0;
    }
    .ad-gutter { display: none; }
}

.ad-gutter {
    padding-top: 2rem;
}

.ad-gutter-left  { grid-area: left;  display: flex; justify-content: flex-end;  padding-right: 12px; }
.ad-gutter-right { grid-area: right; display: flex; justify-content: flex-start; padding-left:  12px; }

.ad-slot-sticky {
    position: sticky;
    top: 1.5rem;
}

.page {
    grid-area: main;
    max-width: 1100px;
    width: 100%;
    margin: 0 auto;
    padding: 2rem 1.25rem 5rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

/* ── Hero ──────────────────────────────────────────────────────── */

.hero {
    text-align: center;
    padding: 3.5rem 1rem 0.5rem;
}

.hero h1 {
    font-size: clamp(2.2rem, 6vw, 4rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    color: #fff;
    line-height: 1.1;
}

.hero .arrow {
    color: var(--orange);
    display: inline-block;
    margin: 0 0.15em;
}

.tagline {
    margin-top: 1rem;
    color: var(--muted);
    font-size: 1rem;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

/* ── Main grid ─────────────────────────────────────────────────── */

.main-grid {
    display: grid;
    grid-template-columns: 360px 1fr;
    gap: 1.25rem;
    align-items: stretch;
}

@media (max-width: 800px) {
    .main-grid { grid-template-columns: 1fr; }
}

/* ── Card base ─────────────────────────────────────────────────── */

.card {
    background: var(--card);
    border: 1px solid var(--card-border);
    border-radius: var(--radius);
    padding: 1.5rem;
}

/* ── Settings card ─────────────────────────────────────────────── */

.settings-card {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
    overflow: hidden;
}

.step-block {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.step-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    font-size: 0.9rem;
    color: #fff;
    letter-spacing: 0.01em;
}

.step-badge {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--primary);
    color: #000;
    font-size: 0.65rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.opt-tag {
    font-size: 0.68rem;
    color: var(--muted);
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    margin-left: 0.1rem;
}

/* ── Upload zone ───────────────────────────────────────────────── */

.upload-zone {
    display: block;
    border: 2px dashed var(--border);
    border-radius: var(--radius-sm);
    padding: 1.75rem 1rem;
    text-align: center;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s;
    user-select: none;
}

.upload-zone:hover,
.upload-zone.dragover {
    border-color: var(--primary);
    background: var(--primary-glow);
}

.upload-zone input { display: none; }

.upload-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
    pointer-events: none;
}

.upload-icon {
    font-size: 1.6rem;
    opacity: 0.5;
    margin-bottom: 0.2rem;
}

.upload-primary {
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--text);
}

.upload-secondary {
    font-size: 0.78rem;
    color: var(--muted);
}

/* ── Username loader ───────────────────────────────────────────── */

.or-divider {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: var(--muted);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.07em;
}

.or-divider::before,
.or-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border);
}

.username-row {
    display: flex;
    gap: 0.5rem;
}

.mc-username-input {
    flex: 1;
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text);
    font-family: inherit;
    font-size: 0.85rem;
    padding: 0.5rem 0.75rem;
    outline: none;
    transition: border-color 0.15s, background 0.15s;
    min-width: 0;
}

.mc-username-input::placeholder { color: var(--muted); }

.mc-username-input:focus {
    border-color: var(--primary);
    background: var(--primary-glow);
}

.load-skin-btn {
    padding: 0.5rem 0.9rem;
    border: none;
    border-radius: var(--radius-sm);
    background: var(--primary);
    color: #000;
    font-family: inherit;
    font-size: 0.82rem;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.15s, transform 0.1s;
    flex-shrink: 0;
}

.load-skin-btn:hover:not(:disabled) {
    background: #22c55e;
    transform: translateY(-1px);
}

.load-skin-btn:disabled {
    background: var(--card-border);
    color: var(--muted);
    cursor: not-allowed;
    transform: none;
}

.username-error {
    font-size: 0.78rem;
    color: #ef4444;
    padding: 0.25rem 0.1rem;
}

/* ── Skin preview row ──────────────────────────────────────────── */

.skin-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 0.5rem 0.75rem;
}

.skin-thumb {
    width: 36px;
    height: 36px;
    image-rendering: pixelated;
    border-radius: 4px;
    background: #000;
    flex-shrink: 0;
}

.skin-name {
    flex: 1;
    font-size: 0.82rem;
    color: var(--muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.remove-btn {
    background: none;
    border: none;
    color: var(--muted);
    cursor: pointer;
    font-size: 0.9rem;
    line-height: 1;
    padding: 0.25rem 0.35rem;
    border-radius: 4px;
    transition: color 0.15s, background 0.15s;
    flex-shrink: 0;
}

.remove-btn:hover {
    color: #ef4444;
    background: rgba(239, 68, 68, 0.1);
}

/* ── Skin type selector ────────────────────────────────────────── */

.type-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
}

.type-opt {
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 0.75rem 1rem;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    transition: border-color 0.15s, background 0.15s;
}

.type-opt input { display: none; }

.type-opt strong {
    font-size: 0.9rem;
    color: #fff;
    font-weight: 600;
}

.type-opt small {
    font-size: 0.73rem;
    color: var(--muted);
}

.type-opt.selected {
    border-color: var(--primary);
    background: var(--primary-glow);
}

.type-opt.selected strong {
    color: var(--primary);
}

/* ── Toggle switches ───────────────────────────────────────────── */

.overlay-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.25rem 0.5rem;
}

.sw {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    cursor: pointer;
    font-size: 0.83rem;
    color: var(--text);
    padding: 0.4rem 0.5rem;
    border-radius: 6px;
    transition: background 0.15s;
    user-select: none;
}

.sw:hover { background: rgba(255,255,255,0.04); }

.sw input { display: none; }

.sw-track {
    position: relative;
    width: 34px;
    height: 18px;
    border-radius: 9px;
    background: var(--border);
    border: 1px solid #253545;
    flex-shrink: 0;
    transition: background 0.2s, border-color 0.2s;
}

.sw-track::after {
    content: '';
    position: absolute;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--muted);
    top: 2px;
    left: 2px;
    transition: transform 0.2s, background 0.2s;
}

.sw input:checked ~ .sw-track {
    background: rgba(74, 222, 128, 0.2);
    border-color: var(--primary);
}

.sw input:checked ~ .sw-track::after {
    transform: translateX(16px);
    background: var(--primary);
}

/* ── Background toggle ─────────────────────────────────────────── */

.bg-toggle-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}

.bg-toggle-label {
    font-size: 0.83rem;
    color: var(--text);
}

.bg-toggle {
    display: flex;
    border: 1px solid var(--border);
    border-radius: 6px;
    overflow: hidden;
    flex-shrink: 0;
}

.bg-opt {
    padding: 0.3rem 0.75rem;
    font-size: 0.78rem;
    font-weight: 500;
    background: transparent;
    border: none;
    color: var(--muted);
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
    white-space: nowrap;
}

.bg-opt:not(:last-child) {
    border-right: 1px solid var(--border);
}

.bg-opt.active {
    background: rgba(74, 222, 128, 0.12);
    color: var(--primary);
}

/* ── Convert button ────────────────────────────────────────────── */

.convert-btn {
    width: 100%;
    padding: 0.875rem;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    background: linear-gradient(135deg, var(--orange) 0%, #ef4444 100%);
    color: #fff;
    letter-spacing: 0.03em;
    transition: opacity 0.2s, transform 0.15s, box-shadow 0.2s;
    box-shadow: 0 4px 20px rgba(251, 146, 60, 0.25);
}

.convert-btn:hover:not(:disabled) {
    opacity: 0.92;
    transform: translateY(-1px);
    box-shadow: 0 6px 24px rgba(251, 146, 60, 0.35);
}

.convert-btn:disabled {
    background: var(--card-border);
    color: var(--muted);
    cursor: not-allowed;
    box-shadow: none;
    transform: none;
}

/* ── Viewer card ───────────────────────────────────────────────── */

.viewer-card {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    min-height: 500px;
    overflow: hidden;
}

.viewer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-shrink: 0;
    gap: 0.5rem;
    flex-wrap: wrap;
}

/* Tabs */
.viewer-tabs {
    display: flex;
    gap: 0.2rem;
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 0.2rem;
}

.vtab {
    background: none;
    border: none;
    border-radius: 6px;
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 600;
    padding: 0.28rem 0.7rem;
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
    white-space: nowrap;
}

.vtab:hover { color: var(--text); }

.vtab.active {
    background: var(--card-border);
    color: #fff;
}

/* Avatar select */
.avatar-select {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 6px;
    color: var(--text);
    font-size: 0.78rem;
    font-weight: 500;
    padding: 0.28rem 0.55rem;
    cursor: pointer;
    outline: none;
    transition: border-color 0.15s;
}

.avatar-select:hover { border-color: var(--primary); }

.viewer-controls {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.viewer-hint {
    font-size: 0.75rem;
    color: var(--muted);
}

.rotate-btn {
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--border);
    border-radius: 6px;
    color: var(--muted);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.3rem 0.65rem;
    cursor: pointer;
    transition: background 0.15s, color 0.15s, border-color 0.15s;
    letter-spacing: 0.02em;
    line-height: 1;
}

.rotate-btn:hover {
    background: rgba(255,255,255,0.09);
    color: var(--text);
}

.rotate-btn.active {
    background: var(--primary-glow);
    border-color: var(--primary);
    color: var(--primary);
}

.viewer-body {
    position: relative;
    flex: 1;
    min-height: 420px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    background: #020912;
}

.viewer-empty {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    background: #020912;
    transition: opacity 0.35s ease;
    border-radius: var(--radius-sm);
}

.viewer-empty.gone {
    opacity: 0;
    pointer-events: none;
}

.viewer-placeholder {
    text-align: center;
    color: var(--muted);
}

.placeholder-logo-wrap {
    position: relative;
    display: inline-block;
    margin-bottom: 0.75rem;
    width: 50%;
}

.placeholder-img {
    display: block;
    height: auto;
    width: 100%;
    opacity: 0.7;
    image-rendering: pixelated;
}

.placeholder-loading {
    position: absolute;
    inset: 0;
}

.placeholder-loading.hidden { display: none; }

.pl-cube,
.pl-arrow {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    image-rendering: pixelated;
}

.pl-arrow {
    animation: spin-arrow 1.2s linear infinite;
    transform-origin: center center;
}

.viewer-placeholder p {
    font-size: 0.9rem;
    line-height: 1.7;
    color: var(--muted);
}

#skin_container,
#roblox_container {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
}

/* ── Palette card ──────────────────────────────────────────────── */

.palette-card {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.palette-hint {
    font-size: 0.8rem;
    color: var(--muted);
    margin-top: -0.4rem;
}

.palette-actions {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.palette-filter-sw {
    font-size: 0.78rem;
    color: var(--muted);
}

.palette-action-btn {
    background: none;
    border: 1px solid var(--border);
    border-radius: 5px;
    color: var(--muted);
    font-size: 0.75rem;
    padding: 0.2rem 0.6rem;
    cursor: pointer;
    transition: color 0.15s, border-color 0.15s;
}

.palette-action-btn:hover {
    color: var(--text);
    border-color: var(--muted);
}

.palette-swatches {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.swatch {
    width: 28px;
    height: 28px;
    border-radius: 4px;
    cursor: pointer;
    border: 2px solid transparent;
    position: relative;
    transition: transform 0.1s, border-color 0.15s;
    flex-shrink: 0;
}

.swatch:hover {
    transform: scale(1.15);
}

.swatch.removed {
    border-color: #ef4444;
    opacity: 0.35;
}

.swatch.removed::after {
    content: '✕';
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.65rem;
    color: #fff;
    text-shadow: 0 0 3px #000;
}

/* ── Results section ───────────────────────────────────────────── */

.results {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.results-intro {
    text-align: center;
}

.results-intro h2 {
    font-size: 1.6rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.02em;
}

.results-intro p {
    color: var(--muted);
    margin-top: 0.4rem;
    font-size: 0.9rem;
}

.results-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

@media (max-width: 600px) {
    .results-grid { grid-template-columns: 1fr; }
}

.result-card {
    background: var(--card);
    border: 1px solid var(--card-border);
    border-radius: var(--radius);
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.result-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    align-self: flex-start;
}

.result-icon { font-size: 1.1rem; }

.result-header h3 {
    font-size: 0.95rem;
    font-weight: 600;
    color: #fff;
}

.output-canvas {
    max-width: 100%;
    border-radius: 6px;
    image-rendering: pixelated;
    background: #000;
    border: 1px solid var(--border);
}

.dl-btn {
    width: 100%;
    padding: 0.7rem;
    border: none;
    border-radius: var(--radius-sm);
    background: var(--primary);
    color: #000;
    font-weight: 700;
    font-size: 0.88rem;
    cursor: pointer;
    transition: background 0.15s, transform 0.1s;
    letter-spacing: 0.01em;
}

.dl-btn:hover {
    background: #22c55e;
    transform: translateY(-1px);
}

.dl-lottie {
    display: inline-block;
    width: 22px;
    height: 22px;
    vertical-align: middle;
    pointer-events: none;
    flex-shrink: 0;
}

/* ── Utility ───────────────────────────────────────────────────── */

.hidden { display: none !important; }

/* ── Subpages (about, privacy, terms, contact) ─────────────────── */

.subpage {
    max-width: 760px;
    padding-top: 2rem;
}

.subpage-header {
    border-bottom: 1px solid var(--border);
    padding-bottom: 1.25rem;
    margin-bottom: 1.5rem;
}

.subpage-header h1 {
    font-size: 2rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.02em;
    margin-bottom: 0.4rem;
}

.subpage-meta {
    font-size: 0.8rem;
    color: var(--muted);
}

.back-link {
    display: inline-block;
    font-size: 0.85rem;
    color: var(--muted);
    text-decoration: none;
    margin-bottom: 1rem;
    transition: color 0.15s;
}

.back-link:hover {
    color: var(--primary);
}

.contact-email {
    background: var(--card);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-sm);
    padding: 0.9rem 1.1rem;
    font-size: 1rem;
    margin-bottom: 1rem;
}

.contact-email a {
    color: var(--primary);
}

/* ── Content sections (tutorial, FAQ, about) ───────────────────── */

.content-section {
    user-select: text;
    color: var(--text);
    line-height: 1.7;
    font-size: 0.95rem;
    padding: 1rem 0.25rem;
}

.content-section h2 {
    font-size: 1.65rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.02em;
    margin-bottom: 0.75rem;
}

.content-section h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: #fff;
    margin-top: 1.75rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.content-section p {
    color: #cbd5e1;
    margin-bottom: 0.9rem;
}

.content-section ul,
.content-section ol {
    margin: 0.5rem 0 1rem 1.5rem;
    color: #cbd5e1;
}

.content-section li {
    margin-bottom: 0.35rem;
}

.content-section a {
    color: var(--primary);
    text-decoration: none;
    border-bottom: 1px solid rgba(74, 222, 128, 0.3);
    transition: border-color 0.15s;
}

.content-section a:hover {
    border-bottom-color: var(--primary);
}

.content-section strong {
    color: #fff;
    font-weight: 600;
}

.section-lead {
    font-size: 1rem;
    color: var(--muted) !important;
    margin-bottom: 1.5rem;
    max-width: 70ch;
}

.how-step {
    background: var(--card);
    border: 1px solid var(--card-border);
    border-radius: var(--radius);
    padding: 1.25rem 1.5rem;
    margin-bottom: 1rem;
}

.how-step h3 {
    margin-top: 0;
}

.how-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--primary);
    color: #000;
    font-size: 0.8rem;
    font-weight: 800;
    flex-shrink: 0;
}

.faq-item {
    border-bottom: 1px solid var(--border);
    padding: 1rem 0.25rem;
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-item h3 {
    margin-top: 0;
    margin-bottom: 0.5rem;
    font-size: 1rem;
    color: var(--primary);
}

.faq-item p {
    margin-bottom: 0;
}

/* ── Inline ad ─────────────────────────────────────────────────── */

.ad-inline {
    margin: 1rem 0;
    min-height: 90px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.ad-inline ins.adsbygoogle {
    width: 100%;
    max-width: 728px;
}

/* ── Guide cards (guides/index.html) ───────────────────────────── */

.guide-list {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.guide-card {
    display: block;
    padding: 1.25rem 1.5rem;
    border: 1px solid var(--border);
    border-radius: 10px;
    text-decoration: none;
    color: inherit;
    transition: border-color 0.15s, box-shadow 0.15s;
}

.guide-card:hover {
    border-color: var(--primary);
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.guide-card h2 {
    margin: 0 0 0.4rem;
    font-size: 1.05rem;
    color: var(--primary);
}

.guide-card p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--muted);
    line-height: 1.55;
}


/* ── Footer ────────────────────────────────────────────────────── */

footer {
    text-align: center;
    color: var(--muted);
    font-size: 0.78rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
}

.footer-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 0.75rem;
    font-size: 0.85rem;
}

.footer-links a {
    color: var(--text);
    text-decoration: none;
    transition: color 0.15s;
}

.footer-links a:hover {
    color: var(--primary);
}

.footer-sep {
    color: var(--muted);
    opacity: 0.5;
}

.footer-disclaimer {
    margin-top: 0.5rem;
    font-size: 0.72rem;
    color: var(--muted);
    opacity: 0.7;
    max-width: 60ch;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.5;
}

.hero-logo {
    width: 72px;
    height: 72px;
    object-fit: contain;
    margin-bottom: 1rem;
    filter: drop-shadow(0 6px 20px rgba(0,0,0,0.4));
}

.inline-logo {
    width: 1em;
    height: 1em;
    max-width: 60px;
    max-height: 60px;
    object-fit: contain;
    vertical-align: middle;
    margin: 0 0.2em;
}

.logo-wrap {
    display: inline-block;
    position: relative;
    width: 1em;
    height: 1em;
    max-width: 60px;
    max-height: 60px;
    vertical-align: middle;
    margin: 0 0.2em;
    cursor: pointer;
}

.logo-default,
.logo-hover {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    margin: 0;
}

.logo-hover { visibility: hidden; }

.logo-cube,
.logo-arrow {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    margin: 0;
}

.logo-arrow {
    animation: spin-arrow 1.2s linear infinite;
    animation-play-state: paused;
    transform-origin: center center;
}

@keyframes spin-arrow {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}

.hero h1:hover .logo-default { visibility: hidden; }
.hero h1:hover .logo-hover   { visibility: visible; }
.hero h1:hover .logo-arrow   { animation-play-state: running; }