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

/* --- Premium Design System --- */
:root {
    --primary-gradient: linear-gradient(135deg, #ff0055 0%, #ff5e3a 100%);
    --primary-color: #e84a8a;
    --line-color: #06C755;
    --content-width: 1120px;
    --content-gutter: 1rem;
    --bg-color: #f7f2f4;
    --card-bg: #ffffff;
    --text-main: #222222;
    --text-muted: #666666;
    --text-light: #8b8b8b;
    --border-soft: #e5e5e5;
    --border-medium: #d8d8d8;
}

/* --- Global Reset & Typography --- */
body {
    background-color: var(--bg-color);
    color: var(--text-main);
    font-family: "Inter", "Noto Sans JP", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-feature-settings: "palt";
    -webkit-font-smoothing: antialiased;
    letter-spacing: 0.01em;
    margin: 0;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    margin: 0;
    letter-spacing: 0.02em;
}

p{
	font-size: 1rem;
	line-height:1.7;
	margin-bottom:2rem;
	letter-spacing:0.04rem;
}
@media (max-width: 767px) {
    p {
	font-size: 0.92rem;
	line-height:1.7;
	margin-bottom:1.8rem;
    }
}

/* --- Layout Components --- */
.main-container {
    max-width: var(--content-width);
    margin: 0 auto 3rem auto;
    padding: 0;
    position: relative;
    box-sizing: content-box;
}

@media (min-width: 900px) {
    .main-container {
        padding: 0;
        margin-top: 0;
    }
}

.hero-banner {
    width: 100%;
    overflow: hidden;
}

.hero-banner.is-hidden {
    display: none;
}

.hero-banner picture,
.hero-banner-image {
    display: block;
    width: 100%;
}

.hero-banner-image {
    height: auto;
}

@media (min-width: 900px) {
    .hero-banner-image {
        height: 30vh;
        min-height: 300px;
        object-fit: cover;
        object-position: center;
    }
}

/* --- Profile Header --- */
.sidebar-card,
.profile-hero {
    background: var(--card-bg);
    border: 1px solid var(--border-soft);
    border-radius: 0;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 0;
    box-shadow: none;
}

.profile-hero {
    gap: 1rem;
    align-items: stretch;
    margin-top: 0;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    position: relative;
    z-index: 2;
    border-top: 0;
    border-left: 0;
    border-right: 0;
    padding: 0 var(--content-gutter);
}

.fullbleed-inner {
    width: 100%;
    max-width: calc(var(--content-width) - (var(--content-gutter) * 2));
    margin: 0 auto;
}

.profile-hero-inner {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 0;
}

.profile-hero-main {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1rem;
    width: 100%;
}

.profile-hero-copy {
    margin-bottom: 0;
    width: 100%;
    text-align: left;
}

.profile-hero-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 0.55rem;
}

.profile-tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 28px;
    padding: 0.35rem 0.75rem;
    background: #fff2d9;
    border-radius: 4px;
    color: var(--primary-color);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.profile-tag-soft {
    background: #eef8ef;
    color: #26a65b;
}

.profile-summary {
    margin: 0.2rem 0 0;
    font-size: 0.92rem;
    font-weight: 400;
    line-height: 1.55;
    letter-spacing: 0;
    text-transform: none;
    color: var(--text-muted);
}

.profile-hero-actions {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    justify-content: center;
    align-items: center;
}

@media (min-width: 900px) {
    .profile-hero {
        padding: 0 var(--content-gutter);
    }

    .profile-hero-inner {
        display: grid;
        grid-template-columns: minmax(0, 1fr) 300px;
        align-items: center;
        gap: 1rem;
        padding: 1rem 0;
    }

    .profile-hero-main {
        display: grid;
        grid-template-columns: 92px minmax(0, 1fr);
        align-items: center;
        gap: 1rem;
        min-width: 0;
    }

    .profile-hero-copy {
        text-align: left;
        max-width: none;
        justify-self: stretch;
    }

    .profile-hero-meta {
        justify-content: flex-start;
    }

    .profile-hero-actions {
        width: 100%;
        min-width: 0;
        max-width: 260px;
        display: grid;
        grid-template-columns: 1fr;
        gap: 0.65rem;
        justify-self: end;
        align-self: center;
        justify-items: center;
    }
}

.sidebar-header {
    text-align: left;
    margin-bottom: 0;
}

.sidebar-header h1 {
    font-size: 1.6rem;
    font-weight: 700;
    text-transform: none;
    margin-bottom: 0rem;
}

.sidebar-header p {
    font-size: 14px;
    letter-spacing: 0.03em;
    text-transform: none;
}

/* Profile Image Border */
.profile-img-container {
    padding: 0;
    border-radius: 9999px;
    margin-bottom: 0;
    background: transparent;
    flex-shrink: 0;
}

.profile-img-container img {
    width: 84px;
    height: 84px;
    border-radius: 9999px;
    object-fit: cover;
    border: 1px solid var(--border-soft);
}

.sidebar-status-dot {
    position: absolute;
    bottom: 0.25rem;
    right: 0.7rem;
    width: 1rem;
    height: 1rem;
    background-color: #22c55e;
    border: 2px solid white;
    border-radius: 9999px;
}

