/* Palette: Void Black, Neon Cyan, Hot Pink, Dark Purple */
:root {
    --bg: #050505;
    --card-bg: #0f0f12;
    --cyan: #00F3FF;
    --cyan-dim: rgba(0, 243, 255, 0.2);
    --pink: #FF00FF;
    --white: #FFFFFF;
    --text: #e0e0e0;
    
    --font-head: 'Chakra Petch', sans-serif;
    --font-body: 'Roboto', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    background-color: var(--bg);
    color: var(--text);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Scanlines Effect */
.scanlines {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to bottom, rgba(255,255,255,0), rgba(255,255,255,0) 50%, rgba(0,0,0,0.1) 50%, rgba(0,0,0,0.1));
    background-size: 100% 4px;
    z-index: 9999;
    pointer-events: none;
    opacity: 0.3;
}

.container { width: 90%; max-width: 1200px; margin: 0 auto; }
.section-padding { padding: 80px 0; }
a { text-decoration: none; color: inherit; transition: 0.3s; }
img { max-width: 100%; height: auto; display: block; }

/* Header */
.cyber-header { padding: 20px 0; background: rgba(5,5,5,0.9); border-bottom: 1px solid var(--cyan-dim); position: sticky; top: 0; z-index: 1000; backdrop-filter: blur(5px); }
.header-flex { display: flex; justify-content: space-between; align-items: center; }

.logo { font-family: var(--font-head); font-weight: 700; font-size: 1.8rem; color: var(--white); letter-spacing: 1px; text-transform: uppercase; }
.pulse-anim { animation: pulse 1s infinite alternate; color: var(--cyan); margin: 0 5px; }
@keyframes pulse { from { text-shadow: 0 0 5px var(--cyan); } to { text-shadow: 0 0 20px var(--cyan), 0 0 10px var(--pink); } }

