/**
 * Midnight Expansion - Haranir Allied Race Module Styles
 */

.haranir-module {
    animation: fadeIn 0.6s ease-out;
    color: #e2e8f0;
}

/* Nature Theme Colors */
:root {
    --haranir-primary: #86efac;
    /* Pale green */
    --haranir-secondary: #059669;
    /* Emeral green */
    --haranir-accent: #fbbf24;
    /* Amber */
    --haranir-brown: #451a03;
    /* Deep brown */
    --haranir-glow: rgba(134, 239, 172, 0.3);
}

.haranir-module .glass-panel {
    background: rgba(10, 20, 15, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(134, 239, 172, 0.2);
    border-radius: 24px;
    padding: 2.5rem;
    margin-bottom: 2.5rem;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.6), inset 0 0 15px rgba(134, 239, 172, 0.05);
}

.haranir-module .module-header {
    text-align: center;
    border: 2px solid var(--haranir-secondary);
    background: linear-gradient(135deg, rgba(5, 150, 105, 0.2), rgba(10, 20, 15, 0.9));
    padding: 3.5rem 2rem;
}

.haranir-module h1 {
    font-size: 3.2rem;
    color: #fff;
    text-shadow: 0 0 30px var(--haranir-glow);
}

.haranir-module h2 {
    color: var(--haranir-primary);
    font-size: 2rem;
    margin-bottom: 2rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid rgba(134, 239, 172, 0.2);
}

.haranir-module h3 {
    color: var(--haranir-accent);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

/* Grid for classes/stats */
.haranir-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.info-card {
    background: rgba(20, 30, 25, 0.5);
    border: 1px solid rgba(134, 239, 172, 0.1);
    border-radius: 15px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.info-card:hover {
    border-color: var(--haranir-primary);
    transform: translateY(-5px);
}

/* Images */
.content-img {
    width: 100%;
    border-radius: 15px;
    border: 1px solid rgba(134, 239, 172, 0.2);
    margin: 1rem 0;
    cursor: zoom-in;
    transition: transform 0.3s ease;
}

.content-img:hover {
    transform: scale(1.02);
}

/* Racial Abilities */
.racial-list {
    list-style: none;
    padding: 0;
}

.racial-item {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
    border-left: 3px solid var(--haranir-secondary);
}

.racial-name {
    display: block;
    font-weight: bold;
    color: #fff;
    margin-bottom: 0.3rem;
    font-size: 1.1rem;
}

/* Customization List */
.cust-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 0.5rem;
    list-style: none;
    padding: 0;
}

.cust-list li {
    padding: 0.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    font-size: 0.9rem;
}

/* Gallery for Druid Forms */
.form-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}

.form-item {
    text-align: center;
}

.form-label {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.9rem;
    color: var(--haranir-primary);
}

@media (max-width: 768px) {
    .haranir-module h1 {
        font-size: 2.2rem;
    }

    .haranir-grid {
        grid-template-columns: 1fr;
    }
}