@media (max-width: 899px) {
    .profile-hero {
        padding-top: 1.1rem;
        padding-bottom: 1.1rem;
    }

    .profile-hero-main {
        align-items: flex-start;
    }

    .profile-hero-copy {
        padding-top: 0.2rem;
    }

    .sidebar-header h1 {
        font-size: 1.6rem;
    }

    .profile-summary {
        max-width: none;
    }
}

/* --- Sidebar Actions --- */
.sidebar-actions {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* --- Premium Buttons --- */
.btn-sidebar {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 48px;
    border-radius: 8px;
    font-weight: 800;
    font-size: 0.92rem;
    letter-spacing: 0.02em;
    text-transform: none;
    text-decoration: none;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
    box-sizing: border-box;
    color: var(--text-muted) !important;
}

.btn-sidebar-secondary {
    border: 1px solid var(--border-soft);
    background: #ffffff;
}

.btn-sidebar:hover {
    border-color: var(--primary-color);
    color: var(--primary-color) !important;
}

.btn-sidebar.line {
    background-color: var(--line-color);
    color: #ffffff !important;
    margin-top: 0;
    border: none;
    font-size: 0.9rem;
    letter-spacing: 0.02em;
    line-height: 1;
    text-align: center;
    padding: 0 0.2rem;
}

.line-icon {
    width: 1.1rem;
    height: 1.1rem;
    object-fit: contain;
    flex-shrink: 0;
    margin-right: 0.4rem;
}

.btn-sidebar.premium {
    background: var(--primary-gradient);
    color: #ffffff !important;
    margin-top: 0;
    /* margin-bottom: 0.75rem; */
    border: none;
    font-size: 0.85rem;
    letter-spacing: 0.15em;
}

.btn-sidebar.dark {
    background-color: #0f172a;
    color: #ffffff !important;
    margin-top: 0;
    margin-bottom: 0.75rem;
    border: none;
    font-size: 0.85rem;
    letter-spacing: 0.15em;
}

/* --- Content CTA Button --- */
.btn-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 440px;
    padding: 1.05rem 1.6rem;
    background-color: var(--line-color);
    color: #ffffff !important;
    border-radius: 12px;
    font-weight: 800;
    font-size: 1.1rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-cta:hover {
    transform: scale(1.03);
    opacity: 0.95;
}

.btn-cta i {
    font-size: 1.3rem;
    margin-right: 0.6rem;
}

/* --- Component: Secondary Button --- */
.btn-view-all {
    display: inline-block;
    padding: 1rem 3.5rem; /* px-14 py-4 */
    border: 1px solid var(--border-medium);
    border-radius: 8px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.4em;
    color: var(--text-light);
    text-transform: uppercase;
    transition: all 0.3s;
    background: transparent;
    cursor: pointer;
}

.btn-view-all:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
}

/* --- Component: CTA Card --- */
.cta-card {
    margin-top: 4rem;
    padding: 1.5rem;
    background-color: #F0F4F8;
    border-radius: 12px;
    text-align: center;
    border: 0px solid var(--border-soft);
}

@media (min-width: 768px) {
    .cta-card {
        padding: 1.25rem 1.5rem;
    }
}

.cta-title {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 0.65rem;
    color: #334155;
    line-height: 1.625;
    padding: 0;
    text-align: center;
}

@media (min-width: 768px) {
    .cta-title {
        font-size: 1.25rem;
		text-align: center;
    }
}

.cta-note {
    margin-top: 0.9rem;
    font-size: 12px;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-weight: 700;
    opacity: 0.8;
}

.cta-benefits-list {
    list-style: none;
    margin: 0 auto 1rem;
    padding: 0;
    max-width: 420px;
    text-align: left;
    color: #334155;
}

.cta-benefits-list li {
    position: relative;
    padding-left: 1.6rem;
    margin-bottom: 0.45rem;
    font-weight: 700;
    line-height: 1.55;
}

.cta-benefits-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.7rem;
    width: 0.55rem;
    height: 0.55rem;
    border-radius: 999px;
    background: var(--primary-gradient);
}

.cta-present-img {
    display: block;
    margin: 0 auto 1rem;
    width: 360px;
    max-width: 100%;
    height: auto;
    transition: transform 0.5s ease;
    margin-top: -3rem;
}

.cta-present-img:hover {
    transform: translateY(-5px) rotate(5deg);
}

/* Social Icon Buttons (3 columns) */
.social-links-grid {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    width: 100%;
}

@media (min-width: 900px) {
    .social-links-grid {
        width: auto;
        gap: 0.75rem;
    }
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: #ffffff;
    border-radius: 999px;
    color: #475569;
    text-decoration: none;
    transition: all 0.2s;
    border: 1px solid var(--border-soft);
    box-shadow: none;
}

@media (min-width: 900px) {
    .social-link {
        width: 40px;
        height: 40px;
    }
}

.social-link:hover {
    background-color: #fafafa;
    color: var(--primary-color);
}

.social-link i {
    font-size: 1.15rem;
}

/* --- Home Sections --- */
.page-tabs {
    margin: 0 0 1rem;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    background: #ffffff;
    border-left: 0;
    border-right: 0;
    border-bottom: 1px solid var(--border-soft);
    padding: 0 var(--content-gutter);
}

