/* iQ Rádio – sekcie webu (Súťaže, Archív) + perzistentný prehrávač */

/* Prehrávač nech nezaberá celú výšku, aby sa obsah zmestil pod neho */
.fm-player-section#player-shell { height: auto !important; overflow: visible !important; padding-top: 110px; padding-bottom: 30px; position: relative; z-index: 1; }

/* Navbar musí byť nad prehrávačom */
.main-navbar { z-index: 1000; }

/* Mobilné rozbalené menu – nepriehľadné pozadie, aby cezeň nepresvital prehrávač */
@media (max-width: 1199px) {
	.main-navbar .navbar-collapse {
		background-color: #071126;
		padding: 1rem 1.25rem;
		border-radius: 0 0 14px 14px;
		box-shadow: 0 14px 34px rgba(0, 0, 0, .45);
	}
}

.web-content { max-width: 900px; margin: 0 auto; padding: 10px 16px 60px; }

/* Domov */
.web-home { padding: 10px 0 30px; }
.web-lead { font-size: 1.1rem; color: #e8e8e8; margin-bottom: 22px; }
.web-quick { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.web-quick-card {
	display: flex; flex-direction: column; align-items: center; justify-content: center;
	gap: 8px; width: 160px; height: 120px; border-radius: 14px;
	background: rgba(255,255,255,.08); color: #fff; text-decoration: none;
	border: 1px solid rgba(255,255,255,.15); transition: transform .15s, background .15s;
}
.web-quick-card i { font-size: 1.8rem; }
.web-quick-card:hover { transform: translateY(-3px); background: rgba(255,255,255,.16); color: #fff; }

/* Spoločné sekcie – tmavé „sklenené" pozadie ako navbar */
.web-section {
	background: rgba(7, 17, 38, 0.59);
	-webkit-backdrop-filter: blur(6.5px);
	backdrop-filter: blur(6.5px);
	color: #eaf0f8;
	border: 1px solid rgba(255,255,255,.08);
	border-radius: 16px; padding: 22px 24px; box-shadow: 0 8px 30px rgba(0,0,0,.35);
}
.web-title { font-size: 1.6rem; margin: 0 0 18px; display: flex; align-items: center; gap: 10px; color: #fff; }
.web-title i { color: #1e9bff; }
.web-subtitle { font-size: 1.2rem; margin: 22px 0 12px; display: flex; align-items: center; gap: 8px; color: #fff; }
.web-subtitle i { color: #1e9bff; }
.web-empty { color: #9fb2cc; padding: 20px 0; }
.web-back { display: inline-block; margin-bottom: 12px; color: #1e9bff; text-decoration: none; }
.web-block { line-height: 1.7; color: #cdd8e6; }
.web-rules { background: rgba(255,255,255,.06); border-radius: 10px; padding: 14px 16px; font-size: .95rem; }

/* Karty súťaží */
.web-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 18px; }
.web-card { display: block; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: 14px; overflow: hidden; text-decoration: none; color: #eaf0f8; transition: transform .15s, box-shadow .15s, background .15s; }
.web-card:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(0,0,0,.35); background: rgba(255,255,255,.1); color: #fff; }
.web-card-img { height: 130px; background-size: cover; background-position: center; }
.web-card-img--ph { display: flex; align-items: center; justify-content: center; background: rgba(255,255,255,.05); color: #5b6b82; font-size: 2rem; }
.web-card-body { padding: 14px 16px; }
.web-card-body h3 { font-size: 1.1rem; margin: 0 0 6px; color: #fff; }
.web-card-body p { font-size: .9rem; color: #9fb2cc; margin: 0 0 10px; }
.web-card-more { font-size: .85rem; color: #1e9bff; font-weight: 600; }

/* Detail súťaže */
.web-contest-img { width: 100%; max-height: 320px; object-fit: cover; border-radius: 12px; margin-bottom: 16px; }
.web-prizes { display: flex; flex-wrap: wrap; gap: 14px; }
.web-prize { width: 130px; text-align: center; }
.web-prize img, .web-prize-ph { width: 130px; height: 100px; object-fit: cover; border-radius: 10px; background: rgba(255,255,255,.05); }
.web-prize-ph { display: flex; align-items: center; justify-content: center; color: #5b6b82; font-size: 1.6rem; }
.web-prize span { display: block; margin-top: 6px; font-size: .9rem; }

/* Účet – body + QR */
.web-account-row { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin: 16px 0; }
.web-points { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: 12px; padding: 10px 18px; text-align: center; }
.web-points span { display: block; font-size: .8rem; color: #9fb2cc; }
.web-points strong { font-size: 1.6rem; color: #fff; }

/* Účet / prihlásenie */
.web-auth { max-width: 460px; margin: 0 auto; }
.web-auth .form-group { margin-bottom: 14px; }
.web-auth label { display: block; margin-bottom: 4px; color: #cdd8e6; font-size: .9rem; }
.web-auth .form-control { width: 100%; padding: 11px 14px; border-radius: 9px; border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.06); color: #fff; }
.web-auth .form-control:focus { outline: none; border-color: #1e9bff; }
.btn-web-primary { width: 100%; background: #1e9bff; color: #fff; border: none; border-radius: 9px; padding: 12px; font-weight: 600; cursor: pointer; }
.btn-web-primary:hover { background: #167ad1; }
.social-btn { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; padding: 11px; border-radius: 9px; text-decoration: none; font-weight: 600; margin-bottom: 10px; color: #fff; }
.social-btn i { font-size: 1.1rem; }
.social-google { background: #fff; color: #222 !important; }
.social-google:hover { background: #eee; color: #222 !important; }
.social-facebook { background: #1877f2; }
.social-facebook:hover { background: #1465d1; color: #fff; }
.web-divider { text-align: center; margin: 18px 0; position: relative; color: #7f93ad; font-size: .85rem; }
.web-divider::before { content: ""; position: absolute; top: 50%; left: 0; right: 0; height: 1px; background: rgba(255,255,255,.12); }
.web-divider span { position: relative; background: transparent; padding: 0 12px; }
.web-divider span::before { content: ""; position: absolute; inset: -4px -0px; background: #0b1a33; z-index: -1; }
.web-note { color: #9fb2cc; font-size: .85rem; margin-top: 10px; }
.web-auth-links { margin-top: 16px; text-align: center; color: #9fb2cc; font-size: .9rem; }
.web-auth-links a { color: #1e9bff; text-decoration: none; }

/* Odkazy na právne texty (prihlásenie / registrácia / účet) */
.web-legal-links { margin: 18px 0 0; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.08); text-align: center; font-size: .82rem; color: #7f93ad; }
.web-legal-links a { color: #9fb2cc; text-decoration: none; }
.web-legal-links a:hover { color: #1e9bff; text-decoration: underline; }

/* Právne texty – obsah zadaný v administrácii */
.web-text { color: #c9d6e6; line-height: 1.65; }
.web-text h2, .web-text h3, .web-text h4 { color: #fff; margin: 22px 0 10px; }
.web-text h3 { font-size: 1.15rem; }
.web-text h4 { font-size: 1rem; }
.web-text p { margin: 0 0 12px; }
.web-text ul, .web-text ol { margin: 0 0 12px; padding-left: 22px; }
.web-text li { margin-bottom: 6px; }
.web-text a { color: #1e9bff; }
.web-text strong { color: #fff; }
.web-text table { width: 100%; border-collapse: collapse; margin: 0 0 12px; }
.web-text th, .web-text td { border: 1px solid rgba(255,255,255,.12); padding: 8px; text-align: left; }

/* Flash správy na webe */
.web-alert { border-radius: 10px; padding: 12px 16px; margin-bottom: 16px; font-size: .95rem; }
.web-alert-success { background: rgba(29,158,117,.18); border: 1px solid #1d9e75; color: #b6f0da; }
.web-alert-danger  { background: rgba(226,75,74,.18);  border: 1px solid #e24b4a; color: #f6c6c6; }
.web-alert-warning { background: rgba(186,117,23,.18); border: 1px solid #ba7517; color: #f3d9ac; }
.web-alert-info    { background: rgba(30,155,255,.15); border: 1px solid #1e9bff; color: #bfe0ff; }

/* Cookie consent */
.cookie-consent {
	position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 3500;
	display: flex; gap: 14px; align-items: center; justify-content: space-between; flex-wrap: wrap;
	background: #071126; color: #eaf0f8; border: 1px solid rgba(255,255,255,.14);
	border-radius: 12px; padding: 14px 18px; box-shadow: 0 12px 34px rgba(0,0,0,.5);
	max-width: 820px; margin: 0 auto;
}
.cookie-text { font-size: .92rem; flex: 1 1 320px; }
.cookie-actions { display: flex; gap: 10px; }
.cookie-btn { border: none; border-radius: 8px; padding: 9px 18px; font-weight: 600; cursor: pointer; }
.cookie-btn-primary { background: #1e9bff; color: #fff; }
.cookie-btn-ghost { background: transparent; color: #9fb2cc; border: 1px solid rgba(255,255,255,.2); }

/* Mapa kódov */
.web-map { height: 68vh; min-height: 420px; border-radius: 12px; overflow: hidden; }
.map-popup { text-align: center; min-width: 150px; }
.map-popup-addr { color: #555; font-size: .85rem; margin: 4px 0 8px; }
.map-nav-btn { display: inline-block; margin-top: 6px; background: #1e9bff; color: #fff !important; padding: 7px 14px; border-radius: 8px; text-decoration: none; font-weight: 600; }
.map-nav-btn:hover { background: #167ad1; }

/* Zhluky značiek v modrej ako marker (#2A81CB). Prepisuje zelenú/žltú/oranžovú
   z MarkerCluster.Default.css – vendor súbor zámerne needitujeme. */
.marker-cluster-small,
.marker-cluster-medium,
.marker-cluster-large { background-color: rgba(42, 129, 203, .35); }

.marker-cluster-small div,
.marker-cluster-medium div,
.marker-cluster-large div {
	background-color: rgba(42, 129, 203, .92);
	color: #fff;
	font-weight: 600;
}

/* Archív */
.web-archive { list-style: none; margin: 0; padding: 0; }
.web-archive-item { display: flex; align-items: center; gap: 14px; padding: 10px 6px; border-bottom: 1px solid rgba(255,255,255,.08); }
.web-archive-song strong { display: block; color: #fff; }
.web-archive-artist { color: #9fb2cc; font-size: .9rem; }

/* Obal albumu v archíve (namiesto dátumu/času) */
.web-archive-cover { flex: 0 0 auto; display: block; width: 48px; height: 48px; }
.web-archive-cover img { width: 48px; height: 48px; display: block; border-radius: 6px; object-fit: cover; background: rgba(255,255,255,.05); }
a.web-archive-cover { cursor: zoom-in; transition: transform .15s ease; }
a.web-archive-cover:hover { transform: scale(1.06); }

/* Lightbox – zväčšený obal */
.web-lightbox { position: fixed; inset: 0; z-index: 3000; display: none; align-items: center; justify-content: center; padding: 20px; background: rgba(0,0,0,.85); cursor: zoom-out; }
.web-lightbox.is-open { display: flex; }
.web-lightbox img { max-width: min(90vw, 600px); max-height: 90vh; border-radius: 10px; box-shadow: 0 10px 40px rgba(0,0,0,.6); }

/* Výhra – modal */
.win-modal-backdrop { position: fixed; inset: 0; background: rgba(0,0,0,.7); display: flex; align-items: center; justify-content: center; z-index: 3000; padding: 20px; }
.win-modal { background: #fff; color: #222; border-radius: 18px; max-width: 420px; width: 100%; text-align: center; padding: 28px 24px; box-shadow: 0 20px 60px rgba(0,0,0,.4); }
.win-modal h2 { color: #1e7be0; margin: 6px 0 4px; }
.win-modal .win-prize { font-size: 1.3rem; font-weight: 700; margin: 12px 0; }
.win-modal img { max-height: 140px; border-radius: 10px; margin: 8px 0; }
.win-modal .btn-close-win { margin-top: 14px; }
.win-modal .win-prize { color: #222; }

/* Plávajúce pripomenutie nevyzdvihnutej výhry */
.win-reminder {
	position: fixed; right: 16px; bottom: 16px; z-index: 3400;
	background: #ba7517; color: #fff; border: none; border-radius: 30px;
	padding: 12px 20px; font-weight: 700; cursor: pointer; box-shadow: 0 8px 24px rgba(0,0,0,.4);
}
.win-reminder:hover { background: #a5660f; }

@media (max-width: 575.98px) {
	.web-section { padding: 18px 16px; border-radius: 12px; }
	.fm-player-section#player-shell { padding-top: 90px; }
}

/* Bodovačka – modal s ponukou zapojenia */
.bod-until { color: #9fb2cc; font-size: .9rem; }
.bod-btns { display: flex; flex-direction: column; gap: 10px; margin-top: 14px; }
.bod-btns .btn-web-primary { display: block; text-align: center; text-decoration: none; }
.btn-bod-ghost { background: #fff; color: #0e1c33; border: none; border-radius: 8px; padding: 12px 16px; font-weight: 600; font-size: 1rem; font-family: inherit; cursor: pointer; }
.bod-nick-note { color: #9fb2cc; font-size: .85rem; margin: 10px 0 4px; }
.bod-msg { min-height: 1.2em; font-size: .9rem; margin: 6px 0; }
.bod-msg--ok { color: #4ade80; }
.bod-msg--err { color: #f87171; }
.web-nick-form { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.web-nick-form .form-control { flex: 1 1 220px; max-width: 320px; padding: 11px 14px; border-radius: 9px; border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.06); color: #fff; }
.web-nick-form .form-control:focus { outline: none; border-color: #1e9bff; }

/* Bodovačka – plávajúce tlačidlo za body počas skladby */
.live-btn-wrap { position: fixed; left: 50%; transform: translateX(-50%); bottom: 18px; z-index: 3200; }
.live-btn {
	display: flex; flex-direction: column; align-items: center; gap: 2px;
	border: none; border-radius: 14px; padding: 14px 26px; cursor: pointer;
	background: linear-gradient(135deg, #1e9bff, #0a6fd8); color: #fff; font-family: inherit;
	box-shadow: 0 10px 30px rgba(30,155,255,.45); animation: livePop .35s ease, liveGlow 1.6s infinite;
}
.live-btn:disabled { opacity: .6; }
.live-btn-pts { font-size: 1.25rem; font-weight: 700; }
.live-btn-label { font-size: .85rem; opacity: .9; }
.live-btn-time { font-size: .8rem; opacity: .75; font-variant-numeric: tabular-nums; }
@keyframes livePop { from { transform: translateY(20px) scale(.9); opacity: 0; } }
@keyframes liveGlow { 50% { box-shadow: 0 10px 40px rgba(30,155,255,.75); } }
.live-btn-done { background: #0e1c33; border: 1px solid rgba(255,255,255,.15); color: #fff; border-radius: 14px; padding: 14px 22px; text-align: center; box-shadow: 0 10px 30px rgba(0,0,0,.5); }
.live-btn-done--err { color: #f87171; }
.live-btn-cta { display: inline-block; margin-top: 8px; background: #1e9bff; color: #fff !important; text-decoration: none; padding: 8px 16px; border-radius: 8px; font-weight: 600; }
@media (max-width: 575.98px) { .live-btn-wrap { left: 12px; right: 12px; transform: none; } .live-btn { width: 100%; } }

/* Bodovačka – zadanie hesla z vysielania */
.live-pw-wrap { position: fixed; right: 18px; bottom: 18px; z-index: 3100; max-width: 320px; }
.live-pw { position: relative; background: #0e1c33; border: 1px solid rgba(255,255,255,.15); border-radius: 14px; padding: 16px 18px; box-shadow: 0 12px 34px rgba(0,0,0,.55); animation: livePop .35s ease; }
.live-pw-title { color: #fff; font-weight: 600; font-size: .95rem; margin-bottom: 10px; padding-right: 16px; }
.live-pw-title span { color: #1e9bff; }
.live-pw-row { display: flex; gap: 8px; }
.live-pw-input { flex: 1; min-width: 0; padding: 10px 12px; border-radius: 8px; border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.06); color: #fff; font-family: inherit; }
.live-pw-input:focus { outline: none; border-color: #1e9bff; }
.live-pw-btn { border: none; border-radius: 8px; background: #1e9bff; color: #fff; padding: 10px 14px; font-weight: 600; cursor: pointer; font-family: inherit; }
.live-pw-btn:disabled { opacity: .6; }
.live-pw-msg { font-size: .85rem; margin-top: 8px; min-height: 1em; }
.live-pw-msg--ok { color: #4ade80; }
.live-pw-msg--err { color: #f87171; }
.live-pw-cta { display: inline-block; margin-top: 6px; background: #1e9bff; color: #fff !important; text-decoration: none; padding: 6px 12px; border-radius: 7px; font-weight: 600; }
.live-pw-close { position: absolute; top: 6px; right: 10px; background: none; border: none; color: #9fb2cc; font-size: 20px; cursor: pointer; line-height: 1; }
@media (max-width: 575.98px) { .live-pw-wrap { left: 12px; right: 12px; max-width: none; bottom: 12px; } }

/* Bodovačka – panel a rebríček na detaile súťaže */
.bod-panel { background: rgba(30,155,255,.08); border: 1px solid rgba(30,155,255,.3); border-radius: 14px; padding: 18px 20px; margin: 18px 0; }
.bod-my { display: flex; gap: 14px; flex-wrap: wrap; }
.bod-my-box { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: 12px; padding: 10px 22px; text-align: center; }
.bod-my-box span { display: block; font-size: .8rem; color: #9fb2cc; }
.bod-my-box strong { font-size: 1.8rem; color: #fff; }
.bod-hint { color: #9fb2cc; font-size: .88rem; margin: 12px 0 0; }
.bod-hint a { color: #1e9bff; }

.bod-board { list-style: none; counter-reset: none; margin: 0; padding: 0; }
.bod-board-item { display: flex; align-items: center; gap: 12px; padding: 11px 14px; border-radius: 10px; background: rgba(255,255,255,.04); margin-bottom: 6px; }
.bod-board-item--top { background: rgba(30,155,255,.14); border: 1px solid rgba(30,155,255,.3); }
.bod-board-item--top:first-child .bod-pos { color: #ffd166; }
.bod-pos { min-width: 32px; font-weight: 700; color: #7f93ad; font-variant-numeric: tabular-nums; }
.bod-nick { flex: 1; color: #fff; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bod-pts { font-weight: 700; color: #1e9bff; font-variant-numeric: tabular-nums; }

/* Upozornenia v účte */
.web-push { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1); border-radius: 12px; padding: 16px 18px; }
.web-push-msg { font-size: .88rem; margin: 10px 0 0; min-height: 1em; }
.web-push-msg--ok { color: #4ade80; }
.web-push-msg--err { color: #f87171; }
