/* Wiki-specific styles that extend the landing page design */
.wiki-page {
    background: var(--bg-dark);
    padding-top: 80px; /* Account for fixed navbar */
}

/* Main Navigation Bar Styles */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: var(--bg-darker);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    box-shadow: 0 2px 10px var(--shadow-color);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: var(--primary-color);
    font-size: 1.25rem;
    font-weight: 700;
    transition: all 0.3s ease;
}

.nav-logo:hover {
    transform: translateY(-1px);
    text-shadow: 0 0 20px rgba(255, 140, 0, 0.5);
}

.nav-logo i {
    font-size: 1.5rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 2rem;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--primary-color);
    background: rgba(255, 140, 0, 0.1);
    transform: translateY(-1px);
}

.nav-link.active {
    color: var(--primary-color);
    background: rgba(255, 140, 0, 0.15);
}

/* Wiki Navigation Bar */
.wiki-navbar {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: rgba(45, 45, 45, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    z-index: 999;
    box-shadow: 0 2px 10px var(--shadow-color);
}

.wiki-nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
}

.wiki-nav-container::-webkit-scrollbar {
    display: none; /* Chrome, Safari and Opera */
}

.wiki-nav-scroll {
    display: flex;
    flex-wrap: nowrap;
    gap: 0;
    min-width: max-content;
    padding: 0;
    width: max-content;
}

.wiki-nav-link {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    color: var(--text-secondary);
    text-decoration: none;
    white-space: nowrap;
    border-right: 1px solid var(--border-color);
    transition: all 0.3s ease;
    font-weight: 500;
    flex-shrink: 0;
    font-size: 0.9rem;
    min-width: max-content;
}

.wiki-nav-link:hover {
    background: rgba(255, 140, 0, 0.1);
    color: var(--primary-color);
    transform: translateY(-1px);
}

.wiki-nav-link.active {
    background: var(--primary-color);
    color: white;
    box-shadow: var(--shadow-orange);
}

.wiki-nav-link:last-child {
    border-right: none;
}

/* Top AdSense positioning */
.top-adsense-bar {
    position: fixed;
    top: 120px;
    left: 0;
    right: 0;
    background: var(--bg-panel);
    padding: 10px;
    border-bottom: 1px solid var(--border-color);
    z-index: 998;
    text-align: center;
}

.top-ad-banner {
    margin-top: 160px;
    padding: 20px;
    background: var(--bg-panel);
    border-radius: 8px;
    text-align: center;
}

/* Main content */
.main-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
    margin-top: 80px;
}

.guide-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
    margin-top: 80px;
}

.guide-header {
    text-align: center;
    margin-bottom: 3rem;
    padding: 2rem;
    background: var(--gradient-dark);
    border-radius: 16px;
    border: 1px solid var(--border-color);
}

.guide-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
    text-shadow: 0 0 20px rgba(255, 140, 0, 0.3);
}

.guide-header p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    opacity: 0.9;
}

/* Guide sections */
.guide-section {
    background: var(--bg-panel);
    margin: 2rem 0;
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    position: relative;
}

.guide-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
}

.guide-section:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px var(--shadow-color);
    border-color: var(--primary-color);
}

.guide-section h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.guide-section h2 i {
    font-size: 1.5rem;
}

.guide-section h3 {
    font-size: 1.4rem;
    color: var(--primary-color);
    margin: 1.5rem 0 1rem;
}

.guide-section p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1rem;
}

/* Alternative guide container for health guide style */
.guide-container-alt {
    background: var(--bg-panel);
    border-radius: 16px;
    padding: 2rem;
    margin: 2rem 0;
    border: 1px solid var(--border-color);
    position: relative;
}

.guide-container-alt::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
}

.guide-container-alt h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
    text-align: center;
    text-shadow: 0 0 20px rgba(255, 140, 0, 0.3);
}

.guide-container-alt h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 2rem 0 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.guide-container-alt h3 {
    font-size: 1.4rem;
    color: var(--primary-color);
    margin: 1.5rem 0 1rem;
}

.guide-container-alt p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1rem;
}

/* Tables */
.armor-table, .status-table {
    width: 100%;
    background: var(--bg-dark);
    border-radius: 12px;
    margin: 1.5rem 0;
    box-shadow: 0 4px 20px var(--shadow-color);
}

.armor-table thead, .status-table thead {
    background: var(--gradient-primary);
}

