/* Biome Detail Page Styles - Dedicated CSS for Biome Pages */
/* Matches main-index.php styling: brown theme, sharp borders, no rounding */

* {
    font-family: "Segoe UI", Geneva, sans-serif !important;
    box-sizing: border-box !important;
    border-radius: 0 !important;
}

html {
    overflow-y: scroll;
    scrollbar-width: none;
    min-height: 100%;
}

html::-webkit-scrollbar {
    display: none;
}

body {
    background-color: #f0f0f0;
    background-image: url('/images/mc heads/1B.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    margin: 0;
    padding-top: 58px;
    padding-bottom: 0;
}

body > footer {
    position: relative !important;
    margin: 0 !important;
    z-index: 100 !important;
}

.container {
    max-width: 900px !important;
    margin: 0 auto !important;
    display: flex;
    flex: 1;
    font-family: "Segoe UI", Tahoma, Geneva, sans-serif !important;
    color: #000;
    font-size: 14px !important;
    padding: 12px !important;
    width: 100%;
    box-sizing: border-box;
}

/* Breadcrumb Navigation */
.breadcrumb-container {
    max-width: calc(900px - 24px) !important;
    margin: 12px auto 0 auto !important;
    padding: 12px !important;
    background-color: #f3ede1;
    border: 2px solid #000;
    box-shadow: 4px 4px 0 rgba(0,0,0,0.3);
    border-radius: 0 !important;
    box-sizing: content-box;
    width: calc(100% - 24px);
}

.breadcrumb-container nav {
    font-size: 14px;
    color: #000;
}

/* Main content area */
.main-content {
    flex: 1;
    background: linear-gradient(135deg, #A0826D 0%, #8B6F47 50%, #7B5E37 100%);
    border: 2px solid #000;
    padding: 12px;
    font-size: 14px;
    width: 100%;
    box-sizing: border-box;
    overflow-x: hidden;
}

/* Biome Header */
.biome-header {
    background-color: #f5f5f0 !important;
    padding: 12px 12px 12px 12px !important;
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    border: 2px solid #000 !important;
    margin: 0 0 12px 0 !important;
    box-shadow: 4px 4px 0 rgba(0,0,0,0.3) !important;
}

.biome-header h1 {
    color: #000 !important;
    font-size: 18px !important;
    font-weight: 900 !important;
    margin: 0 !important;
    padding: 0 !important;
    text-transform: uppercase !important;
    text-shadow: 1px 1px 0 rgba(0,0,0,0.1) !important;
}

.biome-category {
    color: #666 !important;
    font-size: 12px !important;
    margin: 2px 0 !important;
    font-weight: normal !important;
}

/* Biome Gallery */
.biome-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px;
    margin: 12px 0;
}

.gallery-intro {
    font-size: 14px;
    color: #666;
    margin: 8px 0 0 0;
    font-style: italic;
}

.gallery-item {
    background-color: #fff;
    border: 2px solid #000;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 2px 2px 0 rgba(0,0,0,0.2);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    cursor: pointer;
}

.gallery-item:hover {
    transform: translateY(-4px);
    box-shadow: 4px 4px 0 rgba(0,0,0,0.3);
}

.gallery-image-container {
    position: relative;
    overflow: hidden;
}

.gallery-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    background-color: #e8e8e8;
    transition: transform 0.3s ease;
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-zoom-btn {
    background: rgba(0,0,0,0.8);
    border: 2px solid #fff;
    border-radius: 6px;
    padding: 8px 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.gallery-zoom-btn:hover {
    background: #fff;
    color: #000;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.gallery-content {
    padding: 12px;
}

.gallery-title {
    font-size: 14px;
    font-weight: 700;
    color: #000;
    margin: 0 0 8px 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.gallery-caption {
    padding: 0;
    font-size: 13px;
    color: #333;
    margin: 0;
    text-align: left;
    font-weight: 400;
    line-height: 1.4;
}

/* Gallery Lightbox Modal */
.gallery-modal {
    display: none !important;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.9);
    animation: fadeIn 0.3s ease;
}

.gallery-modal.active {
    display: flex !important;
    align-items: center;
    justify-content: center;
}

.gallery-modal-content {
    position: relative;
    display: flex;
    flex-direction: column;
    max-width: 90%;
    max-height: 90%;
    animation: zoomIn 0.3s ease;
}

.gallery-modal-img {
    width: 100%;
    height: auto;
    max-height: 80vh;
    object-fit: contain;
}

.gallery-modal-close {
    position: absolute;
    top: -40px;
    right: 0;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s;
}

.gallery-modal-close:hover {
    color: #ccc;
}

.gallery-modal-caption {
    text-align: center;
    color: #fff;
    padding: 20px 0;
    font-size: 16px;
    font-weight: 500;
}

.gallery-nav {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.8);
    color: #000;
    border: none;
    font-size: 24px;
    font-weight: bold;
    padding: 16px;
    cursor: pointer;
    border-radius: 50%;
    transition: all 0.3s;
    width: 60px;
    height: 60px;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10001;
}

.gallery-nav:hover {
    background: rgba(255,255,255,1);
    transform: translateY(-50%) scale(1.1);
}

.gallery-prev {
    left: -80px;
}

.gallery-next {
    right: -80px;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes zoomIn {
    from { transform: scale(0.8); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

/* Action Buttons */
.action-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 12px 0 12px 0 !important;
  padding: 0 !important;
  width: 100% !important;
  box-sizing: border-box;
}

.action-btn {
  padding: 6px 10px !important;
  color: #fff !important;
  text-decoration: none !important;
  font-size: 12px !important;
  font-weight: 900 !important;
  transition: all 0.05s !important;
  border: 3px solid #000 !important;
  cursor: pointer !important;
  font-family: "Arial", sans-serif !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  box-shadow: 4px 4px 0 rgba(0,0,0,0.3) !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  background: #6c5ce7 !important;
}

.action-btn:hover {
  background: #5f3dc4 !important;
  box-shadow: 2px 2px 0 rgba(0,0,0,0.3) !important;
  transform: translate(2px, 2px) !important;
}

.action-btn:active {
  box-shadow: 1px 1px 0 rgba(0,0,0,0.3) !important;
  transform: translate(3px, 3px) !important;
}

.report-btn {
  background: #d9534f !important;
}

.report-btn:hover {
  background: #c9302c !important;
}

/* Dropdown Menu */
.biome-dropdown-menu {
  position: relative;
  flex: 1;
}

.action-dropdown {
  flex: 1;
}

.biome-dropdown-toggle {
  background-color: #e8dcc8;
  border: 2px solid #8B6F47;
  padding: 10px 16px;
  font-size: 14px;
  font-weight: bold;
  color: #333;
  cursor: pointer;
  border-radius: 3px;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
  transition: all 0.2s;
  width: 100%;
}

.biome-dropdown-toggle:hover {
  background-color: #dccf1a;
  box-shadow: 0 4px 8px rgba(0,0,0,0.3);
}

.dropdown-arrow {
  margin-left: auto;
  transition: transform 0.3s;
}

.biome-dropdown-toggle.active .dropdown-arrow {
  transform: rotate(180deg);
}

.biome-dropdown-content {
  display: none;
  position: absolute;
  background-color: #fff9f0;
  border: 2px solid #8B6F47;
  border-top: none;
  border-radius: 0 0 3px 3px;
  min-width: 250px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  z-index: 100;
  max-height: 400px;
  overflow-y: auto;
  width: 100%;
}

.biome-dropdown-content.show {
  display: flex;
  flex-direction: column;
}

.biome-dropdown-content a {
  padding: 12px;
  color: #333;
  text-decoration: none;
  border-bottom: 1px solid #e8dcc8;
  transition: all 0.2s;
  display: block;
}

.biome-dropdown-content a:hover {
  background-color: #e8dcc8;
  padding-left: 24px;
}

.biome-dropdown-content a:last-child {
  border-bottom: none;
}


.biome-content {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 0;
    padding: 12px 12px;
}

.content-hub {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 0;
}

/* Biome Sections - Now matching main index.php hub-section announcements-section style */
.biome-section,
.hub-section {
    background-color: #f3ede1;
    border: 2px solid #000;
    padding: 12px;
    min-height: auto;
    margin-bottom: 0;
    box-shadow: 4px 4px 0 rgba(0,0,0,0.3);
    border-radius: 0 !important;
    width: 100%;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
}

.biome-section:last-of-type,
.hub-section:last-of-type {
    margin-bottom: 0;
}

/* Announcements section styling */
.announcements-section {
    background-color: #f3ede1;
}

.section-header {
    border-bottom: 2px solid #000;
    padding-bottom: 12px;
    margin-bottom: 12px;
}

.section-header h2 {
    font-size: 14px !important;
    color: #000 !important;
    margin: 0 !important;
    padding: 0 !important;
    font-weight: 700 !important;
    border-radius: 0 !important;
}

.section-content {
    flex: 1;
    color: #000;
    font-size: 14px;
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    width: 100%;
    box-sizing: border-box;
    gap: 12px;
}

.section-content p {
    margin: 0 0 12px 0;
}

.section-content p:last-child {
    margin-bottom: 0;
}

/* About Subsections */
.about-subsections {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 12px;
}

.about-subsection {
    background-color: #f9f9f9;
    border: 2px solid #000;
    padding: 12px;
    border-radius: 0;
    box-shadow: 2px 2px 0 rgba(0,0,0,0.2);
}

.about-subsection h3 {
    color: #000;
    font-size: 14px;
    font-weight: 700;
    margin: 0 0 12px 0;
    text-transform: uppercase;
    border-bottom: 2px solid #000;
    padding-bottom: 12px;
}

.about-subsection p {
    margin: 0;
    font-size: 13px;
    line-height: 1.5;
    color: #333;
}

/* News items (tidied) */
.news-item {
    border: 2px solid #000;
    padding: 12px;
    margin-bottom: 0;
    background-color: #fbfbfa;
    box-shadow: 4px 4px 0 rgba(0,0,0,0.3);
    width: 100%;
    box-sizing: border-box;
}

.biome-description {
    font-size: 14px;
    line-height: 1.6;
    color: #000;
    margin: 0;
    padding: 0;
}

/* Survival Tips Section */
.survival-tips {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 12px;
    margin-top: 12px;
}

.tip-card {
    background-color: #f9f9f9;
    border: 2px solid #000;
    padding: 12px;
    border-radius: 0 !important;
    box-shadow: 3px 3px 0 rgba(0,0,0,0.2);
}

.tip-card h3 {
    font-size: 16px;
    color: #000;
    margin: 0 0 12px 0;
    font-weight: 700;
}

.tip-card p {
    font-size: 14px;
    line-height: 1.5;
    color: #333;
    margin: 0;
}

/* Building Tips Section */
.building-tips {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 12px;
    margin-top: 12px;
}

.building-tip {
    background-color: #f9f9f9;
    border: 2px solid #000;
    padding: 12px;
    border-radius: 0 !important;
    box-shadow: 3px 3px 0 rgba(0,0,0,0.2);
}

.building-tip h3 {
    font-size: 16px;
    color: #000;
    margin: 0 0 12px 0;
    font-weight: 700;
}

.building-tip p {
    font-size: 14px;
    line-height: 1.5;
    color: #333;
    margin: 0;
}

/* Loot Guide Section */
.loot-guide {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 12px;
    margin-top: 12px;
}

.loot-item {
    background-color: #f9f9f9;
    border: 2px solid #000;
    padding: 12px;
    border-radius: 0 !important;
    box-shadow: 3px 3px 0 rgba(0,0,0,0.2);
}

.loot-item h3 {
    font-size: 16px;
    color: #000;
    margin: 0 0 12px 0;
    font-weight: 700;
}

.loot-item p {
    font-size: 14px;
    line-height: 1.5;
    color: #333;
    margin: 0;
}

/* Resource Grid */
.resource-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 12px;
    margin-top: 12px;
}

.resource-item {
    background-color: #f9f9f9;
    border: 2px solid #000;
    padding: 12px;
    border-radius: 0 !important;
    box-shadow: 3px 3px 0 rgba(0,0,0,0.2);
}

.resource-item h4 {
    font-size: 16px;
    color: #000;
    margin: 0 0 12px 0;
    font-weight: 700;
}

.resource-item p {
    font-size: 14px;
    line-height: 1.5;
    color: #333;
    margin: 0;
}

/* FAQ Section */
.faq-section {
    margin-top: 12px;
}

.faq-item {
    margin-bottom: 12px;
    padding: 12px;
    background-color: #f9f9f9;
    border: 2px solid #000;
    border-radius: 0 !important;
    box-shadow: 3px 3px 0 rgba(0,0,0,0.2);
}

.faq-item h3 {
    font-size: 16px;
    color: #000;
    margin: 0 0 12px 0;
    font-weight: 700;
}

.faq-item p {
    font-size: 14px;
    line-height: 1.5;
    color: #333;
    margin: 0;
}

/* Related Links */
.related-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 12px;
    margin-top: 12px;
}

.link-group h3 {
    font-size: 16px;
    color: #000;
    margin: 0 0 12px 0;
    font-weight: 700;
    border-bottom: 2px solid #000;
    padding-bottom: 12px;
}

.link-group ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.link-group li {
    margin-bottom: 12px;
    line-height: 1.4;
}

.link-group a {
    color: #000;
    text-decoration: none;
    font-size: 14px;
}

.link-group a:hover {
    text-decoration: underline;
    color: #8B6F47;
}

/* Enhanced Biome Stats */
.biome-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-top: 12px;
}

