/* Reset & Variables */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-yellow: #E3A21A;
    --primary-yellow-dark: #C47F12;
    --brown-dark: #3A1E0A;
    --green-light: #4A9C2E;
    --green-medium: #2F6A1A;
    --green-dark: #1E3B13;
    --accent-red: #E7543B;
    --grey-light: #A7A9AC;
    --grey-searchbar: rgba(167, 169, 172, 0.3);
    --grey-dark: #595B5E;
    --background-dark: #0F0F0F;
    --background-mid: #141414;
    --background-light: #F5F5F5;
    --background-card: #E6D7B9;
    --text-dark: #0F0F0F;
    --text-light: #F2E8D5;
    --drop-shadow: rgba(0,0,0,0.25);
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--background-dark);
    color: var(--text-light);
}

/* Navbar */
.navbar {
    background-color: rgba(58, 30, 10, 0.3);
    backdrop-filter: blur(2px);
    position: fixed;
    width: 100%;
    height: 65px;
    top: 0;
    left: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    box-shadow: 0px 4px var(--drop-shadow);
}

.rules-page .navbar {
    backdrop-filter: blur(2px);
    background-color: rgba(58, 30, 10, 0.2);
    box-shadow: none;
}

.nav-container-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1141px;
    width: 100%;
    padding: 0 20px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: bold;
    color: var(--text-light);
}

.brand img {
    width: 50px;
    height: 50px;
}

.main-menu {
    display: flex;
    gap: 30px;
}

.main-menu li {
    list-style: none;
}

.main-menu a {
    text-decoration: none;
    color: var(--text-light);
    font-weight: bold;
    transition: 0.2s ease;
}

.main-menu a:hover {
    color: var(--primary-yellow);
}

/* --- DROPDOWN (DESKTOP) --- */

.main-menu li.nav-dropdown {
    position: relative;
}

.main-menu li.nav-dropdown a i {
    margin-left: 6px;
    transition: transform 0.3s ease;
}

/* Desktop dropdown style */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: rgba(58, 30, 10, 0.3);
    backdrop-filter: blur(2px);
    border-radius: 6px;
    min-width: 160px;
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transition: max-height 0.3s ease, opacity 0.25s ease;
    box-shadow: 0 6px 16px rgba(0,0,0,0.35);
    z-index: 2000;
    margin-top: 0.4rem;
}

.dropdown-menu li a {
    display: block;
    padding: 12px 18px;
    color: var(--text-light);
    font-weight: bold;
    font-size: 16px;
    transition: background 0.2s ease, color 0.2s ease;
}

.dropdown-menu li a:hover {
    background: var(--primary-yellow-dark);
    color: var(--text-dark);
}

/* Desktop hover: open dropdown */
@media (min-width: 768px) {
    .nav-dropdown:hover .dropdown-menu {
        max-height: 500px;
        opacity: 1;
    }
    .nav-dropdown:hover a i {
        transform: rotate(180deg);
    }
}

/* --- MOBILE DROPDOWN --- */
@media (max-width: 768px) {

    .dropdown-menu {
        position: relative;
        left: -20px; /* shift left */
        background-color: rgba(58, 30, 10, 0.3);
        backdrop-filter: blur(2px);
        border-radius: 6px;
        width: 180px;

        max-height: 0;
        opacity: 0;
        overflow: hidden;

        transform: translateY(-5px) translateX(10px);
        transition:
            max-height 0.35s ease,
            opacity 0.25s ease,
            transform 0.35s ease;
    }

    /* When JS toggles open */
    .dropdown-menu.open {
        max-height: 500px;
        opacity: 1;
        transform: translateY(0) translateX(0);
    }

    /* clickable menu label with caret */
    .dropdown-link {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    /* mobile caret points RIGHT by default */
    .dropdown-link i {
        transform: rotate(0deg);
        transition: transform 0.3s ease;
    }

    /* caret DOWN when opened */
    .dropdown-link.active i {
        transform: rotate(180deg);
    }
}

/* Hamburger */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-light);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero, .features, .banner {
    padding-top: 8rem;
    padding-bottom: 8rem;
}

