/* ============================================================
   ArcanaBond Community & Reviews Cinematic Dark Luxury Styles
   ============================================================ */
:root {
    --community-bg: #070b14;
    --community-card-bg: rgba(13, 19, 33, 0.75);
    --community-card-border: rgba(255, 255, 255, 0.08);
    --community-gold: #fbbf24;
    --community-gold-dark: #d97706;
    --community-gold-glow: rgba(251, 191, 36, 0.35);
    --community-text-main: #f8fafc;
    --community-text-muted: #94a3b8;
    --community-text-sub: #64748b;
}

.community-page {
    background: radial-gradient(ellipse at 50% 0%, rgba(251, 191, 36, 0.05) 0%, #070b14 60%, #030509 100%);
    color: var(--community-text-main);
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

.hero-ambient-glow {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 700px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(251, 191, 36, 0.6), transparent);
    box-shadow: 0 0 25px rgba(251, 191, 36, 0.5);
    pointer-events: none;
}

.community-shell {
    width: min(1200px, calc(100% - 48px));
    margin-inline: auto;
}

/* ============================================================
   Hero Section
   ============================================================ */
.community-hero {
    position: relative;
    padding: 70px 0 45px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.16em;
    color: var(--community-gold);
    background: rgba(251, 191, 36, 0.08);
    border: 1px solid rgba(251, 191, 36, 0.25);
    padding: 5px 14px;
    border-radius: 999px;
    margin-bottom: 18px;
}
.hero-badge .badge-dot {
    font-size: 12px;
    filter: drop-shadow(0 0 6px var(--community-gold-glow));
}

.hero-title {
    margin: 0 0 16px;
    font-family: 'Gowun Batang', serif;
    font-size: clamp(36px, 5vw, 52px);
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.03em;
    color: #ffffff;
}

.hero-title-highlight {
    background: linear-gradient(135deg, #ffffff 30%, #fbbf24 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-desc {
    max-width: 600px;
    margin: 0 0 32px;
    color: var(--community-text-muted);
    font-size: 15px;
    line-height: 1.8;
    word-break: keep-all;
}

/* Tab Bar & Action Wrap */
.community-action-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 10px;
}

.community-tabs {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 999px;
    padding: 4px;
    gap: 4px;
}

.tab-link {
    display: inline-flex;
    align-items: center;
    height: 38px;
    padding: 0 20px;
    border-radius: 999px;
    color: var(--community-text-muted);
    font-size: 13.5px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.25s ease;
}
.tab-link:hover {
    color: #ffffff;
}
.tab-link.active {
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.18), rgba(217, 119, 6, 0.22));
    border: 1px solid rgba(251, 191, 36, 0.45);
    color: #ffffff;
    font-weight: 700;
    box-shadow: 0 2px 14px rgba(251, 191, 36, 0.25);
}

/* Luxury CTA Button */
.luxury-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    height: 44px;
    padding: 0 24px;
    border: 0;
    border-radius: 12px;
    background: linear-gradient(135deg, #fbbf24 0%, #d97706 100%);
    color: #070b14;
    font-weight: 800;
    font-size: 14px;
    text-decoration: none;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(251, 191, 36, 0.35);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.luxury-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(251, 191, 36, 0.5);
    background: linear-gradient(135deg, #fcd34d 0%, #f59e0b 100%);
}
.luxury-cta-btn.wide {
    width: 100%;
    height: 50px;
    font-size: 15px;
    margin-top: 10px;
}
.luxury-cta-btn .btn-icon {
    font-style: normal;
    font-size: 15px;
    transition: transform 0.2s ease;
}
.luxury-cta-btn:hover .btn-icon {
    transform: translateX(3px);
}

.luxury-ghost-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 44px;
    padding: 0 22px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.04);
    color: var(--community-text-muted);
    font-size: 13.5px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}
.luxury-ghost-btn:hover {
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.25);
    background: rgba(255, 255, 255, 0.08);
}

/* ============================================================
   Alerts & Notifications
   ============================================================ */
