:root {
    color-scheme: light;
    --surface: rgba(255, 255, 255, 0.32);
    --surface-strong: rgba(255, 255, 255, 0.6);
    --surface-soft: rgba(255, 255, 255, 0.18);
    --ink-primary: #2a1f3d;
    --ink-muted: rgba(42, 31, 61, 0.7);
    --accent-pink: #ff8fb4;
    --accent-rose: #ff7096;
    --accent-lilac: #b8a1ff;
    --accent-gold: #ffd08a;
    --accent-cream: #fff4fb;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background:
        radial-gradient(420px 420px at 12% 8%, rgba(255, 200, 221, 0.38), transparent 72%),
        radial-gradient(460px 460px at 92% 0%, rgba(184, 161, 255, 0.34), transparent 68%),
        linear-gradient(180deg, #351b4c 0%, #2a183d 45%, #1b1027 100%);
    color: #f9f6fc;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.12) 1px, transparent 1px);
    background-size: 42px 42px;
    opacity: 0.18;
    pointer-events: none;
    mix-blend-mode: screen;
}

.blossom-layer {
    position: fixed;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
    z-index: 6;
}

.blossom-layer .flower,
.blossom-layer .snowflake {
    position: absolute;
    top: -140px;
    width: var(--flower-size, 32px);
    height: var(--flower-size, 32px);
    opacity: 0.85;
    animation: blossomFall var(--fall-duration, 16s) linear infinite, blossomSway var(--sway-duration, 6s) ease-in-out infinite;
    transform-origin: center;
    filter: blur(calc(var(--flower-scale, 1) * 0.15px));
}

.blossom-layer .flower svg,
.blossom-layer .snowflake svg {
    width: 100%;
    height: 100%;
    display: block;
}

@media (prefers-reduced-motion: reduce) {
    .blossom-layer {
        display: none;
    }
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font-family: inherit;
    border: none;
    background: none;
    cursor: pointer;
}

.page-header {
    text-align: center;
    padding: clamp(40px, 6vw, 72px) clamp(20px, 8vw, 64px) clamp(24px, 5vw, 48px);
    position: relative;
    max-width: 1100px;
    margin: 0 auto;
}

.page-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 0.85rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow: 0 12px 30px rgba(26, 31, 49, 0.28);
    margin: 0 auto;
}

.page-header h1 {
    margin: 18px auto 16px;
    font-size: clamp(2rem, 4vw, 2.6rem);
    font-weight: 700;
    color: #fff7ff;
    letter-spacing: 0.02em;
    text-align: center;
}

.page-header p {
    margin: 0 auto;
    max-width: 680px;
    color: rgba(249, 246, 252, 0.85);
    line-height: 1.65;
    font-size: 1.08rem;
    text-align: center;
}

.tab-strip {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    padding: 0 clamp(20px, 8vw, 64px) clamp(24px, 5vw, 48px);
}

.tab-button {
    padding: 10px clamp(16px, 4vw, 24px);
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.85);
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: transform 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.tab-button:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.22);
    box-shadow: 0 14px 32px rgba(28, 16, 43, 0.32);
}

.tab-button.is-active {
    background: linear-gradient(120deg, rgba(255, 143, 180, 0.95), rgba(184, 161, 255, 0.9));
    color: #341b3f;
    box-shadow: 0 18px 40px rgba(38, 18, 55, 0.35);
}

.page-content {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 clamp(20px, 8vw, 64px) clamp(80px, 10vw, 120px);
}

.game-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 28px;
}

.game-card {
    position: relative;
    display: flex;
    flex-direction: column;
    background: linear-gradient(155deg, rgba(255, 255, 255, 0.36), rgba(255, 255, 255, 0.16));
    border-radius: 26px;
    border: 1px solid rgba(255, 255, 255, 0.32);
    box-shadow: 0 32px 54px rgba(24, 16, 39, 0.34);
    overflow: hidden;
    transition: transform 200ms ease, box-shadow 200ms ease;
    color: var(--ink-primary);
}

.game-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 36px 70px rgba(22, 14, 36, 0.45);
}

