/* Prisma Universidad — Tailwind CSS CDN + Personalizaciones */

:root {
  --prisma-red: #e53935;
  --prisma-dark: #1a1a2e;
  --prisma-gray: #16213e;
  --prisma-light: #0f3460;
  --prisma-accent: #00d2ff;
  --prisma-gold: #ffd700;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--prisma-dark);
  color: #e2e8f0;
}

.gradient-bg {
  background: linear-gradient(135deg, var(--prisma-dark) 0%, var(--prisma-gray) 50%, var(--prisma-light) 100%);
}

.prisma-gradient {
  background: linear-gradient(135deg, var(--prisma-red), #c62828);
}

.card-hover {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card-hover:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.animate-float {
  animation: float 6s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-20px); }
}

.animate-fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.animate-fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.glass-card {
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.1);
}

.parallax-section {
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.text-glow {
  text-shadow: 0 0 20px rgba(0, 210, 255, 0.3);
}

.accent-line {
  width: 60px;
  height: 4px;
  background: var(--prisma-red);
  border-radius: 2px;
  margin: 1rem auto;
}

.timeline-dot {
  width: 16px;
  height: 16px;
  background: var(--prisma-red);
  border-radius: 50%;
  border: 3px solid var(--prisma-accent);
  position: absolute;
  left: -8px;
  top: 0;
}

/* Code blocks styling */
pre {
  background: rgba(0,0,0,0.3);
  border-radius: 8px;
  padding: 1rem;
  overflow-x: auto;
  font-size: 0.9rem;
  border-left: 3px solid var(--prisma-red);
}

code {
  font-family: 'JetBrains Mono', 'Fira Code', monospace;
}

/* Mobile nav */
@media (max-width: 768px) {
  .mobile-menu {
    display: none;
  }
  .mobile-menu.open {
    display: block;
  }
}

/* Table styling for content pages */
.content-table {
  width: 100%;
  border-collapse: collapse;
}
.content-table th {
  background: var(--prisma-light);
  color: white;
  padding: 0.75rem 1rem;
  text-align: left;
}
.content-table td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.content-table tr:hover td {
  background: rgba(255,255,255,0.05);
}