.stat-card {
    background-color: #f9f9f9;
    border: 2px solid #000;
    padding: 12px;
    text-align: center;
    border-radius: 0 !important;
    box-shadow: 3px 3px 0 rgba(0,0,0,0.2);
}

.stat-card strong {
    display: block;
    font-size: 14px;
    color: #000;
    margin-bottom: 12px;
    font-weight: 700;
}

.stat-value {
    font-size: 18px;
    font-weight: 600;
    color: #000;
}

.color-preview {
    width: 40px;
    height: 40px;
    border: 2px solid #000;
    display: inline-block;
    margin: 12px 0;
    border-radius: 0 !important;
}

/* Feature Grid */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 12px;
    margin-top: 12px;
}

.feature-tag {
    background-color: #f9f9f9;
    border: 2px solid #000;
    padding: 12px;
    text-align: center;
    border-radius: 0 !important;
    box-shadow: 2px 2px 0 rgba(0,0,0,0.2);
    font-size: 12px;
    font-weight: 600;
    color: #000;
    display: block;
    transition: all 0.2s ease;
    cursor: pointer;
}

.feature-tag:hover {
    background-color: #e8e8e8;
    box-shadow: 3px 3px 0 rgba(0,0,0,0.3);
    transform: translate(-1px, -1px);
}

