body {
    margin: 0;
    font-family: 'Montserrat', 'Segoe UI', Verdana, Geneva, Tahoma, sans-serif;
    background: linear-gradient(135deg, #232526 0%, #414345 100%);
    color: #f3f3f3;
    min-height: 100vh;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
header {
    background: url('title.png') center/cover no-repeat;
    padding: 2rem 0 1rem 0;
    box-shadow: 0 6px 20px rgba(0,0,0,0.6);
    text-align: center;
    position: relative;
}
header::after {
    content: "";
    z-index: 1;
    display: block;
    position: absolute;
    left: 0; right: 0; bottom: 0;
    background: linear-gradient(to top, #232526 70%, transparent 100%);
    pointer-events: none;
}
h1 {
    font-family: 'Cinzel', serif;
    font-size: 3.5rem;
    color: #e6e6e6;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.3), 0 0 30px rgba(255, 255, 255, 0.1);
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 2;
    letter-spacing: 2px;
}
h1 .paw {
    font-size: 0.8em;
    color: #ff9900;
    display: inline-block;
    transition: transform 0.2s ease-in-out;
}

h1 .paw:hover {
    transform: rotate(10deg) scale(1.1);
}

nav {
    margin-top: 1.5rem;
    position: relative;
    z-index: 2;
}

nav a {
    color: #ccc;
    text-decoration: none;
    font-weight: 700;
    margin: 0 1.2rem;
    font-size: 1.1em;
    padding: 0.5em 1em;
    border-radius: 8px; 
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
}

nav a:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: #fff;
    transform: translateY(-2px); 
}

main {
    max-width: 1000px;
    margin: 2em auto;
    padding: 0 1.5em; 
    box-shadow: 0 0 30px rgba(0,0,0,0.5); 
    background: rgba(35, 37, 38, 0.9); 
    border-radius: 12px;
    overflow: hidden; 
}

section {
    padding: 2.5em; 
    margin-bottom: 2em;
    background: rgba(45, 47, 48, 0.7); 
    border-radius: 10px; 
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

section:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.5); 
}

h2 {
    font-family: 'Cinzel', serif;
    font-size: 2.2rem; 
    color: #f7b32c; 
    text-align: center;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid rgba(247, 179, 44, 0.3); 
    position: relative;
}

h2 .paw {
    font-size: 0.9em;
    color: #ff9900;
    display: inline-block;
    transition: transform 0.2s ease-in-out;
}

h2 .paw:hover {
    transform: scale(1.1) rotate(-10deg);
}


p {
    line-height: 1.7;
    margin-bottom: 1em;
    color: #e0e0e0;
}

footer {
    text-align: center;
    padding: 1.5rem 0;
    color: #aaa;
    font-size: 0.9em;
    margin-top: 3em;
    background: rgba(35, 37, 38, 0.8);
    border-top: 1px solid rgba(255,255,255,0.05);
}

#home {
    text-align: center;
    background: linear-gradient(rgba(45, 47, 48, 0.7), rgba(45, 47, 48, 0.9)), url('title.png') center/cover no-repeat;
    padding: 4em 2.5em;
    color: #fff;
    border-radius: 12px;
    margin-top: 0;
    box-shadow: 0 8px 30px rgba(0,0,0,0.6);
}

#home h2 {
    color: #fff;
    border-bottom: none;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

#home p {
    font-size: 1.2em;
    max-width: 700px;
    margin: 1em auto 2em auto;
    color: #f0f0f0;
}


.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2em;
    margin-top: 2em;
}

.product-card {
    background: #3a3d3e;
    border-radius: 10px;
    padding: 1.5em;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(255,255,255,0.05);
}

.product-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.6);
}

.product-card h2 {
    color: #f7b32c;
    font-size: 1.8rem;
    margin-bottom: 0.8em;
    border-bottom: none;
}

.product-card .price {
    font-size: 1.5em;
    color: #ffd700;
    font-weight: bold;
    margin-bottom: 1em;
}

.product-card .desc {
    color: #c0c0c0;
    font-size: 0.95em;
    line-height: 1.6;
    min-height: 4em;
}

.shop-buy-btn {
    background: linear-gradient(90deg, #ff9900 0%, #ffcc00 100%);
    color: #333;
    padding: 0.8em 2em;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1.1em;
    font-weight: bold;
    margin-top: 1.5em;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.shop-buy-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.5);
    filter: brightness(1.1);
}


.shop-popup {
  position: fixed; 
  top: 0; 
  left: 0; 
  width: 100vw; 
  height: 100vh; 
  background: rgba(0,0,0,0.7); 
  display: flex; 
  justify-content: center; 
  align-items: center; 
  z-index: 1000; 
}
.shop-popup.popup-hidden {
    display: none;
}
.popup-content {
  background: #333; 
  padding: 2em; 
  border-radius: 8px; 
  max-width: 400px; 
  width: 90%; 
  position: relative;
}

.popup-close {
  position: absolute; 
  top: 0.5em; 
  right: 0.5em; 
  background: transparent; 
  color: #fff; 
  font-size: 1.2em; 
  border: none; 
  cursor: pointer;
}



.popup-hidden .popup-content {
    transform: scale(0.9); 
}




.popup-close:hover {
    background: #ff0000;
}

.popup-content h2 {
    color: #f7b32c;
    margin-top: 0;
    border-bottom: 1px solid rgba(247, 179, 44, 0.2);
    padding-bottom: 0.5em;
}

.popup-content .price {
    font-size: 1.3em;
    color: #ffd700;
    font-weight: bold;
    margin-bottom: 1em;
}