.hero {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    background-color: #FDFDFD;
    background-image: url('../public/images/bg2.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
    border-bottom: 3px solid #EAEAEA;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(253, 253, 253, 0.3);
    z-index: 1;
}

.hero-container {
    position: relative;
    z-index: 2;
}

.hero-container {
    max-width: 900px;
}

.hero-title {
    font-size: 40px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #000000;
}

.hero-description {
    font-size: 17px;
    font-weight: 300;
    margin-bottom: 40px;
    line-height: 1.5;
    color: #000000;
}

.hero-buttons {
    display: flex;
    gap: 40px;
    justify-content: center;
    flex-wrap: wrap;
}

.server-ip-box {
    margin-top: 2rem;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #F9C784, #FFD1B3);
    border: 2px solid #F9C784;
    border-radius: 15px;
    color: #333333;
    font-weight: bold;
    text-align: center;
    max-width: 300px;
    margin-left: auto;
    margin-right: auto;
    box-shadow: 0 8px 20px rgba(249, 199, 132, 0.3), 0 0 30px rgba(249, 199, 132, 0.2);
    transition: all 0.3s ease;
    cursor: pointer;
    text-shadow: 0 0 10px rgba(249, 199, 132, 0.5);
    animation: serverGlow 3s ease-in-out infinite alternate;
}

.server-ip-box:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 12px 30px rgba(249, 199, 132, 0.5), 0 0 40px rgba(249, 199, 132, 0.4);
    background: linear-gradient(135deg, #FFD1B3, #F9C784);
    text-shadow: 0 0 15px rgba(249, 199, 132, 0.8);
}

@keyframes serverGlow {
    0% {
        box-shadow: 0 8px 20px rgba(249, 199, 132, 0.3), 0 0 30px rgba(249, 199, 132, 0.2);
        text-shadow: 0 0 10px rgba(249, 199, 132, 0.5);
    }
    100% {
        box-shadow: 0 8px 25px rgba(249, 199, 132, 0.5), 0 0 40px rgba(249, 199, 132, 0.3);
        text-shadow: 0 0 15px rgba(249, 199, 132, 0.7);
    }
}

.btn {
    padding: 15px 25px;
    border-radius: 5px;
    font-weight: bold;
    transition: all 0.25s ease;
    cursor: pointer;
    text-decoration: none;
}

.btn-discord {
    background-color: var(--primary-yellow);
    color: var(--text-dark);
    box-shadow: 0px 4px 12px rgba(0,0,0,0.15);
}

.btn-discord:hover {
    transform: translateY(2px);
    box-shadow: 0px 6px 15px rgba(0,0,0,0.19);
}

.btn-rules {
    color: #333333;
    background: #D6CDEA;
    padding: 15px 25px;
    border-radius: 5px;
    font-weight: bold;
    transition: all 0.25s ease;
    cursor: pointer;
    text-decoration: none;
    border: 2px solid #D6CDEA;
    box-shadow: 0 4px 15px rgba(214, 205, 234, 0.3);
}

.btn-rules:hover {
    background: #FFD1B3;
    border-color: #FFD1B3;
    box-shadow: 0 6px 20px rgba(255, 209, 179, 0.4);
    transform: translateY(-2px);
}

/* Features Section */
.features {
    padding: 4rem 3rem;
    background: #F8F8F8;
    display: flex;
    justify-content: center;
}

.features h5, .features p, .features span {
    color: var(--text-dark);
}

.features-container {
    max-width: 90%;
    margin: 0 auto;
}

.features-content {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-wrap: wrap;
}

.features-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    flex: 1;
    margin-top: 1rem;
}

.title-top {
    color: var(--text-dark);
}

.title-bottom {
    color: var(--text-dark);
    margin-top: 0.10em;
}

.features-title {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    color: var(--text-dark);
    font-size: 32px;
    font-weight: bold;
    text-align: center;
    line-height: 1.2;
    margin-bottom: 2rem;
}