.feature-tag:active {
    box-shadow: 1px 1px 0 rgba(0,0,0,0.2);
    transform: translate(1px, 1px);
}

/* Climate & Environment Enhancements */
.climate-overview {
    background: linear-gradient(135deg, #e8f4f8 0%, #d1ecf1 100%);
    border: 2px solid #000;
    padding: 16px;
    margin-bottom: 16px;
    border-radius: 0 !important;
    box-shadow: 3px 3px 0 rgba(0,0,0,0.2);
}

.climate-summary {
    display: flex;
    align-items: center;
    gap: 16px;
}

.weather-icon {
    font-size: 16px;
    font-weight: 700;
    flex-shrink: 0;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.climate-text h3 {
    margin: 0 0 8px 0;
    color: #000;
    font-size: 18px;
    font-weight: 700;
}

.climate-text p {
    margin: 0;
    color: #333;
    line-height: 1.5;
}

.stat-icon {
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 8px;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.seasonal-info {
    margin-top: 16px;
    padding: 12px;
    background-color: #fff8e1;
    border: 2px solid #000;
    border-radius: 0 !important;
    box-shadow: 2px 2px 0 rgba(0,0,0,0.15);
}

.seasonal-info h3 {
    color: #000;
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 8px 0;
}

.seasonal-info p {
    margin: 0;
    color: #333;
    line-height: 1.5;
}

/* Mob Section Enhancements */
.mobs-overview {
    background: linear-gradient(135deg, #f0f8e0 0%, #e8f5e8 100%);
    border: 2px solid #000;
    padding: 16px;
    margin-bottom: 16px;
    border-radius: 0 !important;
    box-shadow: 3px 3px 0 rgba(0,0,0,0.2);
}

.mobs-summary {
    display: flex;
    align-items: center;
    gap: 16px;
}

.mobs-icon {
    font-size: 14px;
    font-weight: 700;
    flex-shrink: 0;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 1px;
    background: #fff;
    padding: 8px 12px;
    border: 2px solid #000;
    border-radius: 0 !important;
    box-shadow: 2px 2px 0 rgba(0,0,0,0.1);
}

.mobs-text h3 {
    margin: 0 0 8px 0;
    color: #000;
    font-size: 18px;
    font-weight: 700;
}

.mobs-text p {
    margin: 0;
    color: #333;
    line-height: 1.5;
}

.mob-category {
    margin-bottom: 24px;
}

.mob-category h3 {
    color: #000;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 2px solid #000;
}

.mob-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 12px;
}

.mob-card {
    background-color: #f9f9f9;
    border: 2px solid #000;
    padding: 16px;
    border-radius: 0 !important;
    box-shadow: 3px 3px 0 rgba(0,0,0,0.2);
    transition: transform 0.2s ease;
}

.mob-card:hover {
    transform: translateY(-2px);
    box-shadow: 4px 4px 0 rgba(0,0,0,0.3);
}

.mob-image {
    text-align: center;
    margin-bottom: 12px;
}

.mob-img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    border: 2px solid #000;
    border-radius: 0 !important;
    background-color: #f9f9f9;
    box-shadow: 2px 2px 0 rgba(0,0,0,0.1);
}

.mob-card.passive {
    border-color: #4CAF50;
}

.mob-card.hostile {
    border-color: #F44336;
}

.mob-card.neutral {
    border-color: #FF9800;
}

.mob-header {
    margin-bottom: 12px;
}

.mob-name {
    font-size: 16px;
    font-weight: 700;
    color: #000;
    margin-bottom: 4px;
}

.mob-type {
    font-size: 12px;
    font-weight: 600;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.mob-weight {
    font-size: 11px;
    font-weight: 500;
    color: #888;
    margin-top: 2px;
    font-style: italic;
    line-height: 1.3;
}

.stat-label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: #666;
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat-value {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: #000;
}

/* Feature Grid */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 12px;
    margin-top: 12px;
}

.feature-tag {
    background-color: #f9f9f9;
    border: 2px solid #000;
    padding: 12px;
    text-align: center;
    border-radius: 0 !important;
    box-shadow: 2px 2px 0 rgba(0,0,0,0.2);
    font-size: 12px;
    font-weight: 600;
    color: #000;
}

/* Mob Grid */
.mob-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 12px;
    margin: 12px 0;
}

.mob-card {
    background: #ffffff;
    padding: 12px;
    border: 2px solid #000;
    border-radius: 0 !important;
    text-align: center;
    box-shadow: 2px 2px 0 rgba(0,0,0,0.2);
    transition: all 0.3s ease;
}

.mob-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
    background: #fffbf5;
}