.card-media {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.card-image-link {
    display: block;
    width: 100%;
    height: 100%;
}

.card-image-link img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.card-media img {
    width: 100%;
}

.card-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    background: linear-gradient(120deg, rgba(255, 200, 140, 0.95), rgba(255, 140, 158, 0.92));
    color: #3d1a1e;
    box-shadow: 0 16px 26px rgba(120, 60, 70, 0.32);
    z-index: 1;
}

.btn-play-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(12px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    transition: transform 200ms ease, background 200ms ease, box-shadow 200ms ease, opacity 200ms ease;
    z-index: 2;
    text-decoration: none;
    opacity: 0.85;
}

.game-card:hover .btn-play-overlay {
    opacity: 1;
}

.btn-play-overlay:hover {
    transform: translate(-50%, -50%) scale(1.1);
    background: rgba(255, 255, 255, 0.25);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
}

.btn-play-overlay .play-icon {
    width: 36px;
    height: 36px;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.2));
    transition: transform 200ms ease;
}

.btn-play-overlay:hover .play-icon {
    transform: scale(1.1);
}

.card-action-buttons {
    position: absolute;
    top: 16px;
    right: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 1;
}

.btn-circle {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: linear-gradient(140deg, rgba(255, 143, 180, 0.96), rgba(184, 161, 255, 0.92));
    color: #31193f;
    font-weight: 700;
    font-size: 0.7rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    display: grid;
    place-items: center;
    box-shadow: 0 18px 36px rgba(55, 20, 58, 0.35);
    transition: transform 160ms ease, box-shadow 160ms ease;
    text-decoration: none;
}

.btn-circle:hover {
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 20px 42px rgba(65, 28, 72, 0.5);
}

.btn-circle.btn-gm {
    background: linear-gradient(140deg, rgba(255, 200, 140, 0.96), rgba(255, 177, 101, 0.92));
    color: #3d1a1e;
    box-shadow: 0 18px 36px rgba(120, 80, 50, 0.35);
}

.btn-circle.btn-gm:hover {
    box-shadow: 0 20px 42px rgba(140, 100, 60, 0.5);
}

.card-body {
    padding: 22px 22px 12px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    text-align: center;
    align-items: center;
}

.card-category {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(42, 31, 61, 0.75);
    background: rgba(255, 255, 255, 0.65);
    border-radius: 999px;
    padding: 6px 12px;
}

.card-title {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--ink-primary);
    line-height: 1.4;
    text-align: center;
}

.card-title-link {
    color: inherit;
    text-decoration: none;
    transition: color 160ms ease;
}

.card-title-link:hover {
    color: rgba(42, 31, 61, 0.85);
}

.card-desc {
    margin: 0;
    color: rgba(42, 31, 61, 0.68);
    font-size: 0.95rem;
    line-height: 1.55;
    line-clamp: 2;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-align: center;
}

.card-footer {
    padding: 16px 22px 22px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.meta-group {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    justify-content: center;
}

.meta-right {
    justify-content: center;
}

.card-action-group {
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.meta-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--ink-muted);
}

.meta-icon {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
    opacity: 0.8;
}

.meta-item.meta-author .meta-icon {
    color: rgba(255, 143, 180, 0.9);
}

.meta-item.meta-time .meta-icon {
    color: rgba(184, 161, 255, 0.9);
}

.meta-item.meta-views .meta-icon {
    color: rgba(255, 208, 138, 0.9);
}

.meta-item.meta-favorites .meta-icon {
    display: none;
}

.btn-favorite-inline {
    cursor: pointer;
    transition: transform 160ms ease, opacity 160ms ease;
    border: none;
    background: none;
    font-family: inherit;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.btn-favorite-inline:hover {
    opacity: 0.85;
    transform: translateY(-1px);
}

.btn-favorite-inline.is-active {
    opacity: 1;
}

.btn-favorite-inline .heart-icon {
    font-size: 0.9rem;
    line-height: 1;
    transition: transform 200ms ease;
}

.btn-favorite-inline.is-active .heart-icon {
    transform: scale(1.2);
    color: rgba(255, 107, 155, 1);
}

.btn-favorite-inline .favorite-count {
    font-weight: 700;
}

.btn-favorite-inline .favorite-text {
    font-weight: 600;
}

.btn-favorite {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.16);
    color: var(--ink-primary);
    font-weight: 600;
    cursor: pointer;
    transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
    margin-left: auto;
}

