/* ==============================
   Modern Game Hub - Main Styles
   ============================== */

:root {
  --primary-color: #ff9a9e;
  --secondary-color: #fad0c4;
  --accent-color: #ff6b6b;
  --dark-color: #6a5acd;
  --light-color: #ffffff;
  --success-color: #28a745;
  --warning-color: #ffc107;
  --danger-color: #dc3545;
  --info-color: #17a2b8;
  --text-primary: #333333;
  --text-secondary: #666666;
  --bg-primary: #ffffff;
  --bg-secondary: #f8f9fa;
  --bg-tertiary: #e9ecef;
  --border-color: rgba(0, 0, 0, 0.1);
  --card-bg: rgba(255, 255, 255, 0.9);
  --transition: all 0.3s ease;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  --gradient-primary: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  --gradient-secondary: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
}

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

body {
  font-family: 'Poppins', sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

/* ==============================
   Background Animation
   ============================== */

#particles-js {
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: -1;
}

.background-animation {
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: -2;
  overflow: hidden;
  background: linear-gradient(135deg, #ff9a9e 0%, #fad0c4 100%);
}

.floating-shape {
  position: absolute;
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  background: rgba(255, 255, 255, 0.3);
  animation: float 15s infinite linear;
  filter: blur(15px);
  box-shadow: 0 0 40px rgba(255, 255, 255, 0.2);
}

.shape-1 {
  width: 300px;
  height: 300px;
  top: 10%;
  left: 5%;
  animation-duration: 25s;
  animation-direction: reverse;
}

.shape-2 {
  width: 200px;
  height: 200px;
  top: 60%;
  left: 80%;
  animation-duration: 20s;
  background: rgba(255, 255, 255, 0.2);
}

.shape-3 {
  width: 150px;
  height: 150px;
  top: 30%;
  left: 70%;
  animation-duration: 30s;
  background: rgba(255, 255, 255, 0.25);
}

.shape-4 {
  width: 250px;
  height: 250px;
  top: 70%;
  left: 15%;
  animation-duration: 35s;
  background: rgba(255, 255, 255, 0.15);
}

.shape-5 {
  width: 180px;
  height: 180px;
  top: 40%;
  left: 40%;
  animation-duration: 28s;
  background: rgba(255, 255, 255, 0.2);
}

@keyframes float {
  0% {
    transform: translate(0, 0) rotate(0deg);
  }
  25% {
    transform: translate(30px, 25px) rotate(90deg);
  }
  50% {
    transform: translate(0, 50px) rotate(180deg);
  }
  75% {
    transform: translate(-30px, 25px) rotate(270deg);
  }
  100% {
    transform: translate(0, 0) rotate(360deg);
  }
}

/* ==============================
   Main Container
   ============================== */

.main-container {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 1;
}

/* ==============================
   Header Styles
   ============================== */

.modern-header {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 2px solid rgba(255, 154, 158, 0.3);
  padding: 15px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 5px 20px rgba(106, 92, 205, 0.15);
}

.header-content {
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  align-items: center;
  gap: 20px;
}

.header-center {
  display: flex;
  justify-content: center;
}

.logo-section {
  display: flex;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  font-family: 'Orbitron', sans-serif;
  font-weight: 700;
  font-size: 1.8rem;
  color: #6a5acd;
  transition: var(--transition);
  position: relative;
}

.logo:hover {
  transform: scale(1.05);
}

.logo-icon {
  margin-right: 10px;
  color: #ff6b6b;
  animation: pulse 2s infinite;
  font-size: 1.8rem;
}

.logo-text span {
  color: #ff6b6b;
}

@keyframes pulse {
  0% {
    text-shadow: 0 0 5px rgba(255, 107, 107, 0.5);
  }
  50% {
    text-shadow: 0 0 20px rgba(255, 107, 107, 0.8);
  }
  100% {
    text-shadow: 0 0 5px rgba(255, 107, 107, 0.5);
  }
}

.main-nav .nav-list {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 15px;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 12px 20px;
  color: #6a5acd;
  text-decoration: none;
  border-radius: 15px;
  font-weight: 600;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
  background: rgba(255, 107, 107, 0.1);
  gap: 5px;
  min-width: 90px;
  box-shadow: 0 4px 6px rgba(106, 92, 205, 0.1);
  border: 1px solid rgba(255, 211, 214, 0.5);
}

.nav-link i {
  font-size: 1.2rem;
  transition: transform 0.3s ease;
}

.nav-link span {
  font-size: 0.85rem;
}

.nav-link:hover {
  background: #ffd3d6;
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(106, 92, 205, 0.2);
}

.nav-link:hover i {
  transform: scale(1.2);
}

.nav-link.active {
  background: linear-gradient(135deg, #ff9a9e 0%, #fad0c4 100%);
  color: #6a5acd;
  box-shadow: 0 5px 15px rgba(255, 154, 158, 0.4);
}

.nav-link.active:hover {
  transform: translateY(0);
}

.nav-link:before {
  display: none;
}

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 15px;
}

.search-container {
  position: relative;
  max-width: 280px;
  flex: 1;
  max-width: 300px;
}

.search-form {
  display: flex;
  align-items: center;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 4px 20px rgba(106, 92, 205, 0.15);
  border: 2px solid rgba(255, 211, 214, 0.7);
  transition: all 0.3s ease;
  overflow: hidden;
  width: 100%;
}

.search-form:focus-within {
  border-color: #ff6b6b;
  box-shadow: 0 0 20px rgba(255, 107, 107, 0.4);
  transform: translateY(-2px);
}

.search-input {
  padding: 12px 20px;
  border: none;
  background: transparent;
  color: #333333;
  width: 100%;
  font-family: 'Poppins', sans-serif;
  font-size: 0.95rem;
  outline: none;
  flex: 1;
}

.search-input::placeholder {
  color: #a0a0a0;
}

.search-btn {
  padding: 12px 22px;
  background: linear-gradient(135deg, #ff9a9e 0%, #fad0c4 100%);
  color: #6a5acd;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 600;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.search-btn:hover {
  background: #ff6b6b;
  color: white;
  transform: scale(1.05);
}

.mobile-search-toggle {
  display: none;
}

/* 移动端搜索功能改为弹出式 */
.mobile-search-toggle {
  display: none;
}
  
.mobile-search-form {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.95);
  padding: 15px;
  box-shadow: 0 5px 20px rgba(106, 92, 205, 0.2);
  transform: translateY(-100%);
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease;
  backdrop-filter: blur(10px);
  border-bottom: 2px solid rgba(255, 154, 158, 0.3);
  z-index: 1002;
}
  
.mobile-search-form.active {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}
  
.mobile-search-form .search-form {
  max-width: 100%;
}
  
.mobile-search-close {
  position: absolute;
  top: 15px;
  right: 15px;
  background: none;
  border: none;
  color: #6a5acd;
  font-size: 1.5rem;
  cursor: pointer;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.3s ease;
}
  
.mobile-search-close:hover {
  background: #ffd3d6;
  transform: rotate(90deg);
}

.theme-toggle,
.user-menu-btn {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.8);
  border: 2px solid #ffd3d6;
  color: #6a5acd;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-left: 10px;
  font-size: 1.1rem;
  box-shadow: 0 4px 10px rgba(106, 92, 205, 0.1);
}