.mob-card h4 {
    margin: 0 0 12px 0;
    color: #333;
    font-size: 13px;
    font-weight: 700;
}

.mob-type {
    display: inline-block;
    background: #ffb74d;
    color: #333;
    padding: 4px 8px;
    border-radius: 3px;
    font-size: 10px;
    margin-top: 12px;
    font-weight: 700;
}

/* Feature Grid */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 12px;
    margin: 12px 0;
}

.feature-tag {
    background: #ffffff;
    color: #333;
    padding: 12px;
    border: 2px solid #000;
    border-radius: 0 !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    font-size: 12px;
    box-shadow: 2px 2px 0 rgba(0,0,0,0.2);
    min-height: 100px;
    justify-content: center;
    width: 100%;
    overflow: visible;
    transition: all 0.3s ease;
}

.feature-tag:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
    background: #f5faf0;
}

.feature-tag span {
    display: block;
    margin-top: 12px;
    line-height: 1.3;
    word-break: break-word;
    font-weight: 600;
    overflow-wrap: break-word;
    width: 100%;
    white-space: normal;
    word-wrap: break-word;
}

.feature-tag img {
    width: 48px !important;
    height: 48px !important;
}

/* Tables */
table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
    margin: 12px 0;
    border: 2px solid #000;
}

