* { margin: 0; padding: 0; box-sizing: border-box; }

        body {
            font-family: 'Lora', 'Georgia', serif;
            background: linear-gradient(135deg, #065f46, #0f766e);
            min-height: 100vh;
            padding: 2rem;
        }

        .page-container { max-width: 1400px; margin: 0 auto; }

        .breadcrumb {
            color: white;
            margin-bottom: 2rem;
            font-size: 1.1rem;
        }
        .breadcrumb a { color: #fbbf24; text-decoration: none; }

        .page-header {
            background: rgba(255,255,255,0.95);
            border-radius: 25px;
            padding: 2.5rem;
            margin-bottom: 2rem;
            box-shadow: 0 20px 60px rgba(0,0,0,0.3);
            text-align: center;
        }
        .page-header h1 { color: #065f46; font-size: 2.8rem; margin-bottom: 0.5rem; }
        .page-header p { color: #6b7280; font-size: 1.2rem; }

        /* TABOVI */
        .tab-navigation {
            display: flex;
            gap: 1rem;
            margin-bottom: 2rem;
            justify-content: center;
        }
        .tab-btn {
            padding: 0.8rem 2.5rem;
            border-radius: 50px;
            border: 2px solid rgba(255,255,255,0.5);
            background: rgba(255,255,255,0.1);
            color: white;
            font-family: 'Lora', serif;
            font-size: 1rem;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s;
        }
        .tab-btn:hover { background: rgba(255,255,255,0.2); }
        .tab-btn.active {
            background: #fbbf24;
            border-color: #fbbf24;
            color: #064e3b;
        }

        /* NIVO SEKCIJE */
        .level-content { display: none; }
        .level-content.active { display: block; }

        /* ACCORDION */
        .accordion-item { margin-bottom: 1.5rem; }
        .accordion-header {
            background: rgba(255,255,255,0.15);
            backdrop-filter: blur(10px);
            border: 1px solid rgba(255,255,255,0.3);
            border-radius: 15px;
            padding: 1.2rem 1.8rem;
            cursor: pointer;
            display: flex;
            justify-content: space-between;
            align-items: center;
            color: white;
            font-size: 1.2rem;
            font-weight: 600;
            transition: all 0.3s;
        }
        .accordion-header:hover { background: rgba(255,255,255,0.22); }
        .acc-icon { font-size: 1.4rem; transition: transform 0.3s; }
        .accordion-item.active .acc-icon { transform: rotate(180deg); }
        .accordion-content { display: none; padding-top: 1.5rem; }
        .accordion-item.active .accordion-content { display: block; }

        /* KARTICE GRID */
        .quiz-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 1.5rem;
        }

        /* QUIZ KARTICA - novi stil */
        .quiz-card {
            border-radius: 20px;
            overflow: hidden;
            box-shadow: 0 10px 30px rgba(0,0,0,0.25);
            transition: all 0.3s;
            cursor: pointer;
            text-decoration: none;
            color: inherit;
            display: flex;
            flex-direction: column;
            background: white;
        }
        .quiz-card:hover {
            transform: translateY(-8px);
            box-shadow: 0 20px 40px rgba(0,0,0,0.35);
        }

        /* Gornji obojeni dio kartice */
        .quiz-cover {
            height: 160px;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            position: relative;
            overflow: hidden;
        }

        

        .quiz-cover-label {
            font-family: 'Playfair Display', serif;
            font-size: 2.2rem;
            font-weight: 700;
            color: white;
            text-shadow: 0 2px 8px rgba(0,0,0,0.3);
            z-index: 1;
        }
        .quiz-cover-stars { display: none; }
        .quiz-cover-stars img { height: 22px; }

        .quiz-lock {
            position: absolute;
            top: 10px;
            right: 12px;
            font-size: 1.3rem;
            z-index: 2;
        }

        /* Donji bijeli dio */
        .quiz-info {
            padding: 1.2rem;
            flex: 1;
            display: flex;
            flex-direction: column;
        }
        .quiz-name-row {
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-bottom: 0.4rem;
        }
        .quiz-name {
            font-size: 1rem;
            color: #1f2937;
            font-weight: 700;
        }
        .quiz-info-stars img { height: 22px; }
        .quiz-desc {
            font-size: 0.82rem;
            color: #6b7280;
            line-height: 1.5;
            flex: 1;
        }
        .quiz-badge {
            margin-top: 0.8rem;
            display: inline-block;
            background: #ecfdf5;
            color: #065f46;
            padding: 4px 10px;
            border-radius: 20px;
            font-size: 0.78rem;
            font-weight: 600;
        }
        .quiz-card.locked .quiz-badge {
            background: #fef3c7;
            color: #92400e;
        }

        /* Boje kartica - ciklično za svaki nivo */
        .col-1  { background: linear-gradient(135deg, #059669, #047857); }
        .col-2  { background: linear-gradient(135deg, #f59e0b, #d97706); }
        .col-3  { background: linear-gradient(135deg, #3b82f6, #1d4ed8); }
        .col-4  { background: linear-gradient(135deg, #8b5cf6, #6d28d9); }
        .col-5  { background: linear-gradient(135deg, #dc2626, #b91c1c); }
        .col-6  { background: linear-gradient(135deg, #0891b2, #0e7490); }

        /* Locked stil */
        .quiz-card.locked .quiz-cover { filter: saturate(0.6); }
        .quiz-card.locked { opacity: 0.9; }
    
        /* Pattern u donjem desnom uglu kartice */
        .pattern-bg {
            position: absolute;
            top: 8px;
            right: 8px;
            width: 150%;
            height: 90%;
            opacity: 0.18;
            object-fit: contain;
            pointer-events: none;
            z-index: 0;
        }
        
        @media (max-width: 900px) {
            .quiz-grid { grid-template-columns: repeat(2, 1fr) !important; }
        }
        @media (max-width: 500px) {
            .quiz-grid { grid-template-columns: 1fr !important; }
        }

        /* ===== MEKTEB AUTH BAR ===== */