#updates-section {
  padding: 10rem 0;
  position: relative;
  overflow: hidden;
}

.updates-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

.updates-header {
  text-align: center;
  margin-bottom: 8rem;
}

.updates-header h2 {
  font-size: 4.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, #7dd3fc 0%, #6366f1 50%, #a855f7 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 2rem;
}

.updates-header p {
  font-size: 1.6rem;
  color: rgba(255, 255, 255, 0.9);
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.7;
}

.updates-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
  gap: 3rem;
  perspective: 2000px;
}

.update-card {
  background: linear-gradient(145deg, 
    rgba(30, 35, 55, 0.9) 0%, 
    rgba(20, 25, 40, 0.95) 50%,
    rgba(15, 20, 35, 1) 100%);
  border-radius: 24px;
  padding: 3rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(60px) scale(0.95);
  box-shadow: 
    0 20px 40px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  min-height: 400px;
}

.update-card.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  animation: cardReveal 0.8s cubic-bezier(0.23, 1, 0.32, 1) forwards;
}

@keyframes cardReveal {
  0% {
    opacity: 0;
    transform: translateY(60px) scale(0.95);
  }
  60% {
    transform: translateY(-8px) scale(1.02);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.update-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.08), transparent);
  transition: left 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.update-card:hover::before {
  left: 100%;
}

.update-card::after {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(45deg, #7dd3fc, #6366f1, #a855f7, #f59e0b, #7dd3fc);
  background-size: 400% 400%;
  z-index: -1;
  border-radius: 26px;
  opacity: 0;
  transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
  animation: gradientFlow 6s ease infinite;
  filter: blur(12px);
}

@keyframes gradientFlow {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.update-card:hover {
  transform: translateY(-15px) scale(1.03) rotateX(-2deg);
  box-shadow: 
    0 40px 80px rgba(125, 211, 252, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  border-color: rgba(125, 211, 252, 0.4);
}

.update-card:hover::after {
  opacity: 0.7;
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 2rem;
  position: relative;
  z-index: 1;
}

.card-badge {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.update-icon {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  background: linear-gradient(135deg, #7dd3fc 0%, #6366f1 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
  box-shadow: 0 8px 25px rgba(99, 102, 241, 0.4);
}

.update-card:hover .update-icon {
  transform: scale(1.15) rotate(8deg);
  background: linear-gradient(135deg, #6366f1 0%, #a855f7 100%);
  box-shadow: 0 12px 35px rgba(168, 85, 247, 0.6);
}

.update-icon i {
  font-size: 1.5rem;
  color: white;
  transition: transform 0.4s ease;
}

.update-card:hover .update-icon i {
  transform: scale(1.1);
}

.update-date {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 600;
  transition: color 0.3s ease;
}

.update-card:hover .update-date {
  color: rgba(255, 255, 255, 0.95);
}

.update-tag {
  padding: 0.6rem 1.2rem;
  border-radius: 12px;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.tag-roblox {
  background: rgba(226, 67, 67, 0.2);
  color: #ff6b6b;
}

.tag-website {
  background: rgba(67, 156, 226, 0.2);
  color: #4fc3f7;
}

.tag-executor {
  background: rgba(125, 211, 252, 0.2);
  color: #7dd3fc;
}

.tag-script {
  background: rgba(158, 119, 237, 0.2);
  color: #9575cd;
}

.tag-tool {
  background: rgba(16, 185, 129, 0.2);
  color: #10b981;
}

.update-card:hover .update-tag {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.card-content {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.update-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: white;
  margin-bottom: 1.5rem;
  line-height: 1.3;
  background: linear-gradient(135deg, #ffffff 0%, #e2e8ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  transition: all 0.4s ease;
}

.update-card:hover .update-title {
  background: linear-gradient(135deg, #ffffff 0%, #c7d2fe 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

.update-description {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2rem;
  line-height: 1.6;
  font-size: 1.1rem;
  transition: color 0.3s ease;
}

.update-card:hover .update-description {
  color: rgba(255, 255, 255, 0.95);
}

.update-features {
  list-style: none;
  margin: 0 0 auto 0;
  padding: 0;
  flex: 1;
}

.update-features li {
  padding: 0.8rem 0;
  display: flex;
  align-items: center;
  color: rgba(255, 255, 255, 0.9);
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  position: relative;
  overflow: hidden;
}

.update-features li:last-child {
  border-bottom: none;
}

.update-features li:hover {
  color: white;
  transform: translateX(10px);
  background: rgba(255, 255, 255, 0.05);
  padding-left: 1rem;
}

.update-features li::before {
  content: '→';
  color: #7dd3fc;
  font-weight: 700;
  margin-right: 1rem;
  font-size: 1.2em;
  transition: all 0.4s ease;
  text-shadow: 0 0 10px rgba(125, 211, 252, 0.5);
}

.update-features li:hover::before {
  transform: translateX(6px) scale(1.3);
  color: #6366f1;
  text-shadow: 0 0 15px rgba(99, 102, 241, 0.8);
}

.update-features li::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(125, 211, 252, 0.1), transparent);
  transition: left 0.7s ease;
}

.update-features li:hover::after {
  left: 100%;
}

.card-actions {
  margin-top: auto;
  position: relative;
  z-index: 1;
}

.action-btn {
  padding: 1.2rem 2rem;
  border-radius: 14px;
  font-size: 1.05rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  position: relative;
  overflow: hidden;
  width: 100%;
  justify-content: center;
  box-shadow: 0 8px 25px rgba(99, 102, 241, 0.3);
}

.action-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
  transition: left 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.action-btn:hover::before {
  left: 100%;
}

.action-btn i {
  font-size: 1.1rem;
  transition: all 0.4s ease;
}

.action-btn:hover i {
  transform: translateX(5px) scale(1.1);
}

.btn-primary {
  background: linear-gradient(135deg, #7dd3fc 0%, #6366f1 100%);
  color: white;
}

.btn-primary:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 15px 35px rgba(99, 102, 241, 0.5);
  background: linear-gradient(135deg, #6366f1 0%, #a855f7 100%);
}

.priority-indicator {
  position: absolute;
  top: 2rem;
  right: 2rem;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  z-index: 2;
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.update-card:hover .priority-indicator {
  transform: scale(1.4);
  box-shadow: 0 0 20px currentColor;
}

.priority-high {
  background: #ff6b6b;
  box-shadow: 0 0 15px rgba(255, 107, 107, 0.5);
}

.priority-medium {
  background: #ffd93d;
  box-shadow: 0 0 15px rgba(255, 217, 61, 0.5);
}

.priority-low {
  background: #6bcf7f;
  box-shadow: 0 0 15px rgba(107, 207, 127, 0.5);
}

@media (max-width: 1200px) {
  .updates-grid {
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2.5rem;
  }
}

@media (max-width: 768px) {
  .updates-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .update-card {
    padding: 2.5rem;
    min-height: 380px;
  }
  
  .updates-header h2 {
    font-size: 3.5rem;
  }
  
  .card-header {
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  .updates-container {
    padding: 0 1.5rem;
  }
  
  .update-card {
    padding: 2rem;
    min-height: 360px;
  }
  
  .updates-header h2 {
    font-size: 3rem;
  }
  
  .update-title {
    font-size: 1.6rem;
  }
}