.community-alert {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    border-radius: 14px;
    margin-bottom: 30px;
    font-size: 14px;
    line-height: 1.6;
}
.community-alert.success {
    background: rgba(251, 191, 36, 0.08);
    border: 1px solid rgba(251, 191, 36, 0.3);
    color: #fef08a;
}
.community-alert.error {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #fca5a5;
}

/* ============================================================
   Review Feed & Cards
   ============================================================ */
.review-feed {
    padding: 48px 0 80px;
}

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

.review-card {
    position: relative;
    border: 1px solid var(--community-card-border);
    border-radius: 20px;
    background: var(--community-card-bg);
    backdrop-filter: blur(20px);
    overflow: hidden;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
}
.review-card:hover {
    transform: translateY(-8px);
    border-color: var(--community-card-hover-border);
    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.6), 0 0 30px rgba(251, 191, 36, 0.15);
}

.review-visual {
    position: relative;
    height: 240px;
    background: #090e1a;
    overflow: hidden;
}
.review-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.review-card:hover .review-visual img {
    transform: scale(1.05);
}

.visual-gradient-mask {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(13, 19, 33, 0.95) 100%);
}

.archetype-chip {
    position: absolute;
    right: 14px;
    bottom: 14px;
    padding: 5px 12px;
    border-radius: 999px;
    background: rgba(7, 11, 20, 0.85);
    border: 1px solid rgba(251, 191, 36, 0.35);
    backdrop-filter: blur(8px);
    color: var(--community-gold);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.05em;
    z-index: 2;
}

.empty-visual-inner {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, #0d1321, #131b2e);
    color: var(--community-text-muted);
}
.empty-visual-inner .brand-glyph {
    font-size: 24px;
    color: var(--community-gold);
    margin-bottom: 4px;
    filter: drop-shadow(0 0 8px var(--community-gold-glow));
}
.empty-visual-inner b {
    font-family: 'Cinzel', serif;
    font-size: 15px;
    letter-spacing: 0.15em;
    color: #ffffff;
}
.empty-visual-inner small {
    font-size: 11px;
    color: var(--community-text-sub);
    margin-top: 2px;
}

.review-content {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.review-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
}

