@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@400;600;700;800&display=swap');

/* ── Section ──────────────────────────────────────────────────────────────── */
.ncg-section {
    width: 100%;
    font-family: 'Barlow Condensed', sans-serif;
}

.ncg-section-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 24px;
}

.ncg-header-left { flex: 1; }

.ncg-title {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: clamp(28px, 4vw, 48px);
    font-weight: 700;
    color: #111111;
    letter-spacing: -1.5px;
    line-height: 0.95;
    margin: 0 0 6px;
}

.ncg-subtitle {
    font-size: 13px;
    color: #999;
    font-weight: 400;
    margin: 0;
    letter-spacing: 0.02em;
}

.ncg-header-link {
    font-size: 12px;
    font-weight: 700;
    color: #C9A66A;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    white-space: nowrap;
    flex-shrink: 0;
}
.ncg-header-link:hover { color: #a8854e; }

/* ── Grid ─────────────────────────────────────────────────────────────────── */
.ncg-grid {
    display: grid;
    gap: 10px;
}
.ncg-cols-1 { grid-template-columns: 1fr; }
.ncg-cols-2 { grid-template-columns: 1fr 1fr; }
.ncg-cols-3 { grid-template-columns: repeat(3, 1fr); }
.ncg-cols-4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 767px) {
    .ncg-cols-3,
    .ncg-cols-4 { grid-template-columns: 1fr 1fr; }
    .ncg-grid { gap: 8px; }
}

/* ── Card base ────────────────────────────────────────────────────────────── */
.ncg-card {
    position: relative;
    display: block;
    border-radius: 14px;
    overflow: hidden;
    text-decoration: none;
    height: var(--ncg-height, 280px);
    cursor: pointer;
}

@media (max-width: 767px) {
    .ncg-card { height: var(--ncg-height-mobile, 220px); }
}

.ncg-card-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.ncg-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.ncg-card:hover .ncg-card-img img {
    transform: scale(1.06);
}

.ncg-card-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(145deg, #1a1a2e 0%, #2d2d50 100%);
}

/* ── Glass overlay base ───────────────────────────────────────────────────── */
.ncg-glass {
    position: absolute;
    z-index: 10;
}

/* ── Style: Frosted bar (Variant 2) ──────────────────────────────────────── */
.ncg-style-frosted .ncg-glass-bar {
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px) saturate(160%);
    -webkit-backdrop-filter: blur(8px) saturate(160%);
    border-top: 1px solid rgba(255, 255, 255, 0.22);
    padding: 12px 16px 14px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25);
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.ncg-style-frosted .ncg-glass-name {
    font-size: 16px;
    font-weight: 800;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    line-height: 1;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.4);
    display: block;
}

.ncg-style-frosted .ncg-glass-sub {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    display: block;
}

/* ── Style: Dark glass + gold (Variant 3) ────────────────────────────────── */
.ncg-style-dark .ncg-glass-dark {
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.28);
    backdrop-filter: blur(8px) saturate(140%);
    -webkit-backdrop-filter: blur(8px) saturate(140%);
    border-top: 1.5px solid rgba(201, 166, 106, 0.5);
    padding: 12px 16px 14px;
}

.ncg-style-dark .ncg-glass-name {
    font-size: 16px;
    font-weight: 800;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    line-height: 1;
    display: block;
}

.ncg-gold-line {
    display: block;
    width: 24px;
    height: 2px;
    background: #C9A66A;
    border-radius: 2px;
    margin-top: 6px;
}

/* ── Style: Pill centered (Variant 1) ────────────────────────────────────── */
.ncg-style-pill .ncg-glass-pill {
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(14px) saturate(180%);
    -webkit-backdrop-filter: blur(14px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.38);
    border-radius: 100px;
    padding: 8px 20px;
    white-space: nowrap;
    box-shadow: 0 2px 16px rgba(0,0,0,0.18),
                inset 0 1px 0 rgba(255,255,255,0.45);
}

.ncg-style-pill .ncg-glass-name {
    font-size: 13px;
    font-weight: 800;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    line-height: 1;
    text-shadow: 0 1px 4px rgba(0,0,0,0.35);
    display: block;
}

/* ── Style: Corner tag (Variant 4) ───────────────────────────────────────── */
.ncg-style-corner .ncg-glass-corner {
    bottom: 14px;
    left: 14px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(18px) saturate(160%);
    -webkit-backdrop-filter: blur(18px) saturate(160%);
    border: 1px solid rgba(255, 255, 255, 0.42);
    border-radius: 8px;
    padding: 8px 14px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.2),
                inset 0 1px 0 rgba(255,255,255,0.5);
}

.ncg-style-corner .ncg-glass-label {
    display: block;
    font-size: 9px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.72);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 3px;
}

.ncg-style-corner .ncg-glass-name {
    display: block;
    font-size: 15px;
    font-weight: 800;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    line-height: 1;
    text-shadow: 0 1px 4px rgba(0,0,0,0.3);
}
