@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;700&family=Noto+Sans+JP:wght@400;500;700&display=swap');

/* ベース */
body.gacha-page {
    background: radial-gradient(120% 120% at 20% 10%, rgba(71,117,255,0.25), transparent 35%),
                radial-gradient(100% 100% at 80% 0%, rgba(255,173,104,0.18), transparent 40%),
                #0c111b;
    color: #e9edf4;
    font-family: 'Space Grotesk', 'Noto Sans JP', system-ui, -apple-system, sans-serif;
    letter-spacing: 0.01em;
}

body.gacha-page a {
    color: inherit;
    text-decoration: none;
}

.gacha-shell {
    overflow: hidden;
}

.gacha-container {
    width: min(1180px, 92vw);
    margin: 0 auto;
}

/* ヘッダーをダークトーンに */
.gacha-page .header-area {
    background: transparent;
    position: relative;
    z-index: 10;
}

.gacha-page .header-top {
    background: rgba(16, 23, 38, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #dfe5f0;
    backdrop-filter: blur(10px);
}

.gacha-page .header-main-area.sticky {
    background: rgba(10, 14, 24, 0.85);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(12px);
}

.gacha-page .header-area a {
    color: #eef2ff;
    font-weight: 600;
}

.gacha-page .logo {
    display: none;
}

.gacha-page .welcome-message p {
    color: #f4f7ff;
}

.gacha-page .footer-widget-area {
    background: #ffffff;
    color: #111111;
}

.gacha-page .footer-widget-area .widget-title,
.gacha-page .footer-widget-area .widget-item h6,
.gacha-page .footer-widget-area .widget-body,
.gacha-page .footer-widget-area .widget-body a,
.gacha-page .footer-widget-area .info-list a {
    color: #111111;
}

.gacha-page .footer-widget-area .widget-body a:hover,
.gacha-page .footer-widget-area .info-list a:hover {
    color: #2b6cb0;
}

.gacha-page .footer-widget-area .contact-block li,
.gacha-page .footer-widget-area .contact-block i {
    color: #222222;
}

.gacha-page .footer-bottom {
    background: #f4f6fb;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.gacha-page .footer-bottom .copyright-text p {
    color: #111111;
}

/* ヒーロー */
.gacha-hero {
    position: relative;
    min-height: 76vh;
    padding: 120px 0 90px;
    isolation: isolate;
    background:
        linear-gradient(140deg, rgba(30, 40, 60, 0.9), rgba(14, 18, 28, 0.94)),
        var(--hero-bg) center/cover no-repeat;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.gacha-hero::after {
    content: "";
    position: absolute;
    inset: 15% 20% auto auto;
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, rgba(93, 212, 255, 0.25), transparent 60%);
    filter: blur(30px);
    z-index: 0;
}

.gacha-hero__video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.35;
    mix-blend-mode: screen;
    z-index: 0;
}

.gacha-hero__inner {
    position: relative;
    z-index: 2;
}

.gacha-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    color: #8cd1ff;
    font-size: 13px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 18px;
}

.gacha-hero__title {
    font-size: clamp(32px, 4vw, 46px);
    line-height: 1.2;
    margin: 0 0 16px;
    color: #f4f7ff;
}

.gacha-hero__title span {
    display: block;
    font-size: clamp(20px, 2.5vw, 26px);
    color: #8bd8ff;
    font-weight: 500;
}

.gacha-hero__lead {
    max-width: 720px;
    font-size: 16px;
    color: #c4ccdc;
    margin-bottom: 28px;
}

.gacha-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 20px;
}

.gacha-hero__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    color: #c8d3e5;
}

.pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 13px;
}

.pill--accent {
    background: rgba(255, 141, 209, 0.14);
    color: #ffc7f1;
    border-color: rgba(255, 141, 209, 0.35);
}

