font-face {
  font-family: EliotLord;
  src: url(Fonts/Eliothand2-Regular.otf);
}

body {
  font-family: EliotLord;
  font-size: 1.4dvw;
  margin: 0;
  user-select: none;
  -webkit-user-drag: none;
  line-height: 1.6;
  color: #2c3e50;
  background: #f8f9fb;
  cursor: url("img/background/cursors/Cursor.svg"), auto;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: EliotLord;
  margin: 0 0 1rem 0;
  color: #1a365d;
}

a {
  font-family: EliotLord;
}

a {
  cursor: url("img/background/Pointer.svg") pointer;
}

li {
  cursor: url("img/background/Pointer.svg"), auto;
}

a,
button,
.nav-menu a,
.view-all {
  cursor: url("img/background/Pointer.svg"), pointer;
}

/* Header */
.header {
  font-family: EliotLord;
  background: linear-gradient(135deg, #0087dc 0%, #00bed6 100%);
  color: white;
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.nav-container {
  font-family: EliotLord;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: EliotLord;
  font-size: 2.2rem;
  font-weight: bold;
  color: #e53e3e;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

img {
  user-select: none;
  -webkit-user-drag: none;
}

.logo span {
  color: #faa61a;
}

.logo-image {
  height: 70px;
  padding: 0%;
}

.navanews {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.navanews a {
  color: white;
  text-decoration: none;
  padding: 0.75rem 1.25rem;
  border-radius: 6px;
  transition: all 0.3s ease;
  font-weight: 500;
  border: 2px solid transparent;
}

.navanews a:hover,
.navanews a.active {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
}

.live-indicator {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: #e53e3e;
  padding: 0.5rem 1rem;
  border-radius: 25px;
  font-size: 0.9rem;
  font-weight: bold;
}

.live-dot {
  width: 8px;
  height: 8px;
  background: white;
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.3;
  }
}

/* Breaking News Ticker */
.breaking-ticker {
  background: linear-gradient(90deg, #e53e3e, #c53030);
  color: white;
  padding: 1rem;
  overflow: hidden;
  position: relative;
}

.ticker-content {
  display: flex;
  animation: scroll 30s linear infinite;
  white-space: nowrap;
}

.ticker-content span {
  margin-right: 3rem;
  font-weight: bold;
}

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

/* Main Container */
.nontainer {
  max-width: 1400px;
  margin: 0 auto;
  padding: 2rem;
}

/* Election Dashboard */
.election-dashboard {
  background: white;
  border-radius: 12px;
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  border: 1px solid #e2e8f0;
}

.dashboard-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}

.dashboard-title {
  font-size: 1.8rem;
  color: #1a365d;
  font-weight: bold;
}

.electoral-count {
  display: flex;
  gap: 2rem;
}

.party-count {
  text-align: center;
  padding: 1rem 2rem;
  border-radius: 8px;
}

.con-count {
  background: #0087dc;
  color: white;
}

.ref-count {
  background: #00bed6;
  color: white;
}

.lab-count {
  background: #e4003b;
  color: white;
}

.lib-count {
  background: #faa61a;
  color: white;
}

.gr-count {
  background: #02a95b;
  color: white;
}

.count-number {
  font-size: 2rem;
  font-weight: bold;
  display: block;
}

.count-label {
  font-size: 0.9rem;
  opacity: 0.9;
}

/* Main Layout */
.main-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2rem;
  margin-bottom: 3rem;
}

/* Featured Article */
.featured-article {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border: 1px solid #e2e8f0;
  transition: all 0.3s ease;
}

.featured-image {
  position: relative;
  height: 350px;
  overflow: hidden;
}

.featured-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bias-indicator {
  position: absolute;
  top: 1rem;
  right: 1rem;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: bold;
  backdrop-filter: blur(10px);
}

.bias-left {
  background: rgba(49, 130, 206, 0.9);
  color: white;
}

.bias-center {
  background: rgba(102, 126, 234, 0.9);
  color: white;
}

.bias-right {
  background: rgba(229, 62, 62, 0.9);
  color: white;
}

.article-content {
  padding: 2rem;
}

.category-tag {
  background: linear-gradient(45deg, #1a365d, #2d5a87);
  color: white;
  padding: 0.4rem 1.2rem;
  border-radius: 25px;
  font-size: 0.85rem;
  display: inline-block;
  margin-bottom: 1rem;
  font-weight: 600;
}

.article-title {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #1a365d;
  font-weight: bold;
  line-height: 1.3;
}

.article-meta {
  display: flex;
  gap: 1rem;
  color: #666;
  font-size: 0.9rem;
  margin-bottom: 1rem;
  align-items: center;
}

.author-avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background-image: url("img/background/Portrait.svg");
  background-size: cover;
  background-position: center;
}

.toiledrol-avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background-image: url("img/background/Toiledrol.svg");
  background-size: cover;
  background-position: center;
}

.anonymouse-avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background-image: url("img/background/Anonymouse.svg");
  background-size: cover;
  background-position: center;
}

.MrX-avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background-image: url("img/background/MrX.svg");
  background-size: cover;
  background-position: center;
}

.article-excerpt {
  color: #4a5568;
  line-height: 1.7;
  font-size: 1.1rem;
}

