/* public/css/style.css */
body {
    font-family: 'Inter', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f5f7fa;
    color: #333;
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 960px;
    margin: 20px auto;
    padding: 20px;
    background-color: #fff;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.container:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

header {
    background-color: #007aff; /* Apple blue */
    color: white;
    padding: 20px 0;
    text-align: center;
    border-radius: 16px 16px 0 0;
    margin-bottom: 20px;
    overflow: hidden;
    position: relative;
}

header h1 {
    margin: 0;
    font-size: 2.2em;
    font-weight: 600;
    position: relative;
    z-index: 1;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

header:hover h1 {
    transform: scale(1.02);
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    background-color: #005bb5; /* Darker blue */
    border-radius: 0 0 16px 16px;
    overflow: hidden;
    position: relative;
}

nav ul li {
    margin: 0;
}

nav ul li a {
    display: block;
    padding: 15px 25px;
    text-decoration: none;
    color: white;
    font-weight: 500;
    position: relative;
    overflow: hidden;
    transition: background-color 0.3s cubic-bezier(0.4, 0, 0.2, 1), transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

nav ul li a:hover {
    background-color: #004a99;
    transform: translateY(-2px);
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background-color: rgba(255, 255, 255, 0.8);
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1), left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

nav ul li a:hover::after {
    width: 80%;
    left: 10%;
}

.content-section {
    padding: 30px 20px;
    text-align: center;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

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

.ipa-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 30px;
    padding: 0 10px;
    perspective: 1000px;
}

.ipa-item {
    background-color: white;
    border: 1px solid #f0f0f0;
    border-radius: 16px;
    padding: 20px;
    text-align: left;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
    position: relative;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.ipa-item:nth-child(1) { animation-delay: 0.1s; }
.ipa-item:nth-child(2) { animation-delay: 0.2s; }
.ipa-item:nth-child(3) { animation-delay: 0.3s; }
.ipa-item:nth-child(4) { animation-delay: 0.4s; }
.ipa-item:nth-child(5) { animation-delay: 0.5s; }
.ipa-item:nth-child(6) { animation-delay: 0.6s; }
.ipa-item:nth-child(7) { animation-delay: 0.7s; }
.ipa-item:nth-child(8) { animation-delay: 0.8s; }
.ipa-item:nth-child(9) { animation-delay: 0.9s; }
.ipa-item:nth-child(10) { animation-delay: 1s; }

.ipa-item:hover {
    transform: translateY(-8px) scale(1.01);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
    border-color: #007aff;
}

.ipa-item h3 {
    color: #007aff;
    margin-top: 0;
    margin-bottom: 12px;
    font-size: 1.3em;
    font-weight: 600;
    line-height: 1.3;
    transition: color 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.ipa-item:hover h3 {
    color: #0051a8;
}

.ipa-item p {
    font-size: 0.95em;
    color: #666;
    margin-bottom: 8px;
    line-height: 1.5;
}

.ipa-item .download-btn {
    display: inline-block;
    background-color: #28a745; /* Green for download */
    color: white;
    padding: 12px 20px;
    border-radius: 10px;
    text-decoration: none;
    margin-top: 15px;
    font-weight: 600;
    font-size: 0.95em;
    transition: background-color 0.3s cubic-bezier(0.4, 0, 0.2, 1), transform 0.2s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.3);
    position: relative;
    overflow: hidden;
}

.ipa-item .download-btn:hover {
    background-color: #218838;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(40, 167, 69, 0.4);
}

.ipa-item .download-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1), height 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.ipa-item .download-btn:hover::before {
    width: 300px;
    height: 300px;
}

.ipa-item .download-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(40, 167, 69, 0.3);
}

.search-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
    padding: 20px;
    background-color: #f8f9fa;
    border-radius: 12px;
    flex-wrap: wrap;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.search-container:hover {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.search-container input[type="text"] {
    padding: 14px 18px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 1em;
    width: 100%;
    max-width: 400px;
    box-sizing: border-box;
    transition: border-color 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1), transform 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.search-container input[type="text"]:focus {
    border-color: #007aff;
    box-shadow: 0 0 0 4px rgba(0, 122, 255, 0.1);
    outline: none;
    transform: translateY(-1px);
}

.search-container input[type="text"]:focus {
    border-color: #007aff;
    box-shadow: 0 0 8px rgba(0, 122, 255, 0.2);
    outline: none;
}

.search-container button {
    padding: 14px 28px;
    background-color: #007aff;
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1em;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s cubic-bezier(0.4, 0, 0.2, 1), transform 0.2s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(0, 122, 255, 0.3);
    position: relative;
    overflow: hidden;
}

.search-container button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1), height 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.search-container button:hover {
    background-color: #005bb5;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 122, 255, 0.4);
}

.search-container button:hover::before {
    width: 300px;
    height: 300px;
}

.search-container button:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(0, 122, 255, 0.3);
}

.pagination {
    display: flex;
    justify-content: center;
    margin-top: 40px;
    gap: 8px;
    padding: 20px;
    background-color: #f8f9fa;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.pagination button {
    padding: 12px 20px;
    background-color: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 0.9em;
    font-weight: 500;
    color: #666;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.pagination button:hover:not(:disabled) {
    background-color: #f0f4ff;
    border-color: #007aff;
    color: #007aff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 122, 255, 0.2);
}

.pagination button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.pagination button.active {
    background-color: #007aff;
    color: white;
    border-color: #007aff;
    box-shadow: 0 4px 12px rgba(0, 122, 255, 0.3);
}

footer {
    text-align: center;
    padding: 25px 20px;
    margin-top: 50px;
    background-color: #f8f9fa;
    color: #777;
    font-size: 0.9em;
    border-top: 1px solid #e9ecef;
    border-radius: 0 0 16px 16px;
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #007aff, #5ac8fa, #34c759, #ff9500, #ff2d55);
    background-size: 200% 100%;
    animation: gradientFlow 15s ease infinite;
}

@keyframes gradientFlow {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* Tool Page Specific Styles */
.tool-container {
    max-width: 700px;
    margin: 30px auto;
    padding: 35px;
    background-color: #fff;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.tool-container:hover {
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

.tool-container h2 {
    color: #007aff;
    margin-bottom: 30px;
    font-size: 1.8em;
    font-weight: 600;
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
}

.tool-container h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: #007aff;
    border-radius: 3px;
}

.tool-actions button {
    padding: 14px 28px;
    margin: 12px;
    border: none;
    border-radius: 10px;
    font-size: 1em;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    position: relative;
    overflow: hidden;
}

.tool-actions button.auth-btn {
    background-color: #007bff; /* Blue for auth */
    color: white;
}

.tool-actions button.auth-btn:hover {
    background-color: #0056b3;
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0, 123, 255, 0.3);
}

.tool-actions button.scan-btn {
    background-color: #28a745; /* Green for scan */
    color: white;
}

.tool-actions button.scan-btn:hover {
    background-color: #218838;
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(40, 167, 69, 0.3);
}

.tool-actions button.clear-btn {
    background-color: #dc3545; /* Red for clear */
    color: white;
}

.tool-actions button.clear-btn:hover {
    background-color: #c82333;
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(220, 53, 69, 0.3);
}

.progress-section {
    margin-top: 30px;
    text-align: left;
    background-color: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    padding: 25px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.progress-bar-container {
    width: 100%;
    background-color: #e9ecef;
    border-radius: 10px;
    margin-top: 15px;
    height: 24px;
    overflow: hidden;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.05);
    position: relative;
}

.progress-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #007bff, #5ac8fa);
    border-radius: 10px;
    text-align: center;
    color: white;
    line-height: 24px;
    font-size: 0.85em;
    font-weight: 500;
    transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.progress-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

.progress-details {
    margin-top: 20px;
    font-size: 0.95em;
    color: #666;
    line-height: 1.6;
}

.progress-details p {
    margin-bottom: 8px;
    opacity: 0;
    transform: translateY(10px);
    animation: fadeInUp 0.6s cubic-bezier(0.4, 0, 0.2, 1) 0.3s forwards;
}

.ipa-results {
    margin-top: 30px;
    text-align: left;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.ipa-results h3 {
    color: #007aff;
    margin-bottom: 20px;
    font-size: 1.4em;
    font-weight: 600;
    position: relative;
    display: inline-block;
    padding-bottom: 8px;
}

.ipa-results h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: #007aff;
    border-radius: 3px;
}

.ipa-results ul {
    list-style: none;
    padding: 0;
    max-height: 400px;
    overflow-y: auto;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    background-color: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.ipa-results ul:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.ipa-results li {
    padding: 15px 20px;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s cubic-bezier(0.4, 0, 0.2, 1), transform 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    opacity: 0;
    transform: translateY(10px);
    animation: fadeInUp 0.4s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.ipa-results li:hover {
    background-color: #f0f4ff;
    transform: translateX(5px);
}

.ipa-results li:nth-child(1) { animation-delay: 0.1s; }
.ipa-results li:nth-child(2) { animation-delay: 0.2s; }
.ipa-results li:nth-child(3) { animation-delay: 0.3s; }
.ipa-results li:nth-child(4) { animation-delay: 0.4s; }
.ipa-results li:nth-child(5) { animation-delay: 0.5s; }
.ipa-results li:nth-child(6) { animation-delay: 0.6s; }
.ipa-results li:nth-child(7) { animation-delay: 0.7s; }
.ipa-results li:nth-child(8) { animation-delay: 0.8s; }
.ipa-results li:nth-child(9) { animation-delay: 0.9s; }
.ipa-results li:nth-child(10) { animation-delay: 1s; }

.ipa-results li:last-child {
    border-bottom: none;
}

.ipa-results li span {
    color: #333;
    font-size: 0.95em;
    font-weight: 500;
}

.ipa-results li .path {
    font-size: 0.85em;
    color: #666;
    word-break: break-all;
    margin-left: 10px;
    flex: 1;
    text-align: right;
}

/* Message Box */
.message-box-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(4px);
}

.message-box-overlay.show {
    opacity: 1;
    visibility: visible;
}

.message-box {
    background-color: white;
    padding: 35px;
    border-radius: 16px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    text-align: center;
    max-width: 400px;
    width: 90%;
    transform: translateY(-20px);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.message-box-overlay.show .message-box {
    transform: translateY(0);
}

.message-box h4 {
    margin-top: 0;
    color: #333;
    font-size: 1.5em;
    font-weight: 600;
}

.message-box p {
    color: #666;
    margin-bottom: 25px;
    line-height: 1.6;
}

.message-box button {
    padding: 12px 24px;
    background-color: #007aff;
    color: white;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-size: 1em;
    font-weight: 500;
    transition: background-color 0.3s cubic-bezier(0.4, 0, 0.2, 1), transform 0.2s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(0, 122, 255, 0.3);
    position: relative;
    overflow: hidden;
}

.message-box button:hover {
    background-color: #005bb5;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 122, 255, 0.4);
}

.message-box button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1), height 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.message-box button:hover::before {
    width: 300px;
    height: 300px;
}

.message-box button:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(0, 122, 255, 0.3);
}

/* 现代简约弹窗样式 */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(4px);
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  background-color: white;
  border-radius: 16px;
  padding: 35px;
  max-width: 500px;
  width: 90%;
  max-height: 80vh;
  overflow-y: auto;
  transform: translateY(20px) scale(0.95);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
  position: relative;
  overflow: hidden;
}

