body {
    margin: 0;
    padding: 0;
    background: linear-gradient(120deg, #333333 0%, #222222 20%, #111111 40%, #111111 60%, #222222 80%, #333333 100%);
    background-size: 200% 200%;
    animation: gradientLine 7s ease-in-out infinite alternate;
    color: #fff;
    font-family: 'Segoe UI', Arial, sans-serif;
    min-height: 100vh;
}

.home-page {
    position: relative;
    overflow: hidden;
}

.home-page::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://cdn.discordapp.com/attachments/1366573101869170779/1404536833442058310/image.png?ex=6922055c&is=6920b3dc&hm=a6ba6b9928caef731564bdd8320ff01ac705a5c7de4acb09a76e51b2a3de2367&');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    filter: blur(3px);
    z-index: -1;
}

.home-page::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5));
    z-index: -1;
}

@keyframes gradientLine {
    0% {
        background-position: 0% 0%;
    }
    100% {
        background-position: 100% 100%;
    }
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 80vh;
    text-align: center;
    padding: 0 20px;
}

.site-title {
    font-size: 4em;
    font-weight: 800;
    margin: 0;
    background: linear-gradient(135deg, #fff 0%, #f0f0f0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 30px rgba(255, 255, 255, 0.12);
    cursor: default;
    transition: all 0.3s ease;
    position: relative;
}

.site-title:hover {
    transform: scale(1.05);
    text-shadow: 0 4px 20px rgba(255, 255, 255, 0.4);
}

/* Removed IP copy tooltip and animation */

.site-subtitle {
    font-size: 1.8em;
    font-weight: 600;
    margin: 20px 0;
    color: #4b7fff;
    text-shadow: 0 2px 8px rgba(75, 127, 255, 0.3);
}

.site-description {
    font-size: 1.2em;
    max-width: 800px;
    margin: 20px auto;
    color: #bbb;
    line-height: 1.6;
}

.server-status {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 30px;
    padding: 10px 20px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 20px;
}

.status-indicator {
    width: 12px;
    height: 12px;
    background: #33ff33;
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(51, 255, 51, 0.5);
}

.status-text {
    font-size: 0.9em;
    color: #888;
}

.nav-logo {
    height: 80px;
    width: auto;
    position: fixed;
    top: 8px;
    left: 20px;
    display: block;
    z-index: 9999;
    opacity: 1;
    mix-blend-mode: normal;
    filter: drop-shadow(0 0 10px rgba(0, 0, 0, 0.8));
    transition: all 0.3s ease;
    pointer-events: auto;
}

.nav-logo:hover {
    opacity: 1;
    mix-blend-mode: screen;
    filter: grayscale(0.2) brightness(1.2) contrast(1.2) drop-shadow(0 0 15px rgba(0, 0, 0, 0.8));
    transform: scale(1.1);
}

.topnav {
    background: rgba(20, 20, 20, 0.75);
    backdrop-filter: blur(12px);
    padding: 8px 16px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 180px; /* moved down to reveal title */
    left: 50%;
    transform: translateX(-50%);
    z-index: 100;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.08);
}

.topnav ul {
    list-style: none;
    display: flex;
    gap: 18px;
    margin: 0;
    padding: 0 8px;
}

.topnav li {
    color: #fff;
    font-size: 0.95em;
    display: flex;
    align-items: center;
    cursor: pointer;
    font-weight: 500;
    transition: color 0.2s, background 0.2s;
    border-bottom: none;
    padding: 6px 12px;
    border-radius: 999px;
}

.topnav li i {
    margin-right: 8px;
    font-size: 1em;
    color: #fff;
}

.topnav li.active, .topnav li:hover {
    color: #fff;
    font-weight: 600;
    background: rgba(255,255,255,0.08);
}

.topnav a, .topnav a:visited, .topnav a:active {
    color: #fff;
    text-decoration: none;
    display: flex;
    align-items: center;
}

.topnav a:hover {
    color: #fff;
    text-decoration: none;
}

/* New simplified layout */
.brand-header {
    text-align: center;
    padding-top: 60px;
}

.site-title {
    letter-spacing: 8px;
}

.panel-grid {
    display: grid;
    grid-template-columns: 320px 1fr 320px;
    gap: 20px;
    max-width: 1200px;
    margin: 260px auto 40px; /* push content below the lowered nav */
    padding: 0 20px;
    align-items: start; /* prevent side panels from stretching to tallest card */
}

.panel {
    background: rgba(22, 22, 22, 0.75);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 16px;
    padding: 18px;
    color: #eaeaea;
    backdrop-filter: blur(12px);
}

/* Limit the changelog center card height to match smaller cards */
/* reverted: use default panel sizing */

.panel h3, .panel h4 {
    margin: 0 0 8px 0;
    color: #fff;
}

.donations .button.primary {
    display: inline-block;
    margin-top: 10px;
    background: #4b7fff;
    color: #fff;
    padding: 10px 16px;
    border-radius: 10px;
}

