.main-content {
  min-height: 100vh;
}

.glass-effect {
  background: rgba(12, 12, 20, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(251, 251, 251, 0.08);
}

@property --border-angle {
  syntax: '<angle>';
  inherits: false;
  initial-value: 0deg;
}

.category-card {
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.75);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  z-index: 1;
}

.category-card::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 2rem;
  padding: 2px;
  background: conic-gradient(from var(--border-angle), transparent 70%, #FBFBFB 100%);
  -webkit-mask: linear-gradient(#FBFBFB 0 0) content-box, linear-gradient(#FBFBFB 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#FBFBFB 0 0) content-box, linear-gradient(#FBFBFB 0 0);
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  animation: rotate-border 3s linear infinite paused;
}

.category-card:hover::before {
  opacity: 1;
  animation-play-state: running;
}

@keyframes rotate-border {
  from {
    --border-angle: 0deg;
  }
  to {
    --border-angle: 360deg;
  }
}

.category-card:hover {
  transform: none;
}

.category-disabled {
  opacity: 0.6;
  cursor: not-allowed !important;
  pointer-events: none;
}

.category-disabled:hover::before {
  opacity: 0;
  animation-play-state: paused;
}

.tutorial-modal-overlay {
  transition: opacity 0.3s ease-out;
}

.tutorial-modal {
  transition: all 0.3s ease-out;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8);
  max-height: 90vh;
  overflow-y: auto;
}

.tutorial-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  grid-auto-rows: 1fr;
}

@media (min-width: 768px) {
  .tutorial-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .tutorial-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.tutorial-item-modal {
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.75);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  width: 100%;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.tutorial-item-modal h3 {
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
}

.tutorial-item-modal .backend-description {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  line-height: 1.6;
}

.watch-tutorial-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  background: linear-gradient(135deg, #FBFBFB 0%, #f0f0f0 100%);
  color: #0f172a;
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
  font-size: 0.875rem;
  padding: 0.75rem 1.5rem;
  border-radius: 0.75rem;
  text-decoration: none;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 15px rgba(251, 251, 251, 0.2), 
              0 0 20px rgba(251, 251, 251, 0.1);
  border: 2px solid rgba(251, 251, 251, 0.3);
  width: 100%;
}

.watch-tutorial-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(251, 251, 251, 0.8), transparent);
  transition: left 0.5s;
}

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

.watch-tutorial-btn:hover {
  box-shadow: 0 8px 30px rgba(251, 251, 251, 0.4),
              0 0 40px rgba(251, 251, 251, 0.2);
  background: linear-gradient(135deg, #FBFBFB 0%, #FBFBFB 100%);
  transform: translateY(-2px);
}

.watch-tutorial-btn:active {
  transform: translateY(0) scale(0.98);
}

.watch-tutorial-btn svg {
  transition: transform 0.3s ease;
}

.watch-tutorial-btn:hover svg {
  transform: scale(1.1);
}

.tutorial-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: #e5e7eb;
  font-family: 'Raleway', sans-serif;
}

.tutorial-subtitle {
  font-size: 0.8rem;
  color: #9ca3af;
  font-family: 'Inter', sans-serif;
}

.modal-close-btn {
  z-index: 10;
  padding: 0.5rem;
  border-radius: 0.5rem;
}

.modal-close-btn:hover {
  background: rgba(255, 255, 255, 0.1);
}

@media (min-width: 768px) {
  .watch-tutorial-btn {
    font-size: 0.9rem;
  }
}

