/**
 * Midnight Expansion - Razorwind Shores (Horde) Module Styles
 */

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

/* Glass Panel - Horde Variant */
.neighborhoods-module.horde-version .glass-panel {
    background: rgba(20, 10, 10, 0.75);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(239, 68, 68, 0.4);
    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(239, 68, 68, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.neighborhoods-module.horde-version .glass-panel:hover {
    border-color: rgba(239, 68, 68, 0.6);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.7), inset 0 0 20px rgba(239, 68, 68, 0.2);
}

.neighborhoods-module.horde-version .module-header {
    text-align: center;
    border: 2px solid rgba(239, 68, 68, 0.5);
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.2), rgba(15, 5, 5, 0.9));
    padding: 3.5rem 2rem;
}

.neighborhoods-module.horde-version h1 {
    font-size: 3.5rem;
    color: #fff;
    text-shadow: 0 0 30px rgba(239, 68, 68, 0.6);
    margin: 0;
}

.neighborhoods-module.horde-version h2 {
    color: #f87171;
    font-size: 2rem;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    border-left: 5px solid #ef4444;
    padding-left: 1.5rem;
}

/* Map Section */
.map-container {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    border: 2px solid rgba(239, 68, 68, 0.4);
    margin: 2rem 0;
}

.map-container img {
    width: 100%;
    display: block;
}

/* Amenities Grid */
.amenities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.amenity-card {
    background: rgba(30, 10, 10, 0.5);
    border: 1px solid rgba(239, 68, 68, 0.2);
    border-radius: 15px;
    padding: 1.2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.3s ease;
}

.amenity-card:hover {
    background: rgba(239, 68, 68, 0.1);
    border-color: rgba(239, 68, 68, 0.5);
    transform: translateY(-3px);
}

.amenity-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(239, 68, 68, 0.2);
    border-radius: 10px;
}

.amenity-info strong {
    display: block;
    color: #fff;
    margin-bottom: 0.2rem;
}

/* Biome Sections */
.biome-section {
    margin-top: 4rem;
    border-top: 1px solid rgba(239, 68, 68, 0.2);
    padding-top: 3rem;
}

.horde-badge {
    background: #ef4444;
    color: #fff;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
    text-transform: uppercase;
}

/* Plot Gallery */
.plot-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 1.2rem;
    margin-top: 1.5rem;
}

.plot-card {
    background: rgba(30, 10, 10, 0.5);
    border: 1px solid rgba(239, 68, 68, 0.2);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
}

.plot-card:hover {
    border-color: rgba(239, 68, 68, 0.6);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
    transform: translateY(-5px);
}

.plot-img-container {
    height: 110px;
    overflow: hidden;
    position: relative;
    background: #000;
}

.plot-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8;
    transition: all 0.5s ease;
}

.plot-card:hover .plot-img-container img {
    transform: scale(1.1);
    opacity: 1;
}

.plot-info {
    padding: 0.8rem;
    text-align: center;
    background: rgba(20, 5, 5, 0.8);
}

.plot-number {
    font-weight: bold;
    color: #fca5a5;
    font-size: 0.95rem;
}

/* Biome Previews */
.biome-previews {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.biome-preview-img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 12px;
    border: 1px solid rgba(239, 68, 68, 0.3);
    transition: all 0.3s ease;
    cursor: pointer;
}

.biome-preview-img:hover {
    transform: scale(1.05);
    border-color: #ef4444;
}

.enlargeable {
    cursor: zoom-in;
}

/* Responsive */
@media (max-width: 1024px) {
    .neighborhoods-module.horde-version .module-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .plot-gallery {
        grid-template-columns: 1fr 1fr;
    }
}