.page-tabs-inner {
    display: flex;
    align-items: center;
    gap: 0;
    overflow-x: auto;
    scrollbar-width: none;
}

.page-tabs-inner::-webkit-scrollbar {
    display: none;
}

.page-tab {
    flex: 0 0 auto;
    text-decoration: none;
    color: #334155;
    padding: 0.9rem;
    font-size: 0.9rem;
    font-weight: 800;
    letter-spacing: 0;
    border-bottom: 2px solid transparent;
    transition: all 0.2s ease;
}

.page-tab:hover,
.page-tab.is-active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

.post-list-section {
    margin-bottom: 2.8rem;
    padding: 0 var(--content-gutter);
}

.section-heading {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    margin-bottom: 1rem;
}

.section-kicker {
    margin: 0;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--primary-color);
}

.section-heading h2 {
    font-size: clamp(1.5rem, 2vw, 2rem);
    font-weight: 700;
    line-height: 1.2;
}

.section-description {
    margin: 0;
    font-size: 0.98rem;
    line-height: 1.8;
    color: var(--text-muted);
}

.home-post-group + .home-post-group {
    margin-top: 2rem;
}

.home-post-heading {
    margin-bottom: 1rem;
}

/* --- Content Styling --- */
.tag-label {
    display: inline-block;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    padding: 4px 0;
    margin-bottom: 1rem;
    color: var(--text-light);
}

/* --- Component: Post Meta Date --- */
.post-date {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--text-light);
    display: block;
}

/* --- Component: Post Navigation (Prev/Next) --- */
.post-nav {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    align-items: stretch;
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-soft);
}

.post-nav-link {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 3.2rem;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    transition: color 0.3s;
    text-decoration: none;
    cursor: pointer;
}

.post-nav-link + .post-nav-link {
    border-left: 1px solid var(--border-soft);
}

.post-nav-link.prev {
    justify-content: flex-start;
    padding-right: 1rem;
}

.post-nav-link.center {
    padding: 0 1rem;
}

.post-nav-link.next {
    justify-content: flex-end;
    padding-left: 1rem;
}

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

.post-nav-link i {
    font-size: 0.75rem;
    transition: transform 0.3s;
}

.post-nav-link.prev i { margin-right: 0.75rem; }
.post-nav-link.next i { margin-left: 0.75rem; }

.post-nav-link.prev:hover i { transform: translateX(-4px); }
.post-nav-link.next:hover i { transform: translateX(4px); }

.tag-badge-pink {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--primary-color);
    color: white;
    padding: 0.4rem 0.8rem;
    border-radius: 8px;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    z-index: 10;
    box-shadow: 0 4px 12px rgba(255, 0, 85, 0.2);
}

.blog-card-image {
    position: relative; /* For absolute badge */
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 12px;
    background-color: #e2e8f0;
    border: 1px solid var(--border-soft);
}

.category-pill-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.3rem;
    margin: 0 0 1rem;
}

.category-pill {
    appearance: none;
    border: 1px solid var(--border-soft);
    background: #ffffff;
    color: #475569;
    border-radius: 999px;
    min-height: 34px;
    padding: 0.45rem 0.9rem;
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    transition: color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.category-pill:hover,
.category-pill.is-active {
    color: var(--primary-color);
    border-color: rgba(232, 74, 138, 0.35);
    background: #fff1f6;
}

/* --- Component: Posts Grid --- */
.posts-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    column-gap: 1.25rem;
    row-gap: 1.75rem;
}

@media (min-width: 768px) {
    .posts-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1100px) {
    .posts-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.post-card {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    transition: opacity 0.3s;
    color: inherit;
}

.post-card:hover {
    opacity: 0.9;
}

.post-card-visual {
    position: relative;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 8px;
    background-color: #f1f5f9;
    margin-bottom: 0.8rem;
}

.post-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.post-card:hover .post-card-img {
    transform: scale(1.02);
}

.post-lock-badge {
    position: absolute;
    bottom: 0.75rem;
    left: 0.75rem;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    color: white;
    font-size: 10px;
    padding: 0.4rem 0.8rem;
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    z-index: 20;
}

.post-lock-badge i {
    font-size: 12px;
}

.post-lock-badge span {
    font-weight: 700;
    letter-spacing: 0.05em;
}

.post-category-chip {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 0.2rem 0.6rem;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: none;
    position: absolute;
    top: 0.85rem;
    left: 0.85rem;
    z-index: 20;
    background: #E84A8A;
    color: #FFFFFF;
    line-height: 1;
}

.post-card-body {
    padding: 0 0.25rem;
}

.post-card-title {
    font-size: 1rem;
    font-weight: 800;
    line-height: 1.5;
    margin-bottom: 0.45rem;
    transition: color 0.3s;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    line-clamp: 2;
    overflow: hidden;
}

.post-card:hover .post-card-title {
    color: var(--primary-color);
}

.post-card-meta {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: var(--text-light);
}

.post-card-stat {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.post-card-stat i {
    font-size: 0.75rem;
}

.post-card-stat span {
    font-size: 14px;
    font-weight: 700;
}

.content-blur-teaser {
    filter: blur(12px);
    transform: scale(1.1);
}

.empty-state {
    grid-column: 1 / -1;
    border: 1px solid var(--border-soft);
    border-radius: 18px;
    padding: 2.5rem 1.5rem;
    text-align: center;
    color: var(--text-muted);
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.media-section {
    margin-bottom: 3rem;
    padding: 0 var(--content-gutter);
}

.media-gallery-grid,
#gallery-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

@media (min-width: 900px) {
    .media-gallery-grid,
    #gallery-container {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* --- Component: Gallery --- */

.gallery-item {
    position: relative;
    aspect-ratio: 1 / 1;
    appearance: none;
    padding: 0;
    width: 100%;
    border-radius: 4px;
    overflow: hidden;
    background-color: #f1f5f9;
    border: 1px solid var(--border-soft);
    box-shadow: none;
    cursor: zoom-in;
}

.gallery-item.is-locked {
    cursor: pointer;
}

.gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.gallery-img-blurred {
    filter: blur(14px);
    transform: scale(1.08);
}

.gallery-item:hover .gallery-img {
    transform: scale(1.03);
}

.gallery-item.is-locked:hover .gallery-img-blurred {
    transform: scale(1.1);
}

.gallery-lock-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.18) 0%, rgba(15, 23, 42, 0.48) 100%);
    color: #ffffff;
    text-align: center;
}

.gallery-lock-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    min-height: 34px;
    padding: 0.45rem 0.9rem;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.72);
    backdrop-filter: blur(6px);
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.04em;
}