table thead {
    background: linear-gradient(135deg, #A0826D 0%, #8B6F47 100%);
    color: #fff;
}

table th, table td {
    padding: 10px 12px;
    text-align: left;
    border: 2px solid #000 !important;
    color: #000;
    border-radius: 0 !important;
}

table tbody tr:nth-child(even) {
    background: #f5faf0;
}

table tbody tr:hover {
    background: #e8f5e9;
}

/* Preformatted text */
pre {
    background: #ffffff;
    padding: 12px;
    border: 2px solid #000;
    border-radius: 0 !important;
    overflow-x: auto;
    font-size: 11px;
    line-height: 1.4;
    font-family: 'Courier New', monospace;
    box-shadow: 2px 2px 0 rgba(0,0,0,0.2);
}

/* Back link */
.back-link {
    display: inline-block;
    margin: 12px 12px 0 12px;
    color: #000;
    text-decoration: none;
    font-weight: 700;
    font-size: 13px;
    background: #A0826D;
    padding: 8px 14px;
    border: 2px solid #000;
    border-radius: 0 !important;
    box-shadow: 2px 2px 0 rgba(0,0,0,0.2);
    transition: all 0.3s ease;
}

.back-link:hover {
    background: #8B6F47;
    color: #ffffff;
}

/* Responsive Design */
@media (max-width: 768px) {
    .biome-header {
        padding: 12px 12px 12px 12px !important;
        margin: 12px;
    }

    .biome-header h1 {
        font-size: 18px !important;
    }

    .action-buttons {
        flex-direction: column;
        margin: 0 12px 12px 12px;
    }

    .action-btn {
        width: 100%;
    }

    .biome-dropdown-menu {
        width: 100%;
    }

    .biome-dropdown-toggle {
        width: 100%;
    }

    .biome-dropdown-content {
        position: static;
        min-width: auto;
        box-shadow: none;
        border: 2px solid #8B6F47;
        border-top: 2px solid #8B6F47;
        margin-top: 0;
    }

    .biome-dropdown-content a {
        padding: 10px 12px;
        font-size: 12px;
    }

    .biome-gallery {
        grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
        gap: 12px;
    }

    .biome-stats {
        grid-template-columns: 1fr;
    }

    .mob-grid {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    }

    .feature-grid {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    }
}

@media (max-width: 480px) {
    .container {
        padding: 12px !important;
    }

    .main-content {
        padding: 12px;
    }

    .biome-header {
        padding: 12px 12px 12px 12px !important;
        margin: 4px;
    }

    .biome-header h1 {
        font-size: 18px !important;
    }

    .biome-gallery {
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
        gap: 12px;
    }

    .gallery-image {
        height: 140px;
    }

    .biome-section {
        padding: 12px;
        margin-bottom: 12px;
    }

    .stat-card {
        padding: 12px;
    }

    .mob-card {
        padding: 12px;
    }

    .feature-tag {
        padding: 12px;
        min-height: 80px;
    }
}

/* Structures Section */
.structures-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 16px;
    margin-top: 16px;
}

