:root {
    --pink: #ff7da8;
    --pink2: #ff97b8;
    --ink: #382d46;
    --muted: #7e7088;
    --cream: #fffaf5;
    --line: #ffd7c7;
    --shadow: 0 12px 28px rgba(90, 62, 82, .10)
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    margin: 0;
    font-family: Inter, "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
    color: var(--ink);
    background: linear-gradient(180deg, #fffaf7 0, #fffdf9 100%);
    overflow-x: hidden
}

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

.topbar {
    height: 60px;
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(255, 250, 247, .93);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid #f2ded5
}

.nav-shell {
    max-width: 1230px;
    height: 100%;
    margin: auto;
    padding: 0 18px;
    display: flex;
    align-items: center;
    gap: 24px
}

.brand {
    display: flex;
    align-items: center;
    gap: 9px;
    min-width: 138px
}

.brand-mark {
    width: 39px;
    height: 39px;
    border: 3px solid #3a2d45;
    border-radius: 13px;
    display: grid;
    place-items: center;
    background: linear-gradient(145deg, #ffbad1, #ff73a3);
    color: #fff;
    font-weight: 900;
    box-shadow: inset 0 0 0 4px #fff
}

.brand strong {
    display: block;
    font-size: 19px;
    line-height: 1
}

.brand small {
    font-size: 10px;
    letter-spacing: 1px;
    color: #8d7899
}

.main-nav {
    display: flex;
    background: #fff;
    border-radius: 0 0 25px 25px;
    box-shadow: 0 4px 0 rgba(255, 183, 206, .32);
    overflow: hidden
}

.main-nav a {
    padding: 17px 20px;
    font-weight: 700;
    color: #77617f
}

.main-nav a.active {
    background: linear-gradient(180deg, #ff94b7, #ff73a3);
    color: #fff;
    border-radius: 22px;
    margin: 4px;
    padding: 13px 20px
}

.search {
    margin-left: auto;
    display: flex;
    height: 45px;
    border: 3px solid #ffd8c7;
    border-radius: 24px;
    overflow: hidden;
    background: #fff
}

.search input {
    width: 290px;
    border: 0;
    padding: 0 16px;
    outline: 0;
    font-size: 14px
}

.search button {
    border: 0;
    background: #65c9f1;
    color: #fff;
    font-weight: 800;
    padding: 0 18px
}

.login {
    border: 3px solid #ffd4c1;
    border-radius: 22px;
    padding: 9px 17px;
    background: #fff;
    font-weight: 800
}

.portal {
    position: relative;
    max-width: 1500px;
    margin: auto;
    min-height: 100vh
}

.portal-center {
    width: min(1100px, calc(100% - 300px));
    margin: 0 auto;
    padding: 40px 0 80px
}

.decor {
    position: absolute;
    top: 0;
    width: 180px;
    height: 100%;
    pointer-events: none
}

.decor-left {
    left: 0
}

.decor-right {
    right: 0
}

.mascot {
    position: sticky;
    top: 110px;
    margin-top: 15px;
    height: 340px;
    filter: drop-shadow(0 12px 15px rgba(90, 61, 81, .12));
    opacity: .96
}

.leftimage {
    position: absolute;
    width: 170px;
    height: 340px;
    left: 36px;
    top: 5px;
    /* background: linear-gradient(145deg, #ffd0e0, #ff8db6); */
    /* border-radius: 55% 45% 50% 50%; */
    transform: rotate(-5deg)
}

.rightimage{
   position: absolute;
    width: 170px;
    height: 340px;
    left: 36px;
    top: 5px;
    /* background: linear-gradient(145deg, #ffd0e0, #ff8db6); */
    /* border-radius: 55% 45% 50% 50%; */
    transform: rotate(-5deg)
}
.girl .face {
    position: absolute;
    width: 62px;
    height: 76px;
    left: 60px;
    top: 50px;
    background: #ffe9df;
    border-radius: 48% 48% 45% 45%
}

.girl .body {
    position: absolute;
    width: 100px;
    height: 150px;
    left: 40px;
    top: 125px;
    background: linear-gradient(#fff, #e5efff 38%, #34416b 38%, #34416b 100%);
    clip-path: polygon(20% 0, 80% 0, 100% 80%, 70% 100%, 50% 72%, 30% 100%, 0 80%);
    border-radius: 20px
}

.book {
    position: absolute;
    left: 82px;
    top: 140px;
    width: 58px;
    height: 72px;
    border-radius: 6px;
    background: #ffc0d5;
    border: 4px solid #fff;
    display: grid;
    place-items: center;
    font-weight: 900;
    color: #fff;
    transform: rotate(-10deg)
}



.boy .face {
    position: absolute;
    width: 60px;
    height: 70px;
    left: 64px;
    top: 67px;
    background: #ffd5b8;
    border-radius: 45% 45% 50% 50%
}

.boy .hoodie {
    position: absolute;
    width: 118px;
    height: 165px;
    left: 34px;
    top: 125px;
    background: linear-gradient(160deg, #ff9a2f, #f26d16);
    border-radius: 38px 38px 18px 18px;
    clip-path: polygon(18% 0, 82% 0, 100% 55%, 78% 68%, 72% 100%, 28% 100%, 22% 68%, 0 55%)
}

.tablet {
    position: absolute;
    left: 108px;
    top: 142px;
    width: 62px;
    height: 88px;
    border-radius: 8px;
    background: #292a2e;
    border: 5px solid #444;
    color: #444;
    display: grid;
    place-items: center
}

.tablet:before {
    content: "";
    position: absolute;
    inset: 7px;
    background: repeating-linear-gradient(0deg, #eee 0 4px, #ccc 4px 5px)
}

.tablet {
    color: #111;
    font-weight: 900
}

.section-title-row {
    display: flex;
    align-items: end;
    justify-content: space-between;
    margin-bottom: 14px
}

.section-title-row h1,
.section-title-row h2 {
    margin: 0;
    font-size: 24px
}

.section-title-row>a {
    color: #ff669b;
    font-weight: 800
}

.eyebrow {
    display: block;
    font-size: 10px;
    color: #f09abc;
    letter-spacing: 2px;
    margin-bottom: 4px
}

.comic-strip {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 14px
}

.comic-card {
    position: relative;
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 0 rgba(82, 60, 80, .08);
    border: 2px solid #fff
}

.comic-art {
    height: 325px;
    display: flex;
    align-items: flex-end;
    padding: 14px;
    color: #fff;
    font-weight: 900;
    font-size: 16px;
    text-shadow: 0 2px 6px rgba(0, 0, 0, .35);
    position: relative;
    overflow: hidden
}

.comic-art:before,
.comic-art:after {
    content: "";
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, .65)
}

.comic-art:before {
    width: 120px;
    height: 120px;
    left: 28px;
    top: 42px
}

.comic-art:after {
    width: 190px;
    height: 220px;
    left: 16px;
    top: 118px;
    border-radius: 48% 52% 18% 18%;
    background: rgba(255, 255, 255, .45)
}

.comic-art span {
    position: relative;
    z-index: 2
}

.c1 .comic-art {
    background: linear-gradient(160deg, #f0a789, #bd6f72)
}

.c2 .comic-art {
    background: linear-gradient(160deg, #ffceda, #f48b9e)
}

.c3 .comic-art {
    background: linear-gradient(160deg, #d8eef4, #b6b0d9)
}

.c4 .comic-art {
    background: linear-gradient(160deg, #d9d2ff, #ad8abf)
}

.c5 .comic-art {
    background: linear-gradient(160deg, #ffd6c9, #dd887a)
}

.status {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 3;
    background: #65d8a5;
    color: #155a45;
    border-radius: 12px;
    padding: 4px 10px;
    font-size: 11px;
    font-weight: 800
}

.comic-card h2 {
    font-size: 14px;
    margin: 12px 12px 3px
}

.comic-card p {
    font-size: 12px;
    margin: 0 12px 12px;
    color: #9a869d
}

.category {
    margin-top: 28px
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 10px
}

.category-grid a {
    height: 88px;
    background: #fff;
    border: 3px solid #ffd9c4;
    border-radius: 17px;
    box-shadow: 0 10px 0 rgba(97, 73, 89, .08);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 800;
    transition: .25s
}

.category-grid a:hover {
    transform: translateY(-4px)
}

.category-grid i {
    font-style: normal;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: #fff;
    background: #ff7da8
}

.category-grid a:nth-child(2) i {
    background: #6ecdf4
}

.category-grid a:nth-child(3) i {
    background: #ffd36b
}

.category-grid a:nth-child(4) i {
    background: #66d8aa
}

.category-grid a:nth-child(5) i {
    background: #b08cff
}

.category-grid a:nth-child(6) i {
    background: #ffa77b
}

.category-grid a:nth-child(7) i {
    background: #64d1e6
}

.promo {
    margin-top: 20px;
    /* min-height: 240px; */
    height: 320px;
    border-radius: 20px;
    background: radial-gradient(circle at 20% 50%, #ffe6a7, transparent 35%), linear-gradient(115deg, #ffeec2, #ffd3bc 55%, #ffb5c0);
    position: relative;
    overflow: hidden;
    border: 1px solid #ffb394
}

.promo:before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(100deg, transparent 0 43%, rgba(255, 255, 255, .28) 43% 48%, transparent 48% 100%);
    animation: shine 6s infinite
}

.promo-inner {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 58px 20px
}

.promo-tag {
    font-size: 10px;
    background: #ffb0bd;
    color: #fff;
    border-radius: 10px;
    padding: 5px 8px
}

.promo p {
    font-weight: 800;
    margin: 10px 0 4px
}

.promo h2 {
    margin: 5px 0 22px;
    font-size: 27px
}

.promo-actions {
    margin-top: 54px;
    display: flex;
    justify-content: center;
    gap: 10px
}

.primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #ff7aa7, #ff5d94);
    color: #fff;
    border-radius: 24px;
    padding: 12px 24px;
    font-weight: 900;
    box-shadow: 0 8px 20px rgba(255, 93, 148, .24)
}

.ghost {
    display: inline-flex;
    align-items: center;
    padding: 12px 22px;
    border-radius: 24px;
    background: #fff7;
    border: 1px solid #fff;
    color: #7f5266;
    font-weight: 800
}

.feature-section,
.comments,
.faq-section {
    padding: 70px 0 10px
}

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

.section-heading span {
    font-size: 11px;
    letter-spacing: 3px;
    color: #f28dac;
    font-weight: 900
}

.section-heading h2 {
    font-size: 30px;
    margin: 7px 0 10px
}

.section-heading p {
    color: var(--muted);
    line-height: 1.8
}

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

.feature-grid article {
    padding: 28px;
    background: #fff;
    border: 1px solid #f7e1d8;
    border-radius: 20px;
    box-shadow: var(--shadow)
}

.feature-grid b {
    font-size: 34px;
    color: #ffd0df
}

.feature-grid h3 {
    margin: 10px 0 7px
}

.feature-grid p {
    color: var(--muted);
    line-height: 1.7
}

.event-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    margin-top: 35px
}

.event-card {
    min-height: 220px;
    border-radius: 22px;
    padding: 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    overflow: hidden
}

.event-card span {
    font-size: 11px;
    letter-spacing: 2px;
    font-weight: 900
}

.event-card h2 {
    margin: 7px 0
}

.event-card p {
    max-width: 330px
}

.event-card a {
    display: inline-block;
    margin-top: 14px;
    font-weight: 900
}

.coin {
    background: linear-gradient(135deg, #fff1b7, #ffd66e)
}

.gacha {
    background: linear-gradient(135deg, #ffe1ec, #ffb8d3)
}

.coin-stack,
.capsule {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-weight: 1000;
    font-size: 50px;
    background: #fff8;
    border: 8px solid #fff5;
    box-shadow: 0 14px 25px #0001
}

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

.comment-grid article {
    display: flex;
    gap: 14px;
    padding: 22px;
    background: #fff;
    border-radius: 18px;
    border: 1px solid #f2dfd7;
    box-shadow: var(--shadow)
}

.avatar {
    width: 44px;
    height: 44px;
    min-width: 44px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #ffd0df;
    color: #b2456a;
    font-weight: 900
}

.comment-grid h3 {
    font-size: 14px;
    margin: 1px 0 8px
}

.comment-grid h3 span {
    font-size: 11px;
    color: #aaa;
    font-weight: 500
}

.comment-grid p {
    font-size: 13px;
    color: var(--muted);
    line-height: 1.7
}

.comment-grid small {
    color: #f27ca3
}

.download {
    margin: 65px 0 0;
    background: #3d3245;
    color: #fff;
    border-radius: 24px;
    padding: 34px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center
}

.download span {
    font-size: 10px;
    letter-spacing: 3px;
    color: #ffb5ce
}

.download h2 {
    font-size: 30px;
    margin: 7px 0
}

.download p {
    color: #d7cadc
}

.big {
    font-size: 16px;
    padding: 15px 28px
}

.faq-list {
    max-width: 850px;
    margin: auto;
    display: grid;
    gap: 12px
}

.faq-list details {
    background: #fff;
    border: 1px solid #f1ded5;
    border-radius: 16px;
    padding: 18px 20px;
    box-shadow: 0 6px 18px #00000008
}

.faq-list summary {
    font-weight: 900;
    cursor: pointer
}

.faq-list p {
    color: var(--muted);
    line-height: 1.7;
    margin-bottom: 3px
}

footer {
    background: #352c3b;
    color: #fff;
    margin-top: 70px
}

.footer-inner {
    max-width: 1100px;
    margin: auto;
    padding: 28px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center
}

.footer-inner p {
    margin: 4px 0;
    color: #c8bacd
}

.footer-inner nav {
    display: flex;
    gap: 22px;
    color: #d8cddd
}

@keyframes shine {
    0% {
        transform: translateX(-40%)
    }

    50%,
    100% {
        transform: translateX(45%)
    }
}

@media(max-width:1200px) {
    .decor {
        display: none
    }

    .portal-center {
        width: min(1050px, calc(100% - 32px))
    }

    .main-nav a {
        padding-left: 14px;
        padding-right: 14px
    }

    .search input {
        width: 200px
    }
}

@media(max-width:900px) {
    .main-nav {
        display: none
    }

    .search {
        display: none
    }

    .nav-shell {
        justify-content: space-between
    }

    .login {
        margin-left: auto
    }

    .comic-strip {
        grid-template-columns: repeat(2, 1fr)
    }

    .comic-card:last-child {
        display: none
    }

    .category-grid {
        grid-template-columns: repeat(4, 1fr)
    }

    .feature-grid,
    .comment-grid {
        grid-template-columns: 1fr
    }

    .event-grid {
        grid-template-columns: 1fr
    }

    .download {
        flex-direction: column;
        align-items: flex-start;
        gap: 18px
    }

    .comic-art {
        height: 290px
    }
}

@media(max-width:560px) {
    .portal-center {
        width: calc(100% - 24px);
        padding-top: 24px
    }

    .brand strong {
        font-size: 17px
    }

    .login {
        padding: 8px 13px
    }

    .comic-strip {
        display: flex;
        overflow: auto;
        scroll-snap-type: x mandatory;
        padding-bottom: 8px
    }

    .comic-card {
        min-width: 72%;
        scroll-snap-align: start
    }

    .comic-card:last-child {
        display: block
    }

    .comic-art {
        height: 360px
    }

    .section-title-row h1,
    .section-title-row h2 {
        font-size: 21px
    }

    .category-grid {
        grid-template-columns: repeat(2, 1fr)
    }

    .promo h2 {
        font-size: 22px
    }

    .promo-actions {
        flex-direction: column
    }

    .feature-section,
    .comments,
    .faq-section {
        padding-top: 50px
    }

    .section-heading h2 {
        font-size: 25px
    }

    .event-card {
        padding: 24px
    }

    .coin-stack,
    .capsule {
        width: 85px;
        height: 85px;
        font-size: 36px
    }

    .download {
        padding: 28px 24px
    }

    .download h2 {
        font-size: 25px
    }

    .footer-inner {
        flex-direction: column;
        gap: 12px;
        align-items: flex-start
    }
}
@media(max-width:900px) {
  .comic-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .comic-card:last-child {
    display: block
  }

  .comic-cover {
    aspect-ratio: 3/4
  }

  .promo {
    grid-template-columns: 1fr
  }

  .promo-preview {
    height: auto;
    min-height: 0;
    aspect-ratio: 16/8;
    border-radius: 20px 20px 0 0;
  }

  .event-media {
    width: 40%;
    max-width: 260px
  }

  .decor-img {
    max-height: 360px
  }
}

@media(max-width:680px) {
  .comic-strip {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(150px, 43vw);
    grid-template-columns: none;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-snap-type: x mandatory;
    gap: 12px;
    padding: 2px 2px 12px;
    scrollbar-width: none;
  }

  .comic-strip::-webkit-scrollbar {
    display: none
  }

  .comic-card {
    min-width: 0;
    scroll-snap-align: start
  }

  .comic-cover {
    aspect-ratio: 3/4;
    border-radius: 14px 14px 8px 8px
  }

  .promo-preview {
    aspect-ratio: 16/9
  }

  .event-card {
    flex-direction: column;
    align-items: stretch
  }

  .event-media {
    order: -1;
    width: 100%;
    max-width: none;
    aspect-ratio: 16/9
  }

  .app-shot {
    aspect-ratio: 9/16;
    max-height: 620px
  }
}

@media(max-width:420px) {
  .comic-strip {
    grid-auto-columns: minmax(138px, 72vw)
  }

  .comic-cover {
    aspect-ratio: 3/4
  }

  .promo-preview {
    aspect-ratio: 16/10
  }

  .event-media {
    aspect-ratio: 4/3;
    border-radius: 14px
  }

  .media-frame {
    border-radius: 14px
  }
}

@media(prefers-reduced-motion:reduce) {
  .comic-cover img {
    transition: none
  }

  .comic-card:hover .comic-cover img {
    transform: none
  }
}
.comic-cover {
  display: block;
  width: 100%;
  aspect-ratio: 3/4;
  overflow: hidden;
  border-radius: 16px 16px 10px 10px;
  background: linear-gradient(135deg, #fff3f7, #f6edf2);
  position: relative;
}

.comic-cover img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center top;
  transition: transform .38s ease, filter .38s ease;
}

.comic-card:hover .comic-cover img {
  transform: scale(1.045);
  filter: saturate(1.04)
}
.logofoot{
    display: flex;
    flex-direction: row;
    align-items: center;
}
