/* ============================================
   UNREAL THEME - Dark Futuristic Shooter
   Inspired by Unreal Engine's aesthetic
   ============================================ */

:root {
  /* Unreal Engine inspired colors */
  --unreal-dark: #0d0d0d;
  --unreal-darker: #050505;
  --unreal-blue: #00b4ff;
  --unreal-blue-dark: #0088cc;
  --unreal-accent: #7b42f6;
  --unreal-accent-light: #9d6fff;
  --unreal-orange: #ff6b00;
  --unreal-text: #e8e8e8;
  --unreal-muted: #888888;
  
  /* Shadows and glows */
  --shadow-color: rgba(0, 180, 255, 0.3);
  --glow-blue: rgba(0, 180, 255, 0.5);
  --glow-purple: rgba(123, 66, 246, 0.5);
}

/* ============================================
   BODY - DARK TECH BACKGROUND
   ============================================ */

body {
  margin: 0;
  padding: 0;
  min-height: 100vh;
  font-family: 'Segoe UI', 'Roboto', 'Arial', sans-serif;
  background: linear-gradient(135deg, var(--unreal-darker) 0%, var(--unreal-dark) 50%, #0a0a15 100%);
  color: var(--unreal-text);
  line-height: 1.6;
}

/* Subtle grid overlay */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  background: 
    linear-gradient(90deg, rgba(0, 180, 255, 0.02) 1px, transparent 1px),
    linear-gradient(rgba(0, 180, 255, 0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  z-index: 0;
}

/* ============================================
   HEADER
   ============================================ */

.project-header {
  background: linear-gradient(180deg, 
    rgba(0, 180, 255, 0.1) 0%, 
    rgba(13, 13, 13, 0.95) 100%);
  border-bottom: 2px solid var(--unreal-blue);
  padding: 2.5rem 2rem;
  text-align: center;
  position: relative;
  z-index: 1;
}

.project-header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--unreal-blue), transparent);
}

.project-header h1 {
  margin: 0 0 0.5rem 0;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--unreal-text);
  text-transform: uppercase;
  letter-spacing: 4px;
  text-shadow: 0 0 30px var(--glow-blue);
}

.back-link {
  display: inline-block;
  color: var(--unreal-blue);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  padding: 0.5rem 1rem;
  border: 1px solid rgba(0, 180, 255, 0.3);
  border-radius: 4px;
  transition: all 0.3s ease;
  margin-top: 1rem;
}

.back-link:hover {
  background: rgba(0, 180, 255, 0.1);
  border-color: var(--unreal-blue);
  box-shadow: 0 0 15px var(--shadow-color);
}

/* ============================================
   MAIN CONTENT
   ============================================ */

.project-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 2rem;
  position: relative;
  z-index: 1;
}

/* ============================================
   PREVIEW SECTION
   ============================================ */

.project-preview {
  margin: 2rem 0;
  border-radius: 8px;
  overflow: hidden;
  border: 2px solid var(--unreal-blue);
  box-shadow: 
    0 0 40px var(--shadow-color),
    inset 0 0 60px rgba(0, 180, 255, 0.05);
  position: relative;
  background: var(--unreal-darker);
}

.project-preview::before {
  content: 'UNDER DEVELOPMENT';
  position: absolute;
  top: 20px;
  right: -35px;
  background: var(--unreal-orange);
  color: #000;
  padding: 5px 40px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1px;
  transform: rotate(45deg);
  z-index: 10;
  box-shadow: 0 2px 10px rgba(255, 107, 0, 0.5);
}

.gif-container {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  background: linear-gradient(135deg, var(--unreal-darker), #0a0a15);
}

.gif-container img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gif-placeholder {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: var(--unreal-muted);
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 2px;
}

/* ============================================
   DESCRIPTION SECTION
   ============================================ */

.project-description {
  background: rgba(0, 180, 255, 0.03);
  border: 1px solid rgba(0, 180, 255, 0.2);
  border-left: 4px solid var(--unreal-blue);
  border-radius: 0 8px 8px 0;
  padding: 2rem;
  margin: 2rem 0;
}

.project-description h2 {
  color: var(--unreal-blue);
  margin: 0 0 1rem 0;
  font-size: 1.3rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.project-description p {
  color: var(--unreal-text);
  font-size: 1.05rem;
  margin: 0;
  line-height: 1.8;
}

/* ============================================
   TECH STACK
   ============================================ */

.tech-stack {
  margin: 2rem 0;
}

.tech-stack h3 {
  color: var(--unreal-muted);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 1rem;
}

.tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.tech-tag {
  background: linear-gradient(135deg, rgba(0, 180, 255, 0.15) 0%, rgba(123, 66, 246, 0.15) 100%);
  color: var(--unreal-blue);
  padding: 0.6rem 1.25rem;
  border-radius: 4px;
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: 1px solid rgba(0, 180, 255, 0.3);
  transition: all 0.3s ease;
}

.tech-tag:hover {
  border-color: var(--unreal-blue);
  box-shadow: 0 0 20px var(--shadow-color);
  transform: translateY(-2px);
}

/* ============================================
   LINKS SECTION
   ============================================ */

.project-links {
  margin: 2rem 0;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.project-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
}

.project-link.primary {
  background: linear-gradient(135deg, var(--unreal-blue) 0%, var(--unreal-blue-dark) 100%);
  color: #000;
  border: none;
}

.project-link.primary:hover {
  box-shadow: 0 0 30px var(--glow-blue);
  transform: translateY(-2px);
}

.project-link.secondary {
  background: transparent;
  color: var(--unreal-accent-light);
  border: 2px solid var(--unreal-accent);
}

.project-link.secondary:hover {
  background: rgba(123, 66, 246, 0.1);
  box-shadow: 0 0 20px var(--glow-purple);
  transform: translateY(-2px);
}

/* ============================================
   DIVIDERS
   ============================================ */

.divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 180, 255, 0.3), transparent);
  margin: 2rem 0;
}

/* ============================================
   STATUS BADGE
   ============================================ */

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 107, 0, 0.15);
  color: var(--unreal-orange);
  padding: 0.5rem 1rem;
  border-radius: 4px;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: 1px solid rgba(255, 107, 0, 0.3);
  margin-bottom: 1rem;
}

.status-badge::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--unreal-orange);
  border-radius: 50%;
  animation: pulse-status 2s infinite;
}

@keyframes pulse-status {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

/* ============================================
   MEDIA QUERIES
   ============================================ */

@media (max-width: 768px) {
  .project-header h1 {
    font-size: 1.6rem;
    letter-spacing: 2px;
  }

  .project-content {
    padding: 1rem;
  }

  .project-description {
    padding: 1.5rem;
  }

  .project-preview::before {
    font-size: 0.65rem;
    padding: 4px 30px;
    right: -40px;
    top: 15px;
  }

  .project-links {
    flex-direction: column;
  }

  .project-link {
    justify-content: center;
    width: 100%;
  }

  .tech-tag {
    font-size: 0.8rem;
    padding: 0.5rem 1rem;
  }
}