.popup-content p {
    color: #c0c0c0;
}


.supporter-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5em;
    margin-top: 2em;
}

.supporter-card {
    background: #3a3d3e;
    border-radius: 10px;
    padding: 1em;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    border: 1px solid rgba(255,255,255,0.05);
}

.supporter-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.5);
}

.supporter-card h3 {
    font-family: 'Cinzel', serif;
    font-size: 1.3em;
    margin: 0.5em 0;
    color: #e6e6e6;
}

.supporter-card .role {
    font-size: 0.9em;
    font-weight: bold;
    margin-bottom: 0.8em;
    display: block;
    padding: 0.2em 0.5em;
    border-radius: 5px;
    display: inline-block;
}

.skin-viewer-container {
    width: 150px;
    height: 250px;
    margin: 0.5em auto 1em auto;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.5);
    background-color: rgba(0,0,0,0.2);
}

.popup .skin-viewer-container {
    width: 200px;
    height: 300px;
}

.supporter-popup-content {
    text-align: center;
}

.supporter-popup-content h2 {
    font-size: 1.8em;
    border-bottom: none;
    margin-bottom: 0.5em;
}

.supporter-popup-content .popup-role {
    font-size: 1.1em;
    font-weight: bold;
    margin-bottom: 1em;
    padding: 0.3em 0.8em;
    border-radius: 5px;
    display: inline-block;
}


#mc-server-info ul,
#mc-features ul,
#mc-ranks ul,
#mc-getting-started ol {
    list-style: none;
    padding: 0;
    margin-top: 1.5em;
}

#mc-server-info li,
#mc-features li,
#mc-ranks li,
#mc-getting-started li {
    background: #3a3d3e;
    padding: 1em 1.5em;
    margin-bottom: 0.8em;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
    transition: background-color 0.2s ease;
}

#mc-server-info li:hover,
#mc-features li:hover,
#mc-ranks li:hover,
#mc-getting-started li:hover {
    background-color: #4c4f50;
}

#mc-server-info strong,
#mc-features strong,
#mc-ranks strong {
    color: #f7b32c;
    margin-right: 0.5em;
    font-family: 'Cinzel', serif;
}

#mc-getting-started li::before {
    content: "•";
    color: #f7b32c;
    font-size: 1.5em;
    margin-right: 0.8em;
    line-height: 1;
}

#mc-getting-started li {
    font-size: 1.1em;
}

.discord-btn {
  display: flex;
  align-items: center;
  justify-content: center; 
  background: linear-gradient(90deg, #5865F2 0%, #404eed 100%); 
  color: #fff;
  padding: 1em 2em;
  border-radius: 10px;
  text-decoration: none;
  font-size: 1.3em;
  font-weight: bold;
  box-shadow: 0 6px 20px rgba(0,0,0,0.4);
  transition: background 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease, gap 0.3s ease; 
  margin: 2.5em auto;
  letter-spacing: 0.5px;
  overflow: hidden;
  position: relative;
  width: fit-content; 
  gap: 0.7em;
}

.discord-btn .discord-icon {
  width: 32px;
  opacity: 1; 
  transition: transform 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.discord-btn:hover {
  background: linear-gradient(90deg, #404eed 0%, #5865F2 100%); 
  transform: translateY(-4px) scale(1.03); 
  box-shadow: 0 10px 35px #5865f288; 
  color: #fff;
  text-decoration: none;
}

.discord-btn:hover .discord-icon {
  transform: rotate(5deg); 
}

#discord-benefits ul {
    list-style: none;
    padding: 0;
}

#discord-benefits li {
    background: #3a3d3e;
    padding: 1em 1.5em;
    margin-bottom: 0.8em;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
    transition: background-color 0.2s ease;
}

#discord-benefits li:hover {
    background-color: #4c4f50;
}

#discord-benefits li::before {
    content: "✨"; 
    margin-right: 1em;
    font-size: 1.2em;
}


.copy-ip {
    cursor: copy;
    font-family: 'Courier New', Courier, monospace;
    background-color: rgba(0, 0, 0, 0.3);
    padding: 0.3em 0.6em;
    border-radius: 5px;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.copy-ip:hover {
    background-color: #f7b32c;
    color: #333;
}


#admins-container {
  display: block; 
}

.admin-weight-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.2em;
  margin-bottom: 2em; 
  padding-bottom: 1em; 
  border-bottom: 1px dashed rgba(255, 255, 255, 0.1);
}

.admin-weight-row:last-child {
  border-bottom: none; 
}

@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }

    nav a {
        margin: 0 0.8rem;
        font-size: 1em;
        padding: 0.4em 0.8em;
    }

    main {
        margin: 1.5em auto;
        padding: 0 1em;
    }

    section {
        padding: 1.8em;
    }

    h2 {
        font-size: 1.8rem;
    }

    .discord-btn {
        width: 80%;
        font-size: 1.1em;
    }

    .product-grid {
        grid-template-columns: 1fr;
    }

    .supporter-grid, .admin-weight-row {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 2rem;
    }

    nav {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        margin-top: 1rem;
    }

    nav a {
        margin: 0.3em 0.5em;
        font-size: 0.9em;
    }

    .popup-content {
        padding: 1.5em;
    }
}

::-webkit-scrollbar {
  width: 12px;
  background-color: #222; 
}

::-webkit-scrollbar-thumb {
  background-color: #0f0;
  border-radius: 6px;
  border: 3px solid #222; 
}

::-webkit-scrollbar-track {
  background-color: #333; 
}