:root {
--primary: #2E7D32;
--secondary: #4CAF50;
--accent: #8BC34A;
--light: #F1F8E9;
--dark: #1B5E20;
--gray: #757575;
--black: #212121;
--white: #FFFFFF;
--warning: #FFC107;
--danger: #F44336;
}
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: 'Segoe UI', 'Microsoft JhengHei', sans-serif;
}
body {
background-color: var(--light);
color: var(--black);
line-height: 1.6;
}
.container {
max-width: 1200px;
margin: 0 auto;
padding: 0 20px;
}
header {
background-color: var(--dark);
color: var(--white);
padding: 20px 0;
position: relative;
overflow: hidden;
}
header::before {
content: "";
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background-image: url('/api/placeholder/1200/400');
background-size: cover;
background-position: center;
opacity: 0.3;
z-index: 0;
}
.header-content {
position: relative;
z-index: 1;
text-align: center;
padding: 40px 0;
}
.logo {
font-size: 3rem;
font-weight: bold;
margin-bottom: 20px;
text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}
.tagline {
font-size: 1.2rem;
margin-bottom: 30px;
}
.server-status {
display: inline-block;
background-color: var(--primary);
color: var(--white);
padding: 10px 20px;
border-radius: 5px;
font-weight: bold;
margin-bottom: 20px;
}
.status-online {
display: inline-block;
width: 10px;
height: 10px;
background-color: #4CAF50;
border-radius: 50%;
margin-right: 5px;
}
.status-offline {
display: inline-block;
width: 10px;
height: 10px;
background-color: #ff1414;
border-radius: 50%;
margin-right: 5px;
}
.cta-button {
display: inline-block;
background-color: var(--accent);
color: var(--black);
padding: 12px 30px;
border-radius: 5px;
text-decoration: none;
font-weight: bold;
font-size: 1.1rem;
transition: all 0.3s ease;
margin: 10px;
}
.cta-button:hover {
background-color: var(--primary);
color: var(--white);
transform: translateY(-2px);
}
nav {
background-color: var(--primary);
position: sticky;
top: 0;
z-index: 100;
}
.nav-container {
display: flex;
justify-content: space-between;
align-items: center;
}
.nav-links {
display: flex;
list-style: none;
}
.nav-links li a {
display: block;
color: var(--white);
text-decoration: none;
padding: 15px 20px;
transition: all 0.3s ease;
}
.nav-links li a:hover {
background-color: var(--dark);
}
.hamburger {
display: none;
cursor: pointer;
padding: 15px;
}
.bar {
display: block;
width: 25px;
height: 3px;
margin: 5px auto;
background-color: var(--white);
transition: all 0.3s ease;
}
section {
padding: 60px 0;
}
.section-title {
text-align: center;
font-size: 2.5rem;
margin-bottom: 40px;
color: var(--dark);
}
.section-subtitle {
text-align: center;
font-size: 1.2rem;
margin-bottom: 40px;
color: var(--gray);
}
.card {
background-color: var(--white);
border-radius: 10px;
box-shadow: 0 4px 8px rgba(0,0,0,0.1);
padding: 30px;
margin-bottom: 30px;
transition: all 0.3s ease;
}
.card:hover {
transform: translateY(-5px);
box-shadow: 0 8px 16px rgba(0,0,0,0.2);
}
.card-title {
font-size: 1.5rem;
margin-bottom: 15px;
color: var(--dark);
}
.card-content {
color: var(--black);
}
.features {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
gap: 30px;
}
.feature-icon {
font-size: 2.5rem;
margin-bottom: 20px;
color: var(--primary);
}
.timeline {
position: relative;
max-width: 800px;
margin: 0 auto;
}
.timeline::after {
content: '';
position: absolute;
width: 6px;
background-color: var(--primary);
top: 0;
bottom: 0;
left: 50%;
margin-left: -3px;
}
.timeline-item {
padding: 10px 40px;
position: relative;
width: 50%;
box-sizing: border-box;
}
.timeline-item::after {
content: '';
position: absolute;
width: 20px;
height: 20px;
background-color: var(--white);
border: 4px solid var(--accent);
border-radius: 50%;
top: 15px;
z-index: 1;
}
.left {
left: 0;
text-align: right;
}
.right {
left: 50%;
}
.left::after {
right: -10px;
}
.right::after {
left: -10px;
}
.timeline-content {
padding: 20px;
background-color: var(--white);
border-radius: 6px;
box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}
.timeline-date {
font-weight: bold;
color: var(--primary);
}
.gallery {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
gap: 20px;
margin-top: 40px;
}
.gallery-item {
position: relative;
overflow: hidden;
border-radius: 10px;
height: 200px;
}
.gallery-item img {
width: 100%;
height: 100%;
object-fit: cover;
transition: transform 0.5s ease;
}
.gallery-item:hover img {
transform: scale(1.1);
}
.team {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
gap: 30px;
margin-top: 40px;
}
.team-member {
text-align: center;
}
.team-member img {
width: 150px;
height: 150px;
object-fit: cover;
border-radius: 50%;
margin-bottom: 15px;
}
.member-name {
font-size: 1.3rem;
font-weight: bold;
margin-bottom: 5px;
}
.member-role {
color: var(--gray);
margin-bottom: 10px;
}
.social-links {
display: flex;
justify-content: center;
gap: 10px;
}
.social-links a {
display: inline-block;
width: 30px;
height: 30px;
background-color: var(--gray);
color: var(--white);
border-radius: 50%;
text-align: center;
line-height: 30px;
transition: all 0.3s ease;
}
.social-links a:hover {
background-color: var(--primary);
transform: translateY(-3px);
}
footer {
background-color: var(--dark);
color: var(--white);
padding: 40px 0 20px;
}
.footer-content {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
gap: 30px;
margin-bottom: 30px;
}
.footer-section h3 {
font-size: 1.3rem;
margin-bottom: 20px;
}
.footer-links {
list-style: none;
}
.footer-links li {
margin-bottom: 10px;
}
.footer-links a {
color: var(--light);
text-decoration: none;
transition: all 0.3s ease;
}
.footer-links a:hover {
color: var(--accent);
padding-left: 5px;
}
.footer-bottom {
text-align: center;
padding-top: 20px;
border-top: 1px solid rgba(255,255,255,0.1);
}
.scroll-top {
position: fixed;
bottom: 20px;
right: 20px;
background-color: var(--primary);
color: var(--white);
width: 40px;
height: 40px;
border-radius: 50%;
display: flex;
justify-content: center;
align-items: center;
text-decoration: none;
opacity: 0;
transition: all 0.3s ease;
z-index: 99;
}
.scroll-top.active {
opacity: 1;
}
.activities {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
gap: 30px;
}
.activity-card {
background-color: var(--white);
border-radius: 10px;
overflow: hidden;
box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}
.activity-image {
height: 200px;
overflow: hidden;
}
.activity-image img {
width: 100%;
height: 100%;
object-fit: cover;
transition: transform 0.5s ease;
}
.activity-card:hover .activity-image img {
transform: scale(1.1);
}
.activity-content {
padding: 20px;
}
.activity-title {
font-size: 1.3rem;
margin-bottom: 10px;
}
.activity-date {
color: var(--gray);
margin-bottom: 10px;
font-size: 0.9rem;
}
table {
width: 100%;
border-collapse: collapse;
margin: 20px 0;
}
th, td {
padding: 12px 15px;
text-align: left;
border-bottom: 1px solid #ddd;
}
th {
background-color: var(--primary);
color: var(--white);
}
tr:nth-child(even) {
background-color: rgba(0,0,0,0.05);
}
tr:hover {
background-color: rgba(0,0,0,0.1);
}
blockquote {
background-color: var(--light);
border-left: 5px solid var(--primary);
padding: 15px;
margin: 20px 0;
font-style: italic;
}

