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

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

@font-face {
  font-family: Foxboto;
  src: url(Fonts/Poxboto-Regular.otf);
}

body {
  font-family: Foxboto;
  background-color: #f5f5f5;
  cursor: url(img/background/cursors/Cursor.svg), auto;
}

body::selection {
  background: #143565;
  color: white;
  text-shadow: none;
}

body::-moz-selection {
  background: #143565;
  color: white;
  text-shadow: none;
}

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

body::-webkit-scrollbar-track {
  box-shadow: inset 0 0 6px #003366;
}

body::-webkit-scrollbar-thumb {
  background-color: #003366;
  outline: 1px solid #003366;
  border-radius: 10px;
}

body::-webkit-scrollbar-thumb:hover {
  background-color: #163a8a;
  cursor: url(img/background/Pointer.svg), pointer;
}

.fox-nav {
  background-color: #003366;
  padding: 0;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  position: relative;
  padding-top: 30px;
}

.nav-content {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 20px;
  position: relative;
}

.logo-container {
  position: absolute;
  left: 20px;
  top: -30px;
  z-index: 10;
  background: white;
  padding: 5px 15px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  cursor: url(img/background/Pointer.svg), pointer;
  width: 12vw;
  min-width: 120px;
  max-width: 180px;
}

.nav-logo {
  width: 100%;
  height: auto;
  display: block;
}

.logo-overlay {
  position: absolute;
  bottom: 5px;
  left: 15px;
  right: 15px;
  background-color: #c8102e;
  color: white;
  padding: 0.5vw 10px;
  font-size: clamp(10px, 1vw, 16px);
  font-weight: bold;
  text-align: center;
  letter-spacing: 0.5px;
  border-radius: 3px;
  cursor: url(img/background/Pointer.svg), pointer;
  transition: all 0.3s ease;
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: url(img/background/Pointer.svg), pointer;
  padding: 10px;
  margin-left: auto;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background-color: white;
  margin: 3px 0;
  transition: 0.3s;
}

.nav-menu {
  display: flex;
  gap: 2vw;
  align-items: center;
  flex: 1;
  justify-content: center;
  margin-left: 13vw;
  position: relative;
}

.menu-close {
  display: none;
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  font-size: 40px;
  color: white;
  cursor: url(img/background/Pointer.svg), pointer;
  z-index: 1000;
}

.menu-close:hover {
  color: #c8102e;
}

.nav-menu a {
  color: white;
  text-decoration: none;
  font-size: 2.5dvw;
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: all 0.2s;
  padding: 10px 1vw;
  border-radius: 3px;
  white-space: nowrap;
  cursor: url(img/background/cursors/Cursor.svg), auto;
}

.nav-menu a:hover {
  background-color: #4d668a;
  cursor: url(img/background/Pointer.svg), pointer;
}

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

.nav-timer {
  background-color: #c8102e;
  color: white;
  padding: 0.5vw 1.5vw;
  font-size: clamp(16px, 1.5vw, 22px);
  font-weight: bold;
  letter-spacing: 1px;
  border-radius: 3px;
  white-space: nowrap;
}

.red-bar {
  background-color: #c8102e;
  height: 4px;
  width: 100%;
}

.container {
  max-width: 1400px;
  margin: 30px auto;
  padding: 0 20px;
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
}

.game-section {
  flex: 1;
  min-width: 300px;
  background: white;
  padding: 30px;
  border-radius: 5px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  max-height: calc(100vh - 200px);
}

.game-section h1 {
  font-size: clamp(16px, 1.5vw, 24px);
  margin-bottom: 15px;
  flex-shrink: 0;
}

.words-section {
  width: 300px;
  background: white;
  border-radius: 5px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  border-left: 4px solid #c8102e;
  padding: 20px;
}

.words-section h2 {
  color: #003366;
  margin-bottom: 20px;
  font-size: 24px;
  border-bottom: 2px solid #c8102e;
  padding-bottom: 10px;
}

.ws-area {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px;
  background: #f8f9fa;
  border-radius: 5px;
  border: 2px solid #003366;
  width: 100%;
  max-height: calc(100vh - 400px);
  overflow: hidden;
  box-sizing: border-box;
}

.ws-row {
  display: flex;
  justify-content: center;
  flex-wrap: nowrap;
}

.ws-col {
  cursor: url(img/background/cursors/Cursor.svg), auto;
  margin: 2px;
  border-radius: 3px;
  transition: all 0.15s ease;
  flex-shrink: 0;
}

.ws-col:hover {
  transform: scale(1.05);
  cursor: url(img/background/Pointer.svg), pointer;
}
.ws-selected {
  background-color: #c8102e !important;
}
.ws-found {
  background-color: #003366 !important;
}
.ws-hint {
  background-color: #ffc107 !important;
}

.ws-words {
  font-size: 2dvw;
  list-style: none;
  padding: 0;
}

.ws-word {
  padding: 10px 15px;
  margin: 8px 0;
  background: #f8f9fa;
  border-left: 3px solid #003366;
  font-size: 2dvw;
  color: #333;
  transition: all 0.3s;
  cursor: url(img/background/Pointer.svg), pointer;
  position: relative;
}