.armor-table th, .status-table th {
    padding: 1rem;
    text-align: left;
    color: white;
    font-weight: 600;
    font-size: 0.95rem;
}

.armor-table td, .status-table td {
    padding: 1rem;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-secondary);
}

.armor-table tr:last-child td, .status-table tr:last-child td {
    border-bottom: none;
}

.armor-table tr:hover, .status-table tr:hover {
    background: rgba(255, 140, 0, 0.05);
}

/* Protection level badges */
.protection-level {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    color: white;
}

.level-1 { background: linear-gradient(135deg, #27ae60, #2ecc71); }
.level-2 { background: linear-gradient(135deg, #3498db, #5dade2); }
.level-3 { background: linear-gradient(135deg, #f39c12, #f4d03f); }
.level-4 { background: linear-gradient(135deg, #e67e22, #f5b041); }
.level-5 { background: linear-gradient(135deg, #e74c3c, #ec7063); }
.level-6 { background: linear-gradient(135deg, #8e44ad, #bb8fce); }

/* Bullet damage info */
.bullet-damage {
    background: var(--bg-dark);
    padding: 1rem;
    margin: 1rem 0;
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
    transition: all 0.3s ease;
}

.bullet-damage:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-orange);
}

.bullet-damage strong {
    color: var(--primary-color);
    font-size: 1.1rem;
    display: block;
    margin-bottom: 0.5rem;
}

.bullet-damage span {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Health-specific sections */
.health-section {
    background: var(--bg-dark);
    margin: 1.5rem 0;
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.health-section:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px var(--shadow-color);
    border-color: var(--primary-color);
}

.health-items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.health-item {
    background: var(--bg-dark);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.health-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-orange);
    border-color: var(--primary-color);
}

.health-item h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.health-item h4 a {
    color: inherit;
    text-decoration: none;
    transition: all 0.3s ease;
}

.health-item h4 a:hover {
    color: var(--primary-color);
    text-shadow: 0 0 10px rgba(255, 140, 0, 0.3);
}

.health-item a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.health-item a:hover {
    color: #ffaa33;
    text-shadow: 0 0 8px rgba(255, 140, 0, 0.4);
}

.bullet-damage a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.bullet-damage a:hover {
    color: #ffaa33;
    text-shadow: 0 0 8px rgba(255, 140, 0, 0.4);
}

/* Calculator and tip boxes */
.durability-calc, .tip-box, .pro-tip, .warning, .combat-tips {
    background: var(--bg-dark);
    padding: 1.5rem;
    border-radius: 12px;
    margin: 1.5rem 0;
    border: 1px solid var(--border-color);
}

.tip-box, .pro-tip {
    border-left: 4px solid var(--primary-color);
    background: linear-gradient(135deg, rgba(255, 140, 0, 0.1), rgba(255, 140, 0, 0.05));
}

.warning {
    border-left: 4px solid #e74c3c;
    background: linear-gradient(135deg, rgba(231, 76, 60, 0.1), rgba(231, 76, 60, 0.05));
}

.combat-tips {
    border-left: 4px solid #27ae60;
    background: linear-gradient(135deg, rgba(39, 174, 96, 0.1), rgba(39, 174, 96, 0.05));
}

.tip-box h4, .pro-tip h4, .warning h4, .combat-tips h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.tip-box ul, .pro-tip ul, .warning ul, .combat-tips ul {
    list-style: none;
    padding-left: 0;
}

.tip-box li, .pro-tip li, .warning li, .combat-tips li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-secondary);
}

.tip-box li::before, .pro-tip li::before, .warning li::before, .combat-tips li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

/* Ad containers */
.ad-container {
    margin: 2rem 0;
    padding: 1rem;
    background: var(--bg-panel);
    border-radius: 8px;
    text-align: center;
    border: 1px solid var(--border-color);
}

/* Footer */
.footer {
    background: var(--bg-darker);
    color: var(--text-secondary);
    text-align: center;
    padding: 2rem 1rem;
    margin-top: 3rem;
    border-top: 3px solid var(--primary-color);
}

.footer-content p {
    margin-bottom: 1rem;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    padding: 0.5rem;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-color);
    background: rgba(255, 140, 0, 0.1);
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .wiki-page {
        padding-top: 60px;
    }

    .navbar {
        height: 60px;
    }

    .nav-container {
        height: 60px;
        padding: 0 0.5rem;
    }

    .nav-logo {
        font-size: 1.1rem;
    }

    .nav-logo i {
        font-size: 1.3rem;
    }

    .nav-menu {
        gap: 1rem;
    }

    .nav-link {
        padding: 0.5rem 0.75rem;
        font-size: 0.9rem;
    }

    .wiki-navbar {
        top: 60px;
    }

    .top-adsense-bar {
        top: 110px;
    }

    .main-content {
        padding: 1rem 0.5rem;
        margin-top: 60px;
    }

    .guide-container {
        padding: 1rem 0.5rem;
        margin-top: 60px;
    }

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

    .guide-header h1 {
        font-size: 2rem;
    }

    .guide-section {
        padding: 1.5rem;
        margin: 1.5rem 0;
    }

    .guide-section h2 {
        font-size: 1.5rem;
    }

    .guide-container-alt {
        padding: 1.5rem;
    }

    .guide-container-alt h1 {
        font-size: 2rem;
    }

    .guide-container-alt h2 {
        font-size: 1.5rem;
    }

    .armor-table, .status-table {
        font-size: 0.85rem;
    }

    .armor-table th, .armor-table td,
    .status-table th, .status-table td {
        padding: 0.75rem 0.5rem;
    }

    .health-items {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .wiki-nav-container {
        padding: 0 0.5rem;
        overflow-x: scroll;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        scroll-behavior: smooth;
        scrollbar-width: thin;
        scrollbar-color: var(--primary-color) transparent;
    }

    .wiki-nav-container::-webkit-scrollbar {
        height: 3px;
    }

    .wiki-nav-container::-webkit-scrollbar-track {
        background: transparent;
    }

    .wiki-nav-container::-webkit-scrollbar-thumb {
        background: var(--primary-color);
        border-radius: 3px;
    }

    .wiki-nav-scroll {
        gap: 0;
        padding: 0;
        min-width: fit-content;
        width: max-content;
        display: flex;
        flex-wrap: nowrap;
    }

    .wiki-nav-link {
        padding: 10px 15px;
        font-size: 0.85rem;
        min-width: max-content;
        flex-shrink: 0;
        white-space: nowrap;
    }

    .footer-links {
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .nav-container {
        padding: 0 0.25rem;
    }

    .nav-logo {
        font-size: 1rem;
    }

    .nav-menu {
        gap: 0.5rem;
    }

    .nav-link {
        padding: 0.4rem 0.6rem;
        font-size: 0.8rem;
    }

    .wiki-nav-container {
        padding: 0 0.25rem;
        overflow-x: scroll;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
    }

    .wiki-nav-scroll {
        width: max-content;
        min-width: max-content;
    }

    .wiki-nav-link {
        padding: 8px 12px;
        font-size: 0.8rem;
        flex-shrink: 0;
        min-width: max-content;
    }

    .guide-header h1 {
        font-size: 1.75rem;
    }

    .guide-section h2 {
        font-size: 1.3rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .guide-container-alt h1 {
        font-size: 1.75rem;
    }

    .guide-container-alt h2 {
        font-size: 1.3rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .armor-table th, .armor-table td,
    .status-table th, .status-table td {
        padding: 0.5rem 0.25rem;
        font-size: 0.8rem;
    }
}

/* Durability Calculator Styles */
.armor-calculator {
    background: linear-gradient(135deg, rgba(255, 140, 0, 0.1), rgba(255, 140, 0, 0.05));
    border: 2px solid var(--primary-color);
    border-radius: 12px;
    padding: 20px;
    margin: 20px 0;
}

.calc-input-group {
    margin-bottom: 15px;
}

.calc-input-group label {
    display: block;
    color: var(--primary-color);
    font-weight: bold;
    margin-bottom: 5px;
    font-size: 14px;
}

.calc-input-group input {
    width: 100%;
    padding: 10px;
    border: 2px solid #555;
    border-radius: 6px;
    background-color: var(--bg-dark);
    color: #fff;
    font-size: 16px;
    transition: border-color 0.3s ease;
    box-sizing: border-box;
}

.calc-input-group input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 10px rgba(255, 140, 0, 0.3);
}

.calc-results {
    margin-top: 20px;
    padding: 15px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
}

.calc-result-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    padding: 8px 0;
}

.calc-result-item:last-child {
    margin-bottom: 0;
}

.calc-label {
    font-weight: bold;
    color: #ccc;
}

.calc-value {
    font-weight: bold;
    color: var(--primary-color);
    font-size: 16px;
}

.calc-status {
    font-weight: bold;
    font-size: 16px;
    padding: 4px 12px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.calc-status.sellable {
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
    box-shadow: 0 2px 10px rgba(40, 167, 69, 0.3);
}

.calc-status.not-sellable {
    background: linear-gradient(135deg, #dc3545, #c82333);
    color: white;
    box-shadow: 0 2px 10px rgba(220, 53, 69, 0.3);
}

/* Mobile responsive for calculator */
@media (max-width: 480px) {
    .armor-calculator {
        padding: 15px;
    }
    
    .calc-result-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
    
    .calc-status {
        align-self: center;
    }
}

/* Interactive Health Meter Styles - Character Silhouette */
.health-meter-container {
    background: linear-gradient(135deg, rgba(255, 140, 0, 0.1), rgba(255, 140, 0, 0.05));
    border: 2px solid var(--primary-color);
    border-radius: 16px;
    padding: 25px;
    margin: 25px 0;
}

/* Character Silhouette Styles - Completely Redesigned */
.character-silhouette {
    display: flex;
    justify-content: center;
    margin: 40px 0;
    padding: 20px;
}

.character-body {
    position: relative;
    width: 350px;
    height: 550px;
    overflow: visible;
    backdrop-filter: blur(10px);
}

.character-body::before {
    content: '';
    position: absolute;
    top: 15px;
    left: 15px;
    right: 15px;
    bottom: 15px;
    pointer-events: none;
}

.character-body::after {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    border-radius: inherit;
    z-index: -1;
    animation: borderGlow 3s ease-in-out infinite;
}

@keyframes borderGlow {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 0.8; }
}

/* Body part positioning */
.body-part {
    position: absolute;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 3px solid transparent;
    backdrop-filter: blur(5px);
    overflow: hidden;
}

.body-part::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: inherit;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.body-part:hover {
    border-color: rgba(255, 140, 0, 0.9);
    z-index: 20;
    box-shadow: 
        0 8px 20px rgba(255, 140, 0, 0.3),
        inset 0 0 15px rgba(255, 255, 255, 0.1);
}

.body-part:hover::before {
    opacity: 1;
}

.body-part.selected {
    border-color: rgba(255, 69, 0, 1);
    z-index: 25;
    box-shadow: 
        0 12px 30px rgba(255, 69, 0, 0.4),
        inset 0 0 20px rgba(255, 255, 255, 0.2);
}

/* Tooltip Styles */
.body-part-tooltip {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.95);
    color: var(--primary-color);
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: all 0.3s ease;
    z-index: 1000;
    border: 2px solid rgba(255, 140, 0, 0.5);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.6);
    margin-bottom: 10px;
}

.body-part-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 8px solid transparent;
    border-top-color: rgba(0, 0, 0, 0.95);
}

.body-part:hover .body-part-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(-5px);
}

/* Head - Redesigned */
.head-silhouette {
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 110px;
    height: 110px;
    background: radial-gradient(circle, 
        rgba(220, 50, 47, 0.9) 0%, 
        rgba(180, 30, 30, 0.8) 70%, 
        rgba(120, 15, 15, 0.6) 100%);
    border-radius: 50%;
    box-shadow: 
        0 0 30px rgba(220, 50, 47, 0.5),
        inset 0 5px 15px rgba(255, 255, 255, 0.15);
}

.head-silhouette::after {
    content: 'HEAD';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 12px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
    letter-spacing: 1px;
}

/* Thorax - Redesigned and Separated */
.thorax-silhouette {
    top: 90px;
    left: 50%;
    transform: translateX(-50%);
    width: 140px;
    height: 140px;
    background: radial-gradient(ellipse, 
        rgba(255, 140, 0, 0.9) 0%, 
        rgba(255, 100, 0, 0.8) 60%, 
        rgba(200, 80, 0, 0.6) 100%);
    border-radius: 65px 65px 25px 32px;
    box-shadow: 
        0 0 25px rgba(255, 140, 0, 0.6),
        inset 0 6px 18px rgba(255, 255, 255, 0.2);
}

.thorax-silhouette::after {
    content: 'THORAX';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 13px;
    font-weight: 700;
    color: rgba(0, 0, 0, 0.8);
    text-shadow: 0 1px 3px rgba(255, 255, 255, 0.5);
    letter-spacing: 1px;
}

/* Stomach - Properly Separated */
.stomach-silhouette {
    top: 230px;
    left: 50%;
    transform: translateX(-50%);
    width: 130px;
    height: 110px;
    background: radial-gradient(ellipse, 
        rgba(46, 204, 113, 0.9) 0%, 
        rgba(34, 153, 84, 0.8) 60%, 
        rgba(25, 120, 65, 0.6) 100%);
    border-radius: 25px 25px 65px 65px;
    box-shadow: 
        0 0 20px rgba(46, 204, 113, 0.5),
        inset 0 4px 12px rgba(255, 255, 255, 0.15);
}

.stomach-silhouette::after {
    content: 'STOMACH';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 11px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
    letter-spacing: 1px;
}

/* Arms - Redesigned */
.left-arm-silhouette {
    top: 110px;
    left: 27px;
    width: 60px;
    height: 160px;
    background: linear-gradient(180deg, 
        rgba(52, 152, 219, 0.9) 0%, 
        rgba(41, 128, 185, 0.8) 50%, 
        rgba(30, 100, 150, 0.6) 100%);
    border-radius: 30px;
    transform: rotate(15deg);
    box-shadow: 
        0 0 20px rgba(52, 152, 219, 0.4),
        inset 0 4px 12px rgba(255, 255, 255, 0.2);
}

.left-arm-silhouette::after {
    content: 'L.ARM';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(15deg);
    font-size: 10px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.8);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
    letter-spacing: 0.5px;
}

.right-arm-silhouette {
    top: 110px;
    right: 27px;
    width: 60px;
    height: 160px;
    background: linear-gradient(180deg, 
        rgba(52, 152, 219, 0.9) 0%, 
        rgba(41, 128, 185, 0.8) 50%, 
        rgba(30, 100, 150, 0.6) 100%);
    border-radius: 30px;
    transform: rotate(-15deg);
    box-shadow: 
        0 0 20px rgba(52, 152, 219, 0.4),
        inset 0 4px 12px rgba(255, 255, 255, 0.2);
}

.right-arm-silhouette::after {
    content: 'R.ARM';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-15deg);
    font-size: 10px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.8);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
    letter-spacing: 0.5px;
}

/* Legs - Redesigned */
.left-leg-silhouette {
    bottom: 30px;
    left: 70px;
    width: 65px;
    height: 200px;
    background: linear-gradient(180deg, 
        rgba(155, 89, 182, 0.9) 0%, 
        rgba(142, 68, 173, 0.8) 50%, 
        rgba(125, 50, 160, 0.6) 100%);
    border-radius: 33px 33px 18px 18px;
    box-shadow: 
        0 0 20px rgba(155, 89, 182, 0.4),
        inset 0 4px 12px rgba(255, 255, 255, 0.15);
    transform: rotate(15deg);
}

.left-leg-silhouette::after {
    content: 'L.LEG';
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 10px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.8);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
    letter-spacing: 0.5px;
}

.right-leg-silhouette {
    bottom: 30px;
    right: 70px;
    width: 65px;
    height: 200px;
    background: linear-gradient(180deg, 
        rgba(155, 89, 182, 0.9) 0%, 
        rgba(142, 68, 173, 0.8) 50%, 
        rgba(125, 50, 160, 0.6) 100%);
    border-radius: 33px 33px 18px 18px;
    box-shadow: 
        0 0 20px rgba(155, 89, 182, 0.4),
        inset 0 4px 12px rgba(255, 255, 255, 0.15);
    transform: rotate(-15deg);
}

.right-leg-silhouette::after {
    content: 'R.LEG';
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 10px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.8);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
    letter-spacing: 0.5px;
}

.right-leg-silhouette::after {
    content: 'R.LEG';
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 9px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.8);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
    letter-spacing: 0.5px;
}

