* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', 'Comic Sans MS', 'Arial', sans-serif;
}

body {
    background: linear-gradient(54deg, #2c3e50, #3f4751, #5b5453);
    color: #f7e1e9;
    line-height: 1.6;
    min-height: 100vh;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 15px;
}

/* Navbar */
.navbar {
  background-color: rgba(52, 73, 94, 0.9);
  padding: 10px 0;
  margin-bottom: 15px;
  border-radius: 15px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.navbar ul {
  list-style: none;
  display: flex;
  justify-content: center;
}

.navbar li {
  margin: 0 8px;
}

.navbar a {
  color: #f7e1e9;
  text-decoration: none;
  font-size: 16px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 10px;
  border: 2px solid #ffca28;
  background-color: rgba(255, 202, 40, 0.1);
  transition: background-color 0.3s, transform 0.3s, border-color 0.3s;
}

.navbar a:hover {
  background-color: #ffca28;
  color: #2c3e50;
  border-color: #e74c3c;
  transform: scale(1.1);
}

/* Logo Area */
.logo-area {
    text-align: center;
    padding: 15px 0;
    background: linear-gradient(135deg, #505a61, #604a68);
    border-radius: 20px;
    margin-bottom: 15px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.logo-area img {
  width: 100%;
  max-width: 180px;
  height: 80px;
  
}

@keyframes bounce {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-15px) rotate(5deg); }
}

/* Notice Area */
.notice-area {
  background-color: rgba(52, 73, 94, 0.9);
  padding: 10px;
  border-radius: 15px;
  margin-bottom: 15px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
  font-size: 14px;
  color: #f7e1e9;
  border: 2px solid #ffca28;
}

/* Banner Area */
.banner-area {
  margin-bottom: 5px;
  border-radius: 15px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
  padding: 4px;
  background-color: rgba(52, 73, 94, 0.9);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.banner-area a {
  display: block;
  text-decoration: none;
  width: 100%;
}

.banner-area img {
  width: 100%;
  max-width: 100%;
  height: 50px;
  object-fit: cover;
  border-radius: 10px;
 
  transition: transform 0.3s;
  display: block;
}



/* Icon, Video, Nav, Novel Areas */
.icon-area, .video-area, .nav-area, .novel-area {
    background-color: #3439418f;
    color: #f1eeef;
    padding: 12px;
    border-radius: 15px;
    margin-bottom: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    border: 2px solid #666359;
}

.section-title {
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 5px;
    color: #f872b6;
    display: flex
;
    align-items: center;
}

.section-title::before {
 
  margin-right: 8px;
  font-size: 26px;
  animation: sparkle 1.5s infinite;
}

@keyframes sparkle {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.icon-grid, .video-grid, .nav-grid, .novel-grid {
  display: grid;
  grid-template-columns: repeat(10, 1fr);
  gap: 8px;
  text-align: center;
}

.icon-grid a {
    font-size: 13px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: var(--section-text, #f7e1e9);
  padding: 6px;
  border-radius: 8px;
  transition: transform 0.3s, background-color 0.3s;
}

.video-grid a, .nav-grid a, .novel-grid a {
  text-decoration: none;
  font-size: 16px;
  color: var(--section-text, #f7e1e9);
  padding: 6px;
  border-radius: 8px;
  white-space: nowrap;
  overflow: hidden;
  transition: transform 0.3s, background-color 0.3s;
}

@media screen and (max-width: 768px) {
    
    .video-grid a, .nav-grid a, .novel-grid a {
  text-decoration: none;
  font-size: 14px;
  color: var(--section-text, #f7e1e9);
  padding: 2px;
  border-radius: 8px;
  white-space: nowrap;
  overflow: hidden;
  transition: transform 0.3s, background-color 0.3s;
}
    
    
}

.icon-grid a:hover, .video-grid a:hover, .nav-grid a:hover, .novel-grid a:hover {
  transform: scale(1.05);
  background-color: rgba(255, 202, 40, 0.2);
}

.icon-grid img {
  width: 100%;
  max-width: 65px;
  height: 65px;
  border-radius: 15px;
  margin-bottom: 6px;
  object-fit: cover;
}

/* Footer */
.footer {
  background-color: rgba(52, 73, 94, 0.9);
  color: #f7e1e9;
  padding: 15px;
  text-align: center;
  border-radius: 15px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
  border: 2px solid #ffca28;
}

.footer a {
  color: #ffca28;
  text-decoration: none;
  transition: color 0.3s;
  margin: 0 5px;
}

.footer a:hover {
  color: #e74c3c;
}

.apply-btn {
  background-color: #355949;
  color: #f7e1e9;
  padding: 10px 20px;
  border: 2px solid #ffca28;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s, transform 0.3s;
  margin-top: 8px;
  font-size: 14px;
  font-weight: 600;
}

.apply-btn:hover {
  background-color: #e74c3c;
  transform: scale(1.1);
}

/* Responsive Design */
@media (max-width: 768px) {
   .video-grid, .nav-grid, .novel-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;}
    
    .icon-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;}
  }
  
  

  .banner-area {
    padding: 6px;
    gap: 4px;
  }

  .banner-area img {
    width: 100%;
    max-width: 100%;
    height: auto;
    object-fit: cover;
  }

  .container {
    padding: 8px;
  }

  .navbar ul {
    flex-wrap: wrap;
  }

  .navbar li {
    margin: 4px;
  }

  .navbar a {
    font-size: 14px;
    padding: 5px 10px;
  }


  .logo-area img {
    width: 100%;
    max-width: 380px;
    height: auto;
  }
  
  @media screen and (max-width: 768px) {
      
      .logo-area img {
    width: 100%;
    max-width: 300px;
    height: auto;
  }
  }

  .icon-grid img {
    max-width: 50px;
    height: 50px;
  }

  .section-title {
    font-size: 18px;
  }

  .section-title::before {
    font-size: 22px;
    margin-right: 6px;
  }

  .notice-area {
    font-size: 16px;
  }

  .footer {
    font-size: 13px;
  }

  .apply-btn {
    font-size: 13px;
    padding: 8px 15px;
  }
}