.ws-word:hover {
  background: #e9ecef;
  border-left-color: #c8102e;
}

.ws-word.hint-used {
  background: #fff3cd;
  border-left-color: #ffc107;
}

.ws-word del {
  color: #28a745;
  text-decoration: line-through;
  opacity: 0.6;
}

.hint-indicator {
  font-size: 12px;
  color: #ffc107;
  margin-left: 8px;
  font-style: italic;
}

.ws-game-over-outer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 51, 102, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  animation: fadeIn 0.3s;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.ws-game-over-inner {
  background: white;
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  max-width: 500px;
  border-top: 5px solid #c8102e;
}

.ws-close-btn {
  position: absolute;
  top: 10px;
  right: 15px;
  background: none;
  border: none;
  font-size: 36px;
  color: #999;
  cursor: url(img/background/Pointer.svg), pointer;
}

.ws-close-btn:hover {
  color: #c8102e;
}

.ws-game-over h2 {
  color: #003366;
  font-size: 32px;
  text-align: center;
  margin-bottom: 15px;
}

.ws-game-over p {
  color: #666;
  font-size: 20px;
  text-align: center;
}

@media (max-width: 900px) {
  .hamburger {
    display: flex;
    margin-left: auto;
  }

  .menu-close {
    display: block;
  }

  .nav-menu {
    position: fixed;
    left: -100%;
    top: 0;
    flex-direction: column;
    background-color: #003366;
    width: 100%;
    height: 100vh;
    text-align: center;
    transition: 0.3s;
    padding-top: 60px;
    margin-left: 0;
    z-index: 999;
    justify-content: flex-start;
    gap: 0;
  }

  .nav-menu.active {
    left: 0;
  }

  .nav-menu a {
    font-family: Foxboto;
    padding: 20px;
    width: 100%;
    border-bottom: 1px solid #4d668a;
  }

  .logo-container {
    left: 10px;
    width: 100px;
    min-width: 100px;
  }

  .nav-content {
    padding: 10px;
  }
}

@media (max-width: 768px) {
  .container {
    flex-direction: column;
  }
  .words-section {
    width: 100%;
  }
  .fox-nav {
    padding-top: 40px;
  }
  .logo-container {
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    top: -20px;
  }
  .game-section {
    padding: 15px;
    max-height: calc(100vh - 250px);
  }
  .game-section h1 {
    font-size: 14px;
    margin-bottom: 10px;
  }
  .ws-area {
    padding: 5px;
    max-height: calc(100vh - 350px);
  }
  .ws-col {
    margin: 1px;
  }
}

/* Footer Styles */
.fox-footer {
  background-color: #003366;
  color: white;
  padding: 40px 20px 20px;
  margin-top: 60px;
}

.footer-content {
  max-width: 1400px;
  margin: 0 auto;
}

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

.footer-section h3 {
  color: white;
  font-size: 2dvw;
  font-weight: 700;
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-section li {
  margin-bottom: 8px;
}

.footer-section a {
  color: #ccc;
  text-decoration: none;
  font-size: 1.5dvw;
  transition: color 0.2s;
}

.footer-section a:hover {
  color: white;
  text-decoration: underline;
}

.footer-social {
  display: flex;
  gap: 15px;
  justify-content: center;
  padding: 20px 0;
  border-top: 1px solid #4d668a;
  border-bottom: 1px solid #4d668a;
  margin-bottom: 20px;
}

.footer-social a {
  color: white;
  font-size: 20px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #4d668a;
  border-radius: 50%;
  transition: background-color 0.2s;
}

.footer-social a:hover {
  background-color: #c8102e;
}

.footer-legal {
  text-align: center;
  font-size: 11px;
  color: #999;
  line-height: 1.6;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
  margin-bottom: 15px;
}

.footer-links a {
  color: #999;
  text-decoration: none;
  font-size: 1.3dvw;
}

.footer-links a:hover {
  color: white;
  text-decoration: underline;
}

@media (max-width: 768px) {
  .footer-sections {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }

  .footer-social {
    flex-wrap: wrap;
  }
}

@media (max-width: 480px) {
  .footer-sections {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   ADD THIS CSS TO YOUR wordsearch.css FILE
   ============================================ */

/* Trending Bar */
.trending-bar {
  background-color: #fff;
  border-bottom: 1px solid #e0e0e0;
  position: relative;
  z-index: 5;
}

.trending-content {
  max-width: 1400px;
  margin: 0 auto;
  padding: 10px 20px 10px 220px;
  display: flex;
  align-items: center;
  gap: 30px;
}

.trending-label {
  color: #c8102e;
  font-weight: bold;
  font-size: 1.4dvw;
  letter-spacing: 0.5px;
}

.trending-item {
  color: #003366;
  text-decoration: none;
  font-size: 1.4dvw;
  font-weight: 700;
  transition: color 0.2s;
  white-space: nowrap;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.trending-item:hover {
  color: #c8102e;
  cursor: url(img/background/Pointer.svg), pointer;
}

.stock-ticker {
  margin-left: auto;
  font-size: 1.4dvw;
  font-weight: 600;
  color: #003366;
  white-space: nowrap;
}

.stock-change {
  color: #c8102e;
  margin-left: 5px;
}

/* Yellow Banner */
.sign-in-banner {
  background-color: #ffd966;
  padding: 15px 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-bottom: 3px solid #b8860b;
  position: relative;
  z-index: 5;
}

.banner-content {
  display: flex;
  align-items: center;
  gap: 20px;
  max-width: 1400px;
  width: 100%;
  padding-left: 220px;
}

.banner-content span {
  font-weight: bold;
  font-size: 1.2dvw;
  flex: 1;
}

.banner-arrow {
  background: #000;
  color: #fff;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
  transition: transform 0.2s;
}

.banner-arrow:hover {
  transform: scale(1.1);
  cursor: url(img/background/Pointer.svg), pointer;
}

/* Main Content */
.main-content {
  max-width: 1400px;
  margin: 40px auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1fr 350px;
  gap: 30px;
}

/* Featured Article */
.featured-article {
  grid-column: 1;
  margin-bottom: 30px;
}

.article-image-container {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  background: #000;
}

.article-image-container img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s;
}

.article-image-container:hover img {
  transform: scale(1.05);
}

.image-label {
  position: absolute;
  top: 20px;
  left: 20px;
  background: rgba(0, 0, 0, 0.8);
  color: #fff;
  padding: 8px 16px;
  font-weight: bold;
  font-size: 14px;
  letter-spacing: 1px;
}

.article-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.9));
  padding: 60px 20px 20px;
}