.modal-overlay.active .modal-content {
  transform: translateY(0) scale(1);
}

.modal-header {
  margin-bottom: 20px;
  border-bottom: 1px solid #f0f0f0;
  padding-bottom: 15px;
  position: relative;
}

.modal-header h2 {
  margin: 0;
  color: #333;
  font-size: 1.5rem;
  font-weight: 600;
  position: relative;
  display: inline-block;
}

.modal-body p {
  margin: 0;
  color: #666;
  line-height: 1.7;
  font-size: 1rem;
}

.modal-body a {
  color: #007aff;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  padding: 0 2px;
}

.modal-body a:hover {
  color: #0051a8;
  text-decoration: underline;
}

.modal-footer {
  margin-top: 25px;
  text-align: right;
}

.modal-button {
  background-color: #007aff;
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.3s cubic-bezier(0.4, 0, 0.2, 1), transform 0.2s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 12px rgba(0, 122, 255, 0.3);
  position: relative;
  overflow: hidden;
}

.modal-button:hover {
  background-color: #0051a8;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 122, 255, 0.4);
}

.modal-button::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background-color: rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1), height 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.modal-button:hover::before {
  width: 300px;
  height: 300px;
}

.modal-button:active {
  transform: translateY(0) scale(0.98);
  box-shadow: 0 2px 8px rgba(0, 122, 255, 0.3);
}