.theme-toggle:hover,
.user-menu-btn:hover {
  background: #ff6b6b;
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(106, 92, 205, 0.3);
}

.mobile-menu-toggle {
  display: none;
}

/* ==============================
   Main Content
   ============================== */

.main-content {
  flex: 1;
  padding: 40px 0;
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ==============================
   Page Title
   ============================== */

.page-title {
  font-family: 'Orbitron', sans-serif;
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 40px;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  /* -webkit-text-fill-color: transparent; */
  text-shadow: 0 0 20px rgba(106, 17, 203, 0.3);
  position: relative;
}

.page-title:after {
  content: '';
  display: block;
  width: 100px;
  height: 4px;
  background: var(--gradient-primary);
  margin: 15px auto;
  border-radius: 2px;
}

/* ==============================
   Game Cards
   ============================== */

.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.game-card {
  background: rgba(255, 255, 255, 0.9);
  border-radius: 20px;
  overflow: hidden;
  margin-bottom: 30px;
  transition: var(--transition);
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  transform: translateY(0);
}

.game-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(106, 92, 205, 0.2);
  border: 1px solid #ffd3d6;
}

.game-card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: var(--transition);
}

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

.game-card-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background: var(--accent-color);
  color: white;
  padding: 5px 10px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  box-shadow: 0 3px 10px rgba(255, 45, 117, 0.3);
}

.game-card-content {
  padding: 20px;
}

