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

body {
    font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
    background: linear-gradient(135deg, #0d1117 0%, #161b22 50%, #0d1117 100%);
    color: #e6edf3;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.container {
    max-width: 820px;
    margin: 0 auto;
    padding: 0 24px;
}

.hero {
    padding: 60px 0 40px;
    text-align: center;
    flex: 1;
}

/* ---- PC Pet CSS Bean ---- */
.pet-preview {
    position: relative;
    width: 120px;
    height: 120px;
    margin: 0 auto 32px;
}

.bean-body {
    position: absolute;
    top: 15px;
    left: 20px;
    width: 80px;
    height: 66px;
    background: #E83030;
    border: 3px solid #C02020;
    border-radius: 50%;
    animation: float 1.5s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

.eye {
    position: absolute;
    width: 6px;
    height: 6px;
    background: #000;
    border-radius: 50%;
    top: 34px;
    z-index: 1;
    animation: blink 3s ease-in-out infinite;
}

@keyframes blink {
    0%, 96%, 100% { transform: scaleY(1); }
    98% { transform: scaleY(0.1); }
}

.eye.left { left: 38px; }
.eye.right { left: 76px; }

.leg {
    position: absolute;
    width: 3px;
    height: 18px;
    background: #C02020;
    border-radius: 2px;
    bottom: 8px;
    transform-origin: top center;
    animation: walk 0.6s ease-in-out infinite;
}

.leg.l1 { left: 49px; animation-delay: 0s; }
.leg.l2 { left: 68px; animation-delay: 0.3s; }

@keyframes walk {
    0%, 100% { transform: rotate(-8deg); }
    50% { transform: rotate(8deg); }
}

.foot {
    position: absolute;
    width: 14px;
    height: 10px;
    background: #C02020;
    border-radius: 50%;
    bottom: 3px;
    z-index: -1;
}

.foot.f1 { left: 42px; }
.foot.f2 { left: 61px; }

.foot::after {
    content: '';
    position: absolute;
    width: 8px;
    height: 5px;
    background: #E83030;
    border-radius: 50%;
    top: 2px;
    left: 3px;
}

/* ---- Typography ---- */
h1 {
    font-size: 4rem;
    font-weight: 800;
    background: linear-gradient(135deg, #E83030, #f77);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
    letter-spacing: -1px;
}

.subtitle {
    font-size: 1.25rem;
    color: #8b949e;
    margin-bottom: 20px;
}

.description {
    font-size: 1.05rem;
    color: #c9d1d9;
    line-height: 1.7;
    margin-bottom: 36px;
}

/* ---- Download Button ---- */
.download-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, #E83030, #c02020);
    color: #fff;
    text-decoration: none;
    padding: 16px 40px;
    border-radius: 12px;
    font-size: 1.25rem;
    font-weight: 700;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 24px rgba(232, 48, 48, 0.35);
}

.download-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 32px rgba(232, 48, 48, 0.5);
}

.btn-icon {
    font-size: 1.5rem;
}

.btn-sub {
    display: block;
    font-size: 0.75rem;
    font-weight: 400;
    opacity: 0.8;
    margin-top: 2px;
}

.btn-sub { width: 100%; }

/* ---- Features ---- */
.features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 60px;
}

.feature {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 12px;
    padding: 24px 16px;
    text-align: center;
    transition: background 0.2s, transform 0.2s;
}

.feature:hover {
    background: rgba(255,255,255,0.08);
    transform: translateY(-4px);
}

.feature-icon {
    width: 48px;
    height: 48px;
    display: block;
    margin: 0 auto 10px;
}

.portable-icon {
    width: 72px;
    height: 72px;
}

.feature h3 {
    font-size: 1rem;
    margin-bottom: 6px;
    color: #e6edf3;
}

.feature p {
    font-size: 0.85rem;
    color: #8b949e;
    line-height: 1.4;
}

.footer {
    width: 100%;
    padding: 24px 0;
    text-align: center;
    color: #484f58;
    font-size: 0.85rem;
}

.heart-link {
    color: #E83030;
    text-decoration: none;
    transition: filter 0.2s;
}

.heart-link:hover {
    filter: brightness(1.4);
}

.rgb-text {
    background: linear-gradient(90deg, red, orange, yellow, green, blue, purple, red);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
    animation: rgb 3s linear infinite;
}

@keyframes rgb {
    to { background-position: 200% center; }
}

/* ---- Responsive ---- */
@media (max-width: 640px) {
    h1 { font-size: 2.5rem; }
    .features { grid-template-columns: repeat(2, 1fr); }
    .download-btn { padding: 14px 28px; font-size: 1.05rem; }
}
