:root {
    --primary-tone: #f5f4f2;
    --primary-tone-dark: #cfcdc9;
    --secondary-tone: #1dbe6e;
    --header_bg: #350f0c;
    --bg-dark: #150605;
    --card-bg: rgba(26, 19, 24, 0.85);
    --text-light: #cfcdc9;
    --text-muted: #aaa6a6;
}

body {
    font-family: "Atkinson Hyperlegible", sans-serif;
    font-weight: 400;
    background-color: var(--bg-dark);
    color: var(--text-light);
}

h1, h2, h3, h4, h5, h6, .navbar-brand {
    font-family: "Atkinson Hyperlegible", sans-serif;
    font-weight: 400;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* --- Advanced Navbar --- */
.navbar {
    background-color: var(--header_bg) !important;
    border-bottom: 2px solid var(--primary-tone-dark);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.navbar .navbar-brand {
    color: var(--primary-tone) !important;
    font-weight: 700;
    font-size: 1.5rem;
    text-shadow: 0 0 10px rgba(197, 160, 89, 0.3);
}

.navbar .nav-link {
    color: var(--text-light) !important;
    font-weight: 400;
    margin: 0 0.5rem;
    position: relative;
    transition: color 0.3s ease;
}

.navbar .nav-link:hover,
.navbar .nav-link.active {
    color: var(--primary-tone) !important;
}

.navbar .nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    background-color: var(--primary-tone);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.navbar .nav-link:hover::after,
.navbar .nav-link.active::after {
    width: 100%;
}

/* --- Hero Section with Parallax --- */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: url('../images/bg/main_bg.jpg') no-repeat center center scroll;
    background-size: cover;
    background-attachment: fixed;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(circle, rgba(21, 6, 5, 0.2) 0%, rgba(21,6,5,0.8) 90%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 2rem;
    background: rgba(21, 6, 5, 0.6);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(197, 160, 89, 0.3);
    box-shadow: 0 0 30px rgba(0,0,0,0.8);
    border-radius: 4px;
    max-width: 800px;
}

.hero-logo {
    max-width: 400px;
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 0 15px rgba(255, 254, 253, 0.9));
}

.hero h1 {
    font-size: 3.5rem;
    color: var(--primary-tone);
    text-shadow: 2px 2px 4px #000;
    margin-bottom: 0.5rem;
}

.hero .subtitle {
    font-size: 1.5rem;
    color: #ccc;
    letter-spacing: 3px;
    margin-bottom: 2rem;
    border-bottom: 1px solid var(--primary-tone-dark);
    display: inline-block;
    padding-bottom: 0.5rem;
}

.btn-epic {
    background: linear-gradient(180deg, var(--primary-tone) 0%, var(--primary-tone-dark) 100%);
    border: 1px solid #ece6e3;
    color: #1a1410;
    font-family: 'Atkinson Hyperlegible', sans-serif;
    font-weight: 700;
    padding: 12px 35px;
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 0 15px rgba(197, 160, 89, 0.4);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-epic:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 25px rgba(197, 160, 89, 0.7);
    color: #000;
}

/* --- Sections Styling --- */
section {
    padding: 100px 0;
    position: relative;
    scroll-margin-top: 100px;
}

.section-title {
    text-align: center;
    margin-bottom: 4rem;
    font-size: 2.8rem;
    color: var(--primary-tone);
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}


.legal-text-title {
    text-align: justify;
    margin-bottom: 1rem;
    font-size: 1.8rem;
    color: var(--primary-tone);
    position: relative;
    display: inline-block;

}

.legal-text-body {
    text-align: justify;
    margin-bottom: 3rem;
    font-size: 1.05rem;
    color: var(--text-muted);
    position: relative;

}


/* --- Feature Cards --- */
.feature-card {
    background: var(--card-bg);
    border: 1px solid var(--primary-tone-dark);
    padding: 2.5rem;
    border-radius: 0;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    height: 100%;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary-tone), transparent);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgb(228, 228, 226);
    border-color: var(--primary-tone);
}