.game-card-title {
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: var(--text-primary);
  font-weight: 700;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.game-card-category {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(106, 17, 203, 0.2);
  color: #3319db;
  border-radius: 20px;
  font-size: 0.8rem;
  margin-bottom: 15px;
}

.game-card-rating {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}

.rating-stars {
  color: #f8b400;
  margin-right: 10px;
}

.rating-value {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.game-card-actions {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.btn {
  padding: 10px 20px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  border: none;
  cursor: pointer;
  font-family: 'Poppins', sans-serif;
  transform: scale(1);
  position: relative;
  overflow: hidden;
}

.btn:active {
  transform: scale(0.95);
}

.btn-primary {
  background: #ffd3d6;
  color: #6a5acd;
  flex: 1;
}

.btn-primary:hover {
  background: #ff6b6b;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(106, 17, 203, 0.3);
}

.btn-primary:active {
  transform: translateY(-2px) scale(0.95);
}

.btn-secondary {
  background: transparent;
  color: #6a5acd;
  border: 1px solid #ffd3d6;
  flex: 1;
}

.btn-secondary:hover {
  background: rgba(255, 107, 107, 0.1);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(106, 92, 205, 0.2);
}

.btn-secondary:active {
  transform: translateY(-2px) scale(0.95);
}

.btn i {
  margin-right: 5px;
}

/* ==============================
   Ripple Effect for Buttons
   ============================== */

.ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.7);
  transform: scale(0);
  animation: ripple-animation 0.6s linear;
  pointer-events: none;
}

@keyframes ripple-animation {
  to {
    transform: scale(2.5);
    opacity: 0;
  }
}

/* ==============================
   Pagination
   ============================== */

.pagination {
  display: flex;
  justify-content: center;
  margin: 50px 0 30px;
  flex-wrap: wrap;
  gap: 10px;
}

.pagination-btn {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: #ffd3d6;
  color: #6a5acd;
  border: none;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  margin: 0 5px;
}

.pagination-btn:hover {
  background: #ff6b6b;
  color: white;
  transform: translateY(-2px);
}

.pagination-btn.active {
  background: #6a5acd;
  color: white;
}

/* ==============================
   Footer Styles
   ============================== */

.footer {
  background: linear-gradient(135deg, #ff9a9e 0%, #fad0c4 100%);
  color: #333333;
  padding: 50px 0 20px;
  position: relative;
  overflow: hidden;
}

/* 添加粉色系的装饰性背景元素 */
.footer:before {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  z-index: 0;
}

.footer:after {
  content: '';
  position: absolute;
  bottom: -80px;
  left: -30px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  z-index: 0;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
  position: relative;
  z-index: 1;
}

.footer-logo {
  font-size: 1.8rem;
  margin-bottom: 20px;
  color: #fff;
  font-family: 'Orbitron', sans-serif;
  display: flex;
  align-items: center;
}

.footer-logo i {
  margin-right: 10px;
  color: #fff;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.footer-description {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 20px;
  line-height: 1.7;
}

.social-links {
  display: flex;
  gap: 15px;
}

.social-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-decoration: none;
  transition: var(--transition);
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(5px);
}

.social-link:hover {
  background: rgba(255, 255, 255, 0.4);
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.footer-title {
  font-size: 1.3rem;
  margin-bottom: 20px;
  color: #fff;
  position: relative;
  padding-bottom: 10px;
}

.footer-title:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background: rgba(255, 255, 255, 0.7);
  border-radius: 2px;
}

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

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

.footer-links a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  display: flex;
  align-items: center;
  padding: 8px 0;
  transition: var(--transition);
}

.footer-links a:hover {
  color: #fff;
  transform: translateX(5px);
}

.footer-links a:before {
  content: '»';
  margin-right: 10px;
  color: #fff;
}

.newsletter-description {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 20px;
  line-height: 1.7;
}

.newsletter-form {
  display: flex;
  gap: 10px;
}

.newsletter-input {
  flex: 1;
  padding: 12px 15px;
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  font-family: 'Poppins', sans-serif;
  backdrop-filter: blur(5px);
}

.newsletter-input::placeholder {
  color: rgba(255, 255, 255, 0.7);
}

.newsletter-input:focus {
  outline: none;
  border-color: rgba(255, 255, 255, 0.6);
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.newsletter-btn {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.3);
  color: #fff;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(5px);
}

.newsletter-btn:hover {
  background: rgba(255, 255, 255, 0.5);
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.3);
  color: rgba(255, 255, 255, 0.8);
  position: relative;
  z-index: 1;
}