.structure-card {
    background-color: #f5f5f0;
    border: 2px solid #000;
    border-radius: 0;
    overflow: hidden;
    box-shadow: 4px 4px 0 rgba(0,0,0,0.3);
    transition: transform 0.2s ease;
}

.structure-card:hover {
    transform: translate(-2px, -2px);
    box-shadow: 6px 6px 0 rgba(0,0,0,0.3);
}

.structure-icon {
    width: 100%;
    height: 200px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.structure-icon img,
.structure-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.structure-card:hover .structure-icon img,
.structure-card:hover .structure-img {
    transform: scale(1.05);
}

.structure-gallery {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 16px;
}

.structure-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.structure-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.structure-card:hover .structure-image img {
    transform: scale(1.05);
}

.structure-info {
    padding: 16px;
}

.structure-info h3 {
    margin: 0 0 8px 0;
    font-size: 16px;
    font-weight: 700;
    color: #000;
}

.structure-info p {
    margin: 0;
    font-size: 14px;
    color: #333;
    line-height: 1.4;
}
/* Report Modal */
.report-dropdown {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.5);
  z-index: 9999;
  justify-content: center;
  align-items: center;
}

.report-dropdown.active {
  display: flex;
}

.report-dropdown .modal-content {
  background-color: #b8a89c;
  border: 2px solid #000;
  box-shadow: 4px 4px 0 rgba(0,0,0,0.3);
  max-width: 500px;
  width: 90%;
  padding: 24px;
  position: relative;
}

.modal-close-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  background: none;
  border: none;
  font-size: 20px;
  cursor: pointer;
  color: #000;
}

.modal-close-btn:hover {
  color: #cc0000;
}

