* { margin: 0; padding: 0; box-sizing: border-box; } body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif; line-height: 1.6; color: #333; background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); min-height: 100vh; } .container { max-width: 1200px; margin: 0 auto; padding: 20px; } .hero { text-align: center; padding: 80px 20px 60px; color: white; position: relative; } .hero::before { content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: url('data:image/svg+xml,') no-repeat bottom; background-size: cover; opacity: 0.3; pointer-events: none; } .hero-content { max-width: 700px; margin: 0 auto; position: relative; z-index: 1; } .hero h1 { font-size: 3.5rem; margin-bottom: 20px; font-weight: 800; text-shadow: 0 2px 10px rgba(0,0,0,0.2); letter-spacing: -1px; } .tagline { font-size: 1.5rem; margin-bottom: 15px; font-weight: 400; text-shadow: 0 1px 5px rgba(0,0,0,0.1); } .description { font-size: 1.1rem; margin-bottom: 40px; opacity: 0.95; line-height: 1.7; } .subscription-form { display: flex; flex-direction: column; gap: 15px; max-width: 500px; margin: 0 auto 40px; } .subscription-form input { padding: 15px 20px; font-size: 1rem; border: none; border-radius: 8px; outline: none; box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); } .subscription-form button { padding: 15px 30px; font-size: 1.1rem; font-weight: 600; background: #ff6b6b; color: white; border: none; border-radius: 8px; cursor: pointer; transition: all 0.3s ease; box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); } .subscription-form button:hover { background: #ff5252; transform: translateY(-2px); box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15); } .subscription-form button:active { transform: translateY(0); } .form-message { margin-top: 10px; font-size: 0.9rem; min-height: 20px; } .form-message.success { color: #4caf50; } .form-message.error { color: #f44336; } .stats { display: flex; justify-content: center; gap: 40px; margin-top: 40px; } .stat-item { text-align: center; } .stat-number { display: block; font-size: 2.5rem; font-weight: 700; margin-bottom: 5px; } .stat-label { font-size: 0.9rem; opacity: 0.8; } .news-section { background: white; border-radius: 20px; padding: 40px; margin: 40px 0; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2); overflow: hidden; } @media (max-width: 768px) { .news-section { padding: 24px 16px; border-radius: 16px; } } .news-section h2 { font-size: 2rem; margin-bottom: 30px; color: #333; text-align: center; } .news-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; align-items: stretch; grid-auto-rows: 1fr; } @media (min-width: 1024px) { .news-grid { grid-template-columns: repeat(3, 1fr); } } @media (max-width: 1023px) and (min-width: 768px) { .news-grid { grid-template-columns: repeat(2, 1fr); } } @media (max-width: 767px) { .news-grid { grid-template-columns: 1fr; } } .news-card { background: white; border-radius: 12px; overflow: hidden; transition: all 0.3s ease; cursor: pointer; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08); display: grid; grid-template-rows: 180px 1fr; height: 100%; } .news-card:hover { transform: translateY(-8px); box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15); } .news-card-image { width: 100%; height: 140px; object-fit: cover; background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); display: flex; align-items: center; justify-content: center; color: white; font-size: 2.5rem; position: relative; flex-shrink: 0; } .news-card-image img { width: 100%; height: 100%; object-fit: cover; display: block; } .news-card-image.placeholder { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); } .news-card-content { padding: 16px; flex: 1; display: flex; flex-direction: column; min-height: 0; } .news-card .source { font-size: 0.7rem; color: #667eea; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 10px; display: flex; align-items: center; gap: 6px; } .news-card .source::before { content: ''; width: 3px; height: 3px; background: #667eea; border-radius: 50%; } .news-card h3 { font-size: 1.1rem; margin-bottom: 10px; color: #1a1a1a; line-height: 1.3; font-weight: 700; flex-grow: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; } .news-card p { color: #666; font-size: 0.9rem; margin-bottom: 12px; line-height: 1.5; flex-grow: 1; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; } .news-card-footer { display: flex; justify-content: space-between; align-items: center; padding-top: 10px; border-top: 1px solid #f0f0f0; margin-top: auto; } .news-card .read-more { color: #667eea; text-decoration: none; font-weight: 600; font-size: 0.85rem; display: inline-flex; align-items: center; gap: 4px; transition: gap 0.3s ease; } .news-card .read-more:hover { gap: 8px; } .news-card .read-more::after { content: '→'; } .news-meta { display: flex; gap: 8px; font-size: 0.75rem; color: #999; } .news-meta-item { display: flex; align-items: center; gap: 3px; white-space: nowrap; } .loading { text-align: center; padding: 40px; color: #666; font-size: 1.1rem; grid-column: 1 / -1; } footer { text-align: center; padding: 40px 20px; color: white; } footer a { color: white; text-decoration: underline; cursor: pointer; } footer a:hover { opacity: 0.8; } /* Modal Styles */ .modal { display: none; position: fixed; z-index: 1000; left: 0; top: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.5); backdrop-filter: blur(5px); } .modal-content { background-color: white; margin: 15% auto; padding: 30px; border-radius: 12px; width: 90%; max-width: 500px; box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3); } .close { color: #aaa; float: right; font-size: 28px; font-weight: bold; cursor: pointer; } .close:hover { color: #000; } .modal-content h2 { margin-bottom: 20px; color: #333; } .modal-content input { width: 100%; padding: 12px; margin: 15px 0; border: 2px solid #ddd; border-radius: 8px; font-size: 1rem; } .modal-content button { width: 100%; padding: 12px; background: #ff6b6b; color: white; border: none; border-radius: 8px; font-size: 1rem; font-weight: 600; cursor: pointer; margin-top: 10px; } .modal-content button:hover { background: #ff5252; } /* Animations */ @keyframes fadeIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } } .news-card { animation: fadeIn 0.5s ease-out forwards; } .news-card:nth-child(1) { animation-delay: 0.1s; } .news-card:nth-child(2) { animation-delay: 0.2s; } .news-card:nth-child(3) { animation-delay: 0.3s; } .news-card:nth-child(4) { animation-delay: 0.4s; } .news-card:nth-child(5) { animation-delay: 0.5s; } .news-card:nth-child(6) { animation-delay: 0.6s; } /* Loading Spinner */ .loading { position: relative; } .loading::after { content: ''; display: inline-block; width: 20px; height: 20px; border: 3px solid #f3f3f3; border-top: 3px solid #667eea; border-radius: 50%; animation: spin 1s linear infinite; margin-left: 10px; vertical-align: middle; } @keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } } /* Responsive Design */ @media (max-width: 768px) { .hero { padding: 60px 20px 40px; } .hero h1 { font-size: 2.5rem; } .tagline { font-size: 1.2rem; } .news-grid { grid-template-columns: 1fr; gap: 20px; } .stats { flex-direction: column; gap: 20px; } .news-card { min-height: 350px; } .news-card-image { height: 160px; } .subscription-form { padding: 0 10px; } .container { padding: 16px; } }