.footer-bottom i {
  color: #fff;
  animation: heartbeat 1.5s infinite;
  text-shadow: 0 0 5px rgba(255, 255, 255, 0.5);
}

@keyframes heartbeat {
  0% { transform: scale(1); }
  5% { transform: scale(1.2); }
  10% { transform: scale(1); }
  15% { transform: scale(1.2); }
  20% { transform: scale(1); }
  100% { transform: scale(1); }
}

/* ==============================
   Responsive Design
   ============================== */

@media (max-width: 1024px) {
  .header-content {
    grid-template-columns: 1fr auto 1fr;
  }
  
  .main-nav .nav-list {
    gap: 8px;
  }
  
  .nav-link {
    padding: 10px 15px;
    min-width: 80px;
  }
  
  .search-input {
    width: 180px;
  }
  
  .search-input:focus {
    width: 200px;
  }
}

@media (max-width: 768px) {
  .header-content {
    grid-template-columns: 1fr auto;
    position: relative;
  }
  
  .header-center {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    padding: 15px;
    box-shadow: 0 10px 20px rgba(106, 92, 205, 0.1);
    border-radius: 0 0 20px 20px;
    transform: translateY(-10px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 154, 158, 0.3);
    z-index: 1001;
  }
  
  .header-center.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  
  .main-nav .nav-list {
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
  }
  
  .nav-link {
    padding: 12px 15px;
    min-width: auto;
  }
  
  .nav-link span {
    font-size: 0.75rem;
  }
  
  .mobile-menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.8);
    border: 2px solid #ffd3d6;
    color: #6a5acd;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.2rem;
    box-shadow: 0 4px 10px rgba(106, 92, 205, 0.1);
    z-index: 1001;
  }
  
  .mobile-menu-toggle:hover {
    background: #ff6b6b;
    color: white;
    transform: rotate(90deg);
  }
  
  .header-actions {
    justify-content: flex-end;
    align-items: center;
  }
  
  .search-container {
    display: none;
  }
  
  .user-actions {
    display: flex;
    align-items: center;
    gap: 10px;
  }
  
  /* 移动端搜索功能改为弹出式 */
  .mobile-search-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.8);
    border: 2px solid #ffd3d6;
    color: #6a5acd;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.2rem;
    box-shadow: 0 4px 10px rgba(106, 92, 205, 0.1);
    margin-left: 10px;
  }
  
  .mobile-search-toggle:hover {
    background: #ff6b6b;
    color: white;
    transform: scale(1.1);
  }
  
  .mobile-search-form {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    padding: 15px;
    box-shadow: 0 5px 20px rgba(106, 92, 205, 0.2);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
    backdrop-filter: blur(10px);
    border-bottom: 2px solid rgba(255, 154, 158, 0.3);
    z-index: 1002;
  }
  
  .mobile-search-form.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  
  .mobile-search-form .search-form {
    max-width: 100%;
  }
  
  .mobile-search-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    color: #6a5acd;
    font-size: 1.5rem;
    cursor: pointer;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
  }
  
  .mobile-search-close:hover {
    background: #ffd3d6;
    transform: rotate(90deg);
  }
  
  .theme-toggle,
  .user-menu-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.8);
    border: 2px solid #ffd3d6;
    color: #6a5acd;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-left: 10px;
    font-size: 1.1rem;
    box-shadow: 0 4px 10px rgba(106, 92, 205, 0.1);
  }
  
  .theme-toggle:hover,
  .user-menu-btn:hover {
    background: #ff6b6b;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(106, 92, 205, 0.3);
  }
}

@media (max-width: 576px) {
  .header-content {
    grid-template-columns: auto 1fr auto;
  }
  
  .logo-text {
    font-size: 1.4rem;
  }
  
  .logo-icon {
    font-size: 1.4rem;
  }
  
  .nav-link {
    padding: 10px 12px;
  }
  
  .nav-link i {
    font-size: 1rem;
  }
  
  .nav-link span {
    font-size: 0.65rem;
  }
  
  .theme-toggle,
  .user-menu-btn,
  .mobile-search-toggle {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }
  
  .mobile-menu-toggle {
    width: 40px;
    height: 40px;
    font-size: 1.1rem;
  }
  
  .header-center.active ~ .header-actions .search-container {
    right: 10px;
    left: 10px;
    max-width: none;
    margin-top: 10px;
  }
  
  .search-input {
    padding: 10px 15px;
    font-size: 0.9rem;
  }
  
  .search-btn {
    padding: 10px 18px;
    font-size: 0.9rem;
  }
}