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

:root {
    --bg-dark: #07080a;
    --bg-card: #12141c;
    --bg-card-hover: #1a1c26;
    --primary: #ff3366;
    --primary-glow: rgba(255, 51, 102, 0.4);
    --secondary: #00f0ff;
    --secondary-glow: rgba(0, 240, 255, 0.4);
    --text-main: #f3f4f6;
    --text-muted: #9ca3af;
    --border: rgba(255, 255, 255, 0.08);
    --border-highlight: rgba(255, 255, 255, 0.2);
    --nav-height: 80px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Epilogue', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    background-image: 
        radial-gradient(circle at 15% 50%, rgba(255, 51, 102, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 85% 30%, rgba(0, 240, 255, 0.03) 0%, transparent 50%);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
    background: #2a2d3d;
    border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Syne', sans-serif;
    line-height: 1.1;
    text-transform: uppercase;
    letter-spacing: -0.02em;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Navigation */
header {
    background: rgba(7, 8, 10, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: var(--nav-height);
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    font-size: 28px;
    color: var(--text-main);
    letter-spacing: 1px;
    position: relative;
}

.logo img {
    height: 36px;
    border-radius: 4px;
    border: 1px solid var(--primary);
}

.logo::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 48px;
    width: calc(100% - 48px);
    height: 2px;
    background: linear-gradient(90deg, var(--primary), transparent);
}

.nav-links {
    display: flex;
    gap: 32px;
    list-style: none;
}

.nav-links a {
    font-family: 'Rajdhani', sans-serif;
    font-weight: 600;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    position: relative;
    padding: 8px 0;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--primary);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease;
}

.nav-links a:hover::after, .nav-links a.active::after {
    width: 100%;
}

.mobile-btn {
    display: none;
    background: none;
    border: none;
    color: var(--text-main);
    font-size: 28px;
    cursor: pointer;
}

/* Breaking News Ticker */
.news-ticker {
    background: var(--primary);
    color: #fff;
    padding: 8px 0;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: flex;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    margin-top: var(--nav-height);
}

.ticker-content {
    display: flex;
    animation: ticker 25s linear infinite;
}

.ticker-item {
    padding: 0 40px;
    position: relative;
}

.ticker-item::after {
    content: '///';
    position: absolute;
    right: 0;
    color: rgba(255,255,255,0.5);
}

@keyframes ticker {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* UI Elements */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-card);
    color: var(--text-main);
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 16px 32px;
    border: 1px solid var(--border-highlight);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    z-index: 1;
    clip-path: polygon(0 0, calc(100% - 15px) 0, 100% 15px, 100% 100%, 15px 100%, 0 calc(100% - 15px));
    transition: all 0.3s ease;
}

.btn-primary {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    z-index: -1;
    transition: left 0.5s ease;
}

.btn:hover::before {
    left: 100%;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px -10px var(--primary-glow);
}

.badge {
    background: rgba(255, 51, 102, 0.1);
    color: var(--primary);
    border: 1px solid var(--primary);
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 4px 12px;
    display: inline-block;
    clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 8px 100%, 0 calc(100% - 8px));
}

.badge.blue {
    background: rgba(0, 240, 255, 0.1);
    color: var(--secondary);
    border-color: var(--secondary);
}

.badge.green {
    background: rgba(0, 255, 136, 0.1);
    color: #00ff88;
    border-color: #00ff88;
}

/* Sections */
.section {
    padding: 100px 0;
    position: relative;
}

.section-header {
    margin-bottom: 60px;
    position: relative;
}

.section-header h2 {
    font-size: 42px;
    color: #fff;
    margin-bottom: 16px;
    display: inline-block;
}

.section-header p {
    color: var(--text-muted);
    font-size: 18px;
    max-width: 600px;
}

.title-accent {
    position: absolute;
    left: -20px;
    top: 10px;
    width: 4px;
    height: 30px;
    background: var(--primary);
}

/* Grid & Cards */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    position: relative;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    flex-direction: column;
}

.card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(180deg, transparent, rgba(255, 51, 102, 0.05));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
    pointer-events: none;
}

.card:hover {
    transform: translateY(-10px);
    border-color: var(--border-highlight);
    box-shadow: 0 20px 40px -10px rgba(0,0,0,0.5);
}

.card:hover::before {
    opacity: 1;
}

.card-img-wrapper {
    position: relative;
    width: 100%;
    height: 240px;
    overflow: hidden;
}

.card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.card:hover .card-img {
    transform: scale(1.05);
}

.card-content {
    padding: 30px;
    flex: 1;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 2;
}

.card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.card-date {
    font-family: 'Rajdhani', sans-serif;
    font-size: 14px;
    color: var(--text-muted);
    font-weight: 600;
}

.card-title {
    font-size: 24px;
    margin-bottom: 16px;
    color: #fff;
    transition: color 0.3s ease;
}

.card:hover .card-title {
    color: var(--primary);
}

.card-text {
    color: var(--text-muted);
    margin-bottom: 24px;
    flex: 1;
}

.card-footer {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    color: #fff;
    letter-spacing: 1px;
}

.card-footer svg {
    width: 16px;
    height: 16px;
    fill: var(--primary);
    transition: transform 0.3s ease;
}

.card:hover .card-footer svg {
    transform: translateX(5px);
}

/* Footer */
footer {
    background: #040507;
    border-top: 1px solid var(--border);
    padding: 80px 0 40px;
    margin-top: auto;
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 60px;
    margin-bottom: 60px;
}

.footer-brand p {
    color: var(--text-muted);
    margin-top: 20px;
    font-size: 15px;
}

.footer-col h4 {
    color: #fff;
    font-size: 20px;
    margin-bottom: 24px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 40px;
    height: 2px;
    background: var(--primary);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--text-muted);
    position: relative;
    padding-left: 16px;
}

.footer-links a::before {
    content: '>';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: #fff;
}

.footer-links a:hover::before {
    opacity: 1;
    transform: translateX(0);
}

.footer-bottom {
    border-top: 1px solid var(--border);
    padding-top: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    text-align: center;
}

.footer-disclaimer {
    font-size: 13px;
    color: var(--text-muted);
    max-width: 800px;
}

/* Mobile Responsiveness */
@media (max-width: 992px) {
    .section { padding: 60px 0; }
    .section-header h2 { font-size: 32px; }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: var(--nav-height);
        left: 0;
        width: 100%;
        height: calc(100vh - var(--nav-height));
        background: rgba(7, 8, 10, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 40px;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.4s ease;
    }

    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-links a {
        font-size: 24px;
    }

    .mobile-btn {
        display: block;
    }

    .news-ticker {
        font-size: 12px;
    }

    .grid {
        grid-template-columns: 1fr;
    }

    .title-accent {
        display: none;
    }

    .section-header {
        text-align: center;
    }

    .card-img-wrapper {
        height: 200px;
    }
}
