@import url('https://fonts.googleapis.com/css2?family=VT323&display=swap');

body {
    font-family: 'VT323', monospace;
    line-height: 1.4;
    color: #d0d0d0;
    margin: 0;
    padding: 10px;
    font-size: 16px;
    position: relative;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

@media (min-aspect-ratio: 16/9) {
    body {
        background-size: 100% auto; /* 寬度自適應，高度充滿 */
    }
}

@media (max-aspect-ratio: 16/9) {
    body {
        background-size: auto 100%; /* 高度自適應，寬度充滿 */
    }
}

.background-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: -1;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    margin-top: 10;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    padding: 20px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 1;
    animation: fadeIn 1s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

h1 {
    text-align: center;
    color: #82aaff;
    font-size: 2.5em;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

nav {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-bottom: 20px;
    background-color: rgba(34, 37, 54, 0.6);
    padding: 5px 10px;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 1000;
}

nav a,
.dropbtn {
    color: #ffffff;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    font-size: 1.2em;
    padding: 8px 12px;
    border-radius: 5px;
    border: 1px solid transparent;
    text-align: center;
    display: block;
}

nav a:hover,
.dropbtn:hover {
    border-color: rgba(255, 255, 255, 0.5);
}

.dropdown {
    position: relative;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: rgba(34, 37, 54, 0.9);
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    z-index: 1001;
    border-radius: 5px;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
}

.dropdown:hover .dropdown-content {
    display: block;
}

.dropdown-content a {
    color: white;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-align: center;
}

.dropdown-content a:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.content {
    background-color: rgba(42, 45, 68, 0.6);
    padding: 20px;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 1;
}

h2 {
    color: #82aaff;
    border-bottom: 2px solid #3d5afe;
    padding-bottom: 10px;
    font-size: 1.8em;
}

h3 {
    color: #82aaff;
    font-size: 1.2 em;
    margin-top: 20px;
}

ul {
    list-style-type: none;
    padding-left: 0;
}

li::before {
    content: "✨ ";
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    background-color: rgba(42, 45, 68, 0.6);
    border-radius: 15px;
    overflow: hidden;
}

table, th, td {
    border: 1px solid rgba(255, 255, 255, 0.3);
}

th, td {
    padding: 10px;
    text-align: left;
    color: #d0d0d0;
}

th {
    background-color: rgba(34, 37, 54, 0.6);
    white-space: nowrap;
}

td {
    word-wrap: break-word;
}

.cta-button {
    display: inline-block;
    padding: 10px 20px;
    background-color: #3d5afe;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-size: 1.2em;
    transition: background-color 0.3s ease;
    margin-top: 20px;
}

.cta-button:hover {
    background-color: #536dfe;
}

.community-links {
    list-style-type: none;
    padding-left: 0;
}

.community-links li {
    margin: 10px 0;
}

.community-links a {
    color: #82aaff;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.community-links a:hover {
    color: #3d5afe;
}
