@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400..900&family=Montserrat:wght@400;500;600;700&display=swap');
/* =============================================================================
   AKATSUKI THREAT HUNTING RESEARCH WEBSITE
   Complete CSS Styles
   ============================================================================= */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600;700&family=Fira+Code:wght@300;400;500&display=swap');

/* =============================================================================
   BASE STYLES
   ============================================================================= */

body {
  font-family: 'Inter', 'Cinzel', serif;
  background: #0f0f17;
  color: #e3e3e8;
}

/* =============================================================================
   ANIMATIONS
   ============================================================================= */

.floating {
  animation: float 6s ease-in-out infinite;
}

.floating-slow {
  animation: float-slow 8s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { 
    transform: translateY(0px) rotate(0deg); 
  }
  50% { 
    transform: translateY(-12px) rotate(1deg); 
  }
}

@keyframes float-slow {
  0%, 100% { 
    transform: translateY(0px) rotate(0deg); 
  }
  33% { 
    transform: translateY(-8px) rotate(-0.5deg); 
  }
  66% { 
    transform: translateY(-4px) rotate(0.5deg); 
  }
}

/* Typing cursor animation */
@keyframes blink {
  0%, 50% { border-color: transparent; }
  51%, 100% { border-color: #dc2626; }
}

.typing-effect {
  border-right: 2px solid #dc2626;
  animation: blink 1s infinite;
}

/* =============================================================================
   VISUAL EFFECTS
   ============================================================================= */

.glow-red {
  box-shadow: 
    0 0 20px rgba(220, 38, 38, 0.4),
    0 0 40px rgba(220, 38, 38, 0.2),
    0 0 60px rgba(220, 38, 38, 0.1);
}

.text-shadow {
  text-shadow: 
    2px 2px 4px rgba(0, 0, 0, 0.8),
    0 0 10px rgba(220, 38, 38, 0.3);
}

.divider {
  background: linear-gradient(90deg, rgba(220, 38, 38, 0.8), transparent);
  height: 4px;
  border-radius: 2px;
}

/* Background pattern */
.fixed-pattern {
  background-image:
    radial-gradient(circle at 25% 25%, rgba(220,38,38,0.08) 2px, transparent 2px),
    radial-gradient(circle at 75% 75%, rgba(220,38,38,0.05) 1px, transparent 1px);
  background-size: 100px 100px, 150px 150px;
  animation: pattern-drift 60s linear infinite;
}

@keyframes pattern-drift {
  0% { background-position: 0% 0%, 0% 0%; }
  100% { background-position: 100% 100%, -100% -100%; }
}

/* =============================================================================
   COMPONENT STYLES
   ============================================================================= */

/* Cloud icons */
.cloud-icon img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 0 10px rgba(220, 38, 38, 0.3));
}

/* Card components */
.card, .member-card {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(220, 38, 38, 0.2);
  transition: all 0.3s ease;
}

.card:hover, .member-card:hover {
  border-color: rgba(220, 38, 38, 0.4);
  transform: translateY(-2px);
}

