* {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    body {
      font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
      background: linear-gradient(135deg, #ffffff 0%, #fcfcfc 100%);
      min-height: 100vh;
      color: #333;
      overflow-x: hidden;
    }

    .floating-particles {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      pointer-events: none;
      z-index: 1;
    }

    .particle {
      position: absolute;
      width: 4px;
      height: 4px;
      background: rgba(255, 255, 255, 0.3);
      border-radius: 50%;
      animation: float 15s infinite linear;
    }

    @keyframes float {
      0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
      }
      10% {
        opacity: 1;
      }
      90% {
        opacity: 1;
      }
      100% {
        transform: translateY(-100px) rotate(360deg);
        opacity: 0;
      }
    }

    .detail-header {
      background: rgb(83, 0, 151);
      backdrop-filter: blur(20px);
      border-bottom: 1px solid rgba(255, 255, 255, 0.315);
      padding: 1rem 0;
      position: fixed;
      top: 0;
      width: 100%;
      z-index: 1000;
      animation: slideDown 0.8s ease-out;
    }

    @keyframes slideDown {
      from {
        transform: translateY(-100%);
        opacity: 0;
      }
      to {
        transform: translateY(0);
        opacity: 1;
      }
    }

    .header-content {
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 2rem;
      display: flex;
      justify-content: space-between;
      align-items: center;
    }

    .back-button {
      color: white;
      text-decoration: none;
      display: flex;
      align-items: center;
      gap: 0.5rem;
      padding: 0.5rem 1rem;
      border-radius: 25px;
      background: rgba(255, 255, 255, 0.1);
      transition: all 0.3s ease;
      border: 1px solid rgba(255, 255, 255, 0.2);
    }

    .back-button:hover {
      background: rgba(255, 255, 255, 0.2);
      transform: translateX(-5px);
      box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    }

    .header-logo {
      color: white;
      font-size: 1.5rem;
      font-weight: bold;
      display: flex;
      align-items: center;
      gap: 0.5rem;
    }

    .detail-main {
      margin-top: 80px;
      padding: 2rem 0;
      position: relative;
      z-index: 2;
    }

    .detail-container {
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 2rem;
    }

    .bird-hero {
      margin-bottom: 3rem;
      animation: fadeInUp 1s ease-out 0.3s both;
    }

    @keyframes fadeInUp {
      from {
        opacity: 0;
        transform: translateY(30px);
      }
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

    .hero-container {
      background: linear-gradient(135deg, #400192, #2eafa7);
      border-radius: 30px;
      padding: 3rem;
      position: relative;
      overflow: hidden;
      box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    }

    .hero-container::before {
      content: '';
      position: absolute;
      top: -50%;
      right: -50%;
      width: 200%;
      height: 200%;
      background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
      animation: rotate 20s linear infinite;
    }

    @keyframes rotate {
      from { transform: rotate(0deg); }
      to { transform: rotate(360deg); }
    }

    .hero-content {
      display: flex;
      align-items: center;
      gap: 3rem;
      position: relative;
      z-index: 2;
    }

    .bird-image-container {
      flex-shrink: 0;
      position: relative;
    }

    .bird-image {
      width: 300px;
      height: 300px;
      border-radius: 20px;
      object-fit: cover;
      border: 4px solid rgba(255, 255, 255, 0.3);
      transition: all 0.5s ease;
      animation: pulse 3s ease-in-out infinite;
    }

    @keyframes pulse {
      0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
      }
      50% {
        transform: scale(1.05);
        box-shadow: 0 0 0 20px rgba(255, 255, 255, 0);
      }
    }

    .bird-image:hover {
      transform: scale(1.1) rotate(5deg);
      box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    }

    .bird-info {
      flex: 1;
      color: white;
    }

    .bird-title h1 {
      font-size: 3.5rem;
      margin-bottom: 0.5rem;
      text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
      animation: bounceIn 1s ease-out 0.5s both;
    }

    @keyframes bounceIn {
      0% {
        opacity: 0;
        transform: scale(0.3);
      }
      50% {
        transform: scale(1.05);
      }
      70% {
        transform: scale(0.9);
      }
      100% {
        opacity: 1;
        transform: scale(1);
      }
    }

    .scientific-name {
      font-size: 1.2rem;
      font-style: italic;
      opacity: 0.9;
      margin-bottom: 1rem;
    }

    .bird-description {
      font-size: 1.1rem;
      line-height: 1.6;
      opacity: 0.95;
    }

    .content-grid {
      display: grid;
      grid-template-columns: 2fr 1fr;
      gap: 3rem;
      animation: fadeInUp 1s ease-out 0.6s both;
    }

    .main-content-detail {
      background: rgba(255, 255, 255, 0.95);
      border-radius: 25px;
      padding: 2.5rem;
      box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
      backdrop-filter: blur(10px);
      border: 1px solid rgba(255, 255, 255, 0.2);
    }

    .fact-section {
      margin-bottom: 3rem;
    }

    .fact-section h2 {
      color: #2c3e50;
      font-size: 2rem;
      margin-bottom: 1.5rem;
      display: flex;
      align-items: center;
      gap: 1rem;
    }

    .fact-section h2::before {
      content: '';
      width: 4px;
      height: 40px;
      background: linear-gradient(to bottom, #ff6b6b, #4ecdc4);
      border-radius: 2px;
      animation: grow 0.8s ease-out;
    }

    @keyframes grow {
      from { height: 0; }
      to { height: 40px; }
    }

    .feature-list {
      display: grid;
      gap: 1.5rem;
    }

    .feature-item {
      display: flex;
      align-items: flex-start;
      gap: 1rem;
      padding: 1.5rem;
      background: linear-gradient(135deg, #f8f9fa, #e9ecef);
      border-radius: 15px;
      transition: all 0.3s ease;
      cursor: pointer;
    }

    .feature-item:hover {
      transform: translateY(-5px);
      box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
      background: linear-gradient(135deg, #fff, #f8f9fa);
    }

    .feature-item i {
      color: #4ecdc4;
      font-size: 2rem;
      margin-top: 0.5rem;
    }

    .feature-item h3 {
      color: #2c3e50;
      margin-bottom: 0.5rem;
      font-size: 1.2rem;
    }

    .info-cards {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
      gap: 1.5rem;
      margin-top: 2rem;
    }

    .info-card {
      background: linear-gradient(135deg, #667eea, #764ba2);
      color: white;
      padding: 2rem;
      border-radius: 20px;
      text-align: center;
      transition: all 0.3s ease;
      cursor: pointer;
    }

    .info-card:hover {
      transform: translateY(-10px) scale(1.05);
      box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    }

    .info-card i {
      font-size: 3rem;
      margin-bottom: 1rem;
      opacity: 0.9;
    }

    .info-card h3 {
      font-size: 1.3rem;
      margin-bottom: 1rem;
    }

    .sidebar {
      display: grid;
      gap: 2rem;
      height: fit-content;
    }

    .sidebar-card {
      background: rgba(255, 255, 255, 0.95);
      border-radius: 20px;
      padding: 2rem;
      box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
      backdrop-filter: blur(10px);
      border: 1px solid rgba(255, 255, 255, 0.2);
      transition: all 0.3s ease;
    }

    .sidebar-card:hover {
      transform: translateY(-5px);
      box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    }

    .sidebar-card h3 {
      color: #2c3e50;
      margin-bottom: 1.5rem;
      display: flex;
      align-items: center;
      gap: 0.5rem;
      font-size: 1.2rem;
    }

    .sidebar-card h3 i {
      color: #4ecdc4;
    }

    .taxonomy-list {
      list-style: none;
    }

    .taxonomy-list li {
      padding: 0.5rem 0;
      border-bottom: 1px solid rgba(0, 0, 0, 0.1);
      transition: all 0.3s ease;
    }

    .taxonomy-list li:hover {
      background: rgba(76, 175, 80, 0.1);
      padding-left: 1rem;
    }

    .stat-item {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 1rem 0;
      border-bottom: 1px solid rgba(0, 0, 0, 0.1);
      transition: all 0.3s ease;
    }

    .stat-item:hover {
      background: rgba(255, 193, 7, 0.1);
      padding-left: 1rem;
    }

    .stat-label {
      font-weight: 500;
      color: #666;
    }

    .stat-value {
      font-weight: bold;
      color: #2c3e50;
      font-size: 1.1rem;
    }

    .conservation-status {
      display: flex;
      align-items: center;
      gap: 0.5rem;
      padding: 1rem;
      border-radius: 10px;
      margin-bottom: 1rem;
      font-weight: bold;
    }

    .conservation-status.stable {
      background: rgba(76, 175, 80, 0.1);
      color: #4caf50;
      border: 2px solid rgba(76, 175, 80, 0.3);
    }

    .detail-footer {
      background: rgba(23, 0, 77, 0.986);
      color: white;
      text-align: center;
      padding: 2rem 0;
      margin-top: 4rem;
      backdrop-filter: blur(10px);
    }

    @media (max-width: 768px) {
      .hero-content {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
      }

      .bird-image {
        width: 250px;
        height: 250px;
      }

      .bird-title h1 {
        font-size: 2.5rem;
      }

      .content-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
      }

      .hero-container {
        padding: 2rem;
      }
    }

    /* Animaciones de entrada escalonadas */
    .feature-item:nth-child(1) { animation: slideInLeft 0.8s ease-out 0.8s both; }
    .feature-item:nth-child(2) { animation: slideInLeft 0.8s ease-out 1s both; }
    .feature-item:nth-child(3) { animation: slideInLeft 0.8s ease-out 1.2s both; }

    @keyframes slideInLeft {
      from {
        opacity: 0;
        transform: translateX(-30px);
      }
      to {
        opacity: 1;
        transform: translateX(0);
      }
    }

    .info-card:nth-child(1) { animation: slideInUp 0.8s ease-out 1.4s both; }
    .info-card:nth-child(2) { animation: slideInUp 0.8s ease-out 1.6s both; }
    .info-card:nth-child(3) { animation: slideInUp 0.8s ease-out 1.8s both; }

    @keyframes slideInUp {
      from {
        opacity: 0;
        transform: translateY(30px);
      }
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

    .sidebar-card:nth-child(1) { animation: slideInRight 0.8s ease-out 1s both; }
    .sidebar-card:nth-child(2) { animation: slideInRight 0.8s ease-out 1.2s both; }
    .sidebar-card:nth-child(3) { animation: slideInRight 0.8s ease-out 1.4s both; }

    @keyframes slideInRight {
      from {
        opacity: 0;
        transform: translateX(30px);
      }
      to {
        opacity: 1;
        transform: translateX(0);
      }
    }