.gallery-lock-copy {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-shadow: 0 2px 12px rgba(15, 23, 42, 0.4);
}

body.lightbox-open {
    overflow: hidden;
}

.gallery-lightbox {
    position: fixed;
    inset: 0;
    z-index: 1200;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.gallery-lightbox.active {
    opacity: 1;
    visibility: visible;
}

.gallery-lightbox-overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.82);
    backdrop-filter: blur(4px);
}

.gallery-lightbox-dialog {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: auto;
    max-width: 100vw;
    max-height: 100vh;
}

.gallery-lightbox-image {
    display: block;
    width: auto;
    height: auto;
    max-width: 100vw;
    max-height: 100vh;
    object-fit: contain;
    border-radius: 0;
    background: #ffffff;
}

.gallery-lightbox-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 2.5rem;
    height: 2.5rem;
    border: 0;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.45);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2);
}

@media (max-width: 767px) {
    .gallery-lightbox {
        padding: 0;
    }

    .gallery-lightbox-dialog {
        width: 100%;
    }
}

/* --- Component: Hero Layout Grid (2:1) --- */
.hero-layout-grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2.4rem;
}

@media (min-width: 900px) {
    .hero-layout-grid {
        flex-direction: row;
        align-items: stretch;
    }
    .hero-section-main {
        flex: 2; /* Exactly 2 parts of 3 */
    }
    .hero-section-aside {
        flex: 1; /* Exactly 1 part of 3 */
        min-width: 0; /* Allow scaling */
    }
}

.hero-post-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.hero-post-container {
    width: 100%;
}

.hero-post-visual {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 12px;
    background-color: #f1f5f9;
    margin-bottom: 1.5rem;
}

.hero-post-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.hero-post-link:hover .hero-post-img {
    transform: scale(1.05);
}

.hero-post-title {
    font-size: 1.5rem;
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 1.5rem;
    transition: color 0.3s;
}

@media (min-width: 768px) {
    .hero-post-title {
        font-size: 1.4rem;
    }
}

.hero-post-link:hover .hero-post-title {
    color: var(--primary-color);
}

.hero-section-full {
    width: 100%;
}

.hero-post-meta {
    display: flex;
    align-items: center;
    gap: 2rem;
    color: var(--text-light);
}

.hero-post-stat {
    display: flex;
    align-items: center;
    gap: 0.50rem;
}

.hero-post-stat i {
    font-size: 0.875rem;
}

.hero-post-stat span {
    font-size: 0.75rem;
    font-weight: 700;
}

.hero-side-banner {
    width: 100%;
    height: 100%;
    min-height: 250px;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    border: 1px solid var(--border-soft);
}

.hero-side-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s ease;
}

.hero-side-banner:hover img {
    transform: scale(1.05);
}

.radius-8 { border-radius: 8px !important; }

/* --- Video Gate for Blog Detail --- */
.video-gate-container {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background-color: #000;
    border-radius: 12px;
    overflow: hidden;
    margin: 4rem 0;
}

.video-gate-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.4);
    backdrop-filter: blur(25px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.6s ease;
    z-index: 30;
}

.video-gate-overlay.active {
    opacity: 1;
    visibility: visible;
}

.video-gate-btn {
    background: var(--primary-gradient);
    color: white;
    padding: 1.25rem 3rem;
    border-radius: 999px;
    font-weight: 800;
    font-size: 1rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    box-shadow: 0 10px 30px rgba(255, 0, 85, 0.3);
    border: none;
    cursor: pointer;
    transition: transform 0.3s;
}

.video-gate-btn:hover {
    transform: scale(1.05);
}

.video-follow-cta {
    margin-top: -1rem;
    margin-bottom: 1rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.6rem;
}

.video-follow-copy {
    margin: 0;
    color: #64748b;
    font-weight: 700;
    line-height: 1.7;
}

