/* Premium UI dla w-eterze.pl: naprawiony layout + tlo graficzne */
:root {
    --bg-main: #e9f0f8;
    --surface: #ffffff;
    --surface-soft: #f8fbff;
    --text-main: #122033;
    --text-soft: #4d6380;
    --primary: #0b5fff;
    --primary-deep: #0844b8;
    --stroke: #d9e3f0;
    --shadow-soft: 0 18px 40px rgba(14, 28, 44, 0.12);
    --radius-lg: 20px;
    --radius-md: 14px;
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
}

body {
    min-height: 100vh;
    font-family: 'Manrope', 'Segoe UI', Tahoma, sans-serif;
    line-height: 1.6;
    color: var(--text-main);
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    position: relative;
    background:
        url('/assets/background.webp') center center / cover no-repeat fixed,
        var(--bg-main);
}

.container {
    width: min(1200px, calc(100% - 28px));
    margin: 0 auto;
}

img,
iframe,
video {
    max-width: 100%;
}

.small-container {
    max-width: 720px;
    margin: 24px auto;
    padding: 28px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--stroke);
    background: var(--surface);
    box-shadow: var(--shadow-soft);
}

.site-header,
header {
    position: sticky;
    top: 0;
    z-index: 20;
    backdrop-filter: blur(12px);
    background: rgba(7, 20, 36, 0.88);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    padding: 14px 0;
}

.header-flex>* {
    min-width: 0;
}

.brand,
header h1 a {
    font-family: 'Sora', 'Manrope', sans-serif;
    font-size: 1.2rem;
    color: #fff;
    font-weight: 700;
    text-decoration: none;
    letter-spacing: 0.4px;
}

.brand {
    display: inline-flex;
    align-items: center;
    line-height: 1;
}

.brand img {
    display: block;
    width: auto;
    height: 60px;
    max-width: 100%;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-left: auto;
    justify-content: flex-end;
}

.main-nav a {
    color: rgba(255, 255, 255, 0.92);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
}