/* Health indicators */
.health-indicator {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #2ecc71;
    box-shadow: 0 0 10px #2ecc71;
    animation: healthPulse 2s infinite;
}

@keyframes healthPulse {
    0%, 100% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 0.7; transform: translate(-50%, -50%) scale(1.2); }
}

/* Tooltips */
.body-part-tooltip {
    position: absolute;
    bottom: 120%;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.9);
    color: white;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 12px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 1000;
}

.body-part-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 5px solid transparent;
    border-top-color: rgba(0, 0, 0, 0.9);
}

.body-part:hover .body-part-tooltip {
    opacity: 1;
}

.hp-text {
    color: var(--primary-color);
    font-weight: bold;
}

.damage-type {
    font-size: 10px;
    color: #bbb;
}

/* Health info panel */
.health-info-panel {
    background: rgba(0, 0, 0, 0.5);
    border: 3px solid var(--primary-color);
    border-radius: 15px;
    padding: 25px;
    margin: 25px 0;
    text-align: center;
    min-height: 100px;
    box-shadow: 
        0 8px 25px rgba(0, 0, 0, 0.3),
        inset 0 2px 8px rgba(255, 140, 0, 0.1);
}

.health-info-panel h4 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 18px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.health-info-panel #bodyPartDetails {
    color: #e0e0e0;
    line-height: 1.8;
    font-size: 14px;
}

