:root {
    --primary-color: #fb9404;
    --secondary-color: #f9cd90;
    --bg-color: #151b1e;
    --text-light: #ffffff;
    --text-medium: #999;
    --nav-bg: #333;
    --nav-text: #f4f3f0;
    --nav-hover: #fb9404;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    font-family: 'Lato', sans-serif;
}

body {
    background-color: var(--bg-color);
    color: var(--text-light);
    position: relative;
    min-height: 100vh;
    overflow-x: hidden;
}

/* Background Blur */
.full-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 90vh;
    background-image: url('https://ggfizz.gameserverapp.net/img/banner/arkpark.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center top;
    z-index: 0;
    filter: blur(6px) brightness(80%);
    pointer-events: none;
    -webkit-mask-image: linear-gradient(to bottom, #fff 10%, transparent);
    mask-image: linear-gradient(to bottom, #fff 10%, transparent);
}

/* Navbar */
.navbar {
    position: relative;
    z-index: 2;
    background-color: var(--nav-bg);
    padding: 1rem 2rem;
}

.navbar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar-logo h1 {
    background-image: url('https://upload.gameserverapp.com/yF4DRuPvWHu2VSL66x2ENTECR2jLP097xbnpXllu.png');
    background-repeat: no-repeat;
    background-size: contain;
    width: 200px;
    height: 52px;
    text-indent: -9999px;
}

.navbar-links {
    list-style: none;
    display: flex;
    gap: 1.5rem;
}

.navbar-links a {
    color: var(--nav-text);
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s;
}

.navbar-links a:hover {
    color: var(--nav-hover);
}

/* Mobile Toggle */
.menu-toggle {
    display: none;
    font-size: 2rem;
    background: none;
    border: none;
    color: var(--text-light);
}

@media (max-width: 768px) {
    .navbar-links {
        display: none;
    }

    .menu-toggle {
        display: block;
    }
}

/* Menu Images */
.menu-wrapper {
    position: relative;
    width: 100vw;
    height: 6.9375rem;
    z-index: 10;
    overflow: hidden;
    pointer-events: none;
}

.menu-repeat {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6.9375rem;
    background-image: url('img/menu/menu-repeat.png');
    background-repeat: repeat-x;
    background-size: auto 6.9375rem;
    background-position: top;
    z-index: 1;
}

.menu-left,
.menu-right {
    position: absolute;
    top: 0;
    width: 28.125rem;
    /* 450px */
    height: 6.9375rem;
    object-fit: contain;
    z-index: 2;
    opacity: 1;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.menu-left {
    left: 0;
}

.menu-right {
    right: 0;
}

@media (max-width: 1000px) {

    .menu-left,
    .menu-right {
        opacity: 0;
    }
}

/* Welcome Section & JSON Section (absolute layout) */
.welcome-section,
.json-section {
    position: relative;
    top: 50%;
    left: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    width: 100%;
    max-width: 100%;
    z-index: 5;
    opacity: 0;
    pointer-events: none;
    transition: opacity 1s ease;
    padding: 2rem;
}

.welcome-section {
    transform: translate(-50%, 70%);
}

.json-section {
    transform: translate(-50%, -30%);
}

.welcome-section.active,
.json-section.active {
    opacity: 1;
    pointer-events: auto;
}

/* Welcome Box */
.welcome-box {
    background-color: rgba(0, 0, 0, 0.65);
    padding: 2rem 3rem;
    border-radius: 1rem;
    box-shadow: 0 0 1rem rgba(0, 0, 0, 0.7);
    max-width: 700px;
    text-align: center;
    color: #f5f5f5;
    border: 1px solid var(--primary-color);
}

.welcome-box h1 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.welcome-box p {
    font-size: 1.125rem;
    color: var(--secondary-color);
    line-height: 1.6;
}

/* JSON Display Section */
.json-display {
    background-color: rgba(0, 0, 0, 0.5);
    padding: 2rem;
    border-radius: 1rem;
    max-width: 700px;
    width: 100%;
}

.dropdown-container {
    margin-bottom: 1.5rem;
    text-align: left;
}

.dropdown-container label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--light-text);
    font-weight: bold;
}

.dropdown-container select {
    width: 100%;
    padding: 0.5rem;
    border-radius: 0.5rem;
    font-size: 1rem;
    border: 1px solid #666;
    background-color: #222;
    color: #fff;
}

.results-box {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 0.5rem;
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--secondary-color);
}