/* Skill badges */
.skill-badge {
  background: linear-gradient(45deg, #dc2626, #991b1b);
  font-family: 'Fira Code', monospace;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
  transition: all 0.2s ease;
}

.skill-badge:hover {
  background: linear-gradient(45deg, #ef4444, #dc2626);
  transform: scale(1.05);
}

/* =============================================================================
   NAVIGATION STYLES
   ============================================================================= */

nav {
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

nav a {
  position: relative;
  transition: all 0.3s ease;
}

nav a:hover {
  color: #f87171;
}

nav a.active {
  color: #dc2626;
  border-bottom: 2px solid #dc2626;
}

/* Mobile menu */
.mobile-menu {
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

/* =============================================================================
   FORM STYLES
   ============================================================================= */

input[type="text"], 
input[type="search"], 
textarea {
  background: rgba(31, 31, 41, 0.8);
  border: 1px solid rgba(220, 38, 38, 0.2);
  color: #e3e3e8;
  transition: all 0.3s ease;
}

input[type="text"]:focus, 
input[type="search"]:focus, 
textarea:focus {
  border-color: rgba(220, 38, 38, 0.5);
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
  outline: none;
}

input::placeholder, 
textarea::placeholder {
  color: rgba(156, 163, 175, 0.8);
}

/* =============================================================================
   BUTTON STYLES
   ============================================================================= */

.btn-primary {
  background: linear-gradient(135deg, #dc2626, #991b1b);
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(220, 38, 38, 0.2);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #ef4444, #dc2626);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(220, 38, 38, 0.3);
}

.btn-secondary {
  background: transparent;
  color: #dc2626;
  border: 2px solid #dc2626;
  padding: 10px 22px;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.3s ease;
}

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

/* =============================================================================
   BLOG/CONTENT STYLES
   ============================================================================= */

.post-card {
  transition: all 0.4s ease;
}

.post-card:hover {
  box-shadow: 
    0 0 30px rgba(220, 38, 38, 0.4),
    0 10px 40px rgba(0, 0, 0, 0.3);
}

.category-tag {
  background: #2f2f44;
  color: #e3e3e8;
  transition: all 0.2s ease;
  cursor: pointer;
}

.category-tag:hover {
  background: #dc2626;
  color: white;
  transform: scale(1.05);
}

.category-tag.active {
  background: #dc2626;
  color: white;
}

/* =============================================================================
   LOADING SCREEN
   ============================================================================= */

#loadingScreen {
  background: linear-gradient(135deg, #000000, #1a1a2e);
  z-index: 9999;
}

#loadingScreen .animate-pulse {
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: .5;
  }
}

/* =============================================================================
   RESPONSIVE DESIGN
   ============================================================================= */

@media (max-width: 768px) {
  .text-6xl { font-size: 3rem; }
  .text-8xl { font-size: 4rem; }
  
  .member-card {
    padding: 1.5rem;
  }
  
  .skill-badge {
    font-size: 0.75rem;
    padding: 0.25rem 0.75rem;
  }
  
  .floating-slow {
    animation-duration: 10s;
  }
}

@media (max-width: 480px) {
  .text-6xl { font-size: 2.5rem; }
  .text-8xl { font-size: 3rem; }
  
  .member-card {
    padding: 1rem;
  }
  
  .post-card {
    padding: 1rem;
  }
}

/* =============================================================================
   ACCESSIBILITY
   ============================================================================= */

@media (prefers-reduced-motion: reduce) {
  .floating,
  .floating-slow,
  .typing-effect,
  .fixed-pattern {
    animation: none;
  }
  
  * {
    transition-duration: 0.01ms !important;
  }
}

/* High contrast mode */
@media (prefers-contrast: high) {
  .member-card,
  .card {
    border-color: #dc2626;
    border-width: 2px;
  }
  
  .text-gray-400 {
    color: #d1d5db;
  }
  
  .text-gray-300 {
    color: #f3f4f6;
  }
}

/* =============================================================================
   PRINT STYLES
   ============================================================================= */

@media print {
  .floating,
  .floating-slow,
  #loadingScreen,
  nav,
  footer,
  .cloud-icon,
  #global-cloud-container {
    display: none !important;
  }
  
  body {
    background: white !important;
    color: black !important;
  }
  
  .member-card,
  .card {
    border: 1px solid #333 !important;
    background: white !important;
    box-shadow: none !important;
  }
  
  .text-red-500,
  .text-red-400 {
    color: #333 !important;
  }
}

/* =============================================================================
   UTILITIES
   ============================================================================= */

.z-negative {
  z-index: -1;
}

.backdrop-blur-strong {
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.gradient-text {
  background: linear-gradient(135deg, #dc2626, #ef4444);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.shadow-glow {
  box-shadow: 
    0 0 20px rgba(220, 38, 38, 0.3),
    0 0 40px rgba(220, 38, 38, 0.1);
}

/* === Font pairing: Cinzel (headings) + Montserrat (body) === */
:root {
  --font-heading: 'Cinzel', serif;
  --font-body: 'Montserrat', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', 'Liberation Sans', 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';
}
body { font-family: var(--font-body); }
/* Utilities to use in HTML when Tailwind config is not customizable */
.font-heading { font-family: var(--font-heading); letter-spacing: 0.02em; }
.font-body { font-family: var(--font-body); }