.features-title span {
    display: block;
}

.features-chunks {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.feature-chunk h5 {
    font-size: 20px;
    font-weight: bold;
}

.feature-chunk {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.feature-chunk p {
    font-size: 16px;
    line-height: 1.5;
}

/* Banner Section */
.banner {
    text-align: center;
    background-color: var(--background-mid);
}

.banner h4 {
    font-size: 28px;
    margin-bottom: 1rem;
}

.banner p {
    margin-bottom: 2rem;
}

/* Footer */
.footer {
    background-color: var(--background-dark);
    color: var(--text-light);
    padding: 2rem;
    text-align: center;
}

/* Responsive */
@media (max-width: 1300px) {
    .features-content {
        flex-direction: column;
        gap: 3rem;
        text-align: center;
    }

    .features-chunks {
        align-items: center;
    }

    .features-title h3 {
        margin: 0;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 32px;
    }

    .hero-description {
        font-size: 15px;
    }

    .main-menu {
        display: none;
        flex-direction: column;
        gap: 15px;
        background-color: rgba(58, 30, 10, 0.3);
        position: absolute;
        top: 65px;
        right: 0;
        width: 200px;
        padding: 1rem;
        border-left: 1px solid rgba(58, 30, 10, 0.3);
    }

    .main-menu.active {
        display: flex;
    }

    .nav-toggle {
        display: block;
    }

    .features-chunks {
        grid-template-columns: 1fr;
    }
}

/* Rules styles */
.rules-section{
    background: var(--background-light);
    position: relative;
    height: 100vh;
    padding: 65px 0 0 0;
    overflow: hidden;
}
.rules-panel{
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    display: block;
    background: transparent;
}
.rules-panel header h1{ margin:0 0 0.25rem 0; color:var(--text-light); font-size:2rem; }
.rules-panel header p.lede{ color:var(--grey-light); margin-bottom:1rem; }
.rules-toc{ margin-bottom:1.25rem; display:block; }
.rules-toc ul{ list-style: none; padding-left: 0; display:flex; flex-wrap:wrap; gap:0.5rem 1rem; }
.rules-toc a{ color:var(--primary-yellow-dark); text-decoration:none; padding:0.45rem 0.6rem; border-radius:6px; background: rgba(0,0,0,0.08); transition: all 0.3s ease; }
.rules-grid{ display:grid; grid-template-columns: 1fr; gap:1.5rem; height:100%; }
.rules-content h2{ 
    color: var(--text-dark); 
    margin-top: 0.5rem; 
    font-size: 1.5rem; 
    font-weight: 600; 
    margin-bottom: 0.5rem; 
    text-transform: uppercase; 
    letter-spacing: 0.5px; 
}
.rules-content p, .rules-content li{ 
    color: var(--text-dark); 
    line-height: 1.6; 
    font-size: 1rem; 
    margin-bottom: 0.25rem; 
}
.rules-content ul{ 
    margin-left: 1.5rem; 
    padding-left: 0; 
}
@media(min-width:900px){
    .rules-grid{ grid-template-columns: 260px 1fr; height: calc(100vh - 4.0625rem); }
    .rules-toc{ margin:0; }
    .rules-toc ul{ flex-direction:column; gap:0.5rem; }
    .rules-grid aside.rules-toc{
        position: sticky;
    top: 4.0625rem;
    bottom: 6.5rem;
        align-self: start;
        width: 260px;
        height: auto;
        padding: 0.75rem 0.75rem 1.5rem 0.75rem;
        overflow-y: visible;
        background: #CCCCCC;
        border-right: 2px solid #999999;
    }
    .rules-grid aside.rules-toc ul{ display:flex; flex-direction:column; gap:0.6rem; }
    .rules-grid aside.rules-toc a{ color:#333333; padding:0.45rem 0.6rem; display:block; border-radius:6px; }
    .rules-grid aside.rules-toc a:hover{ background: #FFD1B3; color:#333333; }
    .rules-grid aside.rules-toc a.active{ background: #D6CDEA; color:#333333; }
    .rules-content{ padding:2.5rem 2.5rem 3rem 2.5rem; overflow: visible; height: auto; background: #FFFFFF; border: 1px solid #E0E0E0; border-radius: 8px; margin: 1rem; height: calc(100vh - 65px - 2rem); overflow-y: auto; box-shadow: 0 4px 12px rgba(0,0,0,0.1); }
}
.rules-content > section:not(.collapsed){
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 0.25rem 0;
    margin-bottom: 1rem;
    box-shadow: none;
    border-left: none;
}
.collapsible-body{ max-height: 2000px; opacity: 1; transition: none; overflow: hidden; }
.collapsed > .collapsible-body{ max-height: 0; opacity: 0; transition: none; }
@media (max-width:899px){
    .rules-grid{ grid-template-columns: 1fr; }
    .rules-grid aside.rules-toc{ position: relative; top: auto; width: 100%; height: auto; padding: 0.75rem 1rem; background: var(--background-light); }
    .rules-grid aside.rules-toc ul{ display:flex; gap:0.5rem; flex-wrap:wrap; }
}
.rules-content section{ scroll-margin-top:9rem; }
.rules-content{ padding-top:2.5rem; }
.collapsible-toggle{
    appearance: none;
    background: transparent;
    border: none;
    color: var(--primary-yellow-dark);
    font-weight: 700;
    margin-left: 0.5rem;
    cursor: pointer;
}
.collapsible-body{
    transition: max-height 0.28s ease, opacity 0.24s ease;
    overflow: hidden;
}
.collapsed > .collapsible-body{
    max-height: 0;
    opacity: 0;
    padding-top: 0;
}
.rules-content section{ border-left: 3px solid transparent; padding-left: 0.75rem; }
.rules-content section.collapsed{ border-left-color: rgba(0,0,0,0.1); }
@media (max-width:899px){
    .rules-grid{ grid-template-columns: 1fr; }
    .rules-grid aside.rules-toc{ position: relative; top: auto; width: 100%; height: auto; padding: 0.75rem 1rem; background: var(--background-light); }
    .rules-grid aside.rules-toc ul{ display:flex; gap:0.5rem; flex-wrap:wrap; }
}
.rules-content section{ scroll-margin-top:9rem; }
.rules-content{ padding-top:2.5rem; }
.collapsible-toggle{
    appearance: none;
    background: transparent;
    border: none;
    color: var(--primary-yellow-dark);
    font-weight: 700;
    margin-left: 0.5rem;
    cursor: pointer;
}
.collapsible-body{
    transition: max-height 0.28s ease, opacity 0.24s ease;
    overflow: hidden;
}
.collapsed > .collapsible-body{
    max-height: 0;
    opacity: 0;
    padding-top: 0;
}
.rules-content section{ border-left: 3px solid transparent; padding-left: 0.75rem; }
.rules-content section.collapsed{ border-left-color: rgba(255,255,255,0.02); }
.lede { color: var(--text-dark); }
.rules-footer p { color: var(--text-dark); }

.enchantments-page .rules-section {
    background: linear-gradient(to bottom, #FEFEFE, #F0F0F0);
    position: relative;
    height: auto;
    padding: 0;
    overflow: visible;
}

.rules-page .rules-grid aside.rules-toc {
    background: transparent;
    border-right: none;
}

.enchantments-page .rules-content {
    background: transparent;
    border: none;
    margin: 0;
    padding: 4rem 2rem 2rem 2rem;
    height: auto;
    overflow: visible;
    box-shadow: none;
}

.rules-page .rules-content h2,
.rules-page .rules-content p,
.rules-page .rules-content li,
.rules-page .rules-panel header h1,
.rules-page .rules-panel header p.lede {
    color: #333333;
}

.rules-page .rules-grid aside.rules-toc a {
    color: #333333;
}

.rules-page .rules-grid aside.rules-toc a:hover {
    background: #FFD1B3;
    color: #333333;
}

.rules-page .rules-grid aside.rules-toc a.active {
    background: #D6CDEA;
    color: #333333;
}

.rules-page .rules-content h2 {
    color: #333333;
}

.rules-page .rules-content a {
    color: #6E5A7E;
}

.rules-page .rules-content a:hover {
    color: #F9C784;
}

.rules-page .banner {
    background: linear-gradient(to bottom, #EAEAEA, #CDE4D1);
    color: #333333;
    text-align: center;
    padding: 4rem 2rem;
}

.rules-page .banner h4 {
    color: #333333;
    font-size: 28px;
    margin-bottom: 1rem;
}

.rules-page .banner p {
    color: #333333;
    margin-bottom: 2rem;
}

.rules-page .btn-discord {
    background: #F9C784;
    color: #333333;
    box-shadow: 0 4px 15px rgba(249, 199, 132, 0.3);
}

.rules-page .btn-discord:hover {
    background: #FFD1B3;
    box-shadow: 0 6px 20px rgba(255, 209, 179, 0.4);
    transform: translateY(-2px);
}

.rules-page .footer {
    background: linear-gradient(to bottom, #CDE4D1, #EAEAEA);
    color: #333333;
    padding: 2rem;
    text-align: center;
}

.enchantments-page .rules-content p:first-of-type {
    text-align: left;
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 3rem;
    margin-top: 4rem;
    line-height: 1.6;
}

.enchantments-page .rules-content section {
    background: #FAFAFA;
    border: 1px solid #E0E0E0;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.upgrading-page .rules-section {
    background: linear-gradient(to bottom, #FEFEFE, #F0F0F0);
    position: relative;
    height: auto;
    padding: 0;
    overflow: visible;
}

.upgrading-page .rules-content {
    background: transparent;
    border: none;
    margin: 0;
    padding: 6rem 5rem 4rem 5rem;
    height: auto;
    overflow: visible;
    box-shadow: none;
}

.upgrading-page .rules-content p:first-of-type {
    text-align: left;
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 3rem;
    margin-top: 4rem;
    line-height: 1.6;
}

.upgrading-page .rules-content section {
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 0;
    margin-bottom: 5rem;
    box-shadow: none;
}

.upgrading-page .rules-content h2 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    margin-top: 3rem;
    font-weight: 700;
    color: #333333;
}

.upgrading-page .rules-content p {
    margin-bottom: 0.75rem;
    line-height: 1.5;
    color: #666666;
}

.upgrading-page .upgrade-order {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    font-weight: bold;
    font-size: 1.2rem;
    margin: 1rem 0;
    color: #333333;
}

.upgrading-page .order-intro {
    margin-bottom: 1rem;
}

.upgrading-page .order-summary {
    margin-bottom: 1rem;
}

.upgrading-page .upgrade-order span.tier {
    background: #e0e0e0;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    color: #333333;
}

.upgrading-page .rules-content h3 {
    color: #333333;
}

.upgrading-page .rules-content strong {
    color: #000000;
}

.upgrading-page .rules-content ul li {
    color: #666666;
}

.upgrading-page .tier-section {
    background: #f0f0f0;
    padding: 1.5rem;
    border-radius: 10px;
    margin-bottom: 2rem;
    margin-top: 2rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.customitems-page .item-section {
    background: #f0f0f0;
    padding: 1.5rem;
    border-radius: 10px;
    margin-bottom: 2rem;
    margin-top: 2rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.customitems-page .rules-section {
    background: linear-gradient(to bottom, #FEFEFE, #F0F0F0);
    position: relative;
    height: auto;
    padding: 0;
    overflow: visible;
}

.customitems-page .rules-content {
    padding: 6rem 5rem 4rem 5rem;
    height: auto;
    overflow: visible;
    background: transparent;
    border: none;
    margin: 0;
    box-shadow: none;
}

.customitems-page .rules-content h2 {
    color: #000000;
    margin-bottom: 2rem;
}

.customitems-page .rules-content h3 {
    color: #000000;
    margin-top: 3rem;
    margin-bottom: 1rem;
}

.customitems-page .rules-content p {
    color: #000000;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.customitems-page .rules-content ul {
    margin-bottom: 2rem;
}

.customitems-page .rules-content ul li {
    color: #000000;
    margin-bottom: 0.5rem;
}

.customitems-page .item-section {
    background: #f0f0f0;
    padding: 1.5rem;
    border-radius: 10px;
    margin-bottom: 2rem;
    margin-top: 2rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.enchantments-page .rules-content h2 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.enchantments-page .rules-content p {
    margin-bottom: 0.75rem;
    line-height: 1.5;
}

/* Index page specific color palette */
.index-page .features {
    background: linear-gradient(to bottom, #FDFDFD, #EAEAEA);
}

.index-page .features h5,
.index-page .features p,
.index-page .features span {
    color: #333333;
}

.index-page .footer {
    background: linear-gradient(to bottom, #CDE4D1, #EAEAEA);
    color: #333333;
}

.index-page .footer a {
    color: #E3A21A;
}

.index-page .banner {
    background: linear-gradient(to bottom, #EAEAEA, #CDE4D1);
    color: #333333;
}

.index-page .banner h4 {
    color: #333333;
}

.index-page .banner p {
    color: #333333;
}

.index-page .features-title span {
    color: #333333;
}

.index-page .feature-chunk h5 {
    color: #333333;
}

.index-page .btn-discord {
    background: #F9C784;
    color: #333333;
    box-shadow: 0 4px 15px rgba(249, 199, 132, 0.3);
}

.index-page .btn-discord:hover {
    background: #FFD1B3;
    box-shadow: 0 6px 20px rgba(255, 209, 179, 0.4);
    transform: translateY(-2px);
}

.index-page .btn-discord:hover {
    background: #FFD1B3;
}

.index-page .feature-chunk {
    background: transparent;
    padding: 0;
    border-radius: 0;
    margin-bottom: 1rem;
}

.team-page .rules-section {
    background: linear-gradient(to bottom, #FEFEFE, #F0F0F0);
    position: relative;
    height: auto;
    padding: 0;
    overflow: visible;
}

.team-page .rules-content {
    padding: 6rem 5rem 4rem 5rem;
    height: auto;
    overflow: visible;
    background: transparent;
    border: none;
    margin: 0;
    box-shadow: none;
}

.team-page .rules-content h2 {
    color: #333333;
    margin-bottom: 2rem;
}

.team-page .rules-content p {
    color: #666666;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.team-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 2rem;
    margin-top: 3rem;
}

.team-member {
    background: #f0f0f0;
    padding: 2rem 1.5rem;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    text-align: center;
    min-height: 350px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

.team-member .skin-image {
    width: 128px;
    height: 128px;
    object-fit: cover;
    object-position: top;
    margin-bottom: 1rem;
    border: 2px solid #ddd;
    border-radius: 50%;
}

.team-member h3 {
    color: #000000;
    margin-bottom: 1rem;
    margin-top: 0;
}

.team-member p {
    color: #666666;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.whitelist-gurus {
    margin-top: 4rem;
    text-align: left;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.whitelist-gurus h2 {
    color: #333333;
    font-size: 2rem;
    margin-bottom: 1rem;
    text-align: center;
}

.whitelist-gurus p {
    color: #666666;
    font-size: 1.1rem;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.gurus-grid {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-top: 2rem;
    margin-bottom: 6rem;
}

.guru {
    background: var(--background-dark);
    color: var(--text-light);
    padding: 1rem 1.5rem;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    text-align: center;
    font-weight: bold;
    font-size: 1.2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
    border: 2px solid var(--primary-yellow);
    min-width: 150px;
}

.guru:hover {
    transform: translateY(-8px) scale(1.05);
    box-shadow: 0 8px 25px rgba(227, 163, 26, 0.5);
    background: var(--background-mid);
}