/* Title Animation Overlay */
.title-overlay {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, 100%);
    text-align: center;
    color: #fff;
    font-size: 2rem;
    padding: 0.5rem 1rem;
    z-index: 9999;
    opacity: 0;
    pointer-events: none;
    white-space: nowrap;
    transition: opacity 1s ease, transform 1s ease;
    line-height: 1;
}

.title-overlay.active {
    opacity: 1;
    transform: translate(-50%, -5%);
}

.result-flex {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
    justify-content: flex-start;
}

.consumes-block {
    min-width: 220px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 8px;
    padding: 1rem;
    border: 1px solid var(--primary-color);
}

.consumes-block ul {
    margin: 0.25rem 0 0.5rem 0;
    padding-left: 1.1em;
}

.consumes-info {
    font-size: 0.95em;
    color: var(--secondary-color);
    margin-top: 0.5em;
}

.result-name {
    width: 100%;
    text-align: center;
    margin-bottom: 1rem;
}

.result-grid {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 2.5rem;
}

.result-grid.center-alone {
    justify-content: center;
}

.col {
    flex: 1 1 420px;
    min-width: 320px;
    max-width: 650px;
    /* Increased for wider multi-column lists */
    background: rgba(0, 0, 0, 0.45);
    border-radius: 10px;
    padding: 1.25rem 1rem 1rem 1rem;
    border: 1px solid var(--primary-color);
    margin-bottom: 1rem;
}

.col-title {
    display: block;
    text-align: center;
    font-size: 1.25em;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 0.75rem;
}

.item-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    /* Increased min width */
    gap: 0.2em 1.5em;
    list-style-type: disc;
    padding-left: 1.5em;
    margin-bottom: 0;
}

.item-list li {
    margin-bottom: 0.2em;
    display: flex;
    align-items: center;
    gap: 0.6em;
    position: relative;
}

/* Force bullet (disc) even with flex/grid */
.item-list li {
    list-style-type: disc !important;
}

/* For icons */
.item-icon {
    width: 22px;
    height: 22px;
    vertical-align: middle;
    border-radius: 4px;
    background: #22222200;
}

.result-grid {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 2.5rem;
    flex-wrap: wrap;
    width: 100%;
}

.result-grid.center-alone {
    justify-content: center;
}

/* Examples styling */
.consume-examples {
    margin-top: 1.2em;
    margin-bottom: 0.5em;
    width: 100%;
}

.single-example .examples-title {
    width: 100%;
    text-align: center;
    margin-bottom: 0.6em;
}

.multi-example .examples-title {
    width: 100%;
    text-align: center;
    margin-bottom: 0.6em;
    font-weight: bold;
}

.consume-example-row {
    display: flex;
    align-items: center;
    gap: 0.8em;
    margin-bottom: 0.6em;
    justify-content: center;
}

.icon-wrap {
    display: inline-flex;
    align-items: flex-start;
    position: relative;
}

.item-icon {
    width: 28px;
    height: 28px;
    vertical-align: middle;
    margin-right: 2px;
}

.icon-wrap sup {
    font-size: 0.85em;
    color: #fb9404;
    margin-left: 2px;
    position: absolute;
    right: -10px;
    top: 0;
}

.operator {
    font-weight: bold;
    font-size: 1.2em;
    color: #fff8b0;
    margin: 0 0.1em;
    display: inline-block;
    width: 1.2em;
    text-align: center;
}


.multi-example .col-md-6 {
    min-width: 180px;
    /* ensures columns don't get too skinny on desktop */
}

.site-footer {
    background: #111;
    color: #ccc;
    text-align: center;
    padding: 2rem 1rem;
    font-size: 0.875rem;
    border-top: 1px solid #333;
    z-index: 3;
    position: relative;
}