 
        /* ============================================
           GLOBALNI STILOVI I CSS VARIJABLE
           ============================================ */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        :root {
            --primary: #2c5282;
            --primary-dark: #1a365d;
            --accent: #ffd700;
            --accent-light: #fff3cd;
            --bg: #f8fafc;
            --text: #1a202c;
            --text-light: #4a5568;
            --border: #e2e8f0;
            --white: #ffffff;
            --success: #28a745;
            --danger: #dc3545;
            --warning: #ffc107;
            --info: #17a2b8;
        }
        :root {
    --arabic-color: #4FAE5A; /* dodajte varijablu */
}

/* Svi arapski tekstovi */
.arabic-text,
.ajet-arabic,
.arabic-preview,
.font-arabic,
[lang="ar"],
[dir="rtl"] {
    color: var(--arabic-color) !important;
    background-color: transparent;
}

        body {
            font-family: 'Open Sans', sans-serif;
            background-color: var(--bg);
            color: var(--text);
            line-height: 1.6;
        }

        .container {
            max-width: 1280px;
			min-height:150px;
            margin: 0 auto;
            padding: 20px;
        }

        /* ============================================
           HEADER
           ============================================ */
        header {
            background: linear-gradient(135deg, var(--primary), var(--primary-dark));
            color: white;
            padding: 20px 0;
            border-radius: 0 0 20px 20px;
            box-shadow: 0 4px 20px rgba(0,0,0,0.1);
            margin-bottom: 30px;
        }

        .header-content {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 0 20px;
            position: relative;
        }

        .logo {
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .logo-icon {
            font-size: 2rem;
        }

        .logo-text {
            font-size: 1.2rem;
            font-weight: 600;
        }

        .logo-text span {
            color: var(--accent);
        }

        .hamburger-btn {
            display: none;
            font-size: 2rem;
            background: none;
            border: none;
            color: white;
            cursor: pointer;
            padding: 5px 10px;
            transition: all 0.3s;
        }

        .hamburger-btn:hover {
            color: var(--accent);
        }

        .auth-buttons {
            display: flex;
            gap: 10px;
        }

        .btn {
            padding: 10px 20px;
            border: none;
            border-radius: 8px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s;
            font-size: 0.95rem;
        }

        .btn-primary {
            background: var(--accent);
            color: var(--primary-dark);
        }

        .btn-primary:hover {
            background: #e6c300;
            transform: translateY(-2px);
        }

        .btn-outline {
            background: transparent;
            border: 2px solid white;
            color: white;
        }

        .btn-outline:hover {
            background: white;
            color: var(--primary);
        }

        .bismillah {
            text-align: center;
            padding: 20px;
            background: rgba(255,255,255,0.1);
            margin-top: 20px;
            font-family: 'Amiri', serif;
            font-size: 1.8rem;
            line-height: 2.2rem;
        }

        /* ============================================
           MOBILNI MENI
           ============================================ */
        .mobile-menu {
            position: fixed;
            top: 0;
            left: -100%;
            width: 85%;
            max-width: 320px;
            height: 100vh;
            background: white;
            box-shadow: 2px 0 20px rgba(0,0,0,0.2);
            z-index: 10001;
            transition: left 0.3s ease;
            overflow-y: auto;
            display: flex;
            flex-direction: column;
        }

        .mobile-menu.active {
            left: 0;
        }

        .mobile-menu-header {
            background: linear-gradient(135deg, var(--primary), var(--primary-dark));
            color: white;
            padding: 20px;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .mobile-logo {
            font-size: 1.2rem;
            font-weight: 600;
        }

        .mobile-logo .logo-icon {
            font-size: 1.8rem;
            display: block;
            margin-bottom: 5px;
        }

        .mobile-menu-close {
            background: none;
            border: none;
            color: white;
            font-size: 2rem;
            cursor: pointer;
            padding: 0 5px;
        }

        .mobile-menu-close:hover {
            color: var(--accent);
        }

        .mobile-menu-items {
            flex: 1;
            padding: 20px 0;
        }

        .mobile-menu-item {
            display: flex;
            align-items: center;
            padding: 15px 25px;
            color: var(--text);
            text-decoration: none;
            font-size: 1rem;
            transition: all 0.2s;
            border-bottom: 1px solid var(--border);
            cursor: pointer;
        }

        .mobile-menu-item:hover {
            background: var(--accent-light);
            color: var(--primary);
            padding-left: 30px;
        }

        .mobile-badge {
            background: var(--primary);
            color: white;
            padding: 2px 8px;
            border-radius: 12px;
            font-size: 0.75rem;
            margin-left: 10px;
        }

        .mobile-menu-divider {
            height: 10px;
            background: var(--bg);
            margin: 20px 0;
            border-top: 1px solid var(--border);
            border-bottom: 1px solid var(--border);
        }

        .mobile-menu-footer {
            padding: 20px;
            background: #f8f9fa;
            border-top: 1px solid var(--border);
        }

        .mobile-auth-buttons {
            display: flex;
            flex-direction: column;
            gap: 10px;
            margin-bottom: 15px;
        }

        .mobile-auth-buttons .btn {
            width: 100%;
            padding: 12px;
            cursor: pointer;
        }

        .mobile-version {
            text-align: center;
            color: var(--text-light);
            font-size: 0.8rem;
        }

        .menu-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0,0,0,0.5);
            z-index: 10000;
            display: none;
        }

        .menu-overlay.active {
            display: block;
        }

        /* ============================================
           STATS BAR
           ============================================ */
        .stats-bar {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 20px;
            background: white;
            padding: 20px;
            border-radius: 15px;
            box-shadow: 0 2px 10px rgba(0,0,0,0.05);
            margin-bottom: 30px;
        }

        .stat-item {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
        }

        .stat-icon {
            font-size: 2rem;
        }

        .stat-value {
            font-size: 1.8rem;
            font-weight: 700;
            color: var(--primary);
        }

        .stat-label {
            color: var(--text-light);
            font-size: 0.9rem;
        }

        /* ============================================
           FILTER BAR
           ============================================ */
        .filter-bar {
            background: white;
            padding: 20px;
            border-radius: 15px;
            box-shadow: 0 2px 10px rgba(0,0,0,0.05);
            margin-bottom: 30px;
            display: flex;
            gap: 20px;
            flex-wrap: wrap;
        }

        .filter-group {
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .filter-group label {
            font-weight: 600;
            color: var(--text-light);
        }

        select {
            padding: 10px 15px;
            border: 2px solid var(--border);
            border-radius: 8px;
            font-size: 0.95rem;
            color: var(--text);
            background: white;
            cursor: pointer;
            outline: none;
        }

        select:focus {
            border-color: var(--primary);
        }

        /* ============================================
           AJETI GRID
           ============================================ */
        .ajeti-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 25px;
            margin-bottom: 40px;
        }

        .ajet-card {
            background: white;
            border-radius: 15px;
            overflow: hidden;
            box-shadow: 0 4px 15px rgba(0,0,0,0.05);
            transition: all 0.3s;
            border: 1px solid var(--border);
            display: flex;
            flex-direction: column;
        }

        .ajet-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 8px 25px rgba(44,82,130,0.1);
            border-color: var(--primary);
        }

        .card-header {
            background: linear-gradient(135deg, var(--primary), var(--primary-dark));
            color: white;
            padding: 15px;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .sura-name {
            font-size: 1.1rem;
            font-weight: 600;
        }

        .sura-number {
            background: rgba(255,255,255,0.2);
            padding: 5px 10px;
            border-radius: 20px;
            font-size: 0.85rem;
        }

        .arabic-text {
            font-family: 'Amiri', serif;
            font-size: 1.6rem;
            line-height: 2.2rem;
            text-align: right;
            padding: 20px;
            background: transparent;
            border-bottom: 1px solid var(--border);
        }

        .transkripcija {
            padding: 15px;
            font-style: italic;
            color: var(--text-light);
            border-bottom: 1px solid var(--border);
            background: #f8f9fa;
        }

        .prijevod {
            padding: 15px;
            background: white;
        }

        .prijevod-text {
            margin-bottom: 10px;
        }

        .prevodilac {
            color: var(--text-light);
            font-size: 0.85rem;
            font-style: italic;
        }

        .meta-info {
            padding: 15px;
            background: #f8f9fa;
            border-top: 1px solid var(--border);
            border-bottom: 1px solid var(--border);
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
        }

        .kategorija-tag {
            background: var(--accent-light);
            color: var(--primary-dark);
            padding: 5px 12px;
            border-radius: 20px;
            font-size: 0.85rem;
            font-weight: 600;
        }

        .dokazi-badge {
            background: var(--primary);
            color: white;
            padding: 5px 12px;
            border-radius: 20px;
            font-size: 0.85rem;
            margin-left: auto;
        }

        .rezime {
            padding: 15px;
            background: #ebf4ff;
            border-left: 4px solid var(--primary);
            margin: 0 15px 15px 15px;
            border-radius: 0 8px 8px 0;
            font-size: 0.95rem;
        }

        .btn-detalji {
            margin: 0 15px 15px 15px;
            padding: 12px;
            background: var(--primary);
            color: white;
            border: none;
            border-radius: 8px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s;
        }

        .btn-detalji:hover {
            background: var(--primary-dark);
        }

        /* ============================================
           MODAL
           ============================================ */
        .modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0,0,0,0.8);
            z-index: 9999;
            overflow-y: auto;
        }

        .modal.active {
            display: block;
        }

        .modal-content {
            position: relative;
            background: white;
            width: 90%;
            max-width: 800px;
            margin: 30px auto;
            padding: 30px;
            border-radius: 20px;
            box-shadow: 0 10px 40px rgba(0,0,0,0.2);
            animation: slideDown 0.3s ease;
        }

        @keyframes slideDown {
            from {
                transform: translateY(-50px);
                opacity: 0;
            }
            to {
                transform: translateY(0);
                opacity: 1;
            }
        }

        .modal-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 20px;
            padding-bottom: 15px;
            border-bottom: 2px solid var(--border);
        }

        .modal-header h2 {
            color: var(--primary);
            font-size: 1.5rem;
        }

        .close-btn {
            background: none;
            border: none;
            font-size: 2rem;
            cursor: pointer;
            color: var(--text-light);
            transition: color 0.3s;
        }

        .close-btn:hover {
            color: var(--danger);
        }

        .modal-body {
            max-height: 70vh;
            overflow-y: auto;
            padding-right: 10px;
        }

        /* ============================================
           KOMENTARI
           ============================================ */
        .comments-section {
            margin-top: 30px;
            padding-top: 20px;
            border-top: 2px solid var(--border);
        }

        .comments-title {
            display: flex;
            align-items: center;
            gap: 10px;
            margin-bottom: 20px;
            color: var(--primary);
        }

        .badge {
            background: var(--primary);
            color: white;
            padding: 3px 10px;
            border-radius: 20px;
            font-size: 0.85rem;
        }

        .comment-item {
            background: #f8f9fa;
            border: 1px solid var(--border);
            border-radius: 12px;
            padding: 15px;
            margin-bottom: 15px;
        }

        .comment-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 10px;
            padding-bottom: 8px;
            border-bottom: 1px solid var(--border);
        }

        .comment-header strong {
            color: var(--primary);
        }

        .comment-date {
            color: var(--text-light);
            font-size: 0.8rem;
        }

        .comment-body {
            color: var(--text);
            line-height: 1.6;
        }

        .delete-comment-btn {
            background: none;
            border: none;
            color: var(--danger);
            cursor: pointer;
            font-size: 0.85rem;
            padding: 5px 10px;
            border-radius: 4px;
            margin-top: 10px;
        }

        .delete-comment-btn:hover {
            background: var(--danger);
            color: white;
        }

        .comment-form {
            margin-top: 20px;
            background: #f8f9fa;
            padding: 20px;
            border-radius: 12px;
        }

        .comment-textarea {
            width: 100%;
            padding: 15px;
            border: 2px solid var(--border);
            border-radius: 8px;
            font-family: 'Open Sans', sans-serif;
            font-size: 0.95rem;
            resize: vertical;
            min-height: 100px;
            margin-bottom: 15px;
        }

        .comment-textarea:focus {
            border-color: var(--primary);
            outline: none;
        }

        .btn-comment {
            background: var(--primary);
            color: white;
            padding: 12px 25px;
            border: none;
            border-radius: 8px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s;
        }

        .btn-comment:hover {
            background: var(--primary-dark);
        }

        .login-note {
            text-align: center;
            padding: 20px;
            background: #f8f9fa;
            border-radius: 8px;
            color: var(--text-light);
        }

        /* ============================================
           NOTIFIKACIJE
           ============================================ */
        .notification {
            position: fixed;
            top: 20px;
            right: 20px;
            padding: 15px 25px;
            border-radius: 8px;
            color: white;
            font-weight: 500;
            z-index: 10002;
            display: none;
            animation: slideIn 0.3s ease;
            box-shadow: 0 4px 12px rgba(0,0,0,0.15);
        }

        .notification.success { background: linear-gradient(135deg, #28a745, #20c997); }
        .notification.error { background: linear-gradient(135deg, #dc3545, #c82333); }
        .notification.warning { background: linear-gradient(135deg, #ffc107, #fd7e14); color: #1a1a1a; }
        .notification.info { background: linear-gradient(135deg, #17a2b8, #138496); }

        @keyframes slideIn {
            from { transform: translateX(100%); opacity: 0; }
            to { transform: translateX(0); opacity: 1; }
        }

        /* ============================================
           LOADING I ERROR
           ============================================ */
        .loading {
            text-align: center;
            padding: 50px;
            font-size: 1.2rem;
            color: var(--primary);
        }

        .loading::after {
            content: "...";
            animation: dots 1.5s steps(4, end) infinite;
        }

        @keyframes dots {
            0%, 20% { content: ""; }
            40% { content: "."; }
            60% { content: ".."; }
            80%, 100% { content: "..."; }
        }

        .error {
            text-align: center;
            padding: 50px;
            color: var(--danger);
            font-size: 1.2rem;
        }

        .no-comments {
            text-align: center;
            padding: 30px;
            color: var(--text-light);
            font-style: italic;
            background: #f8f9fa;
            border-radius: 8px;
        }
        .arabic-translation {
    font-size: 0.95rem;
    color: #58ECA5;
    text-align: center;
    line-height: 1.6;
    font-style: italic;
}

        /* ============================================
           RESPONSIVE
           ============================================ */
        @media (max-width: 768px) {
            .ajeti-grid {
                grid-template-columns: repeat(2, 1fr);
            }
            
            .stats-bar {
                grid-template-columns: repeat(3, 1fr);
                gap: 10px;
            }
            
            .hamburger-btn {
                display: block;
            }
            
            .auth-buttons {
                display: none;
            }
        }

        @media (max-width: 480px) {
            .ajeti-grid {
                grid-template-columns: 1fr;
            }
            
            .stats-bar {
                grid-template-columns: 1fr;
                text-align: center;
            }
            
            .stat-item {
                justify-content: flex-start;
            }
            
            .modal-content {
                width: 95%;
                padding: 20px;
            }
            
            .arabic-text {
                font-size: 1.4rem;
                line-height: 1.8rem;
            }
            
            .filter-bar {
                flex-direction: column;
            }
            
            .filter-group {
                width: 100%;
            }
            
            select {
                width: 100%;
            }
        }

        @media (min-width: 769px) {
            .mobile-menu,
            .menu-overlay {
                display: none;
            }
        }
		/* GAMIFIKACIJA - IZAZOVI */
.izazovi-container {
    background: linear-gradient(135deg, #f6e05e 0%, #fbbf24 100%);
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 30px;
    box-shadow: 0 10px 25px rgba(251, 191, 36, 0.3);
    color: #1a202c;
}

.izazovi-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.izazovi-icon {
    font-size: 2rem;
}

.izazovi-badge {
    background: #1a202c;
    color: #fbbf24;
    padding: 5px 15px;
    border-radius: 50px;
    font-weight: 700;
    margin-left: auto;
}

.izazov-card {
    background: white;
    border-radius: 12px;
    padding: 15px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-left: 5px solid #48bb78;
}

.izazov-card.zavrsen {
    opacity: 0.7;
    border-left-color: #a0aec0;
}

.izazov-info h4 {
    margin: 0 0 5px 0;
    color: #2d3748;
}

.izazov-info p {
    margin: 0;
    color: #718096;
    font-size: 0.9rem;
}

.izazov-bodovi {
    background: #48bb78;
    color: white;
    padding: 8px 15px;
    border-radius: 50px;
    font-weight: 700;
}

.izazov-dugme {
    background: #4299e1;
    color: white;
    border: none;
    padding: 8px 20px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.izazov-dugme:hover:not(:disabled) {
    background: #3182ce;
    transform: scale(1.05);
}

.izazov-dugme:disabled {
    background: #cbd5e0;
    cursor: not-allowed;
}

.badge-card {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 50px;
    margin: 5px;
    font-weight: 600;
}

.badge-bronza { background: #cd7f32; color: white; }
.badge-srebro { background: #c0c0c0; color: #1a202c; }
.badge-zlato { background: #ffd700; color: #1a202c; }
.badge-platin { background: #e5e4e2; color: #1a202c; }
.badge-dijamant { background: linear-gradient(135deg, #b9f2ff, #a0e7ff); color: #1a202c; }

@media (max-width: 768px) {
    .izazov-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .izazov-dugme {
        width: 100%;
    }
}
    