/* NightPages – Ingyenes felület (sötét, egységes NightPages-nyelv) */
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600;700&family=Lora:ital,wght@0,400;0,600;1,400&family=Libre+Franklin:wght@300;400;500&display=swap');

.np-free {
	--np-bg:        #15131A;
	--np-card:      #1C1825;
	--np-card-2:    #241C2A;
	--np-gold:      #D8BE8A;
	--np-gold-deep: #B89A5C;
	--np-paper:     #F1ECDF;
	--np-muted:     rgba(241,236,223,.62);
	--np-border:    rgba(216,190,138,.4);
	--np-bordo:     #5A2732;

	font-family: 'Libre Franklin', sans-serif;
	background: var(--np-bg);
	background-image: repeating-linear-gradient(175deg, transparent 0 48px, rgba(216,190,138,.02) 48px 50px);
	color: var(--np-paper);
	padding: 20px;
	border-radius: 16px;
	max-width: 1200px;
	margin: 0 auto;
	font-weight: 300;
}

.np-free .np-topbar { display: flex; justify-content: flex-end; align-items: center; margin-bottom: 16px; min-height: 24px; }
.np-free .np-switch-link { color: var(--np-gold); text-decoration: none; font-size: 13px; font-weight: 500; letter-spacing: .02em; }
.np-free .np-switch-link:hover { color: var(--np-gold-deep); text-decoration: underline; }

.np-free .np-layout { display: grid; grid-template-columns: 240px 1fr 220px; gap: 18px; align-items: start; }
@media (max-width: 1024px) { .np-free .np-layout { grid-template-columns: 220px 1fr; } .np-free .np-col-right { grid-column: 1 / -1; } }
@media (max-width: 820px) { .np-free .np-layout { grid-template-columns: 1fr; } }

.np-free .np-card { background: var(--np-card); border: 1px solid var(--np-border); border-radius: 14px; padding: 20px; box-shadow: 0 8px 28px rgba(0,0,0,.4); }
.np-free .np-card + .np-card { margin-top: 16px; }

.np-free h2, .np-free h3 { font-family: 'Cinzel', serif; font-weight: 600; color: var(--np-gold); letter-spacing: .05em; margin: 0 0 14px; }
.np-free h3 { font-size: 16px; }

.np-free .np-cat-btn { width: 100%; text-align: left; padding: 11px 14px; background: transparent; border: 1px solid transparent; border-radius: 10px; color: var(--np-muted); margin-bottom: 6px; display: flex; justify-content: space-between; align-items: center; cursor: default; font-family: 'Cinzel', serif; letter-spacing: .04em; text-transform: uppercase; font-size: 12px; }
.np-free .np-cat-btn.active { background: var(--np-card-2); border-color: var(--np-border); color: var(--np-gold); box-shadow: 0 0 20px rgba(216,190,138,.18); }
.np-free .np-cat-btn.locked { opacity: .55; }
.np-free .np-lock { font-size: 12px; }
.np-free .np-upsell { font-size: 12px; color: var(--np-muted); margin: 12px 0 0; font-style: italic; font-family: 'Lora', serif; }

.np-free .np-generator { text-align: center; }
.np-free .np-generator h2 { font-size: 17px; margin-bottom: 16px; line-height: 1.3; }
.np-free .np-btn-draw { background: var(--np-gold); color: #15131A; border: none; padding: 16px 44px; border-radius: 12px; font-size: 16px; font-weight: 500; font-family: 'Libre Franklin', sans-serif; letter-spacing: .03em; cursor: pointer; transition: background .2s, transform .2s, box-shadow .2s; }
.np-free .np-btn-draw:hover:not(:disabled) { background: var(--np-gold-deep); transform: translateY(-2px); box-shadow: 0 0 24px rgba(216,190,138,.35); }
.np-free .np-btn-draw:disabled { opacity: .45; cursor: not-allowed; }
.np-free .np-btn-info { margin: 12px 0 0; font-size: 12px; color: var(--np-muted); font-family: 'Lora', serif; }

.np-free .np-usage-bar { height: 8px; background: var(--np-card-2); border-radius: 4px; overflow: hidden; margin: 10px 0; }
.np-free .np-usage-fill { height: 100%; background: var(--np-gold); width: 0; transition: width .3s; }
.np-free .np-usage-text { font-size: 12px; color: var(--np-muted); text-align: center; margin: 0; font-family: 'Lora', serif; }

.np-free .np-empty { text-align: center; padding: 40px 20px; }
.np-free .np-empty-icon { font-size: 52px; opacity: .4; margin-bottom: 14px; }
.np-free .np-empty h3 { margin-bottom: 8px; }
.np-free .np-empty p { color: var(--np-muted); margin: 0; font-family: 'Lora', serif; font-style: italic; }
.np-free .np-spinner { text-align: center; padding: 40px; }
.np-free .np-spinner-icon { font-size: 48px; animation: npspin 1.5s linear infinite; }
@keyframes npspin { to { transform: rotate(360deg); } }

.np-free .np-tropes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 20px; }
@media (max-width: 600px) { .np-free .np-tropes { grid-template-columns: 1fr; } }
.np-free .np-trope { background: var(--np-card-2); border: 1px solid var(--np-border); border-radius: 12px; padding: 16px; text-align: center; }
.np-free .np-trope-label { font-family: 'Cinzel', serif; font-size: 11px; color: var(--np-gold); text-transform: uppercase; letter-spacing: .14em; margin-bottom: 8px; }
.np-free .np-trope-name { font-size: 14px; color: var(--np-paper); font-family: 'Lora', serif; }

.np-free .np-premise { background: var(--np-card-2); border: 1px solid var(--np-border); border-radius: 12px; padding: 24px; font-family: 'Lora', serif; font-size: 17px; line-height: 1.75; color: var(--np-paper); }