.video-follow-link {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    text-decoration: none;
    color: var(--primary-color);
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.video-follow-link:hover {
    opacity: 0.85;
}

/* --- Custom Play Button Overlay --- */
.video-play-overlay {
    position: absolute;
    inset: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.2);
    cursor: pointer;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.video-play-overlay.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.play-btn-circle {
    width: 80px;
    height: 80px;
    background: var(--primary-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    padding-left: 5px; /* Adjusting play icon offset */
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 4px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.video-play-overlay:hover .play-btn-circle {
    transform: scale(1.15);
    box-shadow: 0 0 30px rgba(255, 0, 85, 0.4);
}

/* --- Blog Article Refinement --- */
.blog-article {
    max-width: 780px;
    margin-left: auto;
    margin-right: auto;
}

.detail-page-shell {
    width: 100%;
    padding: 0 var(--content-gutter) 0;
}

.profile-page-heading {
    margin-bottom: 0;
}

.profile-intro-section {
    margin-bottom: 0.75rem;
}

.profile-detail-shell {
    padding-top: 0;
}

.profile-detail-shell .detail-page-card {
    padding-top: 1rem;
}

.detail-page-card {
    max-width: var(--content-width);
    margin: 0 auto;
    background: #ffffff;
    border: 1px solid var(--border-soft);
    border-radius: 12px;
    padding: 1rem 1.2rem 1.6rem;
}

@media (min-width: 900px) {
    .detail-page-shell {
        padding-top: 0;
    }

    .detail-page-card {
        padding: 1.25rem 2rem 2rem;
    }

    .profile-detail-shell .detail-page-card {
        padding-top: 1.25rem;
    }
}

.detail-content-layout {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.detail-content-layout > .blog-article,
.detail-content-layout > .detail-sidebar {
    width: 100%;
    max-width: 780px;
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 1100px) {
    .detail-content-layout {
        display: grid;
        grid-template-columns: minmax(0, 1fr) 300px;
        gap: 4rem;
        align-items: start;
    }

    .detail-sidebar {
        max-width: none;
        margin: 0;
    }

    .detail-content-layout > .blog-article,
    .detail-content-layout > .detail-sidebar {
        margin-left: 0;
        margin-right: 0;
    }
}

.detail-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
    max-width: 840px;
    margin: 0 auto;
}

.detail-sidebar-card {
    border: 1px solid var(--border-soft);
    border-radius: 12px;
    padding: 1rem;
    background: #ffffff;
}

.detail-sidebar-title {
    margin: 0 0 0.9rem;
    margin-left: -1rem;
    margin-right: -1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    font-size: 0.95rem;
    font-weight: 800;
    line-height: 1.4;
    padding-bottom: 0.8rem;
    padding-left: 1rem;
    padding-right: 1rem;
    border-bottom: 1px solid var(--border-soft);
}

.detail-sidebar-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.15rem 0.45rem;
    border-radius: 999px;
    background: #ffe3ef;
    color: #e84a8a;
    font-size: 0.65rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    line-height: 1;
    white-space: nowrap;
    flex-shrink: 0;
}

.detail-sidebar-list {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}

.detail-sidebar-link {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 0.9rem;
    align-items: center;
    text-decoration: none;
    color: inherit;
}

.detail-sidebar-link:hover .detail-sidebar-link-title {
    color: var(--primary-color);
}

.detail-sidebar-thumb {
    width: 72px;
    height: 72px;
    border-radius: 4px;
    object-fit: cover;
}

.detail-sidebar-thumb-wrap {
    position: relative;
    width: 72px;
    height: 72px;
    border-radius: 4px;
    overflow: hidden;
    display: block;
    flex-shrink: 0;
}

.detail-sidebar-thumb-blurred {
    filter: blur(8px);
    transform: scale(1.08);
}

.detail-sidebar-thumb-lock {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(15, 23, 42, 0.18);
    color: #ffffff;
    font-size: 14px;
    text-shadow: 0 2px 10px rgba(15, 23, 42, 0.35);
}

.detail-sidebar-link-title {
    margin: 0;
    font-size: 0.9rem;
    font-weight: 700;
    line-height: 1.5;
    transition: color 0.2s ease;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    overflow: hidden;
    text-overflow: ellipsis;
    word-break: break-word;
}

.detail-sidebar-meta {
    font-size: 12px;
    color: var(--text-light);
}

.detail-category-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.detail-category-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 30px;
    padding: 0.35rem 0.75rem;
    border: 1px solid var(--border-soft);
    border-radius: 999px;
    text-decoration: none;
    color: #334155;
    font-size: 13px;
    font-weight: 700;
    background: #f8fafc;
}

.detail-category-chip:hover {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.blog-header {
    margin-bottom: 1rem;
    text-align: left;
}

.blog-title {
    font-size: 1.875rem;
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 0.6rem;
}

@media (max-width: 767px) {
    .blog-title {
        font-size: 1.3rem;
        line-height: 1.35;
        margin-bottom: 0.5rem;
        margin-top: 0.5rem;
    }
}

.blog-meta-container {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem 0.6rem;
    color: var(--text-muted);
}

.blog-meta-tag {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 0.2rem 0.6rem;
    border-radius: 20px;
    background: #E84A8A;
    color: #FFFFFF;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
    line-height: 1;
    white-space: nowrap;
    margin-bottom: 0rem;
}

.blog-stats-group {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.blog-stat-inline {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.blog-stat-value {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--text-light);
    text-transform: uppercase;
}

.blog-share-actions {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin-left: auto;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.blog-share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    min-height: 16px;
    padding: 0.4rem 0.4rem;
    border: 1px solid transparent;
    border-radius: 6px;
    background: #ffffff;
    color: #334155;
    font-size: 12px;
    font-weight: 800;
    line-height: 1;
    text-decoration: none;
    cursor: pointer;
    white-space: nowrap;
}

.blog-share-btn:hover {
    opacity: 0.92;
}

.blog-share-btn i {
    font-size: 14px;
}

.blog-share-btn-x,
.blog-share-btn-facebook {
    min-width: 80px;
    color: #ffffff;
}

.blog-share-btn-x {
    background: #171a1f;
}

.blog-share-btn-facebook {
    background: #1f6fe5;
}

.blog-share-btn-copy {
    min-height: 30px;
    min-width: 80px;
    padding: 0.4rem 0.4rem;
    border-color: var(--border-soft);
    background: #ffffff;
    color: #475569;
    font-size: 12px;
    font-weight: 700;
}

.blog-share-btn-copy i {
    font-size: 12px;
}

.blog-main-visual {
    margin-bottom: 2rem;
    aspect-ratio: 1 / 1;
}

/* --- Blog Content Specifics --- */
.entry-content p, 
.profile-story p {
    margin-bottom: 1.6rem;
}
@media (max-width: 899px) {
.entry-content p, 
.profile-story p {
    margin-bottom: 1.2rem;
}
}
.profile-story h2, .entry-content h2 {
    font-weight: 700;
    margin-bottom: 1.2rem;
    font-size: 1.6rem;
	border-bottom: 1px solid var(--border-medium);
	line-height: 2.2;
}
@media (max-width: 899px) {
.profile-story h2, .entry-content h2 {
    margin-bottom: 1.2rem;
    font-size: 1.2rem;
	line-height: 2;
}
}

.text-highlight-pink {
    font-weight: 700;
    color: #0f172a;
    text-decoration: underline;
    text-decoration-color: #fbcfe8;
    text-decoration-thickness: 4px;
    text-underline-offset: 8px;
}

/* --- Comment Section --- */
.comment-section {
    margin-top: 1rem;
    padding-top: 2.4rem;
    padding-right: 0px;
    border-top: 1px solid var(--border-soft);
}

.comment-section-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    display: flex;
    align-items: center;
}
@media (max-width: 899px) {
.comment-section-title{
    font-size: 1.2rem;	
    margin-bottom: 1rem;
}
}

.comment-count-badge {
    margin-left: 1.25rem;
    font-size: 1rem;
    color: var(--text-light);
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.comment-list {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    margin-bottom: 4rem;
}

.comment-item {
    display: flex;
    gap: 1rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-soft);
    text-align: left;
	align-items: center;
}

.comment-avatar {
    width: 3rem;
    height: 3rem;
    border-radius: 9999px;
    background-color: #f1f5f9;
    flex-shrink: 0;
    overflow: hidden;
}

.comment-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.comment-meta-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0rem;
}

.comment-author-name {
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--text-light);
}