.main-nav .nav-home {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.main-nav .nav-home svg {
    width: 15px;
    height: 15px;
    flex-shrink: 0;
}

.main-nav a:hover {
    color: #fff;
}

.breadcrumb-shell {
    margin-top: 14px;
}

.breadcrumb-nav {
    border: 1px solid #d8e3f1;
    border-radius: 14px;
    background: linear-gradient(180deg, #ffffff 0%, #f4f9ff 100%);
    box-shadow: 0 10px 22px rgba(18, 35, 54, 0.08);
    padding: 8px 12px;
}

.breadcrumb-nav ol {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.breadcrumb-nav li {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #486286;
    font-size: 0.85rem;
    font-weight: 700;
}

.breadcrumb-nav li+li::before {
    content: '›';
    color: #88a2c0;
    font-weight: 800;
}

.breadcrumb-nav a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #1f4f92;
    text-decoration: none;
    padding: 5px 10px;
    border-radius: 999px;
    border: 1px solid #cfe0f5;
    background: #ffffff;
}

.breadcrumb-nav a:hover {
    background: #eaf3ff;
}

.breadcrumb-nav span[aria-current="page"] {
    display: inline-flex;
    align-items: center;
    padding: 5px 10px;
    border-radius: 999px;
    border: 1px solid #b7cff1;
    background: #eaf3ff;
    color: #0f3f82;
}

.home-layout {
    display: grid;
    grid-template-columns: 1fr 310px;
    gap: 26px;
    margin-top: 24px;
    margin-bottom: 34px;
}

.home-layout>* {
    min-width: 0;
}

.hero-panel,
.category-shell,
.news-section,
.glass-box,
.adsense-box,
.main-content,
.station-info,
.player-container {
    border: 1px solid var(--stroke);
    border-radius: var(--radius-lg);
    background: var(--surface);
    box-shadow: var(--shadow-soft);
}

/* .panel-studio {
    background: radial-gradient(circle at 50% 50%, #12131a 0%, #050508 100%);
    padding: 100px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 400px;
} */

/* .neon-ramka {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 40px 80px;
    border-radius: 24px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5),
        inset 0 0 20px rgba(255, 255, 255, 0.05);
} */

.cyber-logo {
    font-family: 'Montserrat', 'Arial Black', sans-serif;
    /* font-size: 7rem;
    font-weight: 900; */
    font-style: italic;
    /* letter-spacing: -4px;
    text-transform: uppercase;
    margin: 0;
    position: relative;
    line-height: 1; */

    background: linear-gradient(45deg, #191d89, #4facfe, #ff0844, #ffb199, #00f2fe);
    /* background-size: 400% auto; */
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    /* -webkit-box-reflect: below -15px linear-gradient(transparent 30%, rgba(255, 255, 255, 0.15));
    animation: plynneKolory 8s ease infinite, pulsowanieBlasku 3s ease-in-out infinite alternate; */
}

.cyber-logo .akcent {
    /* font-weight: 900;
    font-style: normal; */
    background: linear-gradient(135deg, #ff007f 0%, #ffaa00 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    /* filter: drop-shadow(0 0 15px #ff007f); */
}

@keyframes plynneKolory {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

@keyframes pulsowanieBlasku {
    0% {
        filter: drop-shadow(0 0 8px rgba(0, 242, 254, 0.5)) drop-shadow(0 0 25px rgba(255, 8, 68, 0.3));
    }

    100% {
        filter: drop-shadow(0 0 18px rgba(0, 242, 254, 0.8)) drop-shadow(0 0 45px rgba(255, 8, 68, 0.6));
    }
}

.hero-panel {
    grid-column: 1 / -1;
    padding: 30px;
    background: linear-gradient(130deg, #ffffff 0%, #f2f8ff 55%, #fff7ef 100%);
    animation: rise-in 0.45s ease;
}

.hero-head {
    display: block;
}

.hero-panel h1 {
    /* font-family: 'Sora', 'Manrope', sans-serif; */
    font-size: clamp(1.55rem, 2.5vw, 2.3rem);
    line-height: 1.2;
    margin: 20px 0;
}

.hero-title-row {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    flex-wrap: nowrap;
    margin: 20px 0;
}

.hero-title-row h1 {
    margin-bottom: 0;
    flex: 0 1 auto;
}

.hero-panel p {
    margin: 0;
    color: var(--text-soft);
}

.hero-eyebrow {
    display: flex;
    align-items: center;
    width: 100%;
    gap: 10px;
    margin-bottom: 8px;
}

.hero-eyebrow-label {
    color: var(--primary-deep);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.72rem;
    letter-spacing: 1.2px;
}

.hero-cta-inline {
    margin-left: auto;
    flex-shrink: 0;
    white-space: nowrap;
}

.hero-stats {
    margin-top: 12px;
    display: grid;
    grid-template-columns: repeat(4, minmax(120px, 1fr));
    gap: 10px;
}

.stat-card {
    padding: 0 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.grid-panel {
    grid-column: 1 / -1;
}

.stat-card strong {
    display: inline;
    font-size: 1.16rem;
    line-height: 1;
    color: var(--primary-deep);
}

.stat-card span {
    display: inline;
    color: var(--text-soft);
    font-size: 0.82rem;
    line-height: 1.2;
}

.hero-tools {
    margin-top: 18px;
    border: 1px solid #cddbf0;
    border-radius: 16px;
    background: linear-gradient(180deg, #ffffff 0%, #f4f9ff 100%);
    padding: 12px;
}

.hero-tools-main {
    display: grid;
    grid-template-columns: minmax(260px, 1fr) auto auto auto;
    gap: 10px;
    align-items: center;
}

.hero-tools-bottom {
    margin-top: 10px;
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 10px;
}

.hero-tools input[type="search"] {
    width: 100%;
    border: 1px solid #c8d8ed;
    border-radius: 12px;
    background: #fff;
    padding: 12px 14px;
    font-size: 0.95rem;
    color: var(--text-main);
}

.hero-tools input[type="search"]:focus {
    outline: 2px solid #bed6ff;
    border-color: #8db6f8;
}

.hero-tool-btn {
    border: 1px solid #cfddf0;
    background: #fff;
    color: #294f85;
    border-radius: 12px;
    padding: 11px 14px;
    font-weight: 700;
    cursor: pointer;
}

.hero-tool-btn-primary {
    background: linear-gradient(180deg, var(--primary), var(--primary-deep));
    color: #fff;
    border-color: transparent;
}

.hero-quick {
    display: flex;
    gap: 8px;
    flex-wrap: nowrap;
}

.hero-quick-chip {
    border: 1px solid #c7d7ed;
    border-radius: 999px;
    background: #fff;
    padding: 7px 11px;
    font-size: 0.82rem;
    font-weight: 700;
    color: #264d84;
    cursor: pointer;
}

.hero-quick-chip.is-active {
    border-color: var(--primary);
    background: #e8f2ff;
    color: #0a48ba;
}

.hero-hint {
    margin: 0;
    font-size: 0.82rem;
    color: #536b89;
    text-align: left;
}

.hero-category-grid {
    display: grid;
    grid-template-columns: repeat(7, minmax(150px, 1fr));
    gap: 10px;
}

.category-shell {
    padding: 16px 20px 20px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.media-strip {
    margin-bottom: 16px;
}

.logo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 10px;
}

.logo-item {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    border: 1px solid #d7e2f0;
    border-radius: 14px;
    background: #fff;
    padding: 10px 12px;
    box-shadow: 0 6px 14px rgba(31, 62, 94, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.logo-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(22, 52, 84, 0.14);
}

.logo-mark {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, #ebf4ff, #d4e5ff);
    color: #0a48ba;
    font-weight: 800;
    font-size: 0.95rem;
    flex-shrink: 0;
}

.logo-name {
    color: #16365f;
    font-weight: 700;
    font-size: 0.88rem;
    line-height: 1.2;
}

.subsection-title {
    margin: 0 0 10px;
    font-size: 1rem;
    color: #2f4f79;
}

.weather-map-stack {
    display: grid;
    gap: 14px;
}

.weather-map-card {
    border: 1px solid var(--stroke);
    border-radius: 14px;
    background: #fff;
    padding: 12px;
    box-shadow: 0 8px 18px rgba(18, 35, 54, 0.08);
}

.weather-map-card h3 {
    margin: 0 0 10px;
    font-size: 1rem;
    color: #1f3f6e;
}

.weather-map-embed {
    position: relative;
    width: 100%;
    padding-bottom: 68%;
    min-height: 480px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #d4dfec;
    background: #eaf1fb;
}

.weather-map-embed iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.category-strip {
    display: flex;
    flex-wrap: nowrap;
    gap: 12px;
    overflow-x: auto;
    padding: 4px 2px 10px;
    scrollbar-width: thin;
    scrollbar-color: #b7c8de transparent;
}

.category-tile-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 8px;
}

.category-pill {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    white-space: normal;
    border: 1px solid #c7d8ef;
    background: linear-gradient(180deg, #ffffff 0%, #f4f9ff 100%);
    color: var(--text-main);
    border-radius: 14px;
    padding: 14px;
    font-weight: 700;
    font-size: 0.92rem;
    text-align: left;
    cursor: pointer;
    box-shadow: 0 7px 16px rgba(31, 62, 94, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.category-pill:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(22, 52, 84, 0.14);
}

.category-pill.is-active {
    border-color: var(--primary);
    background: linear-gradient(180deg, #ebf4ff, #cfe2ff);
    color: var(--primary-deep);
    box-shadow: 0 10px 20px rgba(11, 95, 255, 0.2);
}

.cat-icon {
    font-size: 1.2rem;
    line-height: 1;
    flex-shrink: 0;
}

.dynamic-controls {
    margin-top: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    color: var(--text-soft);
    font-weight: 700;
}

.dynamic-controls select {
    border: 1px solid var(--stroke);
    border-radius: 10px;
    background: #fff;
    padding: 8px 10px;
    color: var(--text-main);
    min-width: 170px;
}

.dynamic-status {
    margin-top: 14px;
    color: var(--text-soft);
    font-weight: 600;
}

.dynamic-grid {
    margin-top: 14px;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 14px;
}

.dynamic-card {
    background: #fff;
    border: 1px solid var(--stroke);
    border-radius: 16px;
    padding: 16px;
    box-shadow: 0 8px 20px rgba(18, 35, 54, 0.08);
    animation: rise-in 0.35s ease;
}

.dynamic-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.country-badge,
.type-badge,
.badge-source {
    display: inline-flex;
    align-items: center;
    padding: 4px 8px;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
    border: 1px solid #d4dfec;
}

.country-badge {
    background: #f7fbff;
    color: #1c457f;
}

.type-badge {
    background: #fff6ef;
    color: #9a4c1d;
}

.dynamic-card h3 {
    margin: 10px 0 8px;
    font-size: 1.06rem;
    line-height: 1.35;
    overflow-wrap: anywhere;
}

.dynamic-card p {
    margin: 0 0 14px;
    color: var(--text-soft);
    font-size: 0.92rem;
    min-height: 68px;
    overflow-wrap: anywhere;
}

.dynamic-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.loading-state,
.empty-state {
    grid-column: 1 / -1;
    padding: 16px;
    border: 1px dashed #b9cbe1;
    border-radius: 12px;
    background: #f8fbff;
    color: #47648b;
    font-weight: 600;
}

.ghost-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #ccd9eb;
    color: #244d86;
    text-decoration: none;
    border-radius: 10px;
    padding: 10px 14px;
    font-weight: 700;
}

.news-section {
    padding: 24px;
}

/* Główny kontener artykułu */
.news-item {
    margin-bottom: 20px;
}

/* Układ dwukolumnowy obok siebie */
.news-flex-container {
    display: flex;
    gap: 20px;
    /* Odstęp między grafiką a tekstem */
    align-items: flex-start;
}

/* Lewa kolumna z grafiką - dokładnie 25% szerokości */
.news-left-col {
    flex: 0 0 25%;
    max-width: 25%;
}

/* Sprawia, że obrazek dopasowuje się do szerokości kolumny */
.news-thumb img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 4px;
    /* Opcjonalnie: zaokrąglenie rogów zdjęcia */
}

/* Prawa kolumna z tekstami - zajmuje resztę miejsca (75%) */
.news-right-col {
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* Style dla tytułu na samej górze */
.news-right-col h3 {
    margin: 0 0 8px 0;
    font-size: 1.2rem;
}

/* Style dla opisu poniżej tytułu */
.news-right-col p {
    margin: 0 0 12px 0;
    color: #555;
    line-height: 1.5;
}

/* Kontener na źródło i datę (wyrównane domyślnie do lewej) */
.news-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    /* Odstęp między źródłem a datą */
}

/* Pozioma linia oddzielająca na dole */
.news-separator {
    border: 0;
    border-top: 1px solid #eaeaea;
    margin-top: 20px;
    margin-bottom: 0;
}

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

.section-topline h2 {
    margin: 0;
    font-family: 'Sora', 'Manrope', sans-serif;
    font-size: 1.38rem;
}

.news-list {
    background: var(--surface-soft);
    border: 1px solid var(--stroke);
    border-radius: var(--radius-md);
    padding: 14px 16px;
}

.news-item {
    padding: 12px 0;
    border-bottom: 1px solid #e2e9f2;
}

.news-thumb {
    display: block;
    width: 100%;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #d8e3f2;
    margin-bottom: 10px;
    background: #edf3fc;
}

.news-thumb img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.news-item:last-child {
    border-bottom: 0;
}

.news-item h3 {
    margin: 8px 0;
    font-size: 1rem;
}

.news-item h3 a {
    color: #194f9f;
    text-decoration: none;
    overflow-wrap: anywhere;
}

.news-item h3 a:hover {
    text-decoration: underline;
}

.news-item p,
.news-item small {
    color: var(--text-soft);
}

.news-pagination {
    margin-top: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.page-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 34px;
    height: 34px;
    padding: 0 10px;
    border: 1px solid #ccd9eb;
    border-radius: 10px;
    background: #fff;
    color: #244d86;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.86rem;
}

.page-link:hover {
    background: #eef5ff;
}

.page-link.is-current {
    border-color: var(--primary);
    background: #e8f2ff;
    color: #0a48ba;
}

.page-dots {
    color: #6a7f9b;
    font-weight: 700;
    padding: 0 2px;
}

.not-found-shell {
    border: 1px solid #d5e1f0;
    border-radius: 22px;
    background: linear-gradient(140deg, #ffffff 0%, #f2f8ff 55%, #fff7ef 100%);
    box-shadow: 0 18px 40px rgba(14, 28, 44, 0.12);
    padding: clamp(20px, 4vw, 44px);
}

.not-found-kicker {
    display: inline-flex;
    align-items: center;
    border: 1px solid #cfe0f5;
    border-radius: 999px;
    background: #eef5ff;
    color: #1d4f93;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    padding: 6px 10px;
    margin: 0 0 12px;
}

.not-found-shell h1 {
    margin: 0 0 10px;
    font-family: 'Sora', 'Manrope', sans-serif;
    font-size: clamp(1.5rem, 2.8vw, 2.2rem);
    line-height: 1.2;
    color: #10243f;
}

.not-found-shell p {
    margin: 0;
    color: #4d6380;
    max-width: 760px;
}

.not-found-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.premium-sidebar {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.sidebar-ad-frame {
    border: 1px solid var(--stroke);
    border-radius: var(--radius-lg);
    background: var(--surface);
    box-shadow: var(--shadow-soft);
    padding: 14px;
}

.glass-box {
    padding: 16px;
    background: linear-gradient(160deg, #ffffff 0%, #edf4ff 100%);
}

.glass-box h3 {
    margin-top: 0;
    margin-bottom: 10px;
    font-family: 'Sora', 'Manrope', sans-serif;
}

.glass-box ul {
    margin: 0;
    padding-left: 18px;
    color: var(--text-soft);
}

.adsense-box {
    background: #fff;
    border: 1px dashed #d0d8e5;
    padding: 16px;
    text-align: center;
    margin-bottom: 20px;
}

.ad-label {
    margin: 0 0 6px;
    font-size: 0.72rem;
    letter-spacing: 1px;
    color: #8397b1;
    text-transform: uppercase;
}

.btn-play {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 10px;
    padding: 10px 15px;
    background: linear-gradient(180deg, var(--primary), var(--primary-deep));
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    cursor: pointer;
}

.btn-play:hover {
    filter: brightness(1.02);
}

.btn-warn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 9px 14px;
    background: linear-gradient(180deg, #ff7e57, #e64d1c);
    color: #fff;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 700;
}

.grid-layout {
    display: flex;
    flex-wrap: wrap;
    gap: 22px;
    margin-top: 24px;
    margin-bottom: 24px;
}

.main-content {
    flex: 1 1 720px;
    min-width: 0;
    padding: 24px;
}

.sidebar {
    flex: 0 0 290px;
    min-width: 0;
}

.category-grid,
.radio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 14px;
}

.category-card,
.radio-card {
    display: block;
    background: #fff;
    border: 1px solid var(--stroke);
    border-radius: 14px;
    box-shadow: 0 8px 16px rgba(18, 35, 54, 0.07);
    padding: 18px;
    text-decoration: none;
    color: inherit;
}

.category-card:hover,
.radio-card:hover {
    transform: translateY(-2px);
}

.alert {
    background: #eaf4ff;
    color: #1c4b86;
    border: 1px solid #c8dcf3;
    border-radius: 10px;
    padding: 12px;
    font-weight: 700;
}

.secure-form label {
    display: block;
    margin-top: 14px;
    margin-bottom: 6px;
    font-weight: 700;
}

.secure-form input,
.secure-form select,
.secure-form textarea {
    width: 100%;
    border: 1px solid #cfdced;
    border-radius: 10px;
    padding: 10px;
    font-size: 0.95rem;
    background: #fff;
}

.site-footer,
footer {
    margin-top: auto;
    background: #091525;
    color: #d3deee;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 20px;
    padding: 28px 0 18px;
}

.footer-grid h3,
.footer-grid h4 {
    margin-top: 0;
    margin-bottom: 10px;
    color: #fff;
    font-family: 'Sora', 'Manrope', sans-serif;
}

.footer-grid p,
.footer-grid a {
    margin: 0 0 8px;
    color: #c0d0e7;
    text-decoration: none;
    display: block;
    overflow-wrap: anywhere;
}

.footer-grid a:hover {
    color: #fff;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 12px 0 20px;
    color: #9cb0cc;
    font-size: 0.9rem;
}

.text-center {
    text-align: center;
}

@keyframes rise-in {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 1080px) {
    .home-layout {
        grid-template-columns: 1fr;
    }

    .hero-head {
        grid-template-columns: 1fr;
    }

    .premium-sidebar {
        grid-column: 1 / -1;
        flex-direction: row;
        flex-wrap: wrap;
    }

    .premium-sidebar>* {
        flex: 1 1 280px;
    }

    .hero-stats {
        grid-template-columns: repeat(2, minmax(120px, 1fr));
    }

    .hero-category-grid {
        grid-template-columns: repeat(2, minmax(180px, 1fr));
    }
}

@media (max-width: 760px) {
    .header-flex {
        flex-wrap: wrap;
        justify-content: center;
    }

    .main-nav {
        order: 3;
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
        margin-left: 0;
    }

    .hero-tools-main {
        grid-template-columns: 1fr;
    }

    .hero-tool-btn {
        width: 100%;
    }

    .hero-title-row {
        flex-direction: column;
        align-items: flex-start;
    }

    .hero-eyebrow {
        flex-wrap: wrap;
        align-items: flex-start;
    }

    .hero-cta-inline {
        width: auto;
        max-width: 100%;
        margin-left: 0;
        text-align: center;
    }

    .dynamic-grid {
        grid-template-columns: 1fr;
    }

    .hero-category-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .hero-panel,
    .category-shell,
    .news-section,
    .main-content,
    .small-container {
        padding: 16px;
    }

    .dynamic-controls select {
        width: 100%;
        min-width: 0;
    }

    .btn-warn {
        width: 100%;
    }

    .weather-map-embed {
        padding-bottom: 78%;
        min-height: 360px;
    }
}

@media (max-width: 520px) {
    .hero-stats {
        grid-template-columns: 1fr;
    }
}

/* GŁÓWNY PANEL - Maksymalny kontrast i neonowa krawędź */
.cyber-mega-bar {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 20px;

    width: 100%;
    max-width: 1200px;
    margin: 20px auto 30px auto;
    padding: 14px 28px;
    box-sizing: border-box;

    /* Głęboka, czysta czerń jako baza + brak przezroczystości dla 100% czytelności */
    background: #090d16;
    border-radius: 10px;

    /* Neonowa, świecąca ramka wokół całej belki */
    border: 1px solid #3b82f6;
    box-shadow: 0 0 15px rgba(59, 130, 246, 0.4),
        inset 0 0 15px rgba(59, 130, 246, 0.2);

    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    position: relative;
}

/* LEWA SEKCJA: Nadnagłówek */
.mega-section-left {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
}

.mega-h3 {
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #38bdf8;
    /* Jasny cyber-błękit, doskonale widoczny */
    text-shadow: 0 0 8px rgba(56, 189, 248, 0.5);
    margin: 0;
}

/* PRZYCISK: Mega widoczny, pulsujący neonem ostrzegawczym */
.btn-cyber-pulse {
    font-size: 0.7rem;
    color: #ffffff !important;
    background: #f59e0b;
    /* Bardzo mocny pomarańcz */
    text-decoration: none;
    text-transform: uppercase;
    font-weight: 800;
    padding: 5px 12px;
    border-radius: 4px;
    letter-spacing: 0.5px;
    box-shadow: 0 0 10px #f59e0b, 0 0 20px rgba(245, 158, 11, 0.3);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-cyber-pulse:hover {
    transform: scale(1.05);
    box-shadow: 0 0 15px #fbbf24, 0 0 30px #f59e0b;
    background: #fbbf24;
}

/* ŚRODEK: GŁÓWNE LOGO H1 (Ekstremalny Efekt WOW) */
.mega-section-center {
    flex-grow: 1;
    text-align: center;
}

.mega-h1 {
    font-size: 1.35rem;
    font-weight: 900;
    color: #ffffff;
    margin: 0;
    letter-spacing: 0.5px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
}

/* Efekt jarzącego się neonu fioletowo-różowego (w-eterze) */
.neon-glow-text {
    color: #ff007f;
    font-weight: 800;
    text-transform: uppercase;
    /* Kluczowy element: warstwowe cienie dające efekt silnego świecenia */
    text-shadow: 0 0 5px #ff007f,
        0 0 15px #ff007f,
        0 0 30px #ff007f;
    background: linear-gradient(90deg, #ff007f, #b5179e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* PRAWA SEKCJA: SEO Opisy */
.mega-section-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
}

.mega-h2 {
    font-size: 0.85rem;
    font-weight: 700;
    color: #ffffff;
    /* Podbte do czystej bieli dla czytelności */
    margin: 0;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.3);
}

/* Tekst akcji "Wybierz medium" z mocną lampką LIVE */
.mega-p-live {
    font-size: 0.75rem;
    color: #a1a1aa;
    margin: 0;
    font-weight: 600;
    display: flex;
    align-items: center;
}

.mega-p-live::after {
    content: '';
    display: inline-block;
    width: 7px;
    height: 7px;
    background-color: #00ff66;
    /* Ekstremalnie jasny zielony laser */
    border-radius: 50%;
    margin-left: 8px;
    /* Efekt błyskania lampki kontrolnej */
    box-shadow: 0 0 10px #00ff66, 0 0 20px #00ff66;
    animation: cyber-flash 1.5s infinite alternate;
}

@keyframes cyber-flash {
    0% {
        opacity: 0.3;
        transform: scale(0.9);
    }

    100% {
        opacity: 1;
        transform: scale(1.1);
        box-shadow: 0 0 15px #00ff66, 0 0 25px #00ff66;
    }
}

/* RESPONSYWNOŚĆ */
@media (max-width: 768px) {
    .cyber-mega-bar {
        flex-direction: column;
        text-align: center;
        gap: 15px;
        padding: 16px;
    }

    .mega-section-left,
    .mega-section-right {
        align-items: center;
    }
}