/* 마인크래프트 공식 서버 느낌의 심플&모던 스타일 */

:root {
    --mc-green: #5e7c16;
    --mc-brown: #7c5e3c;
    --mc-light: #f3f3f3;
    --mc-dark: #222;
    --mc-accent: #b6e53e;
    --mc-border: #cfcfcf;
}

html, body {
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', 'Malgun Gothic', 'Arial', sans-serif;
    background: var(--mc-light);
    color: var(--mc-dark);
    min-height: 100vh;
}

.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* 네비게이션 */
.navbar {
    background: linear-gradient(90deg, var(--mc-green) 60%, var(--mc-brown) 100%);
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    padding: 0.5rem 0;
}
.nav-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.logo {
    font-family: 'Segoe UI', 'Arial Black', 'Arial', sans-serif;
    font-size: 1.6rem;
    color: #fff;
    text-shadow: 1px 2px 0 #333, 0 0 8px #b6e53e44;
    letter-spacing: 2px;
    text-decoration: none;
    font-weight: bold;
}
.nav-menu {
    list-style: none;
    display: flex;
    gap: 1.5rem;
    margin: 0;
    padding: 0;
}
.nav-link {
    color: #fff;
    font-weight: 500;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: background 0.2s, color 0.2s;
}
.nav-link:hover, .nav-link.active {
    background: var(--mc-accent);
    color: var(--mc-dark);
}

/* 페이지 헤더 */
.page-header {
    background: linear-gradient(90deg, var(--mc-green) 60%, var(--mc-brown) 100%);
    color: #fff;
    padding: 2.5rem 0 1.5rem 0;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    border-bottom-left-radius: 24px;
    border-bottom-right-radius: 24px;
    margin-bottom: 2rem;
}
.page-header h1 {
    font-size: 2.2rem;
    margin-bottom: 0.5rem;
    letter-spacing: 1px;
    text-shadow: 1px 2px 0 #333, 0 0 8px #b6e53e44;
}
.page-header p {
    font-size: 1.1rem;
    opacity: 0.95;
}

/* 메인 컨텐츠 */
.content-section {
    margin-bottom: 2.5rem;
}

/* 서버 특징/정보 리스트 */
.feature-list, .info-list {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(94,124,22,0.07);
    padding: 1.2rem 1.5rem;
    margin-bottom: 1.5rem;
    border: 1.5px solid var(--mc-border);
    font-size: 1.05rem;
}
.feature-list li, .info-list li {
    margin-bottom: 0.5rem;
    line-height: 1.7;
}
.feature-list li:last-child, .info-list li:last-child { margin-bottom: 0; }

/* 규칙 */
.rule-list {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(124,94,60,0.07);
    padding: 1.2rem 1.5rem;
    border: 1.5px solid var(--mc-border);
    font-size: 1.05rem;
}
.rule-list li {
    margin-bottom: 0.7rem;
    padding-left: 0.5rem;
}
.rule-list li:last-child { margin-bottom: 0; }

/* 참여 방법 */
.join-steps {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(94,124,22,0.07);
    padding: 1.2rem 1.5rem;
    border: 1.5px solid var(--mc-border);
    font-size: 1.05rem;
}
.join-steps li {
    margin-bottom: 0.7rem;
    line-height: 1.7;
}
.join-steps li:last-child { margin-bottom: 0; }
.help-box {
    margin-top: 1.2rem;
    background: var(--mc-accent);
    color: #222;
    border-radius: 8px;
    padding: 0.7rem 1rem;
    font-weight: 500;
    box-shadow: 0 1px 4px rgba(182,229,62,0.08);
}

/* 랭킹 탭 */
.ranking-tabs {
    display: flex;
    gap: 0.7rem;
    margin-bottom: 1.2rem;
}
.tab-btn {
    background: #fff;
    color: var(--mc-green);
    border: 2px solid var(--mc-green);
    border-radius: 8px 8px 0 0;
    padding: 0.5rem 1.2rem;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
    box-shadow: 0 2px 6px rgba(94,124,22,0.06);
}
.tab-btn.active, .tab-btn:hover {
    background: var(--mc-green);
    color: #fff;
}
.ranking-table-wrap {
    background: #fff;
    border-radius: 0 0 12px 12px;
    box-shadow: 0 2px 8px rgba(94,124,22,0.07);
    border: 1.5px solid var(--mc-border);
    border-top: none;
    overflow-x: auto;
}
.ranking-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 1rem;
}
.ranking-table th, .ranking-table td {
    padding: 0.7rem 0.5rem;
    border-bottom: 1px solid #eaeaea;
    text-align: center;
}
.ranking-table th {
    background: var(--mc-accent);
    color: var(--mc-dark);
    font-weight: 700;
}
.ranking-table tr:last-child td {
    border-bottom: none;
}
.ranking-table tr:hover {
    background: #f7ffe0;
}

/* 공지사항 */
.notice-list {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}
.notice-item {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(124,94,60,0.07);
    border: 1.5px solid var(--mc-border);
    padding: 1.1rem 1.3rem;
    transition: box-shadow 0.2s;
}
.notice-item:hover {
    box-shadow: 0 4px 16px rgba(124,94,60,0.13);
}
.notice-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--mc-brown);
    margin-bottom: 0.3rem;
}
.notice-meta {
    font-size: 0.95rem;
    color: #888;
    margin-bottom: 0.5rem;
}
.notice-content {
    font-size: 1rem;
    color: #333;
}

/* 푸터 */
footer {
    background: var(--mc-green);
    color: #fff;
    text-align: center;
    padding: 1.2rem 0 1rem 0;
    border-top-left-radius: 18px;
    border-top-right-radius: 18px;
    margin-top: 2.5rem;
    font-size: 1rem;
    box-shadow: 0 -2px 8px rgba(94,124,22,0.08);
}

/* 반응형 */
@media (max-width: 700px) {
    .container { padding: 0 0.5rem; }
    .nav-menu { gap: 0.7rem; }
    .page-header { padding: 1.5rem 0 1rem 0; }
    .page-header h1 { font-size: 1.3rem; }
    .ranking-tabs { flex-direction: column; gap: 0.3rem; }
    .tab-btn { width: 100%; }
    .ranking-table th, .ranking-table td { padding: 0.4rem 0.2rem; font-size: 0.95rem; }
    .feature-list, .info-list, .rule-list, .join-steps { padding: 0.7rem 0.7rem; font-size: 0.97rem; }
    .notice-item { padding: 0.7rem 0.7rem; }
} 