.comment-timestamp {
    font-size: 0.75rem;
    color: #e2e8f0;
    text-transform: uppercase;
}

.comment-body-text {
    font-size: 0.875rem;
    color: var(--text-muted);
    line-height: 1.625;
    text-align: justify;
}

/* --- Comment Form --- */
.comment-form-block {
    background: white;
    padding: 1.6rem;
    border-radius: 12px;
    border: 1px solid var(--border-soft);
}

@media (max-width: 899px) {
    .comment-form-block {
        padding: 1rem;
    }
}

.comment-form-label-top {
    font-size: 1.2rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0rem;
}
@media (max-width: 899px) {
.comment-form-label-top {
    font-size: 1rem;
    margin-bottom: 1rem;
}
}
.comment-form-main {
    gap: 1rem;
}
@media (max-width: 899px) {
.comment-form-main {
    gap: 1rem;

}
}

.comment-form-input,
.comment-form-textarea {
    width: 100%;
    background-color: #F0F4F8;
    border: none;
    border-radius: 8px;
    padding: 1rem 1rem;
    font-size: 1rem;
    transition: all 0.3s;
    outline: none;
	margin-top:1rem;
}

.comment-form-input:focus,
.comment-form-textarea:focus {
    box-shadow: 0 0 0 2px var(--primary-color);
}

.comment-form-input {
    max-width: 24rem;
}

.comment-form-agreement {
    display: flex;
    align-items: center;
    gap: 0.6rem;
	margin-top:0.6rem;
}

.comment-form-agreement input[type="checkbox"] {
    appearance: none;
    width: 20px;
    height: 20px;
    border: 2px solid var(--border-medium);
    border-radius: 8px;
    background-color: white;
    cursor: pointer;
    position: relative;
    transition: all 0.2s;
    margin-top: 0.1rem;
    flex-shrink: 0;
}