.pill--soft {
    background: rgba(120, 203, 255, 0.12);
    color: #b2e5ff;
    border-color: rgba(120, 203, 255, 0.4);
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #6ad8ff;
    box-shadow: 0 0 0 6px rgba(106, 216, 255, 0.1);
}

.dot--hot {
    background: #ff9f7b;
    box-shadow: 0 0 0 6px rgba(255, 159, 123, 0.16);
}

.dot--mint {
    background: #8ef5b9;
    box-shadow: 0 0 0 6px rgba(142, 245, 185, 0.16);
}

.gacha-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 18px;
    border-radius: 14px;
    font-weight: 700;
    border: 1px solid transparent;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.gacha-btn--primary {
    background: linear-gradient(120deg, #5fb2ff, #6cffd0);
    color: #0b0f1a;
    box-shadow: 0 10px 40px rgba(108, 255, 208, 0.25);
}

.gacha-btn--primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 42px rgba(108, 255, 208, 0.38);
}

.gacha-btn--ghost {
    border-color: rgba(255, 255, 255, 0.25);
    color: #e4ebff;
    background: rgba(255, 255, 255, 0.05);
}

.gacha-btn--ghost:hover {
    border-color: rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-1px);
}

/* ハイライト */
.gacha-highlight {
    padding: 42px 0 22px;
}

.gacha-highlight__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 18px;
}

.gacha-highlight__item {
    position: relative;
    padding: 18px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.28);
    overflow: hidden;
}

.gacha-highlight__item h3 {
    margin: 0 0 6px;
    font-size: 17px;
    color: #f4f7ff;
}

.gacha-highlight__item p {
    margin: 0;
    color: #bdc7d9;
    font-size: 14px;
    line-height: 1.5;
}

.badge-icon {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(108, 255, 208, 0.35), rgba(95, 178, 255, 0.3));
    margin-bottom: 10px;
}

/* ラインナップ */
.gacha-lineup {
    padding: 40px 0 60px;
}

.section-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 18px;
    flex-wrap: wrap;
}

.section-heading h2 {
    margin: 0;
    font-size: 22px;
    color: #f0f4ff;
}

.section-heading .sub {
    color: #aeb8cc;
    font-size: 14px;
}

.gacha-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 18px;
}

.gacha-card {
    position: relative;
    border-radius: 20px;
    background: var(--card-surface, rgba(255, 255, 255, 0.02));
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.35);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.gacha-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.45);
}

.gacha-card__media {
    position: relative;
    padding-top: 62%;
    background: rgba(255, 255, 255, 0.04);
    background-size: cover;
    background-position: center;
    filter: saturate(1.05);
}

.gacha-card__content {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.gacha-card__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.gacha-card h3 {
    margin: 0;
    font-size: 17px;
    color: #f6f8ff;
}

.gacha-card__desc {
    margin: 0;
    color: #c1cadc;
    font-size: 14px;
    line-height: 1.5;
}

.gacha-card__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.gacha-card .price .label {
    display: block;
    color: #9fb1cc;
    font-size: 12px;
}

.gacha-card .price .value {
    font-size: 18px;
    font-weight: 800;
    color: #6cffd0;
}

.gacha-card .status {
    font-size: 13px;
    color: #d7def0;
}

.gacha-card__actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 4px;
}

.gacha-empty {
    padding: 24px 18px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px dashed rgba(255, 255, 255, 0.15);
    color: #c8d1e3;
}

/* CTA */
.gacha-cta {
    padding: 0 0 80px;
}

.gacha-cta__inner {
    position: relative;
    padding: 30px 24px;
    border-radius: 18px;
    background: linear-gradient(120deg, rgba(95, 178, 255, 0.18), rgba(108, 255, 208, 0.2));
    border: 1px solid rgba(255, 255, 255, 0.16);
    overflow: hidden;
    color: #f4f7ff;
    box-shadow: 0 16px 50px rgba(89, 211, 255, 0.25);
}

.gacha-cta__inner::after {
    content: "";
    position: absolute;
    inset: -40% auto auto 60%;
    width: 360px;
    height: 360px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.4), transparent 60%);
    filter: blur(30px);
}

