* { margin: 0; padding: 0; box-sizing: border-box; } body { font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif; background: linear-gradient(135deg, #0F1419 0%, #1A1D23 50%, #0F1419 100%); color: #E6EDF3; overflow-x: hidden; line-height: 1.6; } /* Particles Background */ #particles-js { position: fixed; width: 100%; height: 100%; top: 0; left: 0; z-index: -1; } /* Navigation */ .navbar { backdrop-filter: blur(20px); background: rgba(15, 20, 25, 0.8); border-bottom: 1px solid rgba(56, 139, 253, 0.1); position: fixed; width: 100%; top: 0; z-index: 1000; transition: all 0.3s ease; } .nav-container { max-width: 1400px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; padding: 1rem 2rem; } .logo { display: flex; align-items: center; gap: 12px; text-decoration: none; } .logo h1 { font-size: 1.5rem; font-weight: 700; background: linear-gradient(135deg, #00D4FF, #7C3AED); background-clip: text; -webkit-background-clip: text; -webkit-text-fill-color: transparent; } .logo-icon { width: 40px; height: 40px; background: linear-gradient(135deg, #00D4FF, #7C3AED); border-radius: 8px; display: flex; align-items: center; justify-content: center; color: white; font-size: 1.2rem; } .logo small { color: #9CA3AF; font-size: 0.75rem; display: block; margin-top: 2px; } .nav-links { display: flex; list-style: none; gap: 2rem; } .nav-links a { color: #E6EDF3; text-decoration: none; font-weight: 500; transition: all 0.3s ease; padding: 0.5rem 1rem; border-radius: 6px; position: relative; display: flex; align-items: center; gap: 0.5rem; } .nav-links a:hover { color: #00D4FF; background: rgba(0, 212, 255, 0.1); } .nav-links a::before { content: ''; position: absolute; bottom: -2px; left: 0; width: 0; height: 2px; background: linear-gradient(90deg, #00D4FF, #7C3AED); transition: width 0.3s ease; } .nav-links a:hover::before { width: 100%; } /* Main Container */ .main-container { max-width: 1400px; margin: 0 auto; padding: 100px 2rem 2rem; min-height: 100vh; } /* News Section */ .news-section { padding: 2rem; background: rgba(15, 20, 25, 0.6); backdrop-filter: blur(10px); border: 1px solid rgba(56, 139, 253, 0.1); border-radius: 16px; margin-bottom: 2rem; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3); } .section-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 2rem; flex-wrap: wrap; gap: 1rem; } .section-title { font-size: 2rem; color: #00D4FF; display: flex; align-items: center; gap: 0.75rem; } /* News Filter */ .news-filter { display: flex; gap: 1rem; margin-bottom: 2rem; flex-wrap: wrap; } .filter-btn { padding: 0.5rem 1rem; background: rgba(15, 20, 25, 0.6); border: 1px solid rgba(56, 139, 253, 0.1); color: #E6EDF3; border-radius: 6px; cursor: pointer; transition: all 0.3s ease; font-size: 0.9rem; display: flex; align-items: center; gap: 0.5rem; } .filter-btn:hover, .filter-btn.active { background: rgba(0, 212, 255, 0.1); border-color: #00D4FF; color: #00D4FF; box-shadow: 0 0 0 2px rgba(0, 212, 255, 0.2); } /* Search Container */ .search-container { margin-bottom: 2rem; display: none; width: 100%; max-width: 500px; animation: fadeIn 0.3s ease-out; } @keyframes fadeIn { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: translateY(0); } } .search-container.active { display: block; } .search-container form { display: flex; gap: 0.5rem; position: relative; } .search-container input { flex: 1; padding: 0.75rem 1rem 0.75rem 2.5rem; background: rgba(15, 20, 25, 0.8); border: 1px solid rgba(56, 139, 253, 0.2); color: #E6EDF3; border-radius: 6px; outline: none; font-size: 0.95rem; transition: all 0.3s ease; } .search-container input:focus { border-color: #00D4FF; box-shadow: 0 0 0 2px rgba(0, 212, 255, 0.2); } .search-container button { padding: 0 1.25rem; background: linear-gradient(135deg, #00D4FF, #7C3AED); color: white; border: none; border-radius: 6px; cursor: pointer; transition: all 0.3s ease; display: flex; align-items: center; justify-content: center; } .search-container button:hover { transform: translateY(-2px); box-shadow: 0 4px 15px rgba(0, 212, 255, 0.3); } .search-icon { position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); color: #9CA3AF; pointer-events: none; } /* Top News */ .top-news { display: flex; gap: 2rem; margin-bottom: 3rem; background: rgba(15, 20, 25, 0.6); backdrop-filter: blur(10px); border: 1px solid rgba(56, 139, 253, 0.1); border-radius: 12px; padding: 1.5rem; position: relative; overflow: hidden; transition: all 0.3s ease; box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2); } .top-news:hover { border-color: rgba(0, 212, 255, 0.3); transform: translateY(-3px); box-shadow: 0 8px 30px rgba(0, 212, 255, 0.15); } .top-news::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, #00D4FF, transparent); animation: shimmer 3s ease-in-out infinite; } .top-news-badge { position: absolute; top: 1rem; left: 1rem; background: rgba(239, 68, 68, 0.2); color: #EF4444; padding: 0.25rem 0.75rem; border-radius: 20px; font-size: 0.75rem; font-weight: 600; text-transform: uppercase; z-index: 1; } .top-news-content { flex: 2; display: flex; flex-direction: column; justify-content: center; } .top-news-content h3 { font-size: 1.5rem; margin-bottom: 1rem; color: #f0f0f0; line-height: 1.4; } .top-news-content p { color: #9CA3AF; margin-bottom: 1.5rem; line-height: 1.7; } .top-news-meta { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.5rem; font-size: 0.85rem; color: #9CA3AF; } .top-news-date { display: flex; align-items: center; gap: 0.5rem; } .top-news-category { display: flex; align-items: center; gap: 0.5rem; background: rgba(0, 212, 255, 0.1); padding: 0.25rem 0.75rem; border-radius: 20px; color: #00D4FF; } .top-news-image { flex: 1; border-radius: 8px; overflow: hidden; position: relative; min-height: 250px; } .top-news-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; } .top-news:hover .top-news-image img { transform: scale(1.05); } .read-more { display: inline-flex; align-items: center; gap: 0.5rem; background: linear-gradient(135deg, #00D4FF, #7C3AED); color: white; padding: 0.75rem 1.5rem; border-radius: 6px; text-decoration: none; transition: all 0.3s ease; width: fit-content; font-weight: 500; } .read-more:hover { transform: translateY(-2px); box-shadow: 0 4px 15px rgba(0, 212, 255, 0.3); } /* News Grid */ .news-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.5rem; margin-bottom: 2rem; } .news-card { background: rgba(15, 20, 25, 0.6); backdrop-filter: blur(10px); border: 1px solid rgba(56, 139, 253, 0.1); border-radius: 12px; overflow: hidden; transition: all 0.3s ease; position: relative; } .news-card:hover { border-color: rgba(0, 212, 255, 0.3); transform: translateY(-5px); box-shadow: 0 8px 25px rgba(0, 212, 255, 0.1); } .news-card::after { content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%; background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.05), transparent); transition: left 0.7s ease; } .news-card:hover::after { left: 100%; } .news-image { height: 180px; overflow: hidden; position: relative; } .news-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; } .news-card:hover .news-image img { transform: scale(1.1); } .news-category { position: absolute; top: 1rem; right: 1rem; padding: 0.25rem 0.75rem; background: rgba(15, 20, 25, 0.8); border-radius: 20px; font-size: 0.75rem; text-transform: uppercase; color: #00D4FF; font-weight: 500; z-index: 1; } .news-content { padding: 1.5rem; display: flex; flex-direction: column; height: calc(100% - 180px); } .news-title { font-size: 1.1rem; margin-bottom: 0.75rem; color: #E6EDF3; line-height: 1.4; } .news-description { font-size: 0.9rem; color: #9CA3AF; margin-bottom: 1rem; line-height: 1.6; flex-grow: 1; } .news-meta { display: flex; justify-content: space-between; align-items: center; margin-top: auto; } .news-date { display: flex; align-items: center; gap: 0.5rem; font-size: 0.8rem; color: #9CA3AF; } .news-read-time { font-size: 0.8rem; color: #7C3AED; } /* Pagination */ .pagination { display: flex; justify-content: center; gap: 0.5rem; margin-top: 2rem; } .page-btn { padding: 0.5rem 1rem; background: rgba(15, 20, 25, 0.6); border: 1px solid rgba(56, 139, 253, 0.1); color: #E6EDF3; border-radius: 6px; cursor: pointer; transition: all 0.3s ease; min-width: 40px; display: flex; align-items: center; justify-content: center; } .page-btn:hover, .page-btn.active { background: rgba(0, 212, 255, 0.1); border-color: #00D4FF; color: #00D4FF; } .page-btn i { font-size: 0.8rem; } /* No Results */ .no-results { text-align: center; padding: 3rem; color: #9CA3AF; grid-column: 1 / -1; background: rgba(15, 20, 25, 0.4); border-radius: 12px; border: 1px dashed rgba(56, 139, 253, 0.2); } .no-results i { font-size: 2rem; margin-bottom: 1rem; color: #7C3AED; } /* Stats Bar */ .stats-bar { display: flex; justify-content: space-between; align-items: center; background: rgba(15, 20, 25, 0.6); border-radius: 8px; padding: 1rem; margin-bottom: 2rem; border: 1px solid rgba(56, 139, 253, 0.1); } .stat-item { text-align: center; flex: 1; padding: 0 1rem; position: relative; } .stat-item:not(:last-child)::after { content: ''; position: absolute; right: 0; top: 50%; transform: translateY(-50%); height: 40px; width: 1px; background: rgba(56, 139, 253, 0.1); } .stat-value { font-size: 1.5rem; font-weight: 600; color: #00D4FF; margin-bottom: 0.25rem; } .stat-label { font-size: 0.85rem; color: #9CA3AF; } /* Animations */ @keyframes shimmer { 0% { opacity: 0; transform: translateX(-100%); } 50% { opacity: 1; transform: translateX(0%); } 100% { opacity: 0; transform: translateX(100%); } } /* Mobile Navigation */ .hamburger { display: none; flex-direction: column; cursor: pointer; gap: 5px; padding: 10px; z-index: 1001; transition: all 0.3s ease; } .hamburger .line { width: 25px; height: 2px; background: #E6EDF3; transition: all 0.3s ease; border-radius: 2px; } .hamburger.active .line:nth-child(1) { transform: translateY(7px) rotate(45deg); } .hamburger.active .line:nth-child(2) { opacity: 0; } .hamburger.active .line:nth-child(3) { transform: translateY(-7px) rotate(-45deg); } /* Mobile Menu Overlay */ .mobile-menu-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.5); backdrop-filter: blur(5px); z-index: 999; opacity: 0; visibility: hidden; transition: all 0.3s ease; } .mobile-menu-overlay.active { opacity: 1; visibility: visible; } /* Footer */ .footer { text-align: center; padding: 2rem; margin-top: 2rem; border-top: 1px solid rgba(56, 139, 253, 0.1); color: #9CA3AF; font-size: 0.9rem; } /* Responsive Design */ @media (max-width: 1200px) { .main-container { padding: 100px 1.5rem 2rem; } } @media (max-width: 1024px) { .news-grid { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); } } @media (max-width: 768px) { .hamburger { display: flex; } .nav-links { position: fixed; top: 70px; right: -100%; width: 80%; max-width: 300px; height: calc(100vh - 70px); background: rgba(15, 20, 25, 0.98); backdrop-filter: blur(20px); flex-direction: column; justify-content: flex-start; align-items: flex-start; padding: 1rem; transition: right 0.3s ease; z-index: 1000; overflow-y: auto; box-shadow: -5px 0 15px rgba(0, 0, 0, 0.2); } .nav-links.active { right: 0; } .nav-links li { margin: 0.5rem 0; width: 100%; } .nav-links a { display: flex; align-items: center; width: 100%; padding: 1rem; border: 1px solid rgba(56, 139, 253, 0.1); border-radius: 8px; font-size: 1rem; gap: 0.75rem; } .nav-links a i { width: 20px; text-align: center; } .news-section { padding: 1.5rem; } .news-grid { grid-template-columns: 1fr; } .top-news { flex-direction: column-reverse; } .top-news-image { margin-bottom: 1.5rem; min-height: 200px; } .stats-bar { flex-direction: column; gap: 1rem; } .stat-item { padding: 0.5rem 0; width: 100%; } .stat-item:not(:last-child)::after { display: none; } .stat-item:not(:last-child) { border-bottom: 1px solid rgba(56, 139, 253, 0.1); } } @media (max-width: 480px) { .main-container { padding: 100px 1rem 2rem; } .filter-btn { padding: 0.5rem 0.75rem; font-size: 0.8rem; } .section-title { font-size: 1.5rem; } .top-news-content h3 { font-size: 1.3rem; } }