/* 通知栏样式 (用于download.html和about.html) */
.notification-bar {
  background-color: #f0f4ff;
  border: 1px solid #e3eafc;
  border-radius: 16px;
  padding: 20px;
  margin: 20px 0;
  color: #666;
  line-height: 1.7;
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(-10px);
  animation: slideDownFadeIn 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
  transition: box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.notification-bar:hover {
  box-shadow: 0 4px 15px rgba(0, 122, 255, 0.1);
}

.notification-bar a {
  color: #007aff;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  padding: 0 2px;
}

.notification-bar a:hover {
  color: #0051a8;
  text-decoration: underline;
}

@keyframes slideDownFadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 全局链接样式 */
a {
  transition: color 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

a:hover {
  opacity: 0.8;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .container {
        margin: 10px;
        padding: 15px;
    }

    header h1 {
        font-size: 2em;
    }

    nav ul {
        flex-direction: column;
        border-radius: 0;
    }

    nav ul li a {
        padding: 12px 20px;
    }

    .ipa-list {
        grid-template-columns: 1fr;
        padding: 0;
    }

    .search-container {
        flex-direction: column;
    }

    .search-container input[type="text"],
    .search-container button {
        width: 100%;
        max-width: none;
    }

    .tool-container {
        margin: 10px;
        padding: 20px;
    }

    .tool-actions button {
        width: calc(100% - 20px); /* Adjust for margin */
        margin: 5px 10px;
    }
}