.feature-icon-wrapper {
    width: 80px;
    height: 80px;
    background: var(--header_bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    border: 1px solid var(--primary-tone-dark);
    color: var(--primary-tone);
    font-size: 2rem;
    transition: all 0.3s ease;
}

.feature-icon-wrapper i {
    display: block;
    line-height: 1;
    transform: translateY(2px);
}

.feature-card:hover .feature-icon-wrapper {
    background: var(--primary-tone);
    color: var(--bg-dark);
    box-shadow: 0 0 20px var(--primary-tone);
}

/* --- Server Info --- */
.info-container {
	font-family: 'Atkinson Hyperlegible', sans-serif;
    background: var(--card-bg);
    border: 1px solid var(--primary-tone-dark);
    padding: 3rem;
    position: relative;
    box-shadow: inset 0 0 100px rgba(35,15,12,0.6);
}

.imprint {
    padding: 3rem;
    position: relative;
}


.server-info {
	font-family: 'Atkinson Hyperlegible', sans-serif;
    border-bottom: 1px solid rgba(197, 160, 89, 0.2);
    padding: 1rem 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.server-info-content {
	font-family: 'Atkinson Hyperlegible', sans-serif;
    border-bottom: 1px solid rgba(197, 160, 89, 0.2);
    padding: 1rem 0;
    display: block;
    justify-content: center;
    align-items: center;
}

.stat-row-end {
    padding: 1rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#minecraft-status .minecraft-status-row {
    margin-bottom: 1rem;
}

#minecraft-status .minecraft-status-label {
    font-weight: 600;
    margin-right: 0rem;
}

#minecraft-status .minecraft-status-value {
    min-width: 5rem;
    align-items: right;
}

#minecraft-status .minecraft-player {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0 0.75rem 0.5rem 0;
    vertical-align: middle;
}

#minecraft-status .minecraft-player-head {
    width: 32px;
    height: 32px;
    flex: 0 0 32px;
    image-rendering: pixelated;
    border-radius: 0.25rem;
}

#minecraft-status .minecraft-player-name {
    line-height: 1.2;
}

.stat-row:last-child { border-bottom: none; }
.stat-row a { color: var(--primary-tone); text-decoration: none; }
.stat-row a:hover { text-decoration: underline; color: #fff; }

.stat-label { font-weight: 700; color: var(--primary-tone); }
.stat-value { font-family: 'Cinzel', serif; font-size: 1.1rem; }

/* --- Community Section --- */
#discord {
    background: linear-gradient(rgba(21, 6, 5, 0.3), rgba(21, 6, 5, 0.7)), url('../images/bg/community_bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--primary-tone);
}

#team {
    background: linear-gradient(rgba(21, 6, 5, 0.3), rgba(21, 6, 5, 0.7)), url('../images/bg/team_bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--primary-tone);
}

#serverinfo {
    background: linear-gradient(rgba(21, 6, 5, 0.3), rgba(21, 6, 5, 0.7)), url('../images/bg/server_bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--primary-tone);
}

.discord-box {
    background: rgba(88, 101, 242, 0.3);
    border: 1px solid #5865F2;
    padding: 2rem;
    transition: all 0.3s;
}
.discord-box:hover { background: rgba(88, 101, 242, 0.2); }

/* --- Staff Section --- */

.serveradmin-card {
    color: var(--primary-tone);
    font-family: 'Cinzel', serif;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* --- Footer --- */
footer {
    background: var(--header_bg);
    border-top: 3px solid var(--primary-tone-dark);
    padding: 3rem 0;
    color: #888;
}

footer a { 
    color: var(--primary-tone); 
    text-decoration: none; 
}

footer a:hover { 
    text-decoration: underline; 
    color: #fff; 
}

@media (max-width: 768px) {
    .hero h1 { font-size: 2.5rem; }
    .hero .subtitle { font-size: 1rem; }
    .section-title { font-size: 2rem; }
}