.gacha-cta__inner h3 {
    margin: 0 0 6px;
    font-size: 22px;
    color: #f8fbff;
}

.gacha-cta__inner p {
    margin: 0 0 14px;
    color: #dbe5ff;
}

.gacha-cta__actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.gacha-cta__actions .gacha-btn--ghost {
    color: #f4f7ff;
    border-color: rgba(244, 247, 255, 0.6);
    background: rgba(255, 255, 255, 0.04);
}

/* 商品詳細 */
.gacha-detail__hero {
    position: relative;
    padding: 120px 0 60px;
    background:
        linear-gradient(140deg, rgba(19, 28, 44, 0.94), rgba(14, 18, 28, 0.9)),
        var(--hero-bg) center/cover no-repeat;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.gacha-detail__hero-inner {
    display: grid;
    grid-template-columns: 360px 1fr;
    gap: 30px;
    align-items: center;
}

.gacha-detail__media {
    position: relative;
}

.gacha-detail__badge {
    display: inline-block;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    color: #d1e7ff;
    font-size: 12px;
    letter-spacing: 0.08em;
    margin-bottom: 12px;
}

.gacha-detail__thumb {
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.08);
    background-size: cover;
    background-position: center;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.gacha-detail__content {
    color: #e8edf7;
}

.gacha-detail__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 16px;
}

.gacha-detail__title {
    margin: 0 0 12px;
    font-size: clamp(28px, 3vw, 34px);
    color: #f7f9ff;
}

.gacha-detail__lead {
    margin: 0 0 18px;
    color: #c8d3e5;
    line-height: 1.6;
}

.gacha-detail__stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 12px;
    margin-bottom: 20px;
}

.gacha-detail__stats .label {
    color: #9fb1cc;
    font-size: 12px;
    letter-spacing: 0.04em;
}

.gacha-detail__stats .value {
    color: #6cffd0;
    font-size: 20px;
    font-weight: 800;
}

.gacha-detail__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

.gacha-detail__form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.gacha-detail__form-row {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 12px;
    align-items: center;
}

.gacha-detail__body {
    padding: 50px 0 80px;
    background: #0c111b;
}

.gacha-detail__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 18px;
}

.gacha-detail__card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 18px;
    color: #e8edf7;
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.35);
}

.gacha-detail__card h2 {
    margin: 0 0 10px;
    font-size: 18px;
    color: #f7f9ff;
}

.gacha-detail__card p {
    color: #c8d3e5;
    line-height: 1.6;
}

.gacha-detail__pre {
    white-space: pre-wrap;
    font-family: "Space Grotesk", "Noto Sans JP", monospace;
    background: rgba(255, 255, 255, 0.03);
    padding: 12px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #e8edf7;
}

.gacha-detail__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

@media (max-width: 991px) {
    .gacha-detail__hero-inner {
        grid-template-columns: 1fr;
    }

    .gacha-detail__thumb {
        max-width: 360px;
    }

    .gacha-detail__form-row {
        grid-template-columns: 1fr;
    }
}

/* カタログ */
.gacha-catalog__hero {
    padding: 90px 0 40px;
    background: linear-gradient(160deg, rgba(20, 27, 41, 0.95), rgba(12, 17, 27, 0.9));
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.gacha-catalog__hero h1 {
    margin: 8px 0 6px;
    color: #f7f9ff;
    font-size: clamp(28px, 3vw, 34px);
}

.gacha-catalog__hero .lead {
    color: #c8d3e5;
    margin: 0;
}

.gacha-catalog__grid {
    padding: 36px 0 80px;
    background: #0c111b;
}

@media (max-width: 767px) {
    .gacha-hero {
        padding-top: 110px;
    }

    .gacha-hero__actions {
        flex-direction: column;
    }

    .gacha-card__actions {
        grid-template-columns: 1fr;
    }
}