.comment-form-agreement input[type="checkbox"]:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.comment-form-agreement input[type="checkbox"]:checked::after {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: white;
    font-size: 10px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.comment-form-agreement label {
    font-size: 0.8em;
    color: var(--text-light);
    line-height: 1.6;
    cursor: pointer;
}

.comment-form-action {
    text-align: right;
    padding-top: 1rem;
}
@media (max-width: 899px) {
.comment-form-action {
    padding-top: 0rem;
}
}

.btn-comment-submit {
    background-color: #020617;
    color: white;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-size: 1em;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
@media (max-width: 899px) {
.btn-comment-submit {
    padding: 0.7rem 1rem;
	font-size: 0.9em;
	}
}

.btn-comment-submit:hover {
    background-color: #000000;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.btn-comment-submit:active {
    transform: translateY(0);
}

/* --- Component: Sub Page Navigation --- */
.sub-nav {
    margin-bottom: 1rem;
}

@media (max-width: 899px) {
    .sub-nav {
        margin-bottom: 0rem;
        margin-top: 0.25rem;
    }
}

.btn-back-home {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    color: var(--text-light);
    text-transform: uppercase;
    display: flex;
    align-items: center;
    transition: color 0.3s;
    text-decoration: none;
}

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

.btn-back-home i {
    margin-right: 0.75rem;
}

/* --- Component: Profile Stats Grid --- */
.profile-stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1,2rem;
    padding: 1.2rem 0;
    margin-bottom: 2rem;
    border-top: 1px solid var(--border-soft);
    border-bottom: 1px solid var(--border-soft);
	text-align: center;
}

@media (min-width: 768px) {
    .profile-stats-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.profile-stat-item span:first-child {
    display: block;
    font-size: 14px;
    font-weight: 800;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-bottom: 0.2rem;
}

.profile-stat-item span:last-child {
    font-size: 1.25rem;
    font-weight: 800;
    color: #334155;
}

/* --- Secret Content Gating --- */
#secret-gate {
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.6s;
}

.secret-inline-gate {
    margin-bottom: 1.5rem;
    padding: 1.6rem;
    background: #ffffff;
    text-align: center;
    border-radius: 8px;
    border: 1px solid var(--border-soft);
    box-shadow: none;
}

.secret-inline-gate.hidden {
    display: none;
}

.secret-article-content {
    position: relative;
    transition: filter 0.5s ease, opacity 0.5s ease;
}

.secret-article-content.is-locked {
    filter: blur(26px);
    opacity: 0.9;
    pointer-events: none;
    user-select: none;
}

.secret-gate-header {
    margin-bottom: 1.6rem;
}

.secret-gate-header h2 {
    font-size: 1.75rem;
    font-weight: 800;
    /* letter-spacing: 0.08em; */
    margin-bottom: 1rem;
    color: #0f172a;
}

.secret-gate-header p {
    font-size: 0.875rem;
    color: #64748b;
    line-height: 1.6;
}

.secret-inline-form {
    max-width: 520px;
    margin: 0 auto;
}

.secret-form-input {
    width: 100%;
    background-color: #F0F4F8;
    border: 1px solid var(--border-medium);
    border-radius: 8px;
    padding: 1.25rem;
    font-size: 1rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 2rem;
    outline: none;
    transition: all 0.3s;
}

.secret-form-input:focus {
    box-shadow: 0 0 0 2px var(--primary-color);
}

.secret-form-agreement {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.85rem;
    margin-bottom: 2.5rem;
}

.secret-form-agreement input[type="checkbox"] {
    appearance: none;
    width: 1.25rem;
    height: 1.25rem;
    border: 2px solid var(--border-medium);
    border-radius: 4px;
    background-color: white;
    cursor: pointer;
    position: relative;
    transition: all 0.2s;
    flex-shrink: 0;
}

.secret-form-agreement input[type="checkbox"]:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.secret-form-agreement input[type="checkbox"]:checked::after {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: white;
    font-size: 10px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.secret-form-agreement label {
    font-size: 0.85rem;
    font-weight: 600;
    color: #64748b;
    cursor: pointer;
}

.btn-secret-submit {
    background-color: #cbd5e1; /* Default Gray */
    color: white;
    padding: 1.25rem 2rem;
    border-radius: 8px;
    font-size: 1em;
    font-weight: 700;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    border: none;
    cursor: default; /* No pointing on inactive state */
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Pink state when both input and checkbox are satisfied */
.btn-secret-submit.active-pink {
    background-color: var(--primary-color);
    cursor: pointer; /* Interaction enabled */
}

/* Override shadow/color only when active */
.btn-secret-submit.active-pink:hover {
    background-color: var(--primary-color);
    transform: scale(1.03);
    opacity: 0.95;
    box-shadow: none;
}

.btn-secret-submit:active {
    transform: scale(1);
}

/* --- Utility Classes --- */
.radius-8 { border-radius: 8px !important; }
.radius-12 { border-radius: 12px !important; }
.card-border { border: 1px solid var(--border-soft); }

/* Custom Layout Utilities (Breakpoint: 900px) */
.main-layout {
    display: flex;
    flex-direction: column;
}

.content-main {
    width: 100%;
}

.desktop-only {
    display: none !important;
}

@media (min-width: 900px) {
    .desktop-only {
        display: block !important;
    }
}

/* Shimmer Animation */
.btn-shimmer {
    position: relative;
    overflow: hidden;
}
.btn-shimmer::after {
    content: '';
    position: absolute;
    top: -50%; left: -50%; width: 200%; height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.25), transparent);
    transform: rotate(45deg);
    animation: shimmer 4s infinite;
}
@keyframes shimmer {
    0% { transform: translateX(-100%) rotate(45deg); }
    100% { transform: translateX(100%) rotate(45deg); }
}
/* --- Component: Policy Modal --- */
.policy-modal {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: center;
    visibility: hidden;
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.policy-modal.active {
    visibility: visible;
    opacity: 1;
}

.policy-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.4);
    backdrop-filter: blur(8px);
}