.report-dropdown .report-modal-title {
  font-size: 16px !important;
  font-weight: bold !important;
  margin-bottom: 8px !important;
  padding-bottom: 8px !important;
  border-bottom: 2px solid #000 !important;
  color: #000 !important;
  font-family: "Segoe UI", Tahoma, Geneva, sans-serif !important;
  line-height: 1.2 !important;
  margin: 0 0 8px 0 !important;
}

.report-modal-title {
  font-size: 16px !important;
  font-weight: bold !important;
  margin-bottom: 8px !important;
  padding-bottom: 8px !important;
  border-bottom: 2px solid #000 !important;
  color: #000 !important;
  font-family: "Segoe UI", Tahoma, Geneva, sans-serif !important;
  line-height: 1.2 !important;
}

.report-modal-intro {
  margin-bottom: 16px;
}

.report-modal-intro p {
  font-size: 14px !important;
  color: #666 !important;
  margin: 0 !important;
  font-family: "Segoe UI", Tahoma, Geneva, sans-serif !important;
  line-height: 1.4 !important;
}

.report-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-label {
  display: block !important;
  font-size: 12px !important;
  font-weight: bold !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  margin-bottom: 8px !important;
  color: #000 !important;
  font-family: "Segoe UI", Tahoma, Geneva, sans-serif !important;
}

.form-input {
  width: 100% !important;
  padding: 12px !important;
  font-size: 14px !important;
  border: 2px solid #000 !important;
  background-color: #fbfbfa !important;
  font-family: "Segoe UI", Tahoma, Geneva, sans-serif !important;
  color: #000 !important;
}

.form-input:focus {
  outline: none !important;
  background-color: #fff !important;
  box-shadow: 2px 2px 0 rgba(0,0,0,0.2) !important;
}

.form-group select,
.form-group textarea {
  width: 100% !important;
  padding: 12px !important;
  font-size: 14px !important;
  border: 2px solid #000 !important;
  background-color: #fbfbfa !important;
  font-family: "Segoe UI", Tahoma, Geneva, sans-serif !important;
  color: #000 !important;
  resize: vertical !important;
}

.form-group textarea:focus,
.form-group select:focus {
  outline: none !important;
  background-color: #fff !important;
  box-shadow: 2px 2px 0 rgba(0,0,0,0.2) !important;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-buttons {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  margin-top: 12px;
}

.form-buttons .btn {
  display: inline-block;
  padding: 6px 10px;
  color: #000;
  text-decoration: none;
  font-size: 12px;
  font-weight: 900;
  transition: all 0.05s;
  border: 3px solid #000;
  cursor: pointer;
  box-shadow: 4px 4px 0 rgba(0,0,0,0.3);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-family: "Segoe UI", Tahoma, Geneva, sans-serif;
}

.form-buttons .btn-primary {
  background-color: #2ecc71;
  color: #000;
}

.form-buttons .btn-primary:hover {
  background-color: #27ae60;
  box-shadow: 6px 6px 0 rgba(0,0,0,0.4);
  transform: translate(-2px, -2px);
}

.form-buttons .btn-secondary {
  background-color: #e74c3c;
  color: #fff;
}

.form-buttons .btn-secondary:hover {
  background-color: #c0392b;
  box-shadow: 6px 6px 0 rgba(0,0,0,0.4);
  transform: translate(-2px, -2px);
}

/* Notification Toast */
#notificationContainer {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 10000;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.notification {
  padding: 16px 20px;
  border-radius: 0;
  border: 2px solid #000;
  box-shadow: 4px 4px 0 rgba(0,0,0,0.3);
  font-size: 14px;
  font-weight: 600;
  font-family: "Segoe UI", Tahoma, Geneva, sans-serif;
  animation: slideInRight 0.3s ease-out;
  max-width: 400px;
  word-wrap: break-word;
}

.notification-success {
  background-color: #2ecc71;
  color: #000;
  border-color: #27ae60;
}

.notification-error {
  background-color: #e74c3c;
  color: #fff;
  border-color: #c0392b;
}

.notification.fade-out {
  animation: slideOutRight 0.3s ease-in;
  opacity: 0;
}

@keyframes slideInRight {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slideOutRight {
  from {
    transform: translateX(0);
    opacity: 1;
  }
  to {
    transform: translateX(100%);
    opacity: 0;
  }
}

@media (max-width: 600px) {
  #notificationContainer {
    left: 10px;
    right: 10px;
    top: 10px;
  }
  
  .notification {
    max-width: 100%;
  }
}