.article-title {
  color: #fff;
  font-size: 32px;
  font-weight: bold;
  margin: 0;
  line-height: 1.2;
}

.featured-text {
  margin-top: 15px;
}

.featured-text h2 {
  font-size: 24px;
  color: #003366;
  font-weight: 600;
  margin: 0;
}

/* Articles Grid */
.articles-grid {
  grid-column: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.grid-article {
  cursor: pointer;
  transition: transform 0.2s;
}

.grid-article:hover {
  transform: translateY(-5px);
  cursor: url(img/background/Pointer.svg), pointer;
}

.grid-article .article-image-container {
  margin-bottom: 12px;
  height: 200px;
}

.grid-article .article-image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.grid-article-title {
  font-size: 18px;
  color: #003366;
  font-weight: 600;
  margin: 0 0 10px 0;
  line-height: 1.3;
}

.article-meta {
  display: flex;
  gap: 15px;
  color: #666;
  font-size: 14px;
}

/* Sidebar */
.sidebar {
  grid-column: 2;
  grid-row: 1 / -1;
  position: sticky;
  top: 20px;
  height: fit-content;
}

.sidebar-section {
  background: #f5f5f5;
  border-radius: 4px;
  padding: 20px;
  margin-bottom: 20px;
}

.live-tv {
  background: #003d7a;
  color: #fff;
  text-align: center;
}

.live-header {
  background: #c8102e;
  padding: 15px;
  margin: -20px -20px 15px;
  font-weight: bold;
  font-size: 16px;
  border-radius: 4px 4px 0 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.live-header::before {
  content: "●";
  color: #fff;
  font-size: 12px;
  animation: pulse 2s infinite;
}

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

.watch-live-btn {
  background: #c8102e;
  color: #fff;
  border: none;
  padding: 12px 20px;
  width: 100%;
  font-size: 16px;
  font-weight: bold;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.2s;
}

.watch-live-btn:hover {
  background: #a00d24;
  cursor: url(img/background/Pointer.svg), pointer;
}

.channels {
  background: #fff;
  border: 1px solid #ddd;
}

.channel-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px 0;
  border-bottom: 1px solid #eee;
}

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

.channel-logo {
  width: 50px;
  height: 50px;
  object-fit: contain;
  background: #003d7a;
  border-radius: 4px;
  padding: 5px;
}

.channel-info {
  flex: 1;
}

.channel-info h4 {
  margin: 0 0 5px 0;
  font-size: 14px;
  color: #003366;
  font-weight: 600;
}

.channel-info p {
  margin: 0;
  font-size: 20px;
  color: #666;
}

.lock-icon {
  font-size: 18px;
}

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

  .sidebar {
    grid-row: auto;
    position: static;
  }

  .banner-content {
    padding-left: 20px;
  }

  .trending-content {
    padding-left: 20px;
  }
}

@media (max-width: 900px) {
  .trending-bar {
    display: none;
  }

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

@media (max-width: 768px) {
  .articles-grid {
    grid-template-columns: 1fr;
  }

  .article-title {
    font-size: 24px;
  }

  .featured-text h2 {
    font-size: 18px;
  }

  .banner-content {
    flex-direction: column;
    text-align: center;
    gap: 15px;
  }

  .banner-content span {
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  .banner-content span {
    font-size: 14px;
  }

  .banner-arrow {
    width: 35px;
    height: 35px;
    font-size: 18px;
  }
}