/* Damage states */
.damaged .health-indicator {
    background: #f39c12;
    box-shadow: 0 0 10px #f39c12;
}

.critical .health-indicator {
    background: #e74c3c;
    box-shadow: 0 0 10px #e74c3c;
    animation: criticalPulse 1s infinite;
}

.destroyed .health-indicator {
    background: #95a5a6;
    box-shadow: none;
    animation: none;
}

@keyframes criticalPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

/* Mobile responsive for character silhouette */
@media (max-width: 768px) {
    .character-body {
        width: 280px;
        height: 440px;
    }
    
    .head-silhouette {
        width: 90px;
        height: 90px;
        top: -32px;
    }
    
    .head-silhouette::after {
        font-size: 10px;
    }
    
    .thorax-silhouette {
        width: 130px;
        height: 115px;
        top: 75px;
    }
    
    .thorax-silhouette::after {
        font-size: 11px;
    }
    
    .left-arm-silhouette, .right-arm-silhouette {
        width: 50px;
        height: 130px;
        top: 90px;
    }
    
    .left-arm-silhouette {
        left: -45px;
    }
    
    .right-arm-silhouette {
        right: -45px;
    }
    
    .left-arm-silhouette::after, .right-arm-silhouette::after {
        font-size: 9px;
    }
    
    .stomach-silhouette {
        width: 110px;
        height: 90px;
        top: 200px;
    }
    
    .stomach-silhouette::after {
        font-size: 10px;
    }
    
    .left-leg-silhouette, .right-leg-silhouette {
        width: 55px;
        height: 160px;
        bottom: -40px;
    }
    
    .left-leg-silhouette {
        left: 60px;
    }
    
    .right-leg-silhouette {
        right: 60px;
    }
    
    .left-leg-silhouette::after, .right-leg-silhouette::after {
        font-size: 9px;
    }
    
    .body-part-tooltip {
        font-size: 12px;
        padding: 10px 14px;
    }
}

