:root {
    --primary: #6C4DF6;
    --primary-dark: #5A3EE8;
    --primary-light: #E6E0FF;
    --secondary: #a2bdff;
    --dark: #1A1A2E;
    --light: #F8F9FA;
    --gray: #6C757D;
    --light-gray: #E9ECEF;
    --success: #4BB543;
    --warning: #FFC107;
    --danger: #DC3545;
    --gradient: linear-gradient(135deg, var(--primary), var(--secondary));
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--light);
    color: var(--dark);
    line-height: 1.6;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}

.display-5 {
    font-size: 2.5rem;
    font-weight: 800 !important;
}

/* Navbar */
.navbar-brand {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 1.5rem;
}

.navbar-brand span {
    color: var(--secondary);
}

.navbar {
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.nav-link {
    font-weight: 500;
    padding: 0.5rem 1rem !important;
}

/* Cards */
.card {
    border: none;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1) !important;
}

.card-header {
    font-weight: 600;
    border-radius: 12px 12px 0 0 !important;
}

/* Buttons */
.btn {
    font-weight: 600;
    padding: 0.5rem 1.25rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--primary);
    border-color: var(--primary);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
}

.btn-outline-primary {
    color: var(--primary);
    border-color: var(--primary);
}

.btn-outline-primary:hover {
    background-color: var(--primary);
    border-color: var(--primary);
    color: white;
}

/* Activity List */
.list-group-item {
    border-left: none;
    border-right: none;
    padding: 1rem 0;
}

.list-group-item:first-child {
    border-top: none;
}

.list-group-item:last-child {
    border-bottom: none;
}

/* Article Cards */
.article-card {
    transition: all 0.3s ease;
}

.article-card:hover {
    transform: translateY(-5px);
}

.article-img {
    height: 180px;
    object-fit: cover;
    border-radius: 8px;
}

.article-date {
    font-size: 0.875rem;
    color: var(--gray);
}

.article-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0.5rem 0;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .display-5 {
        font-size: 2rem;
    }
    
    .article-img {
        height: 150px;
    }
}

/* Animation for loading */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.fade-in {
    animation: fadeIn 0.5s ease-out forwards;
}

/* Modal styling */
.modal-content {
    border-radius: 12px;
    border: none;
}

.modal-header {
    border-bottom: none;
    padding-bottom: 0;
}

.modal-title {
    font-weight: 700;
    color: var(--primary);
}

/* Footer links */
footer a {
    text-decoration: none;
    transition: all 0.3s ease;
}

footer a:hover {
    color: white !important;
    padding-left: 3px;
}

/* Stiluri specifice pentru modal-ul personalizat */
#infoModal .modal-content {
    border-radius: 16px;
    overflow: hidden;
    border: none;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

#infoModal .modal-header {
    padding: 1.5rem 1.5rem 0;
}

#infoModal .modal-body {
    padding: 0 2rem 1rem;
}

#infoModal .modal-footer {
    padding: 0 2rem 2rem;
    flex-direction: column;
}

#infoModal .btn-lg {
    padding: 0.75rem;
    border-radius: 12px;
    font-size: 1.1rem;
}

#infoModal .btn-primary {
    background: linear-gradient(135deg, #6C4DF6, #8B6DFF);
    border: none;
    transition: all 0.3s ease;
}

#infoModal .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(108, 77, 246, 0.4);
}

#infoModal .btn-outline-primary {
    transition: all 0.3s ease;
}

#infoModal .btn-outline-primary:hover {
    background-color: #f8f9fa;
}


#shortcutModal .modal-content {
    border-radius: 16px;
    border: none;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

#shortcutModal .modal-header {
    border-bottom: none;
}

#shortcutModal .btn-primary {
    background: linear-gradient(135deg, #6C4DF6, #8B6DFF);
    border: none;
}