.neon-nav a { margin-left: 20px; font-family: var(--font-head); font-weight: 500; color: #888; font-size: 0.9rem; }
.neon-nav a:hover, .neon-nav a.active { color: var(--cyan); text-shadow: 0 0 10px var(--cyan); }

.live-badge { color: var(--pink); font-weight: 700; font-size: 0.8rem; border: 1px solid var(--pink); padding: 2px 8px; margin-right: 15px; animation: blink 2s infinite; }
@keyframes blink { 50% { opacity: 0.5; } }

.mobile-toggle { display: none; background: transparent; border: 1px solid var(--white); color: var(--white); padding: 5px 10px; font-family: var(--font-head); cursor: pointer; }

/* Mobile Menu */
.mobile-menu { position: fixed; top: 0; right: -100%; width: 100%; height: 100%; background: var(--bg); z-index: 2000; padding: 50px; transition: 0.3s; border-left: 2px solid var(--pink); display: flex; flex-direction: column; justify-content: center; align-items: center; }
.mobile-menu.active { right: 0; }
.close-btn { position: absolute; top: 20px; right: 20px; background: none; border: 1px solid var(--white); color: var(--white); font-size: 1.5rem; padding: 5px 10px; cursor: pointer; }
.mobile-menu a { display: block; font-family: var(--font-head); font-size: 2rem; margin: 15px 0; color: var(--white); text-transform: uppercase; }
.mobile-menu a:hover { color: var(--cyan); text-shadow: 0 0 15px var(--cyan); }

@media (max-width: 900px) {
    .neon-nav, .live-badge { display: none; }
    .mobile-toggle { display: block; }
}

/* Hero */
.hero-cyber { padding: 40px 0; }
.hero-card { position: relative; height: 500px; border-radius: 12px; overflow: hidden; border: 1px solid var(--cyan-dim); }
.hero-img { width: 100%; height: 100%; background-size: cover; background-position: center; position: absolute; }
.overlay-grad { position: absolute; inset: 0; background: linear-gradient(to right, #050505 0%, rgba(5,5,5,0.8) 50%, transparent 100%); }
.hero-content { position: relative; z-index: 2; padding: 60px; max-width: 700px; height: 100%; display: flex; flex-direction: column; justify-content: center; }

.tag { padding: 5px 10px; font-size: 0.8rem; font-weight: 700; font-family: var(--font-head); margin-bottom: 20px; display: inline-block; background: #000; border: 1px solid var(--cyan); color: var(--cyan); box-shadow: 0 0 10px var(--cyan-dim); }
.tag.pink { border-color: var(--pink); color: var(--pink); }

.hero-content h1 { font-family: var(--font-head); font-size: 4rem; line-height: 1; margin-bottom: 20px; text-transform: uppercase; }
.glitch-text { position: relative; color: var(--white); }
.glitch-text::before, .glitch-text::after { content: attr(data-text); position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: #050505; }
.glitch-text::before { left: 2px; text-shadow: -1px 0 var(--pink); animation: glitch-1 2s infinite linear alternate-reverse; }
.glitch-text::after { left: -2px; text-shadow: -1px 0 var(--cyan); animation: glitch-2 3s infinite linear alternate-reverse; }

@keyframes glitch-1 { 0% { clip-path: inset(20% 0 80% 0); } 100% { clip-path: inset(80% 0 10% 0); } }
@keyframes glitch-2 { 0% { clip-path: inset(10% 0 60% 0); } 100% { clip-path: inset(30% 0 20% 0); } }

.hero-content p { font-size: 1.2rem; margin-bottom: 30px; color: #ccc; max-width: 500px; }

.btn-neon { background: transparent; color: var(--cyan); border: 2px solid var(--cyan); padding: 12px 30px; font-family: var(--font-head); font-weight: 700; cursor: pointer; transition: 0.3s; display: inline-block; }
.btn-neon:hover { background: var(--cyan); color: var(--bg); box-shadow: 0 0 20px var(--cyan); }

/* Ticker */
.ticker-wrap { background: var(--pink); color: var(--white); padding: 8px 0; overflow: hidden; white-space: nowrap; border-bottom: 1px solid var(--bg); border-top: 1px solid var(--bg); font-family: var(--font-head); font-weight: 700; }
.ticker { display: inline-block; padding-left: 100%; animation: ticker 25s linear infinite; }
.ticker-item { display: inline-block; margin-right: 50px; }
@keyframes ticker { 0% { transform: translateX(0); } 100% { transform: translateX(-100%); } }

/* Feed */
.section-head h2 { font-family: var(--font-head); font-size: 2.5rem; display: flex; align-items: center; gap: 10px; }
.pink-hash { color: var(--pink); }
.neon-line { width: 100%; height: 1px; background: linear-gradient(90deg, var(--cyan), transparent); margin-bottom: 40px; margin-top: 10px; }
.center { text-align: center; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.news-card { background: var(--card-bg); border: 1px solid #222; overflow: hidden; transition: 0.3s; }
.news-card:hover { border-color: var(--cyan); transform: translateY(-5px); box-shadow: 0 0 15px rgba(0,243,255,0.1); }
.card-img { height: 200px; position: relative; }
.card-img img { width: 100%; height: 100%; object-fit: cover; }
.cat-badge { position: absolute; bottom: 10px; left: 10px; background: rgba(0,0,0,0.8); color: var(--white); padding: 3px 8px; font-size: 0.7rem; font-weight: 700; border: 1px solid var(--white); font-family: var(--font-head); }
.card-body { padding: 20px; }
.card-body h3 { font-family: var(--font-head); margin-bottom: 10px; font-size: 1.2rem; line-height: 1.3; }
.card-body p { font-size: 0.9rem; color: #888; margin-bottom: 20px; }
.card-meta { display: flex; justify-content: space-between; align-items: center; font-size: 0.8rem; color: #666; font-family: var(--font-head); }
.read-more { color: var(--cyan); }

/* News List Page */
.tags-cloud { display: flex; justify-content: center; gap: 15px; margin-top: 20px; flex-wrap: wrap; }
.tag-pill { background: #222; border: 1px solid #333; padding: 5px 15px; font-family: var(--font-head); font-size: 0.9rem; cursor: pointer; transition: 0.3s; }
.tag-pill:hover, .tag-pill.active { border-color: var(--pink); color: var(--pink); box-shadow: 0 0 10px rgba(255,0,255,0.2); }

.news-list { max-width: 800px; margin: 0 auto; margin-top: 50px; }
.news-item { display: flex; gap: 30px; border-bottom: 1px solid #222; padding-bottom: 30px; margin-bottom: 30px; }
.n-date { text-align: center; color: var(--cyan); font-family: var(--font-head); border: 1px solid var(--cyan); padding: 10px; height: fit-content; min-width: 80px; }
.n-date .day { font-size: 1.8rem; font-weight: 700; display: block; line-height: 1; }
.n-date .mon { font-size: 0.8rem; }
.n-content h3 { font-family: var(--font-head); font-size: 1.5rem; margin-bottom: 10px; }
.text-cyan { color: var(--cyan); font-weight: 700; font-family: var(--font-head); }

/* Startups Page */
.spotlight { display: grid; grid-template-columns: 1.2fr 1fr; gap: 50px; align-items: center; background: var(--card-bg); border: 1px solid var(--pink); padding: 40px; margin-bottom: 60px; position: relative; overflow: hidden; }
.spotlight::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 5px; background: var(--pink); }
.cyan-text { color: var(--cyan); }
.stats-row { display: flex; gap: 40px; margin-top: 30px; border-top: 1px solid #333; padding-top: 20px; }
.stat strong { display: block; font-size: 2rem; color: var(--white); font-family: var(--font-head); }
.spotlight-img img { border: 1px solid var(--pink); box-shadow: 10px 10px 0 rgba(255,0,255,0.2); }

.startup-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.s-card { background: #111; padding: 25px; border-left: 3px solid var(--cyan); transition: 0.3s; }
.s-card:hover { background: var(--card-bg); }
.s-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 15px; }
.s-head h3 { font-family: var(--font-head); font-size: 1.2rem; margin: 0; }
.s-type { font-size: 0.8rem; color: #888; text-transform: uppercase; border: 1px solid #333; padding: 2px 6px; }

/* Contact Terminal */
.contact-terminal { max-width: 800px; margin: 0 auto; background: #000; border: 1px solid #333; box-shadow: 0 0 30px rgba(0,0,0,0.5); }
.term-header { background: #1a1a1a; padding: 10px 15px; display: flex; align-items: center; gap: 8px; border-bottom: 1px solid #333; }
.dot { width: 12px; height: 12px; border-radius: 50%; }
.red { background: #ff5f56; } .yellow { background: #ffbd2e; } .green { background: #27c93f; }
.title { margin-left: 10px; font-family: monospace; font-size: 0.8rem; color: #888; }
.term-body { padding: 40px; font-family: monospace; }
.term-text { color: var(--cyan); margin-bottom: 10px; }

.cyber-form .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { margin-bottom: 20px; }
.cyber-form input, .cyber-form select, .cyber-form textarea { width: 100%; background: #0a0a0a; border: 1px solid #333; padding: 15px; color: var(--white); font-family: monospace; margin-bottom: 20px; }
.cyber-form input:focus, .cyber-form textarea:focus { border-color: var(--cyan); outline: none; box-shadow: 0 0 10px var(--cyan-dim); }
.full { width: 100%; border-radius: 0; text-transform: uppercase; }

/* Legal */
.legal-box { max-width: 800px; margin: 0 auto; color: #ccc; }
.legal-box h1 { font-family: var(--font-head); color: var(--white); }

/* Footer */
.cyber-footer { border-top: 1px solid #222; padding: 60px 0 20px; margin-top: 100px; background: #000; }
.footer-content { display: flex; justify-content: space-between; align-items: center; margin-bottom: 40px; }
.f-logo h4 { font-family: var(--font-head); font-size: 1.5rem; letter-spacing: 2px; margin-bottom: 5px; }
.f-links a { margin-left: 20px; font-family: var(--font-head); font-size: 0.9rem; }
.f-links a:hover { color: var(--cyan); }
.copyright { text-align: center; font-family: monospace; font-size: 0.8rem; color: #555; }

@media (max-width: 900px) {
    .hero-content h1 { font-size: 2.5rem; }
    .grid-3, .spotlight, .startup-grid, .cyber-form .form-row { grid-template-columns: 1fr; }
    .hero-img { position: relative; height: 300px; }
    .spotlight-img { order: -1; margin-bottom: 20px; }
    .footer-content { flex-direction: column; gap: 20px; text-align: center; }
}