@font-face {
    font-family: 'LMMid';
    src: url('Fonts/LMMid.otf') format('opentype');
}

@font-face {
    font-family: 'LMLight';
    src: url('Fonts/LMLight.otf') format('opentype');
}

.admin-panel

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    overflow-x: hidden;
    scroll-behavior: smooth;
}

body {
    font-family: 'LMLight', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #f8f9fa 0%, #f5e09a 200%);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(255,193,7,0.03) 1px, transparent 1px),
        radial-gradient(circle at 80% 60%, rgba(255,235,59,0.02) 1px, transparent 1px),
        radial-gradient(circle at 40% 80%, rgba(255,193,7,0.025) 1px, transparent 1px);
    background-size: 120px 120px, 180px 180px, 90px 90px;
    pointer-events: none;
    z-index: 1;
    opacity: 0.4;
}

#loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(248, 249, 250, 0.95);
    backdrop-filter: blur(20px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loading-content {
    text-align: center;
}

.logo-container {
    margin-bottom: 20px;
    animation: logoFloat 2s ease-in-out infinite alternate;
}

.loading-logo {
    width: 80px;
    height: 80px;
    filter: drop-shadow(0 10px 20px rgba(255, 193, 7, 0.3));
}

@keyframes logoFloat {
    0% { transform: translateY(0px) rotate(0deg); }
    100% { transform: translateY(-10px) rotate(2deg); }
}

.loading-text {
    font-family: 'LMMid', Arial, sans-serif;
    font-size: 24px;
    color: #333;
    margin-bottom: 30px;
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.loading-bar {
    width: 200px;
    height: 4px;
    background: rgba(255, 193, 7, 0.2);
    border-radius: 2px;
    overflow: hidden;
    margin: 0 auto;
}

.loading-progress {
    height: 100%;
    background: linear-gradient(90deg, #ffc107, #ffeb3b);
    border-radius: 2px;
    transition: width 0.3s ease;
    width: 0%;
}

.hidden {
    opacity: 0;
    visibility: hidden;
}

.main-container {
    min-height: 100vh;
    position: relative;
    z-index: 2;
    width: 100%;
    overflow-x: hidden;
}

.navbar {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar-content {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 50px;
    padding: 15px 60px;
    display: flex;
    align-items: center;
    gap: 60px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    width: calc(100vw - 80px);
    max-width: 1600px;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.navbar-content:hover {
    box-shadow: 0 15px 50px rgba(255, 193, 7, 0.15);
    transform: translateY(-2px);
}

.logo-section {
    display: flex;
    align-items: center;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.logo-link:hover {
    transform: scale(1.05);
}

.logo {
    width: 40px;
    height: 40px;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.1) rotate(5deg);
}

.brand-name {
    font-family: 'LMMid', Arial, sans-serif;
    font-size: 24px;
    color: #333;
    font-weight: 600;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-left: auto;
}

.nav-link {
    font-family: 'LMLight', Arial, sans-serif;
    text-decoration: none;
    color: #555;
    font-size: 16px;
    transition: all 0.3s ease;
    position: relative;
    padding: 8px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #ffc107, #ffeb3b);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover {
    color: #ffc107;
    transform: translateY(-2px);
}

.nav-link:hover::after {
    width: 100%;
}

.launch-btn {
    background: linear-gradient(135deg, #ffc107, #ffeb3b);
    color: white !important;
    padding: 12px 24px;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(255, 193, 7, 0.3);
}

.launch-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 193, 7, 0.4);
}

.launch-btn::after {
    display: none;
}

.launch-btn-mobile {
    background: linear-gradient(135deg, #ffc107, #ffeb3b);
    color: white !important;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 600;
    text-decoration: none;
    font-size: 12px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

.notification-settings-modal {
    max-width: 450px;
}

.setting-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    border-bottom: 1px solid rgba(255, 193, 7, 0.1);
}

.setting-item:last-child {
    border-bottom: none;
}

.setting-info h4 {
    font-family: 'LMMid', Arial, sans-serif;
    color: #333;
    margin-bottom: 5px;
}

.setting-info p {
    font-size: 14px;
    color: #666;
    margin: 0;
}

.setting-toggle {
    position: relative;
}

.setting-toggle input[type="checkbox"] {
    display: none;
}

.toggle-switch {
    display: block;
    width: 50px;
    height: 26px;
    background: #ddd;
    border-radius: 13px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.toggle-switch::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: 22px;
    height: 22px;
    background: white;
    border-radius: 50%;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.setting-toggle input[type="checkbox"]:checked + .toggle-switch {
    background: #ffc107;
}

.setting-toggle input[type="checkbox"]:checked + .toggle-switch::after {
    transform: translateX(24px);
}

.loading-spinner-small {
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    display: inline-block;
    margin-right: 8px;
}

.btn.pressed {
    transform: scale(0.98);
}

.hero-section, .admin-section {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.hero-section.animate-in, .admin-section.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.notification-message {
    flex: 1;
    margin-right: 10px;
}

.error-icon {
    font-size: 3rem;
    margin-bottom: 15px;
    opacity: 0.7;
}

@media (max-width: 1024px) {
    .nav-center {
        display: none;
    }
    
    .navbar-content {
        justify-content: space-between;
    }
}

@media (max-width: 360px) {
    .user-dropdown {
        right: 0;
        min-width: 120px;
        padding: 8px;
    }
    
    .dropdown-item {
        padding: 5px 6px;
        font-size: 10px;
        gap: 6px;
    }
    
    .dropdown-icon {
        font-size: 14px;
        width: 16px;
    }
    
    .navbar-content {
        width: calc(100vw - 10px);
        padding: 6px 10px;
        gap: 8px;
    }
    
    .brand-name {
        font-size: 12px;
    }
    
    .logo {
        width: 24px;
        height: 24px;
    }
    
    .hamburger-menu span {
        width: 16px;
        height: 1.5px;
    }
    
    .mobile-menu {
        width: calc(100vw - 10px);
        top: 55px;
        padding: 10px 12px;
    }
    
    .mobile-menu-link {
        font-size: 12px;
        padding: 6px 0;
    }
    
    .hero-section {
        padding: 90px 10px 40px;
    }
    
    .hero-title {
        font-size: 1.4rem;
    }
    
    .hero-subtitle {
        font-size: 0.8rem;
    }
    
    .stats-container {
        gap: 15px;
    }
    
    .stat-number {
        font-size: 1.2rem;
    }
    
    .stat-label {
        font-size: 0.65rem;
    }
    
    .filters-section,
    .articles-section {
        padding-left: 10px;
        padding-right: 10px;
    }
    
    .btn {
        padding: 6px 12px;
        font-size: 11px;
    }
    
    .search-btn {
        width: 30px;
        height: 30px;
        font-size: 11px;
        right: 2px;
    }
    
    .filter-tab {
        padding: 6px 10px;
        font-size: 9px;
    }
    
    .filter-tabs {
        gap: 4px;
    }
    
    .articles-container {
        gap: 12px;
    }
    
    .article-card {
        padding: 12px;
    }
    
    .article-title {
        font-size: 0.95rem;
    }
    
    .article-description {
        font-size: 0.75rem;
    }
    
    .read-more-btn {
        font-size: 9px;
    }
    
    .article-type-badge {
        font-size: 8px;
        padding: 2px 5px;
    }
    
    .article-date {
        font-size: 8px;
    }
    
    .delete-btn {
        width: 24px;
        height: 24px;
        font-size: 11px;
    }
    
    .popup-content {
        margin: 5px;
        max-width: calc(100vw - 10px);
    }
    
    .popup-header {
        padding: 12px 12px 0;
    }
    
    .popup-body {
        padding: 10px 12px 12px;
    }
    
    .popup-header h3 {
        font-size: 0.95rem;
    }
    
    .close-popup {
        font-size: 18px;
        width: 24px;
        height: 24px;
    }
    
    .form-group input, .form-group select, .form-group textarea {
        font-size: 11px;
        padding: 7px 10px;
    }
    
    .footer {
        padding: 15px 10px 12px;
        border-radius: 12px 12px 0 0;
    }
    
    .footer-content {
        gap: 12px;
    }
    
    .footer-links {
        gap: 8px;
    }
    
    .footer-link {
        font-size: 10px;
    }
    
    .footer-brand-text {
        font-size: 14px;
    }
    
    .footer-logo {
        width: 26px;
        height: 26px;
    }
    
    .footer-social {
        width: 32px;
        height: 32px;
    }
    
    .footer-social-icon {
        width: 16px;
        height: 16px;
    }
    
    .footer-copyright {
        font-size: 9px;
    }
    
    .notification {
        padding: 8px 10px;
        font-size: 12px;
        right: 5px;
        left: 5px;
    }
    
    .notification-close {
        font-size: 14px;
    }
    
    .mobile-action-btn {
        padding: 6px 10px;
        font-size: 10px;
    }
}

.mobile-nav {
    display: none;
    align-items: center;
    gap: 15px;
    margin-left: auto;
}

.hamburger-menu {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 3px;
    padding: 6px;
    transition: all 0.3s ease;
}

.hamburger-menu span {
    width: 20px;
    height: 2px;
    background: #333;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.hamburger-menu.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger-menu.active span:nth-child(2) {
    opacity: 0;
}

.hamburger-menu.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

.mobile-menu {
    position: fixed;
    top: 80px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 25px;
    padding: 20px 30px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    width: calc(100vw - 40px);
    max-width: 400px;
}

.mobile-menu.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-content {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.mobile-menu-link {
    text-decoration: none;
    color: #555;
    font-size: 16px;
    padding: 10px 0;
    transition: color 0.3s ease;
    border-bottom: 1px solid rgba(255, 193, 7, 0.1);
}

.mobile-menu-link:hover {
    color: #ffc107;
}

.hero-section {
    padding: 140px 40px 80px;
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.hero-title {
    font-family: 'LMMid', Arial, sans-serif;
    font-size: 4rem;
    color: #333;
    margin: 0;
    background: linear-gradient(135deg, #333, #ffc107);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 20px rgba(255, 193, 7, 0.3));
}

.hero-subtitle {
    font-size: 1.2rem;
    color: #666;
    max-width: 600px;
    line-height: 1.6;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.stat-number {
    font-family: 'LMMid', Arial, sans-serif;
    font-size: 2.5rem;
    color: #ffc107;
    font-weight: bold;
}

.stat-label {
    font-size: 0.9rem;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn {
    padding: 12px 24px;
    border: none;
    border-radius: 25px;
    font-family: 'LMMid', Arial, sans-serif;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-primary {
    background: linear-gradient(135deg, #ffc107, #ffeb3b);
    color: white;
    box-shadow: 0 5px 15px rgba(255, 193, 7, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 193, 7, 0.4);
}

.btn-secondary {
    background: transparent;
    color: #666;
    border: 1px solid #ddd;
}

.btn-secondary:hover {
    background: #f8f9fa;
    transform: translateY(-2px);
}

.btn-google {
    background: white;
    color: #333;
    border: 1px solid #ddd;
}

.btn-google:hover {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.articles-section {
    padding: 0 40px 80px;
    max-width: 1200px;
    margin: 0 auto;
    min-height: 400px;
}

.articles-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.article-card {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 20px;
    padding: 25px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 193, 7, 0.2);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(30px);
}

.article-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.article-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    border-color: rgba(255, 193, 7, 0.4);
}

.article-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.article-type-badge {
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.article-type-badge.platform {
    background: rgba(33, 150, 243, 0.1);
    color: #2196f3;
}

.article-type-badge.event {
    background: rgba(76, 175, 80, 0.1);
    color: #4caf50;
}

.article-type-badge.toko {
    background: rgba(255, 152, 0, 0.1);
    color: #ff9800;
}

.article-date {
    font-size: 12px;
    color: #999;
}

.article-title {
    font-family: 'LMMid', Arial, sans-serif;
    font-size: 1.3rem;
    color: #333;
    margin: 0 0 10px 0;
    line-height: 1.4;
}

.article-description {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.read-more-btn {
    background: transparent;
    border: none;
    color: #ffc107;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
}

.read-more-btn:hover {
    color: #333;
    transform: translateX(5px);
}

.loading-articles, .no-articles, .error-message {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid rgba(255, 193, 7, 0.3);
    border-top-color: #ffc107;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.no-articles-icon {
    font-size: 4rem;
    margin-bottom: 20px;
    opacity: 0.5;
}

.no-articles h3, .error-message h3 {
    font-family: 'LMMid', Arial, sans-serif;
    color: #333;
    margin-bottom: 10px;
}

.no-articles p, .error-message p {
    color: #666;
}

.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    transition: all 0.3s ease;
}

.popup-content {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 25px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 193, 7, 0.2);
    max-width: 500px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.popup-overlay:not(.hidden) .popup-content {
    transform: scale(1);
}

.popup-header {
    padding: 25px 30px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.popup-header h3 {
    font-family: 'LMMid', Arial, sans-serif;
    color: #333;
    margin: 0;
}

.close-popup {
    background: none;
    border: none;
    font-size: 24px;
    color: #999;
    cursor: pointer;
    transition: color 0.3s ease;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-popup:hover {
    color: #333;
}

.popup-body {
    padding: 20px 30px 30px;
}

.notification-popup .popup-body {
    text-align: center;
}

.notification-buttons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
    justify-content: center;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
}

.form-group input, .form-group select, .form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 10px;
    font-size: 16px;
    transition: all 0.3s ease;
    resize: vertical;
}

.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    outline: none;
    border-color: #ffc107;
    box-shadow: 0 0 0 3px rgba(255, 193, 7, 0.1);
}

.full-width {
    width: 100%;
}

.form-links {
    text-align: center;
    margin: 15px 0;
}

.forgot-link, .resend-link {
    color: #ffc107;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.forgot-link:hover, .resend-link:hover {
    color: #333;
    text-decoration: underline;
}

.divider {
    text-align: center;
    margin: 20px 0;
    color: #999;
    font-size: 14px;
    position: relative;
}

.divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: #eee;
    z-index: -1;
}

.divider::after {
    content: attr(data-text);
    background: white;
    padding: 0 15px;
}

.create-article-modal, .article-modal {
    max-width: 700px;
}

.form-actions {
    display: flex;
    gap: 15px;
    justify-content: flex-end;
    margin-top: 30px;
}

.article-modal .popup-body {
    max-height: 60vh;
    overflow-y: auto;
}

.article-meta {
    display: flex;
    gap: 15px;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.article-content {
    line-height: 1.7;
    color: #333;
}

.article-content p {
    margin-bottom: 15px;
}

@keyframes shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/*Footer*/
.footer {
    background: linear-gradient(180deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 50px 60px 30px;
    position: relative;
    z-index: 2;
    border-radius: 30px 30px 0 0;
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    border-bottom: none;
}


.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #ffc107, #ffeb3b, #ffc107);
    background-size: 200% 100%;
    animation: shimmer 3s ease-in-out infinite;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 30px;
    max-width: 1600px;
    margin: 0 auto;
}

.footer-left {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
}
.footer-brand-text.randomizing {color: #ffc107;letter-spacing: 2px;}

.footer-brand:hover {
    transform: scale(1.05);
}
.footer-brand:hover .footer-logo {
    transform: rotate(10deg) scale(1.1);
}

.footer-logo {
    width: 40px;
    height: 40px;
    transition: transform 0.3s ease;
}

.footer-brand-text {
    font-family: 'LMMid', Arial, sans-serif;
    font-size: 24px;
    color: #333;
    font-weight: 600;
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-link {
    font-family: 'LMLight', Arial, sans-serif;
    text-decoration: none;
    color: #555;
    font-size: 16px;
    transition: all 0.3s ease;
    position: relative;
}

.footer-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #ffc107, #ffeb3b);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.footer-link:hover {
    color: #ffc107;
}

.footer-link:hover::after {
    width: 100%;
}

.footer-right {
    display: flex;
    justify-content: flex-end;
}

.footer-social {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #ffc107, #ffeb3b);
    border-radius: 50%;
    transition: all 0.3s ease;
    text-decoration: none;
    box-shadow: 0 5px 15px rgba(255, 193, 7, 0.3);
}

.footer-social:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 10px 25px rgba(255, 193, 7, 0.5);
}

.footer-social-icon {
    width: 25px;
    height: 25px;
    filter: brightness(0) invert(1);
}

.footer-social:hover .footer-social-icon {
    filter: brightness(0) invert(1);
}

.footer-copyright {
    font-size: 14px;
    color: #666;
}

.notification {
    position: fixed;
    top: 100px;
    right: 20px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 15px;
    padding: 15px 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 193, 7, 0.3);
    z-index: 10001;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    max-width: 350px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.notification.show {
    transform: translateX(0);
}

.notification.success {
    border-color: rgba(76, 175, 80, 0.3);
}

.notification.error {
    border-color: rgba(244, 67, 54, 0.3);
}

.notification-close {
    background: none;
    border: none;
    font-size: 18px;
    color: #999;
    cursor: pointer;
    margin-left: auto;
    padding: 0;
}

@media (max-width: 1024px) {
    .navbar-content {
        width: calc(100vw - 40px);
        padding: 12px 30px;
        gap: 20px;
    }
    
    .nav-links {
        display: none;
    }
    
    .mobile-nav {
        display: flex;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .stats-container {
        gap: 40px;
    }
    
    .filters-container {
        flex-direction: column;
        align-items: stretch;
    }
    
    .search-box {
        min-width: auto;
    }
    
    .filter-tabs {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .articles-container {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
        gap: 20px;
    }
    
    .auth-container {
        flex-direction: column;
        height: auto;
    }
    
    .auth-image-container {
        border-radius: 25px 25px 0 0;
        min-height: 150px;
    }
}

@media (max-width: 768px) {
    .navbar-content {
        justify-content: space-between;
    }

    .navbar-content {
        width: calc(100vw - 30px);
        padding: 12px 25px;
        gap: 20px;
    }
    
    .brand-name {
        font-size: 20px;
    }
    
    .logo {
        width: 35px;
        height: 35px;
    }
    
    .hero-section {
        padding: 130px 25px 70px;
    }
    
    .hero-title {
        font-size: 2.8rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .stats-container {
        flex-direction: row;
        gap: 50px;
    }
    
    .stat-number {
        font-size: 2.2rem;
    }
    
    .filters-section,
    .articles-section {
        padding-left: 25px;
        padding-right: 25px;
    }
    
    .articles-container {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .article-card {
        padding: 25px;
    }
    
    .article-title {
        font-size: 1.25rem;
    }
    
    .popup-content {
        margin: 15px;
        max-width: calc(100vw - 30px);
        max-height: calc(100vh - 30px);
    }
    
    .popup-header {
        padding: 25px 25px 0;
    }
    
    .popup-body {
        padding: 20px 25px 25px;
    }
    
    .auth-form-container {
        padding: 25px;
    }
    
    .auth-logo-img {
        width: 70px;
        height: 70px;
    }
    
    .footer {
        padding: 40px 25px 25px;
        border-radius: 25px 25px 0 0;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 25px;
        text-align: center;
    }
    
    .footer-left {
        align-items: center;
        order: 1;
    }
    
    .footer-center {
        order: 2;
    }
    
    .footer-right {
        order: 3;
        justify-content: center;
    }
    
    .footer-copyright {
        margin-left: 0;
    }
    
    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
    }
    
    .notification {
        right: 15px;
        left: 15px;
        max-width: none;
        transform: translateY(-100%);
    }
    
    .notification.show {
        transform: translateY(0);
    }
}

@media (max-width: 720px) {
    .navbar-content {
        width: calc(100vw - 25px);
        padding: 10px 20px;
        gap: 15px;
    }
    
    .brand-name {
        font-size: 18px;
    }
    
    .logo {
        width: 32px;
        height: 32px;
    }
    
    .auth-btn-mobile {
        padding: 8px 15px;
        font-size: 12px;
    }
    
    .user-avatar-mobile {
        width: 32px;
        height: 32px;
        font-size: 15px;
    }
    
    .mobile-menu {
        width: calc(100vw - 25px);
        top: 75px;
        padding: 18px 25px;
    }
    
    .hero-section {
        padding: 120px 20px 60px;
    }
    
    .hero-title {
        font-size: 2.3rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .stats-container {
        gap: 40px;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .stat-label {
        font-size: 0.85rem;
    }
    
    .filters-section,
    .articles-section {
        padding-left: 20px;
        padding-right: 20px;
    }
    
    .search-input {
        font-size: 15px;
        padding: 13px 18px;
        padding-right: 50px;
    }
    
    .search-btn {
        width: 38px;
        height: 38px;
        font-size: 15px;
    }
    
    .filter-tab {
        padding: 11px 18px;
        font-size: 13px;
    }
    
    .articles-container {
        gap: 22px;
    }
    
    .article-card {
        padding: 22px;
    }
    
    .article-title {
        font-size: 1.2rem;
    }
    
    .article-description {
        font-size: 0.95rem;
        -webkit-line-clamp: 3;
    }
    
    .read-more-btn {
        font-size: 13px;
    }
    
    .popup-content {
        margin: 12px;
        max-width: calc(100vw - 24px);
    }
    
    .popup-header {
        padding: 22px 22px 0;
    }
    
    .popup-body {
        padding: 18px 22px 22px;
    }
    
    .popup-header h3 {
        font-size: 1.3rem;
    }
    
    .form-group input, .form-group select, .form-group textarea {
        font-size: 15px;
        padding: 11px 14px;
    }
    
    .btn {
        padding: 11px 22px;
        font-size: 15px;
    }
    
    .notification-buttons {
        flex-direction: row;
        gap: 12px;
    }
    
    .form-actions {
        flex-direction: row;
        gap: 12px;
    }
    
    .footer {
        padding: 35px 20px 22px;
        border-radius: 22px 22px 0 0;
    }
    
    .footer-content {
        gap: 22px;
    }
    
    .footer-links {
        gap: 18px;
    }
    
    .footer-brand-text {
        font-size: 22px;
    }
    
    .footer-logo {
        width: 38px;
        height: 38px;
    }
    
    .footer-social {
        width: 48px;
        height: 48px;
    }
    
    .footer-social-icon {
        width: 24px;
        height: 24px;
    }
}

@media (max-width: 600px) {
    .navbar-content {
        width: calc(100vw - 20px);
        padding: 10px 20px;
        gap: 15px;
    }
    
    .brand-name {
        font-size: 18px;
    }
    
    .logo {
        width: 32px;
        height: 32px;
    }
    
    .hero-section {
        padding: 120px 20px 60px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .stats-container {
        flex-direction: column;
        gap: 20px;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .filters-section,
    .articles-section {
        padding-left: 20px;
        padding-right: 20px;
    }
    
    .articles-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .article-card {
        padding: 20px;
    }
    
    .popup-content {
        margin: 10px;
        max-width: calc(100vw - 20px);
        max-height: calc(100vh - 20px);
    }
    
    .popup-header {
        padding: 20px 20px 0;
    }
    
    .popup-body {
        padding: 15px 20px 20px;
    }
    
    .notification-buttons {
        flex-direction: column;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .footer {
        padding: 30px 20px 20px;
        border-radius: 20px 20px 0 0;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 20px;
        text-align: center;
    }
    
    .footer-left {
        align-items: center;
    }
    
    .footer-copyright {
        margin-left: 0;
    }
    
    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }
    
    .footer-right {
        justify-content: center;
    }
    
    .notification {
        right: 10px;
        left: 10px;
        max-width: none;
        transform: translateY(-100%);
    }
    
    .notification.show {
        transform: translateY(0);
    }
}

@media (max-width: 600px) {
    .navbar-content {
        width: calc(100vw - 20px);
        padding: 10px 18px;
        gap: 12px;
    }
    
    .brand-name {
        font-size: 16px;
    }
    
    .logo {
        width: 30px;
        height: 30px;
    }
    
    .mobile-menu {
        width: calc(100vw - 20px);
        top: 70px;
        padding: 16px 20px;
    }
    
    .mobile-menu-link {
        font-size: 15px;
        padding: 8px 0;
    }
    
    .hero-section {
        padding: 110px 18px 55px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 0.95rem;
    }
    
    .stats-container {
        flex-direction: column;
        gap: 25px;
    }
    
    .stat-number {
        font-size: 1.8rem;
    }
    
    .stat-label {
        font-size: 0.8rem;
    }
    
    .filters-section,
    .articles-section {
        padding-left: 18px;
        padding-right: 18px;
    }
    
    .search-input {
        font-size: 14px;
        padding: 12px 16px;
        padding-right: 48px;
    }
    
    .search-btn {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }
    
    .filter-tab {
        padding: 10px 16px;
        font-size: 12px;
    }
    
    .filter-tabs {
        gap: 8px;
    }
    
    .articles-container {
        gap: 20px;
    }
    
    .article-card {
        padding: 20px;
    }
    
    .article-title {
        font-size: 1.15rem;
    }
    
    .article-description {
        font-size: 0.9rem;
        -webkit-line-clamp: 2;
    }
    
    .read-more-btn {
        font-size: 12px;
    }
    
    .article-type-badge {
        font-size: 11px;
        padding: 5px 10px;
    }
    
    .article-date {
        font-size: 11px;
    }
    
    .delete-btn {
        width: 32px;
        height: 32px;
        font-size: 14px;
    }
    
    .popup-content {
        margin: 10px;
        max-width: calc(100vw - 20px);
    }
    
    .popup-header {
        padding: 20px 20px 0;
    }
    
    .popup-body {
        padding: 16px 20px 20px;
    }
    
    .popup-header h3 {
        font-size: 1.2rem;
    }
    
    .form-group input, .form-group select, .form-group textarea {
        font-size: 14px;
        padding: 10px 13px;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 14px;
    }
    
    .notification-buttons {
        flex-direction: column;
        gap: 10px;
    }
    
    .form-actions {
        flex-direction: column;
        gap: 10px;
    }
    
    .footer {
        padding: 30px 18px 20px;
        border-radius: 20px 20px 0 0;
    }
    
    .footer-content {
        gap: 20px;
    }
    
    .footer-links {
        gap: 15px;
    }
    
    .footer-link {
        font-size: 14px;
    }
    
    .footer-brand-text {
        font-size: 20px;
    }
    
    .footer-logo {
        width: 35px;
        height: 35px;
    }
    
    .footer-social {
        width: 45px;
        height: 45px;
    }
    
    .footer-social-icon {
        width: 22px;
        height: 22px;
    }
    
    .footer-copyright {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .navbar-content {
        width: calc(100vw - 15px);
        padding: 8px 15px;
        gap: 10px;
    }
    
    .brand-name {
        font-size: 14px;
    }
    
    .logo {
        width: 28px;
        height: 28px;
    }
    
    .hamburger-menu span {
        width: 18px;
        height: 2px;
    }
    
    .mobile-menu {
        width: calc(100vw - 15px);
        top: 65px;
        padding: 15px 18px;
    }
    
    .mobile-menu-link {
        font-size: 14px;
        padding: 7px 0;
    }
    
    .hero-section {
        padding: 100px 15px 50px;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
    }
    
    .stats-container {
        gap: 20px;
    }
    
    .stat-number {
        font-size: 1.6rem;
    }
    
    .stat-label {
        font-size: 0.75rem;
    }
    
    .filters-section,
    .articles-section {
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .articles-container {
        gap: 18px;
    }
    
    .article-card {
        padding: 18px;
    }
    
    .article-title {
        font-size: 1.1rem;
    }
    
    .article-description {
        font-size: 0.85rem;
        -webkit-line-clamp: 2;
    }
    
    .read-more-btn {
        font-size: 11px;
    }
    
    .article-type-badge {
        font-size: 10px;
        padding: 4px 8px;
    }
    
    .article-date {
        font-size: 10px;
    }
    
    .delete-btn {
        width: 30px;
        height: 30px;
        font-size: 13px;
    }
    
    .popup-content {
        margin: 8px;
        max-width: calc(100vw - 16px);
    }
    
    .popup-header {
        padding: 18px 18px 0;
    }
    
    .popup-body {
        padding: 15px 18px 18px;
    }
    
    .popup-header h3 {
        font-size: 1.1rem;
    }
    
    .close-popup {
        font-size: 22px;
        width: 28px;
        height: 28px;
    }
    
    .form-group input, .form-group select, .form-group textarea {
        font-size: 13px;
        padding: 9px 12px;
    }
    
    .btn {
        padding: 9px 18px;
        font-size: 13px;
    }

    .footer {
        padding: 25px 15px 18px;
        border-radius: 18px 18px 0 0;
    }
    
    .footer-content {
        gap: 18px;
    }
    
    .footer-links {
        gap: 12px;
    }
    
    .footer-link {
        font-size: 13px;
    }
    
    .footer-brand-text {
        font-size: 18px;
    }
    
    .footer-logo {
        width: 32px;
        height: 32px;
    }
    
    .footer-social {
        width: 42px;
        height: 42px;
    }
    
    .footer-social-icon {
        width: 20px;
        height: 20px;
    }
    
    .footer-copyright {
        font-size: 12px;
    }
    
    .notification {
        right: 8px;
        left: 8px;
        padding: 12px 16px;
        font-size: 14px;
    }
    
    .notification-close {
        font-size: 16px;
    }
}

@media (max-width: 360px) {
    .navbar-content {
        width: calc(100vw - 12px);
        padding: 7px 12px;
        gap: 8px;
    }
    
    .brand-name {
        font-size: 13px;
    }
    
    .logo {
        width: 26px;
        height: 26px;
    }
    
    .mobile-menu {
        width: calc(100vw - 12px);
        top: 60px;
        padding: 12px 15px;
    }
    
    .hero-section {
        padding: 95px 12px 45px;
    }
    
    .hero-title {
        font-size: 1.6rem;
    }
    
    .hero-subtitle {
        font-size: 0.85rem;
    }
    
    .filters-section,
    .articles-section {
        padding-left: 12px;
        padding-right: 12px;
    }
    
    .search-input {
        font-size: 12px;
        padding: 10px 13px;
        padding-right: 42px;
    }
    
    .search-btn {
        width: 32px;
        height: 32px;
        font-size: 12px;
    }
    
    .filter-tab {
        padding: 8px 12px;
        font-size: 10px;
    }
    
    .articles-container {
        gap: 15px;
    }
    
    .article-card {
        padding: 15px;
    }
    
    .article-title {
        font-size: 1rem;
    }
    
    .article-description {
        font-size: 0.8rem;
    }
    
    .read-more-btn {
        font-size: 10px;
    }
    
    .article-type-badge {
        font-size: 9px;
        padding: 3px 6px;
    }
    
    .article-date {
        font-size: 9px;
    }
    
    .delete-btn {
        width: 28px;
        height: 28px;
        font-size: 12px;
    }
    
    .popup-content {
        margin: 5px;
        max-width: calc(100vw - 10px);
    }
    
    .popup-header {
        padding: 15px 15px 0;
    }
    
    .popup-body {
        padding: 12px 15px 15px;
    }
    
    .popup-header h3 {
        font-size: 1rem;
    }
    
    .close-popup {
        font-size: 20px;
        width: 26px;
        height: 26px;
    }
    
    .form-group input, .form-group select, .form-group textarea {
        font-size: 12px;
        padding: 8px 10px;
    }
    
    .btn {
        padding: 8px 15px;
        font-size: 12px;
    }
    
    .footer {
        padding: 20px 12px 15px;
        border-radius: 15px 15px 0 0;
    }
    
    .footer-content {
        gap: 15px;
    }
    
    .footer-links {
        gap: 10px;
    }
    
    .footer-link {
        font-size: 12px;
    }
    
    .footer-brand-text {
        font-size: 16px;
    }

    .footer-logo {
        width: 30px;
        height: 30px;
    }
    
    .footer-social {
        width: 38px;
        height: 38px;
    }
    
    .footer-social-icon {
        width: 18px;
        height: 18px;
    }
    
    .footer-copyright {
        font-size: 11px;
    }
    
    .notification {
        padding: 10px 12px;
        font-size: 13px;
    }

    .navbar-content {
        padding: 8px 15px;
        gap: 10px;
    }
    
    .brand-name {
        font-size: 16px;
    }
    
    .logo {
        width: 28px;
        height: 28px;
    }
    
    .hero-section {
        padding: 110px 15px 50px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
    }
    
    .stat-number {
        font-size: 1.8rem;
    }
    
    .stat-label {
        font-size: 0.8rem;
    }
    
    .filters-section,
    .articles-section {
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .search-input {
        font-size: 14px;
        padding: 12px 15px;
        padding-right: 45px;
    }
    
    .search-btn {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }
    .stats-container
    .filter-tab {
        padding: 10px 15px;
        font-size: 13px;
    }
    
    .article-card {
        padding: 15px;
    }
    
    .article-title {
        font-size: 1.1rem;
    }
    
    .article-description {
        font-size: 0.9rem;
        -webkit-line-clamp: 2;
    }
    
    .read-more-btn {
        font-size: 13px;
    }
    
    .popup-header h3 {
        font-size: 1.2rem;
    }
    
    .form-group input, .form-group select, .form-group textarea {
        font-size: 14px;
        padding: 10px 12px;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 14px;
    }
}

@media (max-width: 360px) {
    .hero-title {
        font-size: 1.8rem;
    }
    
    .stats-container {
        gap: 15px;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .articles-container {
        gap: 15px;
    }
    
    .article-card {
        padding: 12px;
    }
}