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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    color: #fff;
    line-height: 1.6;
    position: relative;
    min-height: 100vh;
    overflow-x: hidden;
    background: #1a1a2e;
}

/* Background with lazy loading */
.background-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    min-height: 100vh;
    z-index: -1;
    background: #1a1a2e;
    overflow: hidden;
}

.background-image {
    width: 100%;
    height: 100%;
    min-height: 100%;
    object-fit: cover;
    mask-image: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 1) 0%,
        rgba(0, 0, 0, 1) 75%,
        rgba(0, 0, 0, 0) 100%
    );
    -webkit-mask-image: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 1) 0%,
        rgba(0, 0, 0, 1) 75%,
        rgba(0, 0, 0, 0) 100%
    );
}

/* Overlay for better text readability */
.background-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(26, 26, 46, 0.85) 0%,
        rgba(26, 26, 46, 0.75) 50%,
        rgba(26, 26, 46, 0.9) 100%
    );
    z-index: 0;
}

.content-wrapper {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.header {
    background: transparent;
    padding: 2rem 0;
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.game-logo {
    max-width: 400px;
    height: auto;
    display: block;
}

.header-content a {
    display: inline-block;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.header-content a:hover {
    opacity: 0.9;
}

.nav-tabs {
    display: flex;
    gap: 0.5rem;
    border-bottom: 2px solid rgba(255, 255, 255, 0.2);
}

.nav-tab {
    padding: 0.75rem 1.5rem;
    background: transparent;
    border: none;
    color: #ecf0f1;
    cursor: pointer;
    font-size: 1rem;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
    border-radius: 4px 4px 0 0;
}

.nav-tab:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    transform: translateY(-2px);
}

.nav-tab.active {
    color: white;
    border-bottom-color: #667eea;
    background: rgba(102, 126, 234, 0.2);
    text-shadow: 0 0 10px rgba(102, 126, 234, 0.5);
}

/* Main navigation tabs (inside main content) */
main {
    flex: 1;
    padding: 2rem 0;
}

.main-nav-tabs {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    margin-bottom: 2rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 2rem;
}

.main-nav-tab {
    padding: 0.75rem 1.5rem;
    background: rgba(26, 26, 46, 0.85);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #ecf0f1;
    cursor: pointer;
    font-size: 1rem;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.main-nav-tab:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}

.main-nav-tab.active {
    color: white;
    border-color: #667eea;
    background: rgba(102, 126, 234, 0.3);
    text-shadow: 0 0 10px rgba(102, 126, 234, 0.5);
    box-shadow: 0 4px 16px rgba(102, 126, 234, 0.4);
}

.container {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 2rem;
    background: rgba(26, 26, 46, 0.85);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    min-height: 60vh;
    flex: 1;
}

.container h1 {
    color: #fff;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.container h2 {
    color: #ecf0f1;
    margin-top: 2rem;
    margin-bottom: 1rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.container p {
    color: #d5d5d5;
}

/* Link Styles */
a {
    color: #a8b5ff;
    text-decoration: none;
    transition: color 0.3s ease, text-shadow 0.3s ease;
}

a:hover {
    color: #667eea;
    text-shadow: 0 0 8px rgba(102, 126, 234, 0.5);
    text-decoration: none;
}

a:visited {
    color: #9d8aff;
}

a:active {
    color: #7c6eea;
}

/* List Styles */
.container ul,
.container ol {
    margin: 1rem 0;
    padding-left: 2rem;
    color: #d5d5d5;
    line-height: 1.8;
}

.container ul {
    list-style-type: disc;
}

.container ol {
    list-style-type: decimal;
}

.container li {
    margin: 0.5rem 0;
    padding-left: 0.5rem;
    color: #d5d5d5;
}

.container ul ul,
.container ol ol,
.container ul ol,
.container ol ul {
    margin: 0.5rem 0;
    padding-left: 1.5rem;
}

.container ul ul {
    list-style-type: circle;
}

.container ul ul ul {
    list-style-type: square;
}

.container li strong {
    color: #fff;
    font-weight: 600;
}

.container li p {
    margin: 0.5rem 0;
}

.footer {
    background: rgba(26, 26, 46, 0.95);
    backdrop-filter: blur(10px);
    color: white;
    text-align: center;
    padding: 2rem;
    margin-top: 3rem;
}

@media (max-width: 768px) {
    .header-content {
        padding: 0 1rem;
    }
    
    .game-logo {
        max-width: 200px;
    }
    
    .container {
        margin: 1rem;
        padding: 1.5rem;
    }
    
    .main-nav-tabs {
        padding: 0 1rem;
        margin-bottom: 1.5rem;
    }
    
    .main-nav-tab {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }
    
    .guide-container {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .guide-sidebar {
        position: relative;
        top: 0;
        width: 100%;
        max-height: none;
        order: -1;
    }
    
    .guide-content {
        width: 100%;
    }
}

/* Items Parent Section */
.items-parent {
    margin-top: 1.5rem;
}

/* Category Sections */
.category-section {
    margin-top: 2rem;
    margin-bottom: 2rem;
    margin-left: 2rem;
}

.category-section:first-of-type {
    margin-top: 1rem;
}

.category-title {
    color: #fff;
    font-size: 1.5rem;
    margin: 0 0 1rem 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    padding-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.category-title-count {
    color: #b0b0b0;
    font-size: 0.9em;
    font-weight: normal;
}

.category-count {
    color: #b0b0b0;
    font-size: 0.9rem;
    margin: 0 0 1.5rem 0;
    font-style: italic;
}

/* Items Grid */
.items-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.item-card {
    background: rgba(30, 30, 50, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 0.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    text-align: center;
}

.item-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(102, 126, 234, 0.4);
    border-color: rgba(102, 126, 234, 0.5);
}

.item-card-link {
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.item-card-link:hover {
    text-decoration: none;
}

.item-icon {
    width: 32px;
    height: 32px;
    object-fit: contain;
    image-rendering: pixelated;
    image-rendering: -moz-crisp-edges;
    image-rendering: crisp-edges;
}

.item-name {
    color: #fff;
    font-size: 0.9rem;
    margin: 0;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    font-weight: 500;
    word-wrap: break-word;
}

.item-info {
    color: #a0a0a0;
    font-size: 0.75rem;
    margin: 0;
    margin-top: 0.25rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    font-weight: 400;
    word-wrap: break-word;
    line-height: 1.3;
}

@media (max-width: 768px) {
    .category-section {
        margin-left: 1rem;
        margin-top: 1.5rem;
    }
    
    .category-title {
        font-size: 1.25rem;
    }
    
    .items-grid {
        grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
        gap: 0.75rem;
    }
    
    .item-card {
        padding: 0.5rem;
    }
    
    .item-icon {
        width: 32px;
        height: 32px;
    }
    
    .item-name {
        font-size: 0.8rem;
    }
    
    .item-info {
        font-size: 0.7rem;
    }
}

/* Buildings Grid */
.buildings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 1.5rem;
    margin-top: 1rem;
}

.building-card {
    background: rgba(30, 30, 50, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 1.25rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    text-align: center;
}

.building-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(102, 126, 234, 0.4);
    border-color: rgba(102, 126, 234, 0.5);
}

.building-icon {
    width: 64px;
    height: 64px;
    object-fit: contain;
    image-rendering: pixelated;
    image-rendering: -moz-crisp-edges;
    image-rendering: crisp-edges;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.building-name {
    color: #fff;
    font-size: 1rem;
    margin: 0;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    font-weight: 600;
    word-wrap: break-word;
    line-height: 1.3;
}

@media (max-width: 768px) {
    .buildings-grid {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
        gap: 1rem;
    }
    
    .building-card {
        padding: 1rem;
    }
    
    .building-icon {
        width: 56px;
        height: 56px;
    }
    
    .building-name {
        font-size: 0.9rem;
    }
}

/* Item Detail Page */
.item-detail-page {
    margin-top: 2rem;
}

.item-detail-header {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.item-detail-icon {
    flex-shrink: 0;
}

.item-detail-icon-img {
    width: 96px;
    height: 96px;
    object-fit: contain;
    image-rendering: pixelated;
    image-rendering: -moz-crisp-edges;
    image-rendering: crisp-edges;
    background: rgba(30, 30, 50, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 1rem;
}

.item-detail-title-section {
    flex: 1;
}

.item-detail-title {
    font-size: 2.5rem;
    margin: 0 0 0.5rem 0;
    color: #fff;
}

.item-detail-meta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.item-category-badge,
.item-id-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: rgba(102, 126, 234, 0.2);
    border: 1px solid rgba(102, 126, 234, 0.3);
    border-radius: 4px;
    font-size: 0.875rem;
    color: #a8b5ff;
}

.item-id-badge {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
    color: #ccc;
    font-family: monospace;
}

.item-detail-description {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: rgba(45, 45, 72, 0.81);
    border-radius: 8px;
    border-left: 3px solid rgba(102, 126, 234, 0.5);
}

.item-detail-description p {
    margin: 0;
    font-size: 1.1rem;
    line-height: 1.6;
    color: #e0e0e0;
}

.item-detail-info {
    margin-bottom: 2rem;
}

.item-detail-info h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #fff;
}

.item-info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.item-info-item {
    padding: 1rem;
    background: rgba(30, 30, 50, 0.5);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}

.item-info-label {
    font-weight: 500;
    color: #a8b5ff;
}

.item-info-value {
    color: #fff;
    font-weight: 600;
}

.item-link {
    color: #a8b5ff;
    text-decoration: none;
    transition: color 0.2s ease;
}

.item-link:hover {
    color: #667eea;
    text-decoration: underline;
}

.item-detail-section {
    margin-bottom: 2rem;
    padding: 2rem;
    background: rgba(30, 30, 50, 0.6);
    border-radius: 12px;
    border: 1px solid rgba(102, 126, 234, 0.2);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.item-detail-section h2 {
    margin: 0 0 1.5rem 0;
    color: #fff;
    font-weight: 600;
    padding-bottom: 1rem;
    border-bottom: 2px solid rgba(102, 126, 234, 0.3);
}

.item-detail-section h3 {
    font-size: 1.25rem;
    margin: 0 0 1rem 0;
    color: #fff;
    font-weight: 500;
}

.item-detail-subsection {
    margin-bottom: 2rem;
}

.item-detail-subsection:last-child {
    margin-bottom: 0;
}

.item-detail-subsection:not(:last-child) {
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.related-items-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.related-item-link {
    text-decoration: none;
    color: inherit;
    display: block;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.related-item-link:hover {
    transform: translateY(-3px);
    opacity: 0.9;
}

.related-item-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    padding: 1.25rem 1rem;
    background: rgba(45, 45, 72, 0.4);
    border-radius: 10px;
    border: 1px solid rgba(102, 126, 234, 0.15);
    transition: all 0.3s ease;
    text-align: center;
    min-height: 120px;
    justify-content: center;
}

.related-item-link:hover .related-item-card {
    background: rgba(45, 45, 72, 0.7);
    border-color: rgba(102, 126, 234, 0.4);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.25);
    transform: translateY(-2px);
}

.related-item-icon {
    width: 48px;
    height: 48px;
    object-fit: contain;
    flex-shrink: 0;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.related-item-name {
    color: #e0e0e0;
    font-weight: 500;
    font-size: 0.95rem;
    line-height: 1.4;
}

.item-detail-tags {
    margin-bottom: 2rem;
}

.item-detail-tags h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #fff;
}

.item-tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.item-tag {
    display: inline-block;
    padding: 0.375rem 0.875rem;
    background: rgba(102, 126, 234, 0.15);
    border: 1px solid rgba(102, 126, 234, 0.3);
    border-radius: 4px;
    font-size: 0.875rem;
    color: #a8b5ff;
}

.item-detail-actions {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-back {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: rgba(102, 126, 234, 0.2);
    border: 1px solid rgba(102, 126, 234, 0.3);
    border-radius: 6px;
    color: #a8b5ff;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
}

.btn-back:hover {
    background: rgba(102, 126, 234, 0.3);
    border-color: rgba(102, 126, 234, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.2);
}

/* Store list styles */
.stores-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 1rem;
}

.store-item {
    padding: 1.5rem;
    background: rgba(45, 45, 72, 0.4);
    border-radius: 10px;
    border: 1px solid rgba(102, 126, 234, 0.15);
    transition: all 0.3s ease;
}

.store-item-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.store-item-link:hover {
    text-decoration: none;
    color: inherit;
}

.store-item:hover,
.store-item-link:hover {
    background: rgba(45, 45, 72, 0.6);
    border-color: rgba(102, 126, 234, 0.3);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.2);
}

.store-item h4 {
    font-size: 1.1rem;
    margin: 0 0 0.75rem 0;
    color: #fff;
    font-weight: 600;
}

.store-link {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.store-link:hover {
    color: #c4d0ff;
    text-shadow: 0 0 8px rgba(102, 126, 234, 0.5);
}

.store-description {
    font-size: 0.9rem;
    color: #b0b0b0;
    margin: 0 0 1rem 0;
    line-height: 1.5;
}

.store-availability {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.75rem;
}

.availability-badge {
    display: inline-block;
    padding: 0.375rem 0.875rem;
    background: rgba(102, 126, 234, 0.15);
    border: 1px solid rgba(102, 126, 234, 0.3);
    border-radius: 4px;
    font-size: 0.875rem;
    color: #a8b5ff;
    font-weight: 500;
}

/* Recipes List */
.recipes-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 1.5rem;
    margin-top: 1rem;
}

.recipe-item {
    padding: 1.5rem;
    background: rgba(45, 45, 72, 0.4);
    border-radius: 10px;
    border: 1px solid rgba(102, 126, 234, 0.15);
    transition: all 0.3s ease;
}

.recipe-item:hover {
    background: rgba(45, 45, 72, 0.6);
    border-color: rgba(102, 126, 234, 0.3);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.2);
}

.recipe-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.recipe-header h4 {
    font-size: 1.1rem;
    margin: 0;
    color: #fff;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.recipe-output-link {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.recipe-output-link:hover {
    color: #c4d0ff;
    text-shadow: 0 0 8px rgba(102, 126, 234, 0.5);
}

.recipe-quantity {
    color: #b0b0b0;
    font-size: 0.9rem;
    font-weight: 500;
}

.recipe-time {
    font-size: 0.875rem;
    color: #b0b0b0;
    padding: 0.375rem 0.875rem;
    background: rgba(102, 126, 234, 0.1);
    border: 1px solid rgba(102, 126, 234, 0.2);
    border-radius: 4px;
}

.recipe-ingredients {
    margin-top: 1rem;
}

.recipe-ingredients h5 {
    font-size: 0.95rem;
    margin: 0 0 0.75rem 0;
    color: #d5d5d5;
    font-weight: 500;
}

.ingredients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 0.75rem;
}

.ingredient-item {
    display: flex;
    align-items: center;
}

.ingredient-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: inherit;
    padding: 0.5rem;
    background: rgba(30, 30, 50, 0.5);
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
    width: 100%;
}

.ingredient-link:hover {
    background: rgba(30, 30, 50, 0.7);
    border-color: rgba(102, 126, 234, 0.3);
    transform: translateY(-2px);
}

.ingredient-icon {
    width: 32px;
    height: 32px;
    object-fit: contain;
    flex-shrink: 0;
    image-rendering: pixelated;
    image-rendering: -moz-crisp-edges;
    image-rendering: crisp-edges;
}

.recipe-output-icon {
    width: 32px;
    height: 32px;
    object-fit: contain;
    flex-shrink: 0;
    image-rendering: pixelated;
    image-rendering: -moz-crisp-edges;
    image-rendering: crisp-edges;
}

.ingredient-name {
    flex: 1;
    font-size: 0.875rem;
    color: #d5d5d5;
    font-weight: 500;
    text-align: left;
}

.ingredient-quantity {
    font-size: 0.875rem;
    color: #b0b0b0;
    font-weight: 600;
    margin-left: auto;
}

@media (max-width: 768px) {
    .recipes-list {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .recipe-item {
        padding: 1.25rem;
    }
    
    .recipe-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .ingredients-grid {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
        gap: 0.5rem;
    }
}

@media (max-width: 768px) {
    .item-detail-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .item-detail-title {
        font-size: 2rem;
    }
    
    .item-info-grid {
        grid-template-columns: 1fr;
    }
}

/* Object Types Grid */
.object-types-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.object-type-card {
    display: block;
    padding: 1.5rem;
    background: rgba(30, 30, 50, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.object-type-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(102, 126, 234, 0.4);
    border-color: rgba(102, 126, 234, 0.5);
    background: rgba(35, 35, 55, 0.95);
}

.object-type-title {
    margin: 0 0 0.5rem 0;
    color: #fff;
    font-size: 1.25rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    font-weight: 600;
}

.object-type-description {
    margin: 0 0 1rem 0;
    color: #d5d5d5;
    font-size: 0.9rem;
    line-height: 1.5;
}

.object-type-count {
    color: #b0b0b0;
    font-size: 0.85rem;
}

.object-type-count strong {
    color: #ecf0f1;
    font-weight: 600;
}

@media (max-width: 768px) {
    .object-types-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .object-type-card {
        padding: 1.25rem;
    }
}

/* Breadcrumbs */
.breadcrumbs {
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.breadcrumbs a {
    color: #d5d5d5;
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumbs a:hover {
    color: #ecf0f1;
    text-shadow: 0 0 8px rgba(102, 126, 234, 0.5);
}

.breadcrumbs .breadcrumb-separator {
    margin: 0 0.5rem;
    color: #999;
}

.breadcrumbs .breadcrumb-current {
    color: #fff;
    font-weight: 500;
}

@media (max-width: 768px) {
    .breadcrumbs {
        font-size: 0.85rem;
    }
}

/* Trees List */
.trees-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 1rem;
}

.tree-detail-card {
    background: rgba(30, 30, 50, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 2rem;
}

.tree-detail-title {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: #fff;
}

.tree-harvest-section {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.tree-harvest-section h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: #fff;
}

.tree-harvest-section p {
    color: #d5d5d5;
    margin-bottom: 1rem;
}

.harvest-items-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 1rem;
}

.harvest-item-entry {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 1rem;
    background: rgba(30, 30, 50, 0.5);
    border-radius: 4px;
}

.harvest-item-icon {
    width: 32px;
    height: 32px;
    object-fit: contain;
    image-rendering: pixelated;
    image-rendering: -moz-crisp-edges;
    image-rendering: crisp-edges;
    flex-shrink: 0;
}

.harvest-item-name {
    flex: 1;
    color: #fff;
}

.harvest-item-link {
    color: #a8b5ff;
    text-decoration: none;
}

.harvest-item-quantity {
    color: #a8b5ff;
    font-weight: 600;
}

.harvest-item-chance {
    color: #d5d5d5;
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .tree-detail-card {
        padding: 1.5rem;
    }
    
    .item-info-grid {
        grid-template-columns: 1fr;
    }
}

/* Stores List - 2 Column Layout */
.stores-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 1rem;
}

.store-list-item {
    background: rgba(30, 30, 50, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.store-list-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(102, 126, 234, 0.4);
    border-color: rgba(102, 126, 234, 0.5);
}

.store-list-header {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.store-list-icon {
    width: 48px;
    height: 48px;
    object-fit: contain;
    image-rendering: pixelated;
    image-rendering: -moz-crisp-edges;
    image-rendering: crisp-edges;
    flex-shrink: 0;
}

.store-list-name {
    color: #fff;
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.store-list-description {
    color: #d5d5d5;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

.store-list-sells {
    margin-top: 0.5rem;
}

.store-list-sells-title {
    color: #a8b5ff;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.store-list-items {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.store-list-item-badge {
    background: rgba(102, 126, 234, 0.2);
    border: 1px solid rgba(102, 126, 234, 0.3);
    border-radius: 4px;
    padding: 0.4rem 0.75rem;
    font-size: 0.85rem;
    color: #a8b5ff;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.store-list-item-badge-icon {
    width: 20px;
    height: 20px;
    object-fit: contain;
    image-rendering: pixelated;
    image-rendering: -moz-crisp-edges;
    image-rendering: crisp-edges;
}

.store-list-seasonal {
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.store-list-seasonal-title {
    color: #a8b5ff;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.store-list-seasonal-items {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.store-list-seasonal-season {
    color: #d5d5d5;
    font-size: 0.8rem;
    font-weight: 500;
    margin-top: 0.3rem;
}

.store-list-seasonal-season:first-child {
    margin-top: 0;
}

@media (max-width: 968px) {
    .stores-list {
        grid-template-columns: 1fr;
    }
}

/* Objectives List Styles */
.objectives-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1rem;
}

.objective-list-item {
    background: rgba(30, 30, 50, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    display: block;
    text-decoration: none;
    color: inherit;
}

.objective-list-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(102, 126, 234, 0.4);
    border-color: rgba(102, 126, 234, 0.5);
}

.objective-list-header {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-bottom: 0.5rem;
}

.objective-list-name {
    color: #fff;
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0 0 0.25rem 0;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.objective-list-title {
    margin: 0;
    color: #d5d5d5;
    font-size: 0.9rem;
}

.objective-status-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 500;
    flex-shrink: 0;
}

.objective-status-unlocked {
    background: #4caf50;
    color: white;
}

.objective-status-locked {
    background: #ff9800;
    color: white;
}

.objective-badge-stores {
    background: #2196f3;
    color: white;
}

.objective-badge-blueprints {
    background: #9c27b0;
    color: white;
}

.objective-badge-feature {
    background: #ff9800;
    color: white;
}

.objective-badge-contracts {
    background: #4caf50;
    color: white;
}

.objective-list-description {
    margin: 0.5rem 0;
    color: #d5d5d5;
    font-size: 0.95rem;
    line-height: 1.6;
}

.objective-list-meta {
    margin-top: 0.75rem;
    font-size: 0.9rem;
    color: #a8b5ff;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.objective-list-meta span {
    white-space: nowrap;
}

.objective-list-meta strong {
    color: #fff;
}

/* Guide Page Styles */
.guide-container {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
    position: relative;
}

.guide-content {
    flex: 1;
    min-width: 0;
}

.guide-sidebar {
    position: sticky;
    top: 120px;
    width: 250px;
    flex-shrink: 0;
    background: rgba(26, 26, 46, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    max-height: calc(100vh - 140px);
    overflow-y: auto;
}

/* Custom scrollbar for sidebar */
.guide-sidebar::-webkit-scrollbar {
    width: 8px;
}

.guide-sidebar::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
}

.guide-sidebar::-webkit-scrollbar-thumb {
    background: rgba(102, 126, 234, 0.5);
    border-radius: 4px;
}

.guide-sidebar::-webkit-scrollbar-thumb:hover {
    background: rgba(102, 126, 234, 0.7);
}

.guide-sidebar h3 {
    color: #fff;
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid rgba(102, 126, 234, 0.3);
}

.guide-nav {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.guide-nav-link {
    color: #d5d5d5;
    text-decoration: none;
    padding: 0.75rem 1rem;
    border-radius: 6px;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    display: block;
    border-left: 3px solid transparent;
}

.guide-nav-link:hover {
    background: rgba(102, 126, 234, 0.15);
    color: #a8b5ff;
    border-left-color: rgba(102, 126, 234, 0.5);
    transform: translateX(4px);
}

.guide-nav-link.active {
    background: rgba(102, 126, 234, 0.25);
    color: #fff;
    border-left-color: #667eea;
    font-weight: 500;
}

.guide-content {
    flex: 1;
    min-width: 0;
}

.guide-header {
    margin-bottom: 2rem;
}

.guide-section {
    margin-top: 2rem;
}

.guide-section h2 {
    margin-bottom: 1rem;
    color: #fff;
    font-size: 1.75rem;
    font-weight: 600;
}

.guide-section-content {
    margin-left: 1.5rem;
}

.guide-section-content p {
    margin-bottom: 1rem;
    color: #d5d5d5;
    line-height: 1.7;
}

.guide-section-content ol,
.guide-section-content ul {
    margin: 1rem 0;
    padding-left: 2rem;
    color: #d5d5d5;
}

.guide-section-content li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.guide-section-content li strong {
    color: #fff;
}

.guide-section-content ol ul {
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
}

.guide-subsection {
    margin: 1.5rem 0;
}

.guide-subsection h3 {
    margin-bottom: 0.75rem;
    color: #fff;
    font-size: 1.25rem;
    font-weight: 600;
}

.guide-subsection p {
    margin-bottom: 0.75rem;
}

.guide-subsection ul {
    margin: 0.75rem 0;
}

.guide-tip {
    margin: 1rem 0;
    padding: 1rem 1.25rem;
    background: rgba(102, 126, 234, 0.15);
    border-left: 3px solid rgba(102, 126, 234, 0.5);
    border-radius: 4px;
}

.guide-tip p {
    margin: 0;
    color: #e0e0e0;
}

.guide-shortcuts {
    margin: 1rem 0;
    padding: 1rem 1.25rem;
    background: rgba(76, 175, 80, 0.15);
    border-left: 3px solid rgba(76, 175, 80, 0.5);
    border-radius: 4px;
}

.guide-shortcuts p {
    margin: 0 0 0.75rem 0;
    color: #e0e0e0;
}

.guide-shortcuts ul {
    margin: 0;
    color: #e0e0e0;
}

/* Discord Section in Sidebar */
.discord-section {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 2px solid rgba(102, 126, 234, 0.3);
}

.discord-toggle {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background: rgba(102, 126, 234, 0.15);
    border: 1px solid rgba(102, 126, 234, 0.3);
    border-radius: 6px;
    color: #a8b5ff;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    font-weight: 500;
    text-align: left;
}

.discord-toggle:hover {
    background: rgba(102, 126, 234, 0.25);
    border-color: rgba(102, 126, 234, 0.5);
    color: #fff;
    transform: translateX(2px);
}

.discord-icon {
    font-size: 1.2rem;
    flex-shrink: 0;
}

.discord-title {
    flex: 1;
}

.discord-arrow {
    font-size: 0.75rem;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.discord-content {
    margin-top: 0.75rem;
    padding: 1rem;
    background: rgba(30, 30, 50, 0.6);
    border-radius: 6px;
    border-left: 3px solid rgba(102, 126, 234, 0.5);
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.discord-content p {
    margin: 0 0 0.75rem 0;
    color: #d5d5d5;
    font-size: 0.9rem;
    line-height: 1.6;
}

.discord-content p:last-child {
    margin-bottom: 0;
}

.discord-note {
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.85rem;
    color: #b0b0b0;
}

.discord-note strong {
    color: #a8b5ff;
}

