@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&family=Open+Sans&display=swap');

body {
    font-family: 'Roboto', sans-serif;
    background-color: #000;
    color: #fff;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    min-height: 100vh;
}

header {
    background-color: #000;
    color: #ff9900;
    text-align: center;
    padding: 100px 20px;
    text-shadow: 1px 1px 2px rgba(255,255,255,0.3);
    position: relative;
}

.header-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.header-content h1 {
    font-size: 2.5em;
    margin: 0;
    animation: fadeIn 2s ease-out;
}

.header-content p {
    font-size: 1.2em;
    margin: 0;
    animation: fadeIn 2s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

nav {
    background-color: #ff9900;
    padding: 10px;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

nav ul {
    list-style-type: none;
    padding: 0;
    display: flex;
    justify-content: space-around;
    max-width: 1000px;
    margin: 0 auto;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-size: 1.1em;
    padding: 10px 15px;
    transition: background-color 0.3s ease;
    border-radius: 5px;
}

nav ul li a:hover {
    background-color: rgba(0,0,0,0.2);
}

main {
    max-width: 1000px;
    margin: 20px auto;
    padding: 20px;
    border-radius: 10px;
    background-color: rgba(255,255,255,0.05);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.tool {
    margin-bottom: 20px;
    border: 1px solid #ff9900;
    padding: 20px;
    border-radius: 8px;
    background-color: rgba(0,0,0,0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.tool:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

h1, h2 {
    color: #ff9900;
}

a {
    color: #ff9900;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

strong {
    color: #ff9900;
}

.btn {
    display: inline-block;
    background-color: #ff9900;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.btn:hover {
    background-color: #ff7f00;
    transform: scale(1.05);
}

footer {
    text-align: center;
    background-color: #ff9900;
    color: white;
    padding: 15px;
    position: fixed;
    bottom: 0;
    width: 100%;
}

.guidelines-links {
    display: flex;
    justify-content: space-around;
    margin-top: 20px;
    flex-wrap: wrap;
}

/* 响应式设计 */
@media (max-width: 768px) {
    nav ul {
        flex-direction: column;
        align-items: center;
    }

    nav ul li {
        margin-bottom: 10px;
    }

    .guidelines-links {
        flex-direction: column;
        align-items: center;
    }

    .guidelines-links a {
        margin-bottom: 10px;
    }

    .header-content h1 {
        font-size: 2em;
    }

    .header-content p {
        font-size: 1em;
    }
}
