:root {
            --bg-dark: #04120c;
            --bg-section: #0b2418;
            --bg-section-alt: #0f2f20;
            --accent: #2ecc71;
            --accent-soft: #27ae60;
            --accent-strong: #1abc9c;
            --text-main: #f5f5f5;
            --text-muted: #c9d5cf;
            --warning: #e67e22;
            --danger: #e74c3c;
            --card-bg: rgba(255, 255, 255, 0.04);
            --border-soft: rgba(255, 255, 255, 0.08);
            --shadow-soft: 0 18px 40px rgba(0, 0, 0, 0.55);
            --shadow-small: 0 10px 25px rgba(0, 0, 0, 0.5);
            --transition-fast: 0.25s ease;
        }

        * {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }

        body {
            font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
            background: radial-gradient(circle at top, #11452f 0, #020907 40%, #000 100%);
            color: var(--text-main);
            line-height: 1.6;
            scroll-behavior: smooth;
        }

        /* Scrollbar */
        ::-webkit-scrollbar {
            width: 8px;
        }
        ::-webkit-scrollbar-track {
            background: #020907;
        }
        ::-webkit-scrollbar-thumb {
            background: #145a32;
            border-radius: 4px;
        }

        header.hero {
            position: relative;
            min-height: 100vh;
            overflow: hidden;
            color: var(--text-main);
        }

        .hero-parallax {
            position: absolute;
            inset: 0;
            background:
                radial-gradient(circle at 10% 20%, rgba(46, 204, 113, 0.16) 0, transparent 40%),
                radial-gradient(circle at 90% 80%, rgba(41, 128, 185, 0.18) 0, transparent 45%),
                url("góra.png") center/cover no-repeat fixed;
            filter: saturate(0.9) brightness(0.9);
            transform: scale(1.05);
        }

        .hero-overlay {
            position: absolute;
            inset: 0;
            background: linear-gradient(to bottom, rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0.95));
        }

        .hero-inner {
            position: relative;
            z-index: 2;
            max-width: 1200px;
            margin: 0 auto;
            padding: 24px 18px 80px;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            min-height: 100vh;
        }

        /* Logo placeholder – wstaw tu swoje logo (np. <img src="...">) */
        .logo {
            display: flex;
            align-items: center;
            gap: 12px;
        }

        .logo-mark {
            width: 44px;
            height: 44px;
            border-radius: 14px;
            background: radial-gradient(circle at 30% 30%, #2ecc71, #1b5e3e);
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: var(--shadow-small);
            position: relative;
            overflow: hidden;
        }

        .logo-mark::before {
            content: "";
            position: absolute;
            inset: 0;
            background:
                linear-gradient(145deg, rgba(255, 255, 255, 0.15), transparent 40%),
                radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.2), transparent 50%);
            mix-blend-mode: screen;
        }

        .logo-icon {
            font-size: 26px;
            filter: drop-shadow(0 0 6px rgba(0, 0, 0, 0.6));
        }

        .logo-text-main {
            font-weight: 700;
            letter-spacing: 0.05em;
            font-size: 20px;
            text-transform: uppercase;
        }

        .logo-text-sub {
            font-size: 11px;
            color: var(--text-muted);
            text-transform: uppercase;
            letter-spacing: 0.16em;
        }

        nav.main-nav {
            margin-top: 18px;
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
        }

        nav.main-nav a {
            text-decoration: none;
            color: var(--text-main);
            font-size: 13px;
            padding: 8px 14px;
            border-radius: 999px;
            border: 1px solid rgba(255, 255, 255, 0.12);
            background: linear-gradient(135deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
            backdrop-filter: blur(10px);
            transition: background var(--transition-fast), transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast);
        }

        nav.main-nav a:hover {
            background: linear-gradient(135deg, rgba(46, 204, 113, 0.3), rgba(39, 174, 96, 0.28));
            border-color: rgba(46, 204, 113, 0.9);
            box-shadow: 0 0 10px rgba(46, 204, 113, 0.8);
            transform: translateY(-1px);
        }

        .hero-content {
            margin-top: 60px;
            max-width: 640px;
        }

        .hero-kicker {
            font-size: 13px;
            letter-spacing: 0.16em;
            text-transform: uppercase;
            color: var(--accent-strong);
            margin-bottom: 12px;
        }

        .hero-title {
            font-size: clamp(32px, 4vw, 44px);
            font-weight: 800;
            line-height: 1.1;
            margin-bottom: 18px;
        }

        .hero-subtitle {
            font-size: 15px;
            color: var(--text-muted);
            margin-bottom: 26px;
        }

        .hero-actions {
            display: flex;
            flex-wrap: wrap;
            gap: 12px;
            align-items: center;
        }

        .btn-primary,
        .btn-secondary {
            border: none;
            border-radius: 999px;
            padding: 11px 20px;
            cursor: pointer;
            font-size: 14px;
            display: inline-flex;
            align-items: center;
            gap: 8px;
            transition: transform var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast), color var(--transition-fast), border var(--transition-fast);
        }

        .btn-primary {
            background: linear-gradient(135deg, #2ecc71, #1abc9c);
            color: #04120c;
            font-weight: 600;
            box-shadow: 0 14px 36px rgba(39, 174, 96, 0.6);
        }

        .btn-primary:hover {
            transform: translateY(-1px) scale(1.02);
            box-shadow: 0 18px 40px rgba(39, 174, 96, 0.75);
        }

        .btn-secondary {
            background: transparent;
            border: 1px solid rgba(255, 255, 255, 0.2);
            color: var(--text-main);
        }

        .btn-secondary:hover {
            background: rgba(255, 255, 255, 0.08);
            transform: translateY(-1px);
        }

        .hero-badge {
            margin-top: 28px;
            display: inline-flex;
            align-items: center;
            gap: 10px;
            padding: 9px 14px;
            border-radius: 999px;
            background: rgba(0, 0, 0, 0.5);
            border: 1px solid rgba(255, 255, 255, 0.1);
            backdrop-filter: blur(10px);
            font-size: 12px;
            color: var(--text-muted);
        }

        .hero-badge span.highlight {
            color: var(--accent-strong);
            font-weight: 600;
        }

        .hero-card {
            margin-top: auto;
            margin-bottom: 10px;
            display: flex;
            flex-wrap: wrap;
            gap: 16px;
        }

        .hero-card-item {
            flex: 1 1 240px;
            padding: 14px 16px;
            background: rgba(0, 0, 0, 0.68);
            border-radius: 18px;
            border: 1px solid rgba(255, 255, 255, 0.12);
            backdrop-filter: blur(12px);
            box-shadow: 0 16px 35px rgba(0, 0, 0, 0.7);
            font-size: 13px;
        }

        .hero-card-title {
            font-size: 13px;
            text-transform: uppercase;
            letter-spacing: 0.14em;
            margin-bottom: 6px;
            color: var(--accent);
        }

        .hero-card-item ul {
            list-style: none;
        }

        .hero-card-item li::before {
            content: "✦";
            margin-right: 7px;
            color: var(--accent-strong);
        }

        main {
            max-width: 1200px;
            margin: 0 auto;
            padding: 40px 18px 80px;
        }

        section {
            margin-bottom: 48px;
            padding: 32px 24px;
            border-radius: 24px;
            background: radial-gradient(circle at top left, rgba(46, 204, 113, 0.12), transparent 50%),
                        radial-gradient(circle at bottom right, rgba(52, 152, 219, 0.12), transparent 55%),
                        rgba(0, 0, 0, 0.72);
            border: 1px solid rgba(255, 255, 255, 0.08);
            box-shadow: var(--shadow-soft);
            position: relative;
            overflow: hidden;
        }

        section::before {
            content: "";
            position: absolute;
            inset: 0;
            background: linear-gradient(135deg, rgba(255, 255, 255, 0.04), transparent);
            opacity: 0;
            pointer-events: none;
            transition: opacity var(--transition-fast);
        }

        section:hover::before {
            opacity: 1;
        }

        section:nth-child(odd) {
            background: radial-gradient(circle at top right, rgba(39, 174, 96, 0.1), transparent 50%),
                        rgba(0, 0, 0, 0.78);
        }

        section h2 {
            font-size: 24px;
            margin-bottom: 6px;
            letter-spacing: 0.04em;
        }

        section .section-tag {
            font-size: 11px;
            letter-spacing: 0.18em;
            text-transform: uppercase;
            color: var(--accent-strong);
            margin-bottom: 6px;
        }

        section .section-subtitle {
            font-size: 14px;
            color: var(--text-muted);
            margin-bottom: 18px;
        }

        .grid-2 {
            display: grid;
            grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
            gap: 20px;
            align-items: flex-start;
        }

        .grid-3 {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
            gap: 18px;
        }

        @media (max-width: 820px) {
            .grid-2 {
                grid-template-columns: 1fr;
            }
        }

        .card {
            background: var(--card-bg);
            border-radius: 18px;
            padding: 16px 16px 14px;
            border: 1px solid var(--border-soft);
        }

        .card-strong {
            background: linear-gradient(135deg, rgba(46, 204, 113, 0.1), rgba(0, 0, 0, 0.85));
            border: 1px solid rgba(46, 204, 113, 0.5);
        }

        .card h3 {
            font-size: 17px;
            margin-bottom: 8px;
        }

        .card h4 {
            font-size: 15px;
            margin-bottom: 6px;
        }

        .card p {
            font-size: 14px;
        }

        .card ul,
        .card ol {
            margin-left: 16px;
            margin-top: 6px;
            margin-bottom: 6px;
            font-size: 14px;
        }

        .card li {
            margin-bottom: 4px;
        }

        .badge {
            display: inline-flex;
            align-items: center;
            padding: 3px 8px;
            font-size: 11px;
            border-radius: 999px;
            text-transform: uppercase;
            letter-spacing: 0.12em;
            margin-bottom: 6px;
        }

        .badge-info {
            background: rgba(52, 152, 219, 0.14);
            color: #74b9ff;
            border: 1px solid rgba(52, 152, 219, 0.5);
        }

        .badge-danger {
            background: rgba(231, 76, 60, 0.14);
            color: #ff7675;
            border: 1px solid rgba(231, 76, 60, 0.5);
        }

        .badge-warning {
            background: rgba(243, 156, 18, 0.18);
            color: #ffbe76;
            border: 1px solid rgba(243, 156, 18, 0.5);
        }

        .badge-success {
            background: rgba(39, 174, 96, 0.18);
            color: #55efc4;
            border: 1px solid rgba(39, 174, 96, 0.7);
        }

        .note {
            font-size: 13px;
            color: var(--text-muted);
            margin-top: 6px;
            border-left: 3px solid rgba(255, 255, 255, 0.2);
            padding-left: 8px;
        }

        .danger-text {
            color: var(--danger);
            font-weight: 600;
        }

        .highlight {
            color: var(--accent-soft);
            font-weight: 600;
        }

        textarea,
        input,
        select {
            width: 100%;
            padding: 7px 9px;
            border-radius: 10px;
            border: 1px solid rgba(255, 255, 255, 0.16);
            background: rgba(0, 0, 0, 0.5);
            color: var(--text-main);
            font-size: 13px;
            outline: none;
            transition: border var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast);
            font-family: inherit;
        }

        textarea:focus,
        input:focus,
        select:focus {
            border-color: var(--accent-strong);
            box-shadow: 0 0 0 1px rgba(46, 204, 113, 0.6);
            background: rgba(0, 0, 0, 0.75);
        }

        textarea {
            min-height: 70px;
            resize: vertical;
        }

        .small-label {
            font-size: 12px;
            margin-bottom: 4px;
            display: block;
            color: var(--text-muted);
        }

        .morse-table {
            width: 100%;
            border-collapse: collapse;
            font-size: 13px;
            margin-top: 8px;
        }

        .morse-table th,
        .morse-table td {
            border: 1px solid rgba(255, 255, 255, 0.16);
            padding: 4px 7px;
            text-align: center;
        }

        .morse-table th {
            background: rgba(46, 204, 113, 0.15);
        }

        .quiz-question {
            margin-bottom: 8px;
            font-size: 14px;
            font-weight: 600;
        }

        .quiz-options {
            display: flex;
            flex-direction: column;
            gap: 4px;
            margin-bottom: 8px;
        }

        .quiz-options button {
            background: rgba(0, 0, 0, 0.6);
            border-radius: 10px;
            border: 1px solid rgba(255, 255, 255, 0.16);
            padding: 7px 9px;
            font-size: 13px;
            cursor: pointer;
            color: var(--text-main);
            display: flex;
            justify-content: space-between;
            transition: background var(--transition-fast), transform var(--transition-fast), border var(--transition-fast);
        }

        .quiz-options button:hover {
            background: rgba(46, 204, 113, 0.1);
            transform: translateY(-1px);
        }

        .quiz-options button.correct {
            border-color: rgba(39, 174, 96, 0.9);
            background: rgba(39, 174, 96, 0.2);
        }

        .quiz-options button.incorrect {
            border-color: rgba(231, 76, 60, 0.9);
            background: rgba(231, 76, 60, 0.13);
        }

        .quiz-feedback {
            font-size: 13px;
            margin-top: 4px;
        }

        .quiz-feedback.correct {
            color: #55efc4;
        }

        .quiz-feedback.incorrect {
            color: #fab1a0;
        }

        .rating {
            display: flex;
            align-items: center;
            gap: 4px;
        }

        .star {
            font-size: 20px;
            cursor: pointer;
            color: rgba(255, 255, 255, 0.35);
            transition: color var(--transition-fast), transform var(--transition-fast), text-shadow var(--transition-fast);
        }

        .star.active {
            color: #f1c40f;
            text-shadow: 0 0 8px rgba(241, 196, 15, 0.7);
        }

        .star:hover {
            transform: translateY(-1px) scale(1.05);
        }

        .rating-text {
            font-size: 13px;
            color: var(--text-muted);
            margin-left: 6px;
        }

        .pill-list {
            display: flex;
            flex-wrap: wrap;
            gap: 6px;
            margin-top: 4px;
        }

        .pill {
            font-size: 11px;
            padding: 3px 8px;
            border-radius: 999px;
            border: 1px solid rgba(255, 255, 255, 0.18);
            color: var(--text-muted);
            background: rgba(0, 0, 0, 0.5);
        }

        .pill-strong {
            border-color: rgba(46, 204, 113, 0.8);
            color: var(--accent);
            background: rgba(46, 204, 113, 0.08);
        }

        .leaf-divider {
            margin: 14px 0;
            height: 1px;
            background: linear-gradient(to right, transparent, rgba(46, 204, 113, 0.7), transparent);
            position: relative;
        }

        .leaf-divider::before {
            content: "❧";
            position: absolute;
            left: 50%;
            top: -11px;
            transform: translateX(-50%);
            color: var(--accent);
        }

        .mini-game {
            border-radius: 16px;
            padding: 10px 12px;
            background: radial-gradient(circle at top, rgba(46, 204, 113, 0.2), transparent 70%);
            border: 1px dashed rgba(46, 204, 113, 0.6);
            font-size: 13px;
        }

        .mini-game-title {
            font-weight: 600;
            margin-bottom: 4px;
        }

        footer {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 18px 32px;
            color: var(--text-muted);
            font-size: 12px;
            display: flex;
            justify-content: space-between;
            gap: 10px;
        }

        @media (max-width: 600px) {
            header.hero {
                min-height: 90vh;
            }

            .hero-inner {
                padding-top: 18px;
            }

            section {
                padding: 24px 18px;
            }
        }

        .fade-in {
            opacity: 0;
            transform: translateY(10px);
            transition: opacity 0.6s ease, transform 0.6s ease;
        }

        .fade-in.visible {
            opacity: 1;
            transform: translateY(0);
        }

        .link-inline {
            color: var(--accent-strong);
            text-decoration: none;
            border-bottom: 1px dotted rgba(46, 204, 113, 0.6);
        }