@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;
    -webkit-user-select: none; 
    -moz-user-select: none; 
    -ms-user-select: none; 
    user-select: none; 
}

@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: 140px;
    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;
    margin-top: 10px;
    /* margin-bottom: 15px; */
}

h3 {
    color: #82aaff;
    font-size: 1.2 em;
    margin-top: 30px;
    margin-bottom: -5px;
}

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: rgba(130, 170, 255, 0.2);
    color: #82aaff;
    text-decoration: none;
    border-radius: 10px;
    font-size: 1.2em;
    transition: all 0.3s ease;
    margin-top: 20px;
    border: 1px solid rgba(130, 170, 255, 0.5);
    font-family: 'VT323', monospace;
}

.cta-button:hover {
    background-color: rgba(130, 170, 255, 0.3);
    color: #ffffff;
}

.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;
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 20px;
}

.social-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #d0d0d0;
    transition: transform 0.3s ease, background-color 0.3s ease;
    padding: 10px;
    border-radius: 10px;
    background-color: rgba(255, 255, 255, 0.1);
}

.social-link:hover {
    transform: translateX(5px);
    background-color: rgba(255, 255, 255, 0.2);
}

.social-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    margin-right: 15px;
}

.social-icon img {
    width: 100%;
    height: 100%;
}

.social-info {
    flex-grow: 1;
}

.social-info span {
    font-size: 18px;
    font-weight: bold;
    display: block;
    margin-bottom: 5px;
}

.social-description {
    font-size: 14px;
    margin: 0;
}

.ui-tooltip {
    max-width: none !important;
    font-size: 16px !important;
    background-color: rgba(34, 37, 54, 0.8) !important;
    color: #d0d0d0 !important;
    border: none !important;
    border-radius: 10px !important;
    padding: 3 15px !important;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3) !important;
    backdrop-filter: blur(5px) !important;
    font-family: 'VT323', monospace !important;
    letter-spacing: 1px !important;
    word-wrap: break-word !important;
    white-space: normal !important;
    border: 1px solid rgba(130, 170, 255, 0.3) !important;
}

.faq-category {
    margin-bottom: 30px;
}

.faq-question {
    background-color: rgba(130, 170, 255, 0.2) !important;
    color: #d0d0d0 !important;
    cursor: pointer ;
    padding: 10px !important;
    width: 100%;
    border: none;
    text-align: left;
    outline: none;
    font-size: 18px !important;
    transition: all 0.3s ease;
    border-radius: 10px;
    position: relative;
    margin: 0 0 20px !important;
    font-weight: bold !important;
}

.faq-question:hover {
    background-color: rgba(130, 170, 255, 0.3);
}

.faq-question:after {
    content: '\002B';
    color: #d0d0d0;
    font-weight: bold;
    float: right;
    margin-left: 5px;
    transition: all 0.3s ease;
}

.faq-question.active:after {
    content: "\2212";
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 18px;
    background-color: rgba(0, 0, 0, 0.2);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease;
    border-radius: 0 0 10px 10px;
    margin-top: -20px;
    margin-bottom: 10px;
}

.faq-answer.active {
    padding: 15px 18px;
}

.faq-answer p {
    margin: 0;
    line-height: 1.6;
}


ol > li::before {
    content: none;
}

ol > li {
    counter-increment: my-awesome-counter;
    margin-bottom: 10px;
}

.highlight_text {
    color: #5c74ff;
    font-weight: bold;
}

.highlight_url {
    color: #5a8eff;
    font-weight: bold;
    text-decoration: none;
    transition: color 0.3s ease;
}

.external-icon {
    width: 16px;
    height: 16px;
    vertical-align: middle;
    margin:0px 5px 5px;
}

/* 新的按鈕樣式 */
.open-new-window-button {
    display: inline-block;
    padding: 5px 10px;
    margin: 10px 0;
    background-color: rgba(130, 170, 255, 0.2);
    color: #82aaff;
    text-decoration: none;
    border-radius: 10px;
    font-size: 1em;
    transition: all 0.3s ease;
    border: 1px solid rgba(130, 170, 255, 0.5);
    font-family: 'VT323', monospace;
    position: relative;
}


.open-new-window-button:hover {
    background-color: rgba(130, 170, 255, 0.3);
    color: #ffffff;
}