.star-rating {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.stars-fill {
    color: #fbbf24;
    font-size: 13px;
    letter-spacing: 1px;
}
.stars-empty {
    color: rgba(255, 255, 255, 0.15);
    font-size: 13px;
    letter-spacing: 1px;
}
.rating-score {
    font-size: 12px;
    font-weight: 800;
    color: #fbbf24;
    margin-left: 4px;
}

.review-meta time {
    color: var(--community-text-sub);
    font-size: 11px;
}

.review-card-title {
    margin: 0 0 10px;
    font-size: 17px;
    font-weight: 700;
    color: #ffffff;
    font-family: 'Gowun Batang', serif;
    line-height: 1.45;
}

.review-card-body {
    margin: 0;
    color: var(--community-text-muted);
    font-size: 13px;
    line-height: 1.75;
    flex: 1;
    min-height: 72px;
}

.review-card-footer {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.author-avatar {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: linear-gradient(135deg, #fbbf24, #d97706);
    color: #070b14;
    display: grid;
    place-items: center;
    font-weight: 800;
    font-size: 13px;
    box-shadow: 0 2px 10px rgba(251, 191, 36, 0.3);
}

.author-info {
    display: flex;
    flex-direction: column;
}
.author-name {
    font-size: 12.5px;
    font-weight: 700;
    color: #e2e8f0;
}
.author-sub {
    font-size: 11px;
    color: var(--community-text-sub);
}

/* ============================================================
   Luxury Empty State Card
   ============================================================ */
.luxury-empty-card {
    max-width: 640px;
    margin: 30px auto 60px;
    padding: 56px 36px;
    text-align: center;
    border: 1px solid rgba(251, 191, 36, 0.2);
    border-radius: 24px;
    background: radial-gradient(circle at 50% 0%, rgba(251, 191, 36, 0.08) 0%, rgba(13, 19, 33, 0.7) 80%);
    backdrop-filter: blur(20px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.empty-icon-shield {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    border-radius: 20px;
    background: rgba(251, 191, 36, 0.1);
    border: 1px solid rgba(251, 191, 36, 0.3);
    display: grid;
    place-items: center;
    box-shadow: 0 0 24px rgba(251, 191, 36, 0.2);
}
.shield-glyph {
    font-size: 26px;
    color: var(--community-gold);
    filter: drop-shadow(0 0 8px var(--community-gold-glow));
}

.empty-title {
    margin: 0 0 12px;
    font-family: 'Gowun Batang', serif;
    font-size: 22px;
    font-weight: 700;
    color: #ffffff;
}

.empty-desc {
    margin: 0 0 28px;
    color: var(--community-text-muted);
    font-size: 14px;
    line-height: 1.8;
    word-break: keep-all;
}

/* ============================================================
   Notices List & Detail
   ============================================================ */
.notice-section {
    padding: 40px 0 80px;
}

.notice-card-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.notice-item-card {
    display: grid;
    grid-template-columns: 90px 1fr 140px;
    gap: 24px;
    align-items: center;
    min-height: 84px;
    padding: 20px 28px;
    border-radius: 16px;
    background: var(--community-card-bg);
    border: 1px solid var(--community-card-border);
    backdrop-filter: blur(16px);
    color: #ffffff;
    text-decoration: none;
    transition: all 0.25s ease;
}
.notice-item-card:hover {
    transform: translateX(4px);
    border-color: rgba(251, 191, 36, 0.35);
    background: rgba(20, 29, 48, 0.85);
}
.notice-item-card.pinned {
    border-color: rgba(251, 191, 36, 0.25);
    background: linear-gradient(90deg, rgba(251, 191, 36, 0.05) 0%, rgba(13, 19, 33, 0.8) 100%);
}

.notice-tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 4px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    color: var(--community-text-muted);
    font-size: 11px;
    font-weight: 700;
}
.notice-tag.pinned {
    background: rgba(251, 191, 36, 0.12);
    border: 1px solid rgba(251, 191, 36, 0.3);
    color: #fef08a;
}

.notice-main-info h2.notice-title {
    margin: 0 0 4px;
    font-size: 16.5px;
    font-weight: 600;
    color: #f8fafc;
}
.notice-preview-label {
    font-size: 12px;
    color: var(--community-text-sub);
}

.notice-date-area {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 14px;
    color: var(--community-text-sub);
    font-size: 12px;
}
.notice-date-area .arrow-glyph {
    font-size: 14px;
    color: var(--community-gold);
    transition: transform 0.2s ease;
}
.notice-item-card:hover .arrow-glyph {
    transform: translateX(4px);
}

/* Notice Detail Page */
.notice-detail-page {
    padding: 60px 0 100px;
}
.notice-article-header {
    text-align: center;
    max-width: 840px;
    margin: 0 auto 40px;
}
.notice-meta-tags {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-bottom: 18px;
    color: var(--community-text-sub);
    font-size: 13px;
}
.notice-detail-title {
    margin: 0;
    font-family: 'Gowun Batang', serif;
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 700;
    color: #ffffff;
    line-height: 1.35;
}

.notice-content-wrapper {
    max-width: 840px;
    margin: 0 auto;
}
.notice-body-card {
    padding: 40px;
    border-radius: 20px;
    background: var(--community-card-bg);
    border: 1px solid var(--community-card-border);
    backdrop-filter: blur(20px);
    font-size: 15px;
    line-height: 1.9;
    color: #cbd5e1;
    word-break: keep-all;
}
.notice-detail-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 32px;
}

/* ============================================================
   Form Layout & Glassmorphism Inputs
   ============================================================ */
.community-form-page {
    padding: 70px 0 100px;
}
.form-layout {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 56px;
    align-items: start;
}
.form-title {
    margin: 0 0 16px;
    font-family: 'Gowun Batang', serif;
    font-size: clamp(32px, 4vw, 44px);
    font-weight: 700;
    line-height: 1.3;
    color: #ffffff;
}
.form-desc {
    color: var(--community-text-muted);
    font-size: 14px;
    line-height: 1.8;
    margin: 0 0 24px;
}
.form-privacy-note {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 14px 18px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 12px;
    color: var(--community-text-sub);
    line-height: 1.6;
    margin-bottom: 28px;
}
.form-back-link {
    display: inline-block;
    color: var(--community-gold);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.2s ease;
}
.form-back-link:hover {
    transform: translateX(-3px);
}

.luxury-glass-card {
    padding: 38px;
    border: 1px solid var(--community-card-border);
    border-radius: 24px;
    background: var(--community-card-bg);
    backdrop-filter: blur(24px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.form-field-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 22px;
}
.field-label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: #cbd5e1;
    margin-bottom: 8px;
}

.luxury-input, .luxury-textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 14px 18px;
    border-radius: 12px;
    background: rgba(7, 11, 20, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #ffffff;
    font-size: 14px;
    font-family: inherit;
    transition: all 0.2s ease;
}
.luxury-input:focus, .luxury-textarea:focus {
    outline: none;
    border-color: var(--community-gold);
    box-shadow: 0 0 16px rgba(251, 191, 36, 0.25);
    background: rgba(7, 11, 20, 0.95);
}
.field-char-count {
    font-size: 11px;
    color: var(--community-text-sub);
    margin-top: 6px;
}

/* Star Rating Selector */
.rating-field {
    border: 0;
    padding: 0;
    margin: 0 0 24px;
}
.rating-stars-wrap {
    display: inline-flex;
    flex-direction: row-reverse;
    gap: 8px;
    margin: 8px 0 4px;
}
.rating-stars-wrap input {
    display: none;
}
.rating-stars-wrap label {
    font-size: 32px;
    color: rgba(255, 255, 255, 0.15);
    cursor: pointer;
    transition: color 0.15s ease, transform 0.15s ease;
}
.rating-stars-wrap label:hover,
.rating-stars-wrap label:hover ~ label,
.rating-stars-wrap input:checked ~ label {
    color: #fbbf24;
    text-shadow: 0 0 12px rgba(251, 191, 36, 0.5);
    transform: scale(1.08);
}
.rating-helper {
    display: block;
    font-size: 11px;
    color: var(--community-text-sub);
}

/* Pagination */
.community-pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 40px;
}
.page-link {
    display: inline-grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
    color: var(--community-text-muted);
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s ease;
}
.page-link:hover {
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.2);
}
.page-link.active {
    background: var(--community-gold);
    color: #070b14;
    border-color: var(--community-gold);
    box-shadow: 0 2px 12px rgba(251, 191, 36, 0.35);
}

/* Responsive */
@media (max-width: 960px) {
    .review-grid { grid-template-columns: 1fr 1fr; }
    .form-layout { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 680px) {
    .community-hero { padding: 55px 0 45px; }
    .hero-title {
        font-size: clamp(24px, 6.5vw, 32px);
        line-height: 1.3;
        letter-spacing: -0.03em;
        word-break: keep-all;
    }
    .hero-desc {
        font-size: 14px;
        line-height: 1.7;
        word-break: keep-all;
    }
    .review-grid { grid-template-columns: 1fr; gap: 16px; }
    .review-item-card { padding: 22px 18px; border-radius: 16px; }
    .review-item-title { font-size: 16px; line-height: 1.45; word-break: keep-all; }
    .review-item-body { font-size: 13.5px; line-height: 1.65; word-break: keep-all; }

    .community-action-bar { flex-direction: column; align-items: stretch; gap: 14px; }
    .action-btn-wrap .luxury-cta-btn { width: 100%; justify-content: center; padding: 13px 20px; font-size: 14px; }
    .notice-item-card { grid-template-columns: 1fr; gap: 10px; padding: 20px 18px; }
    .notice-item-title { font-size: 15px; line-height: 1.45; word-break: keep-all; }
    .notice-date-area { justify-content: flex-start; font-size: 11.5px; }
}