.policy-modal-content {
    position: relative;
    background: #ffffff;
    width: 92%;
    max-width: 560px;
    max-height: 80vh;
    border-radius: 16px;
    padding: 2.5rem;
    overflow-y: auto;
    z-index: 10;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

@media (min-width: 768px) {
    .policy-modal-content {
        padding: 3.5rem;
    }
}

.policy-modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: none;
    border: none;
    color: #94a3b8;
    font-size: 1.5rem;
    cursor: pointer;
    transition: color 0.2s;
}

.policy-modal-close:hover {
    color: #0f172a;
}

.policy-modal-title {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 2rem;
    padding-right: 2rem;
}

.policy-modal-body {
    font-size: 0.875rem;
    line-height: 1.75;
    color: #475569;
}

.policy-modal-footer {
    margin-top: 2.5rem;
    text-align: center;
}

.gallery-secret-modal-content {
    width: min(92vw, 820px);
    max-width: 820px;
    padding: 0;
    background: transparent;
    box-shadow: none;
    overflow: visible;
    text-align: center;
}

.gallery-secret-preview {
    position: relative;
    min-height: min(78vh, 720px);
    border-radius: 24px;
    overflow: hidden;
    background: #0f172a;
    box-shadow: 0 30px 80px rgba(15, 23, 42, 0.38);
}

.gallery-secret-preview-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: blur(18px);
    transform: scale(1.12);
}

.gallery-secret-preview-dim {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(15, 23, 42, 0.28) 0%, rgba(15, 23, 42, 0.58) 100%),
        rgba(255, 255, 255, 0.08);
}

.gallery-secret-panel {
    position: relative;
    z-index: 1;
    width: min(100% - 3rem, 520px);
    margin: 2rem auto;
    padding: 2rem;
    border-radius: 24px;
    background: #ffffff;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.16);
}

@media (min-width: 768px) {
    .gallery-secret-panel {
        margin: 2.75rem auto;
        padding: 2.5rem;
    }
}

.gallery-secret-kicker {
    margin: 0 0 0.85rem;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--primary-color);
}

.gallery-secret-copy {
    margin: 0 0 1rem;
}

.secret-gate-line-guide {
    max-width: 520px;
    margin: 0 auto 1.5rem;
    padding: 1.5rem;
    border-radius: 16px;
    background: #fff1f6;
    border: 1px solid #ffd2e3;
}

.secret-gate-line-guide p {
    margin: 0 0 1rem;
    color: #475569;
    font-size: 0.95rem;
    line-height: 1.7;
}

.secret-gate-line-btn {
    max-width: none;
    padding: 1rem 1.25rem;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
}

.gallery-secret-form .secret-form-input {
    margin-bottom: 1.25rem;
}

.gallery-secret-form .btn-secret-submit {
    width: 100%;
}

.gallery-secret-close {
    z-index: 3;
}

.floating-line-button {
    position: fixed;
    right: 1rem;
    bottom: 1rem;
    z-index: 999;
    width: 122px;
    height: 122px;
    border-radius: 999px;
    background: transparent;
    text-decoration: none;
    box-shadow: 0 20px 44px rgba(15, 23, 42, 0.22);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    overflow: hidden;
}

.floating-line-button:hover {
    transform: scale(1.03);
    box-shadow: 0 24px 52px rgba(15, 23, 42, 0.28);
}

.floating-line-button img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

@media (min-width: 768px) {
    .floating-line-button {
        right: 1.5rem;
        bottom: 1.5rem;
        width: 140px;
        height: 140px;
    }
}

@media (max-width: 767px) {
    body {
        padding-bottom: 2rem;
    }

    .floating-line-button {
        width: 92px;
        height: 92px;
        right: 0.85rem;
        bottom: 0.85rem;
    }
}


a img {
  opacity: 1;
  transition: opacity 0.2s ease;
}
a img:hover {
  opacity: 0.8;
}

.pc { display: block !important; } 
.sp { display: none !important; } 
@media only screen and (max-width: 750px) { 
.pc { display: none !important; } 
.sp { display: block !important; }
}

.pulse {
  margin: 0 auto;
  animation: pulse 1s infinite;
  overflow: hidden;
  display: block;
}
@keyframes pulse {
  from { transform: scale3d(1, 1, 1); }
  50% { transform: scale3d(1.05, 1.05, 1.05); }
  to { transform: scale3d(1, 1, 1); }
}
