@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css');

:root {
    --primary-color: #25b8c5;
    --secondary-color: #042d59;
    --secondary-dark-color: #031b34;
    --error-color: #ef4444;
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
    --card-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
    min-height: 100vh;
    color: #ffffff;
    overflow-x: hidden;
}

/* Both Pages - Same Background */
.page-404, .page-500 {
    background: linear-gradient(135deg, var(--secondary-dark-color) 0%, var(--secondary-color) 50%, var(--primary-color) 100%);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.error-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
}

.error-content {
    max-width: 800px;
    width: 100%;
}

.error-code {
    font-size: 120px;
    font-weight: 900;
    line-height: 1;
    margin-bottom: 20px;
    letter-spacing: -8px;
}

.error-code-404 {
    background: linear-gradient(45deg, var(--primary-color), #ffffff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.error-code-500 {
    background: linear-gradient(45deg, var(--error-color), #ffffff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.error-title {
    font-size: 48px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 20px;
    line-height: 1.2;
}

.error-subtitle {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 40px;
    line-height: 1.6;
}

.action-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 40px;
}

.btn {
    padding: 16px 32px;
    border: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--secondary-dark-color);
    box-shadow: 0 10px 30px rgba(37, 184, 197, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(37, 184, 197, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: var(--secondary-dark-color);
    transform: translateY(-3px);
}

.btn-refresh {
    background: var(--error-color);
    color: #ffffff;
    box-shadow: 0 10px 30px rgba(239, 68, 68, 0.3);
}

.btn-refresh:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(239, 68, 68, 0.4);
}

  .status-info {
      background: var(--glass-bg);
      backdrop-filter: blur(20px);
      padding: 35px;
      border-radius: 20px;
      border: 1px solid var(--glass-border);
      box-shadow: var(--card-shadow);
      margin-bottom: 30px;
      transition: all 0.3s ease;
      position: relative;
      overflow: hidden;
  }
  
  .status-info::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      height: 2px;
      background: linear-gradient(90deg, transparent, var(--error-color), transparent);
      opacity: 0.7;
  }
  
  .status-info:hover {
      transform: translateY(-3px);
      box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
  }
  
  .status-title {
      font-size: 22px;
      font-weight: 600;
      color: var(--error-color);
      margin-bottom: 20px;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 12px;
      text-align: center;
  }
  
  .status-title i {
      font-size: 24px;
      animation: pulse-warning 1.5s infinite;
  }
  
  @keyframes pulse-warning {
      0%, 100% { opacity: 1; }
      50% { opacity: 0.6; }
  }
  
  .contact-info {
      background: var(--glass-bg);
      backdrop-filter: blur(20px);
      padding: 40px;
      border-radius: 24px;
      border: 1px solid var(--glass-border);
      box-shadow: var(--card-shadow);
      transition: all 0.3s ease;
      position: relative;
      overflow: hidden;
  }
  
  .contact-info::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      height: 1px;
      background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
      opacity: 0.6;
  }
  
  .contact-info:hover {
      transform: translateY(-5px);
      box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2);
      border-color: var(--primary-color);
  }
  
  .contact-title {
      font-size: 24px;
      font-weight: 600;
      color: var(--primary-color);
      margin-bottom: 30px;
      display: flex;
      align-items: center;
      gap: 12px;
      text-align: center;
      justify-content: center;
  }
  
  .contact-title i {
      font-size: 28px;
      background: linear-gradient(45deg, var(--primary-color), #ffffff);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
  }
  
  .contact-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
      gap: 20px;
      margin-bottom: 30px;
  }
  
  .contact-item {
      display: flex;
      align-items: center;
      gap: 16px;
      padding: 20px;
      background: rgba(37, 184, 197, 0.08);
      border-radius: 16px;
      font-weight: 500;
      transition: all 0.3s ease;
      border: 1px solid rgba(37, 184, 197, 0.1);
      position: relative;
      overflow: hidden;
  }
  
  .contact-item::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      width: 4px;
      height: 100%;
      background: linear-gradient(to bottom, var(--primary-color), transparent);
      opacity: 0;
      transition: opacity 0.3s ease;
  }
  
  .contact-item:hover {
      background: rgba(37, 184, 197, 0.15);
      transform: translateX(5px);
      border-color: var(--primary-color);
  }
  
  .contact-item:hover::before {
      opacity: 1;
  }
  
  .contact-item i {
      font-size: 20px;
      color: var(--primary-color);
      width: 24px;
      text-align: center;
  }
  
  .contact-item .emergency i {
      color: var(--error-color);
      animation: pulse-emergency 2s infinite;
  }
  
  @keyframes pulse-emergency {
      0%, 100% { transform: scale(1); }
      50% { transform: scale(1.1); }
  }
  
  .contact-number {
      color: var(--primary-color);
      font-weight: 600;
  }
  
  .contact-description {
      margin-top: 25px;
      padding-top: 25px;
      border-top: 1px solid rgba(255, 255, 255, 0.1);
      font-size: 16px;
      text-align: center;
      color: rgba(255, 255, 255, 0.8);
      line-height: 1.6;
  }
  
  .contact-highlight {
      color: var(--primary-color);
      font-weight: 600;
  }

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 20px 15px;
    }
    
    .error-content {
        max-width: 100%;
    }
    
    .error-code {
        font-size: 80px;
        letter-spacing: -4px;
    }
    
    .error-title {
        font-size: 32px;
    }
    
    .error-subtitle {
        font-size: 18px;
    }
    
    .action-buttons {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .btn {
        width: 280px;
        justify-content: center;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .status-info, .contact-info {
        padding: 20px;
    }
} 