@media (max-width: 480px) {
    .health-meter-container {
        padding: 15px;
    }
    
    .character-body {
        width: 240px;
        height: 380px;
    }
    
    .head-silhouette {
        width: 75px;
        height: 75px;
        top: -28px;
    }
    
    .head-silhouette::after {
        font-size: 9px;
    }
    
    .thorax-silhouette {
        width: 110px;
        height: 95px;
        top: 65px;
    }
    
    .thorax-silhouette::after {
        font-size: 10px;
    }
    
    .left-arm-silhouette, .right-arm-silhouette {
        width: 42px;
        height: 110px;
        top: 80px;
    }
    
    .left-arm-silhouette {
        left: -38px;
    }
    
    .right-arm-silhouette {
        right: -38px;
    }
    
    .left-arm-silhouette::after, .right-arm-silhouette::after {
        font-size: 8px;
    }
    
    .stomach-silhouette {
        width: 95px;
        height: 75px;
        top: 170px;
    }
    
    .stomach-silhouette::after {
        font-size: 9px;
    }
    
    .left-leg-silhouette, .right-leg-silhouette {
        width: 48px;
        height: 140px;
        bottom: -35px;
    }
    
    .left-leg-silhouette {
        left: 52px;
    }
    
    .right-leg-silhouette {
        right: 52px;
    }
    
    .left-leg-silhouette::after, .right-leg-silhouette::after {
        font-size: 8px;
    }
    
    .health-info-panel {
        padding: 18px;
        min-height: 70px;
    }
    
    .health-info-panel h4 {
        font-size: 15px;
    }
    
    .health-info-panel #bodyPartDetails {
        font-size: 12px;
    }
    
    .body-part-tooltip {
        font-size: 11px;
        padding: 8px 12px;
    }
}