.btn-favorite:hover {
    transform: translateY(-1px);
    background: rgba(255, 255, 255, 0.24);
    box-shadow: 0 16px 32px rgba(26, 19, 37, 0.22);
}

.btn-favorite.is-active {
    background: linear-gradient(120deg, rgba(255, 143, 180, 0.95), rgba(184, 161, 255, 0.92));
    color: #341b3f;
    box-shadow: 0 18px 36px rgba(35, 18, 42, 0.32);
}

.btn-favorite .heart-icon {
    font-size: 1rem;
    line-height: 1;
    transition: transform 200ms ease;
}

.btn-favorite.is-active .heart-icon {
    transform: scale(1.15);
}

.btn-favorite .favorite-count {
    font-weight: 700;
    color: inherit;
}

.gm-link {
    align-self: flex-start;
    margin-top: 4px;
    padding: 6px 12px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.18);
    color: var(--ink-primary);
    font-weight: 600;
    font-size: 0.85rem;
    transition: transform 150ms ease, background 150ms ease, box-shadow 150ms ease;
}

.gm-link:hover {
    transform: translateY(-1px);
    background: rgba(255, 255, 255, 0.28);
    box-shadow: 0 16px 28px rgba(28, 20, 40, 0.22);
}

.modal-overlay {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(20px, 6vw, 48px);
    background: rgba(19, 22, 33, 0.68);
    backdrop-filter: blur(18px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 220ms ease;
    z-index: 40;
}

.modal-overlay.visible {
    opacity: 1;
    pointer-events: auto;
}

.modal-dialog {
    position: relative;
    width: min(520px, 100%);
    border-radius: 28px;
    padding: clamp(26px, 5vw, 36px);
    background: linear-gradient(155deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.26));
    border: 1px solid rgba(255, 255, 255, 0.48);
    box-shadow: 0 36px 72px rgba(28, 18, 44, 0.45);
    overflow: hidden;
    color: var(--ink-primary);
}

.modal-dialog::before {
    content: "";
    position: absolute;
    inset: -120px;
    background: radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.7), transparent 60%);
    opacity: 0.6;
    pointer-events: none;
}

.modal-dialog::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(122, 163, 255, 0.18), transparent 55%);
    pointer-events: none;
}

.modal-header {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    z-index: 1;
}

.modal-title {
    margin: 0;
    font-size: 1.35rem;
    font-weight: 700;
}

.modal-subtitle {
    position: relative;
    margin: 10px 0 22px;
    font-size: 1rem;
    color: rgba(42, 31, 61, 0.7);
    z-index: 1;
}

.modal-close {
    border-radius: 12px;
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    font-size: 1.3rem;
    line-height: 1;
    background: rgba(255, 255, 255, 0.75);
    color: var(--ink-primary);
    border: 1px solid rgba(31, 36, 53, 0.12);
    transition: transform 160ms ease, background 160ms ease;
    z-index: 1;
}

.modal-close:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.92);
}

.modal-content {
    position: relative;
    z-index: 1;
}

.code-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.code-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 16px;
    background: linear-gradient(120deg, rgba(255, 255, 255, 0.78), rgba(255, 255, 255, 0.46));
    border: 1px solid rgba(42, 31, 61, 0.08);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65);
}

.code-value {
    font-family: "Fira Code", "Source Code Pro", Consolas, monospace;
    font-size: 0.95rem;
    letter-spacing: 0.1em;
    color: var(--ink-primary);
    flex: 1;
    word-break: break-all;
}

.code-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-copy-code {
    padding: 8px 14px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--ink-primary);
    background: rgba(255, 143, 180, 0.22);
    border: 1px solid rgba(255, 143, 180, 0.32);
    transition: background 160ms ease, transform 160ms ease;
}

.btn-copy-code:hover {
    background: rgba(255, 143, 180, 0.32);
    transform: translateY(-1px);
}

.status-message {
    font-size: 0.95rem;
    color: var(--ink-muted);
}

.status-message.is-error {
    color: #d64571;
}

.copy-feedback {
    color: var(--ink-muted);
    font-size: 0.8rem;
    opacity: 0;
    transition: opacity 200ms ease;
}