.rules-list {
list-style-type: none;
counter-reset: rule-counter;
}
.rules-list li {
margin-bottom: 15px;
padding-left: 30px;
position: relative;
}
.rules-list li::before {
content: counter(rule-counter);
counter-increment: rule-counter;
position: absolute;
left: 0;
top: 0;
width: 22px;
height: 22px;
background-color: var(--primary);
color: white;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
font-size: 12px;
font-weight: bold;
}
.rule-category {
margin-top: 25px;
margin-bottom: 15px;
color: var(--dark);
font-weight: bold;
font-size: 1.2rem;
border-bottom: 2px solid var(--accent);
padding-bottom: 5px;
}
.important-rule {
font-weight: bold;
color: var(--danger);
}
.announcement-item {
border-left: 4px solid var(--primary);
padding: 15px;
margin-bottom: 20px;
background-color: rgba(76, 175, 80, 0.1);
}
.announcement-title {
font-size: 1.2rem;
font-weight: bold;
margin-bottom: 10px;
display: flex;
justify-content: space-between;
align-items: center;
}
.announcement-date {
font-size: 0.9rem;
color: var(--gray);
}
.announcement-content {
margin-bottom: 10px;
}
.announcement-tag {
display: inline-block;
padding: 3px 10px;
font-size: 0.75rem;
border-radius: 15px;
margin-right: 5px;
margin-bottom: 5px;
font-weight: bold;
}
.tag-update {
background-color: var(--primary);
color: white;
}
.tag-event {
background-color: var(--accent);
color: var(--black);
}
.tag-important {
background-color: var(--danger);
color: white;
}
.tag-maintenance {
background-color: var(--warning);
color: var(--black);
}
.announcement-pinned {
border-left: 4px solid var(--danger);
background-color: rgba(244, 67, 54, 0.1);
}
/* Media Queries */
@media (max-width: 768px) {
.nav-links {
    position: fixed;
    left: -100%;
    top: 5rem;
    flex-direction: column;
    background-color: var(--dark);
    width: 100%;
    text-align: center;
    transition: 0.3s;
    box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
}
.nav-links.active {
    left: 0;
}
.nav-links li {
    margin: 2.5px 0;
}
.hamburger {
    display: block;
}
.hamburger.active .bar:nth-child(2) {
    opacity: 0;
}
.hamburger.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}
.hamburger.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}
.timeline::after {
    left: 31px;
}
.timeline-item {
    width: 100%;
    padding-left: 70px;
    padding-right: 25px;
}
.timeline-item::after {
    left: 21px;
}
.left::after, .right::after {
    left: 21px;
}
.right {
    left: 0;
}
.left {
    text-align: left;
}
}
.header-logo {
width: 150px;
height: 150px;
display: block;
margin: 0 auto 20px auto;
border-radius: 50%;
object-fit: cover;
}
.announcement-item ul {
list-style-position: inside; 
margin: 0;
padding-left: 1.2em;
}
