@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@500;700;900&family=Inter:wght@400;600;800&display=swap');

:root {
    --primary: #e11d48; /* Red vibrant */
    --accent: #f43f5e;
    --dark: #020617; /* Slate 950 */
    --darker: #000000;
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --header-height: 80px;
    --footer-height: 70px;
    --glow: 0 0 30px rgba(225, 29, 72, 0.4);
}

* { box-sizing: border-box; }

body {
    font-family: 'Inter', system-ui, sans-serif;
    margin: 0;
    padding: var(--header-height) 0 var(--footer-height) 0;
    background: radial-gradient(circle at top right, #0f172a, #020617);
    color: var(--text-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    min-height: 100vh;
}

h1, h2, h3, h4, .logo {
    font-family: 'Outfit', sans-serif;
    text-transform: uppercase;
}

/* Scrollbar Customization for high impact */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--darker); }
::-webkit-scrollbar-thumb { background: var(--primary); }

/* Fixed Top Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background: rgba(2, 6, 23, 0.85);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(255,255,255,0.05);
    z-index: 9999;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
    box-shadow: 0 4px 30px rgba(0,0,0,0.5);
}

.logo {
    font-size: 2.5rem;
    font-weight: 900;
    color: #fff;
    text-decoration: none;
    letter-spacing: -2px;
    background: linear-gradient(135deg, #fff, var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: var(--glow);
}

/* Nav Desktop */
.nav-links {
    display: flex;
    gap: 2rem;
}
.nav-links a {
    text-decoration: none;
    color: var(--text-main);
    font-weight: 800;
    font-size: 1rem;
    letter-spacing: 1px;
    transition: 0.3s;
}
.nav-links a:hover {
    color: var(--primary);
    text-shadow: var(--glow);
}

/* Search */
.search-form { display: flex; align-items: center; }
.search-input {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    color: #fff;
    padding: 0.8rem 1.5rem;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    width: 250px;
    outline: none;
    transition: 0.3s;
}
.search-input:focus {
    width: 300px;
    border-color: var(--primary);
    background: rgba(225, 29, 72, 0.1);
}
.search-btn {
    background: var(--primary);
    color: #fff;
    border: none;
    padding: 0.8rem 1.5rem;
    font-weight: 800;
    text-transform: uppercase;
    cursor: pointer;
    transition: 0.3s;
}
.search-btn:hover {
    background: var(--accent);
    box-shadow: var(--glow);
}

/* Layout Full Width */
.container {
    width: 100%; /* Edge to edge */
    padding: 0;
    margin: 0;
}

/* Hero Section High Impact */
.hero {
    position: relative;
    width: 100%;
    height: 70vh;
    min-height: 500px;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
}
.hero img {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    z-index: 1;
    transform: scale(1.02);
}
.hero-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: linear-gradient(0deg, rgba(2,6,23,1) 0%, rgba(2,6,23,0.6) 40%, transparent 100%);
    z-index: 2;
}
.hero-content {
    position: relative;
    z-index: 3;
    padding: 4rem;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
}
.hero-category {
    display: inline-block;
    background: var(--primary);
    color: #fff;
    padding: 0.4rem 1rem;
    font-weight: 900;
    font-size: 1rem;
    margin-bottom: 1.5rem;
    letter-spacing: 2px;
}
.hero-title {
    font-size: 4.5rem;
    font-weight: 900;
    margin: 0 0 1rem 0;
    line-height: 1.05;
    letter-spacing: -1px;
}
.hero-title a {
    color: #fff;
    text-decoration: none;
    transition: 0.3s;
}
.hero-title a:hover {
    color: var(--accent);
}
.hero-subtitle {
    font-size: 1.5rem;
    color: var(--text-muted);
    font-weight: 400;
    max-width: 800px;
    margin: 0;
}

/* Section Title */
.section-title {
    font-size: 3rem;
    font-weight: 900;
    margin: 4rem 2rem 2rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    letter-spacing: -1px;
}
.section-title::after {
    content: '';
    height: 4px;
    flex: 1;
    background: linear-gradient(90deg, var(--primary), transparent);
}

/* Full Width Grid */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
    gap: 0; /* Zero gap for extreme full-width feel */
}

.news-card {
    position: relative;
    height: 500px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    display: flex;
    align-items: flex-end;
    border: 1px solid rgba(255,255,255,0.02);
}
.news-card img {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}
.news-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: linear-gradient(to top, rgba(2,6,23,0.95) 0%, rgba(2,6,23,0.3) 60%, transparent 100%);
    z-index: 1;
    transition: background 0.6s;
}
.news-card:hover img {
    transform: scale(1.1);
}
.news-card:hover::before {
    background: linear-gradient(to top, rgba(225, 29, 72, 0.9) 0%, rgba(2,6,23,0.4) 60%, transparent 100%);
}
.news-card .content {
    position: relative;
    z-index: 2;
    padding: 2.5rem;
    width: 100%;
}
.card-category {
    background: var(--primary);
    color: #fff;
    padding: 0.3rem 0.8rem;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 1px;
    margin-bottom: 1rem;
    display: inline-block;
}
.news-card h3 {
    margin: 0 0 1rem 0;
    font-size: 2rem;
    line-height: 1.1;
    font-weight: 800;
    letter-spacing: -0.5px;
}
.news-card p {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Article */
.article-header {
    padding: 6rem 2rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}
.article-header h1 {
    font-size: 4.5rem;
    font-weight: 900;
    line-height: 1.05;
    margin-bottom: 1.5rem;
    letter-spacing: -2px;
}
.article-meta {
    color: var(--primary);
    font-weight: 800;
    font-size: 1rem;
    letter-spacing: 1px;
    margin-top: 2rem;
}
.article-image {
    width: 100%;
    height: 70vh;
    object-fit: cover;
    margin-bottom: 4rem;
}
.article-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 2rem 6rem;
    font-size: 1.25rem;
    line-height: 1.8;
    color: #cbd5e1;
}

/* Fixed Footer */
.footer-fixed {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: var(--footer-height);
    background: rgba(2, 6, 23, 0.95);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-top: 1px solid var(--primary);
    z-index: 9999;
    display: flex;
    justify-content: space-around;
    align-items: center;
    box-shadow: 0 -4px 30px rgba(225, 29, 72, 0.15);
}

.footer-fixed a {
    color: #fff;
    text-decoration: none;
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: 0.3s;
}
.footer-fixed a:hover {
    color: var(--primary);
    text-shadow: var(--glow);
}

/* Responsive Overrides */
@media(max-width: 900px) {
    .header { padding: 0 1rem; }
    .logo { font-size: 1.8rem; }
    .nav-links, .search-form { display: none; }
    .hero-title { font-size: 3rem; }
    .hero-content { padding: 2rem; }
    .section-title { font-size: 2rem; margin: 3rem 1rem 1rem; }
    .news-grid { grid-template-columns: 1fr; }
    .news-card { height: 400px; border: none; border-bottom: 1px solid rgba(255,255,255,0.05); }
    .news-card h3 { font-size: 1.6rem; }
    .article-header h1 { font-size: 2.5rem; }
    .footer-fixed a { font-size: 0.8rem; flex-direction: column; gap: 0; }
}