.copy-feedback.visible {
    opacity: 1;
}

.detail-page {
    background:
        radial-gradient(360px 360px at 12% 12%, rgba(255, 206, 219, 0.35), transparent 70%),
        radial-gradient(420px 420px at 82% 18%, rgba(184, 161, 255, 0.3), transparent 68%),
        linear-gradient(180deg, #2e1a43 0%, #221334 60%, #170c25 100%);
    color: #f9f6fc;
}

.detail-header {
    max-width: 960px;
    margin: 0 auto;
    padding: clamp(32px, 6vw, 48px) clamp(16px, 4vw, 32px);
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.detail-back-link {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.28);
    color: #f4f5fb;
    font-weight: 600;
    text-decoration: none;
    transition: transform 160ms ease, box-shadow 160ms ease;
}

.detail-back-link:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 26px rgba(12, 18, 32, 0.35);
}

.detail-category {
    align-self: center;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.32);
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.92);
}

.detail-title {
    margin: 0;
    font-size: clamp(2.1rem, 6vw, 3rem);
    font-weight: 700;
    color: #fff7ff;
}

.detail-badge {
    align-self: center;
    padding: 6px 16px;
    border-radius: 999px;
    background: linear-gradient(120deg, rgba(255, 200, 140, 0.95), rgba(255, 140, 158, 0.92));
    color: #3d1a1e;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.detail-description {
    margin: 0 auto;
    max-width: 680px;
    color: rgba(244, 245, 251, 0.78);
    line-height: 1.7;
    white-space: pre-line;
}

.detail-meta {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px;
    color: rgba(244, 245, 251, 0.75);
    font-size: 0.95rem;
}

.detail-actions {
    display: flex;
    justify-content: center;
    gap: 12px;
}

.detail-play-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 22px;
    border-radius: 999px;
    background: linear-gradient(120deg, rgba(255, 143, 180, 0.95), rgba(184, 161, 255, 0.92));
    color: #341b3f;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 18px 36px rgba(35, 18, 42, 0.32);
    transition: transform 160ms ease, box-shadow 160ms ease;
}

.detail-play-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 22px 44px rgba(45, 22, 56, 0.5);
}

.detail-gm-button {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 18px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.2);
    color: var(--ink-primary);
    font-weight: 600;
    text-decoration: none;
    transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.detail-gm-button:hover {
    transform: translateY(-1px);
    background: rgba(255, 255, 255, 0.28);
    box-shadow: 0 14px 32px rgba(32, 22, 44, 0.26);
}

.detail-main {
    max-width: 1040px;
    margin: 0 auto;
    padding: 0 clamp(16px, 5vw, 40px) clamp(48px, 8vw, 80px);
    display: flex;
    flex-direction: column;
    gap: clamp(24px, 5vw, 36px);
}

.detail-main--centered {
    min-height: 100vh;
    align-items: center;
    justify-content: center;
}

.detail-hero img {
    width: 100%;
    border-radius: 28px;
    box-shadow: 0 30px 60px rgba(7, 10, 20, 0.45);
}

.detail-section {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 24px;
    padding: clamp(20px, 5vw, 32px);
    box-shadow: 0 24px 48px rgba(10, 14, 26, 0.28);
    backdrop-filter: blur(24px);
}

.detail-section h2 {
    margin: 0 0 18px;
    font-size: 1.4rem;
    color: #fff;
}

.detail-empty {
    text-align: center;
    color: rgba(244, 245, 251, 0.7);
}

@media (min-width: 1440px) {
    .page-content {
        max-width: 1340px;
    }

    .game-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
        gap: 32px;
    }
}

@media (max-width: 820px) {
    .page-header {
        text-align: center;
        padding: clamp(36px, 7vw, 60px) clamp(18px, 6vw, 32px) clamp(20px, 5vw, 36px);
    }

    .page-content {
        padding-inline: clamp(16px, 6vw, 28px);
    }

    .tab-strip {
        justify-content: center;
        gap: 10px;
        padding-inline: clamp(16px, 6vw, 28px);
    }

    .tab-button {
        font-size: 0.9rem;
        padding-inline: clamp(14px, 5vw, 20px);
    }

    .game-grid {
        gap: 22px;
    }

    .game-card {
        border-radius: 22px;
    }

    .card-body {
        padding: 18px 18px 12px;
        text-align: center;
    }

    .card-footer {
        padding: 14px 18px 18px;
    }
}

