/* theme.css — Corrupted Theme Master Stylesheet */
/*
 * A dark, glassmorphic design system with pink/purple accents
 * Modular architecture for maximum flexibility and reusability
 *
 * Import this single file to get all theme styles
 * Or import individual modules for granular control
 */

/* ========== CORE FOUNDATION ========== */
@import './variables.css';

/* ========== TYPOGRAPHY & TEXT ========== */
@import './typography.css';

/* ========== GLASSMORPHISM EFFECTS ========== */
@import './glassmorphism.css';

/* ========== ANIMATIONS ========== */
@import './animations.css';

/* ========== REUSABLE COMPONENTS ========== */
@import './components.css';

/* ========== UTILITY CLASSES ========== */
@import './utilities.css';

/* ========== EXTENSION COMPONENTS ========== */
@import './extensions.css';

/* ========== RESPONSIVE GRID SYSTEM ========== */

.container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  min-height: 100vh;
  padding: 3rem;
  max-width: 1400px;
  margin: 0 auto;
}

.content {
  padding: 2.5rem;
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: var(--radius-2xl);
  backdrop-filter: blur(15px);
  box-shadow: 0 8px 32px rgba(217, 79, 144, 0.15), inset 0 0 20px rgba(217, 79, 144, 0.05);
  animation: slideIn 1.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.character {
  text-align: center;
  animation: fadeIn 2s ease-in-out;
  display: flex;
  align-items: center;
  justify-content: center;
}

.character img {
  max-height: 85vh;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 30px rgba(217, 79, 144, 0.25));
}

.logo {
  display: block;
  max-width: 280px;
  margin: 0 auto 2rem;
  filter: drop-shadow(0 0 20px rgba(217, 79, 144, 0.3));
}

.intro {
  font-size: 1rem;
  text-align: center;
  margin-bottom: 2rem;
  line-height: 1.8;
  color: var(--text-secondary);
}

.intro a {
  color: var(--accent-light);
  text-decoration: none;
  transition: color var(--transition-normal);
}

.intro a:hover {
  color: var(--accent);
  text-decoration: underline;
}

.intro code {
  background: rgba(217, 79, 144, 0.15);
  padding: 0.25rem 0.5rem;
  border-radius: var(--radius-sm);
  font-family: 'Monaco', 'Courier New', monospace;
  font-size: 0.9rem;
  color: var(--accent-light);
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  font-size: 1.3rem;
  flex-wrap: wrap;
}

.social-icons a {
  color: var(--text-secondary);
  transition: all var(--transition-normal) var(--transition-easing);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-lg);
  background: rgba(217, 79, 144, 0.08);
  border: 1px solid rgba(217, 79, 144, 0.15);
}

.social-icons a:hover {
  color: var(--accent);
  transform: translateY(-4px);
  background: rgba(217, 79, 144, 0.15);
  border-color: rgba(217, 79, 144, 0.4);
  box-shadow: 0 8px 16px rgba(217, 79, 144, 0.2);
}

footer {
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
  padding: 1.5rem;
  z-index: 1;
  position: relative;
  border-top: 1px solid var(--border);
  margin-top: 4rem;
}

footer a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color var(--transition-normal);
}

footer a:hover {
  color: var(--accent);
}

/* ========== SECTIONS ========== */

.section {
  padding: 3rem 2rem;
  position: relative;
  z-index: 1;
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.5px;
}

.section-subtitle {
  font-size: 1rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  line-height: 1.6;
}

/* ========== GRID LAYOUTS ========== */

.grid {
  display: grid;
  gap: 2rem;
  grid-auto-fit: auto-fit;
}

.grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.grid-4 {
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

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

@media screen and (max-width: 1200px) {
  .container {
    grid-template-columns: 1fr;
    gap: 3rem;
    padding: 2.5rem 2rem;
  }

  .character img {
    max-height: 70vh;
  }
}

@media screen and (max-width: 1024px) {
  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  .section-title {
    font-size: 1.5rem;
  }

  .grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }
}

@media screen and (max-width: 768px) {
  .container {
    padding: 2rem 1.5rem;
    gap: 2rem;
    min-height: auto;
  }

  .content {
    padding: 2rem;
    border-radius: var(--radius-xl);
  }

  .logo {
    max-width: 220px;
    margin-bottom: 1.5rem;
  }

  .intro {
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
  }

  .social-icons {
    gap: 1rem;
    font-size: 1.1rem;
  }

  .social-icons a {
    width: 40px;
    height: 40px;
  }

  .character img {
    max-height: 60vh;
  }

  h1 {
    font-size: 1.5rem;
  }

  h2 {
    font-size: 1.25rem;
  }

  h3 {
    font-size: 1.1rem;
  }

  .section {
    padding: 2rem 1rem;
  }

  .card {
    padding: 1.5rem;
  }

  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }
}

/* ========== LEGACY CONTENT OVERLAY SUPPORT ========== */
/* Note: Gallery, Lightbox, and NSFW styles are now in extensions.css */
/* These selectors provide backward compatibility for existing implementations */

.gallery-item.nsfw-content.revealed img {
  filter: blur(0) !important;
}

.gallery-item.nsfw-content.revealed::before,
.gallery-item.nsfw-content.revealed::after {
  display: none !important;
}