/* Sidebar */
.sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.poll-tracker {
  background: white;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  border: 1px solid #e2e8f0;
}

.poll-title {
  font-size: 1.3rem;
  color: #1a365d;
  margin-bottom: 1.5rem;
  font-weight: bold;
}

.poll-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
  border-bottom: 1px solid #e2e8f0;
}

.poll-item:last-child {
  border-bottom: none;
}

.candidate-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.party-indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.ref-indicator {
  background: #00bed6;
}
.lab-indicator {
  background: #e53e3e;
}
.con-indicator {
  background: #0087dc;
}

.lib-indicator {
  background: #faa61a;
}

.poll-percentage {
  font-family: EliotLord;
  font-weight: bold;
  color: #1a365d;
}

.trending-topics {
  font-family: EliotLord;
  background: white;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  border: 1px solid #e2e8f0;
}

.trending-item {
  font-family: EliotLord;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid #e2e8f0;
  transition: background 0.2s ease;
}

.trending-item:hover {
  background: #f7fafc;
}

.trending-item:last-child {
  border-bottom: none;
}

.trending-number {
  font-family: EliotLord;
  background: #1a365d;
  color: white;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: bold;
}

.trending-topic {
  font-family: EliotLord;
  font-weight: 500;
  color: #2d3748;
}

/* News Grid */
.news-section {
  font-family: EliotLord;
  margin-top: 3rem;
}

.section-header {
  font-family: EliotLord;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 3px solid #1a365d;
}

.section-title {
  font-family: EliotLord;
  font-size: 2rem;
  color: #1a365d;
  font-weight: bold;
}

.view-all {
  color: #3182ce;
  text-decoration: none;
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  transition: background 0.2s ease;
}

.view-all:hover {
  background: #e6f3ff;
}

.news-grid {
  font-family: EliotLord;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
  gap: 2rem;
}

.news-card {
  font-family: EliotLord;
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  border: 1px solid #e2e8f0;
  transition: all 0.3s ease;
}

.news-card:hover {
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.card-image {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.urgency-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  padding: 0.3rem 0.8rem;
  border-radius: 15px;
  font-size: 0.75rem;
  font-weight: bold;
  text-transform: uppercase;
}

.urgent {
  background: #e53e3e;
  color: white;
}
.breaking {
  background: #ff8c00;
  color: white;
}
.developing {
  background: #38a169;
  color: white;
}

.card-content {
  padding: 1.5rem;
}

.card-title {
  font-size: 1.3rem;
  color: #1a365d;
  margin-bottom: 0.75rem;
  font-weight: bold;
  line-height: 1.4;
}

.card-excerpt {
  color: #4a5568;
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #718096;
  font-size: 0.85rem;
}

/* Congress Tracker */
.congress-tracker {
  font-family: EliotLord;
  background: white;
  border-radius: 12px;
  padding: 2rem;
  margin-top: 2rem;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  border: 1px solid #e2e8f0;
}

.congress-header {
  font-family: EliotLord;
  text-align: center;
  margin-bottom: 2rem;
}

.congress-chambers {
  font-family: EliotLord;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.chamber {
  font-family: EliotLord;
  text-align: center;
  padding: 1.5rem;
  border: 2px solid #e2e8f0;
  border-radius: 8px;
}

.chamber-title {
  font-family: EliotLord;
  font-size: 1.3rem;
  color: #1a365d;
  margin-bottom: 1rem;
  font-weight: bold;
}

.chamber-composition {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 1rem;
}

.party-seat {
  padding: 0.75rem 1.5rem;
  border-radius: 6px;
  color: white;
  font-weight: bold;
}

.con-seats {
  background: #0087dc;
}
.lab-seats {
  background: #e4003b;
}

.lib-seats {
  background: #faa61a;
}

.ref-seats {
  background: #00bed6;
}

.gr-seats {
  background: #02a95b;
}

/* Footer */
.footer {
  font-family: EliotLord;
  background: #1a365d;
  color: white;
  padding: 3rem 0 2rem;
  margin-top: 4rem;
}

.footer-content {
  font-family: EliotLord;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

.footer-sections {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h4 {
  font-family: EliotLord;
  color: #e2e8f0;
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.footer-section a {
  color: #cbd5e0;
  text-decoration: none;
  display: block;
  margin-bottom: 0.5rem;
  transition: color 0.2s ease;
}

.footer-section a:hover {
  color: white;
  font-weight: bold;
}

.footer-bottom {
  font-family: EliotLord;
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid #2d5a87;
  color: #cbd5e0;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .main-layout {
    grid-template-columns: 1fr;
  }

  .electoral-count {
    flex-direction: column;
    gap: 1rem;
  }

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

  .footer-sections {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-container {
    flex-direction: column;
    gap: 1rem;
    padding: 1rem;
  }

  .nav-menu {
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
  }

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

  .nontainer {
    padding: 1rem;
  }

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

  .article-title {
    font-family: EliotLord;
    font-size: 1.6rem;
  }
}

::-webkit-scrollbar {
  width: 12px;
}

::-webkit-scrollbar-track {
  background: #e4003b;
  border-radius: 6px;
}

::-webkit-scrollbar-thumb {
  background: #faa61a;
  border-radius: 6px;
}