@media (max-width: 640px) {
    .detail-header {
        text-align: left;
    }

    .detail-meta {
        justify-content: flex-start;
    }

    .page-header h1 {
        font-size: clamp(1.8rem, 6vw, 2.2rem);
    }

    .page-header p {
        font-size: 0.98rem;
        line-height: 1.6;
    }

    .page-eyebrow {
        font-size: 0.8rem;
    }

    .tab-button {
        font-size: 0.85rem;
    }

    .card-footer {
        flex-direction: column;
        align-items: center;
        gap: 12px;
        text-align: center;
    }

    .meta-group {
        justify-content: center;
        width: 100%;
    }

    .meta-right {
        width: 100%;
        justify-content: center;
    }

    .card-action-group {
        width: 100%;
        justify-content: center;
        margin-left: 0;
    }

    .btn-favorite {
        width: 100%;
        justify-content: center;
        margin-left: 0;
    }

    .card-title {
        text-align: center;
    }

    .card-desc {
        text-align: center;
    }

    .card-category {
        align-self: center;
    }
}

@media (max-width: 520px) {
    .page-header {
        padding-inline: 16px;
    }

    .tab-strip {
        padding-inline: 16px;
    }

    .card-action-buttons {
        gap: 8px;
        top: 12px;
        right: 12px;
    }

    .btn-circle {
        width: 46px;
        height: 46px;
        font-size: 0.65rem;
    }

    .card-title {
        font-size: 1rem;
    }

    .card-desc {
        font-size: 0.9rem;
    }

    .btn-favorite {
        font-size: 0.92rem;
    }
}

@keyframes blossomFall {
    0% {
        top: -140px;
        opacity: 0;
        transform: rotate(0deg);
    }
    10% {
        opacity: 0.75;
    }
    100% {
        top: calc(100vh + 160px);
        opacity: 0;
        transform: rotate(360deg);
    }
}

@keyframes blossomSway {
    0% {
        transform: translateX(-40px) rotate(0deg);
    }
    50% {
        transform: translateX(10px) rotate(180deg);
    }
    100% {
        transform: translateX(50px) rotate(360deg);
    }
}

/* Footer */
.page-footer {
    margin-top: 28px;
    padding: clamp(32px, 5vw, 48px) clamp(20px, 8vw, 64px);
    background: rgba(255, 255, 255, 0.05);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(32px, 6vw, 64px);
    align-items: start;
}

.footer-left {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-logo-icon {
    width: 40px;
    height: 40px;
    color: var(--accent-pink);
    flex-shrink: 0;
}

.footer-logo-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.footer-logo-name {
    font-size: 1.4rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.95);
    font-family: "Fira Code", monospace;
}

.footer-logo-domain {
    font-size: 0.85rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.footer-description {
    font-size: 0.9rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.75);
    margin: 0;
}

.footer-right {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: flex-end;
    text-align: right;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
    justify-content: flex-end;
}

.footer-link {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 160ms ease;
}

.footer-link:hover {
    color: var(--accent-pink);
}

.footer-link:not(:last-child)::after {
    content: '•';
    margin-left: 16px;
    color: rgba(255, 255, 255, 0.4);
}

.footer-stat {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

.footer-stat .footer-icon {
    width: 16px;
    height: 16px;
    color: var(--accent-pink);
    opacity: 0.9;
}

.footer-stat strong {
    color: var(--accent-pink);
    font-weight: 700;
}

.footer-copyright {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}

@media (max-width: 820px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-right {
        align-items: flex-start;
        text-align: left;
    }

    .footer-links {
        justify-content: flex-start;
    }
}

@media (max-width: 640px) {
    .footer-content {
        gap: 24px;
    }

    .footer-logo-name {
        font-size: 1.2rem;
    }

    .footer-description {
        font-size: 0.85rem;
    }

    .footer-link {
        font-size: 0.85rem;
    }

    .footer-stat {
        font-size: 0.85rem;
    }

    .footer-copyright {
        font-size: 0.8rem;
    }
}