/* Contact panel styles */
.contact-list { list-style: none; margin: 8px 0; padding: 0; }
.contact-list li { display: flex; justify-content: space-between; align-items: center; margin: 6px 0; }
.contact .button { background: rgba(255,255,255,0.08); padding: 8px 12px; border-radius: 8px; color: #fff; }

.ip-title {
    font-size: 1.2rem;
    color: #9cc0ff;
    letter-spacing: 2px;
    margin-bottom: 8px;
}

.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin: 6px 0 12px;
}
.stats .stat-label { color: #9aa0a6; font-size: 0.9em; }
.stats .stat-value { color: #fff; font-weight: 600; }

.link-block { margin: 14px 0; }
.link-block .button { background: rgba(255,255,255,0.08); padding: 8px 12px; border-radius: 8px; color: #fff; display: inline-block; }

.changelog-snippet ul { margin: 8px 0 12px; padding-left: 20px; }
.changelog-snippet li { margin: 4px 0; color: #cfcfcf; }

/* Plain text layout for changelog entries (no bullets) */
.changelog-lines { margin: 8px 0 12px; }
.changelog-lines p { margin: 4px 0; color: #cfcfcf; }

/* Make the central changelog panel scrollable without affecting side panels */
.changelog-panel {
    max-height: 60vh;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
}

.server-status-panel .server-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 10px 0 14px; }
.server-status-panel .muted { color: #9aa0a6; font-size: 0.95em; }

.status-dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 8px; }
.status-dot.online { background: #33ff33; box-shadow: 0 0 10px rgba(51, 255, 51, 0.5); }

@media (max-width: 980px) {
    .panel-grid { grid-template-columns: 1fr; margin-top: 280px; }
}

/* Shop Styles */
.shop-container {
    display: flex;
    min-height: calc(100vh - 80px);
    margin-top: 80px;
    background: linear-gradient(120deg, #333333 0%, #222222 20%, #111111 40%, #111111 60%, #222222 80%, #333333 100%);
    background-size: 200% 200%;
    animation: gradientLine 7s ease-in-out infinite alternate;
    position: relative;
    z-index: 1;
}

.main-shop-content {
    flex: 1;
    padding: 30px;
    position: relative;
    overflow-y: auto;
}

.shop-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 40px;
    position: relative;
    z-index: 1;
}

.category-title {
    color: #fff;
    font-size: 32px;
    font-weight: 700;
    margin: 0;
    letter-spacing: 1px;
}

.top-categories {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.top-category-btn {
    background: rgba(51, 51, 51, 0.8);
    border: none;
    border-radius: 12px;
    padding: 12px 24px;
    color: #fff;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.1);
}

.top-category-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
}

.top-category-btn.active {
    background: linear-gradient(120deg, #333333 0%, #222222 20%, #111111 40%, #111111 60%, #222222 80%, #333333 100%);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.4);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
    padding: 20px;
}

.product-card {
    background: rgba(30, 30, 30, 0.8);
    border-radius: 15px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(5px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0) 100%);
    transform: translateY(-100%);
    transition: transform 0.3s ease;
}

.product-card:hover::before {
    transform: translateY(0);
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.product-image {
    width: 80px;
    height: 80px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, #333 0%, #222 100%);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.product-image i {
    font-size: 36px;
    color: #fff;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.product-name {
    font-size: 24px;
    font-weight: 600;
    margin: 10px 0;
    color: #fff;
}

.product-price {
    font-size: 20px;
    font-weight: 700;
    color: #4b7fff;
    margin: 5px 0;
}

.product-description {
    font-size: 14px;
    color: #bbb;
    margin-bottom: 20px;
}

.buy-button {
    background: linear-gradient(135deg, #4b7fff 0%, #6c5ce7 100%);
    border: none;
    padding: 12px 30px;
    border-radius: 25px;
    color: #fff;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(75, 127, 255, 0.3);
}

.buy-button:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(75, 127, 255, 0.4);
}

.buy-button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.coming-soon-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
    background: linear-gradient(120deg, #333333 0%, #222222 20%, #111111 40%, #111111 60%, #222222 80%, #333333 100%);
    background-size: 200% 200%;
    animation: gradientLine 7s ease-in-out infinite alternate;
}

.coming-soon-text {
    font-size: 4em;
    font-weight: 800;
    color: #fff;
    text-align: center;
    text-shadow: 0 2px 10px rgba(255, 255, 255, 0.3);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.05);
        opacity: 0.8;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.purchase-modal {
    background: linear-gradient(135deg, #222 0%, #111 100%);
    border-radius: 20px;
    padding: 30px;
    width: 90%;
    max-width: 500px;
    position: relative;
    transform: scale(0.7);
    opacity: 0;
    transition: all 0.3s ease;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.modal-overlay.active .purchase-modal {
    transform: scale(1);
    opacity: 1;
}

.modal-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-title {
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    margin: 0;
    flex-grow: 1;
}

.close-modal {
    background: none;
    border: none;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    padding: 5px;
    opacity: 0.7;
    transition: all 0.2s ease;
}

.close-modal:hover {
    opacity: 1;
    transform: scale(1.1);
}

.modal-content {
    margin-bottom: 25px;
}

.product-details {
    display: grid;
    gap: 15px;
    margin-bottom: 20px;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.detail-label {
    color: #888;
    font-size: 16px;
}

.detail-value {
    color: #fff;
    font-size: 16px;
    font-weight: 600;
}

.modal-actions {
    display: flex;
    gap: 15px;
    justify-content: flex-end;
}

.modal-button {
    padding: 12px 25px;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.confirm-purchase {
    background: linear-gradient(135deg, #4b7fff 0%, #6c5ce7 100%);
    color: #fff;
    border: none;
    box-shadow: 0 4px 15px rgba(75, 127, 255, 0.3);
}

.confirm-purchase:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(75, 127, 255, 0.4);
}

.cancel-purchase {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.cancel-purchase:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
}

.notification {
    animation: slideIn 0.3s ease forwards;
}

@keyframes slideIn {
    from {
        transform: translateX(400px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.footer {
    position: fixed;
    left: 0;
    bottom: 0;
    background: none;
    color: #fff;
    text-align: left;
    padding: 8px 16px 8px 24px;
    font-size: 0.95em;
    font-weight: 500;
    z-index: 100;
    min-width: max-content;
}


