/* CSS spécifique pour la page Yggdrasil */

/* Hero Section */
.yggdrasil-hero {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(20, 20, 20, 0.9) 0%, rgba(30, 30, 30, 0.92) 100%), url(/img/pve1-dashboard.png);
    position: relative;
    overflow: hidden;
    padding: 10rem 9% 5rem;
}

.yggdrasil-hero::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(75, 183, 120, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    top: -250px;
    right: -250px;
    animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.1); opacity: 0.8; }
}

.hero-content {
    text-align: center;
    max-width: 900px;
    z-index: 2;
}

.hero-title {
    font-size: 7rem;
    font-weight: 800;
    margin-bottom: 2rem;
    line-height: 1.2;
}

.hero-title span {
    background: linear-gradient(135deg, #4bb778 0%, #5fd68a 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 3rem;
    color: white;
    margin-bottom: 2rem;
    font-weight: 600;
}

.hero-description {
    font-size: 1.8rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 3rem;
    line-height: 1.8;
}

.hero-badges {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.badge {
    padding: 1rem 2rem;
    background-color: rgba(75, 183, 120, 0.2);
    border: 2px solid #4bb778;
    border-radius: 3rem;
    font-size: 1.4rem;
    font-weight: 600;
    color: #4bb778;
    transition: all 0.3s ease;
}

.badge:hover {
    background-color: #4bb778;
    color: black;
    transform: translateY(-3px);
}

/* Sections */
.yggdrasil-section {
    padding: 8rem 9%;
    background-color: black;
}

.yggdrasil-section.dark {
    background-color: #0a0a0a;
}

.section-title {
    font-size: 4.5rem;
    text-align: center;
    margin-bottom: 5rem;
    color: white;
}

.section-subtitle {
    text-align: center;
    font-size: 1.8rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 4rem;
    font-style: italic;
}

/* Content Boxes */
.content-box {
    display: flex;
    gap: 3rem;
    align-items: flex-start;
    margin-bottom: 4rem;
    padding: 3rem;
    background-color: rgba(75, 183, 120, 0.05);
    border-left: 4px solid #4bb778;
    border-radius: 1rem;
    transition: all 0.3s ease;
}

.content-box:hover {
    background-color: rgba(75, 183, 120, 0.1);
    transform: translateX(10px);
}

.content-icon {
    font-size: 4rem;
    color: #4bb778;
    min-width: 6rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.content-text h3 {
    font-size: 2.5rem;
    color: white;
    margin-bottom: 1.5rem;
}

.content-text p {
    font-size: 1.6rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
}

.stat-card {
    padding: 3rem 2rem;
    background: linear-gradient(135deg, rgba(75, 183, 120, 0.1) 0%, rgba(75, 183, 120, 0.05) 100%);
    border: 2px solid #4bb778;
    border-radius: 1rem;
    text-align: center;
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: scale(1.05);
    box-shadow: 0 0 30px rgba(75, 183, 120, 0.3);
}

.stat-icon {
    font-size: 4rem;
    color: #4bb778;
    margin-bottom: 1.5rem;
}

.stat-number {
    font-size: 5rem;
    font-weight: 800;
    color: #4bb778;
    margin-bottom: 1rem;
}

.stat-label {
    font-size: 1.4rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

/* Infrastructure Grid */
.infra-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 3rem;
}

.infra-card {
    padding: 3rem;
    background-color: rgba(75, 183, 120, 0.1);
    border: 2px solid rgba(75, 183, 120, 0.3);
    border-color: #4bb778;
    border-radius: 1.5rem;
    transition: all 0.3s ease;
}


.infra-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(75, 183, 120, 0.2);
}

.infra-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.infra-header i {
    font-size: 4rem;
    color: #4bb778;
}

.status-badge {
    padding: 0.5rem 1.5rem;
    background-color: rgba(75, 183, 120, 0.2);
    border: 1px solid #4bb778;
    border-radius: 2rem;
    font-size: 1.2rem;
    color: #4bb778;
    font-weight: 600;
}

.status-badge.critical {
    background-color: rgba(75, 183, 120, 0.3);
}

.status-badge.pending {
    background-color: rgba(255, 165, 0, 0.2);
    border-color: #ffa500;
    color: #ffa500;
}

.infra-card h3 {
    font-size: 2.5rem;
    color: white;
    margin-bottom: 1rem;
}

.mythology {
    font-size: 1.4rem;
    color: rgba(255, 255, 255, 0.6);
    font-style: italic;
    margin-bottom: 2rem;
}

.infra-details {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.detail-item, .detail-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.8);
}

.detail-item i, .detail-row i {
    color: #4bb778;
    font-size: 1.6rem;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
}

.service-card {
    padding: 3rem 2rem;
    background-color: rgba(75, 183, 120, 0.05);
    border: 2px solid rgba(75, 183, 120, 0.3);
    border-radius: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
}

.service-card.critical {
    border-color: #4bb778;
    background-color: rgba(75, 183, 120, 0.1);
}

.service-card.production {
    border-color: rgba(75, 183, 120, 0.5);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(75, 183, 120, 0.2);
}

.service-icon {
    font-size: 5rem;
    color: #4bb778;
    margin-bottom: 2rem;
}

.service-card h3 {
    font-size: 2.2rem;
    color: white;
    margin-bottom: 1rem;
}

.service-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2rem;
}

.service-type {
    font-size: 1.6rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
}

.service-ip {
    font-size: 1.4rem;
    color: #4bb778;
    font-family: 'Courier New', monospace;
}

.service-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    justify-content: center;
    margin-top: 1rem;
}

.tag-small {
    padding: 0.5rem 1rem;
    background-color: rgba(75, 183, 120, 0.1);
    border: 1px solid rgba(75, 183, 120, 0.3);
    border-radius: 1.5rem;
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.7);
}

.tag-small.critical {
    background-color: rgba(75, 183, 120, 0.2);
    border-color: #4bb778;
    color: #4bb778;
}

.tag-small.production {
    background-color: rgba(95, 214, 138, 0.2);
    border-color: #5fd68a;
    color: #5fd68a;
}

.tag-small.special {
    background-color: rgba(255, 215, 0, 0.2);
    border-color: #ffd700;
    color: #ffd700;
}

/* Wolves Container */
.wolves-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 4rem;
}

.wolf-card {
    padding: 3rem;
    background: linear-gradient(135deg, rgba(75, 183, 120, 0.1) 0%, rgba(75, 183, 120, 0.05) 100%);
    border: 2px solid #4bb778;
    border-radius: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
}

.wolf-card.critical {
    border-width: 3px;
    box-shadow: 0 0 20px rgba(75, 183, 120, 0.2);
}

.wolf-card:hover {
    transform: scale(1.05);
    box-shadow: 0 0 40px rgba(75, 183, 120, 0.3);
}

.wolf-icon {
    font-size: 6rem;
    color: #4bb778;
    margin-bottom: 2rem;
}

.wolf-card h3 {
    font-size: 2.8rem;
    color: white;
    margin-bottom: 1rem;
}

.wolf-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 2rem;
}

.wolf-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    justify-content: center;
    margin-top: 1.5rem;
}

/* Info Box */
.info-box {
    margin-top: 4rem;
    padding: 2.5rem;
    background-color: rgba(75, 183, 120, 0.1);
    border-left: 4px solid #4bb778;
    border-radius: 1rem;
    display: flex;
    gap: 2rem;
    align-items: flex-start;
}

.info-box i {
    font-size: 3rem;
    color: #4bb778;
    margin-top: 0.5rem;
}

.info-box p {
    font-size: 1.6rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
}

/* Communication Grid */
.comm-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 4rem;
}

.comm-card {
    padding: 3rem;
    background-color: rgba(75, 183, 120, 0.05);
    border: 2px solid rgba(75, 183, 120, 0.3);
    border-radius: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
}

.comm-card:hover {
    transform: translateY(-10px);
    border-color: #4bb778;
    box-shadow: 0 10px 30px rgba(75, 183, 120, 0.2);
}

.comm-icon {
    font-size: 5rem;
    color: #4bb778;
    margin-bottom: 2rem;
}

.comm-card h3 {
    font-size: 2.5rem;
    color: white;
    margin-bottom: 1rem;
}

.comm-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 2rem;
}

/* Dwarves Container */
.dwarves-container {
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.mythology-text {
    padding: 2.5rem;
    background-color: rgba(75, 183, 120, 0.1);
    border-left: 4px solid #4bb778;
    border-radius: 1rem;
}

.mythology-text p {
    font-size: 1.6rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
}

.mythology-text i {
    font-size: 2rem;
    color: #4bb778;
    margin-top: 0.3rem;
}

.dwarves-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
}

.dwarf-card {
    padding: 3rem 2rem;
    background-color: rgba(75, 183, 120, 0.05);
    border: 2px solid rgba(75, 183, 120, 0.3);
    border-radius: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    position: relative;
}

.dwarf-card:hover {
    transform: translateY(-10px);
    border-color: #4bb778;
    box-shadow: 0 10px 30px rgba(75, 183, 120, 0.2);
}

.dwarf-icon {
    font-size: 4.5rem;
    color: #4bb778;
    margin-bottom: 1rem;
}

.dwarf-card h3 {
    font-size: 2.2rem;
    color: white;
    margin-bottom: 0.5rem;
}

/* Storage Grid */
.storage-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 4rem;
}

.storage-card {
    padding: 3rem;
    background-color: rgba(75, 183, 120, 0.05);
    border: 2px solid rgba(75, 183, 120, 0.3);
    border-radius: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
}

.storage-card:hover {
    transform: translateY(-10px);
    border-color: #4bb778;
    box-shadow: 0 10px 30px rgba(75, 183, 120, 0.2);
}

.storage-icon {
    font-size: 5rem;
    color: #4bb778;
    margin-bottom: 2rem;
}

.storage-card h3 {
    font-size: 2.5rem;
    color: white;
    margin-bottom: 1rem;
}

.storage-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 2rem;
}

/* IP Plan */
.ip-plan {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
}

.ip-range {
    padding: 3rem;
    background-color: rgba(75, 183, 120, 0.05);
    border: 2px solid rgba(75, 183, 120, 0.2);
    border-radius: 1rem;
    transition: all 0.3s ease;
}

.ip-range:hover {
    border-color: #4bb778;
    background-color: rgba(75, 183, 120, 0.08);
}

.ip-range h3 {
    font-size: 2rem;
    color: white;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.ip-range h3 i {
    color: #4bb778;
}

.range-label {
    font-size: 1.4rem;
    color: #4bb778;
    font-family: 'Courier New', monospace;
    margin-bottom: 2rem;
    font-weight: 600;
}

.ip-range ul {
    list-style: none;
    padding: 0;
}

.ip-range ul li {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1rem;
    padding-left: 2rem;
    position: relative;
}

.ip-range ul li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: #4bb778;
}

.ip {
    color: #4bb778;
    font-family: 'Courier New', monospace;
    font-weight: 600;
}

/* Tags Container */
.tags-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

.tag-category {
    padding: 3rem;
    background-color: rgba(75, 183, 120, 0.05);
    border-radius: 1rem;
    border: 1px solid rgba(75, 183, 120, 0.2);
}

.tag-category h3 {
    font-size: 2rem;
    color: white;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.tag-category h3 i {
    color: #4bb778;
}

.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.tag-badge {
    padding: 0.8rem 1.5rem;
    background-color: rgba(75, 183, 120, 0.1);
    border: 1px solid rgba(75, 183, 120, 0.3);
    border-radius: 2rem;
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.9);
    transition: all 0.3s ease;
}

.tag-badge:hover {
    background-color: #4bb778;
    color: black;
    transform: scale(1.05);
}

.tag-badge.infrastructure { border-color: #4bb778; color: #4bb778; }
.tag-badge.network { border-color: #5fd68a; color: #5fd68a; }
.tag-badge.monitoring { border-color: #6fe09e; color: #6fe09e; }
.tag-badge.communication { border-color: #7fedb2; color: #7fedb2; }
.tag-badge.web { border-color: #8ff7c6; color: #8ff7c6; }
.tag-badge.storage { border-color: #9fffda; color: #9fffda; }
.tag-badge.critical { border-color: #ff4444; color: #ff4444; }
.tag-badge.production { border-color: #44ff44; color: #44ff44; }
.tag-badge.backup { border-color: #4444ff; color: #4444ff; }
.tag-badge.loups { border-color: #ffd700; color: #ffd700; }
.tag-badge.nains { border-color: #ff8c00; color: #ff8c00; }
.tag-badge.vm { border-color: #9370db; color: #9370db; }
.tag-badge.lxc { border-color: #87ceeb; color: #87ceeb; }
.tag-badge.template { border-color: #daa520; color: #daa520; }
.tag-badge.client { border-color: #ff69b4; color: #ff69b4; }

/* Mythology Story */
.mythology-story {
    max-width: 1200px;
    margin: 0 auto;
}

.intro-text {
    font-size: 1.8rem;
    color: rgba(255, 255, 255, 0.8);
    text-align: center;
    margin-bottom: 4rem;
    line-height: 1.8;
}

.story-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

.story-card {
    padding: 3rem;
    background-color: rgba(75, 183, 120, 0.05);
    border-left: 4px solid #4bb778;
    border-radius: 1rem;
    transition: all 0.3s ease;
}

.story-card:hover {
    background-color: rgba(75, 183, 120, 0.1);
    transform: translateX(10px);
}

.story-card i {
    font-size: 3rem;
    color: #4bb778;
    margin-bottom: 1.5rem;
    display: block;
}

.story-card p {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
}

/* Architecture Boxes */
.architecture-boxes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
}

.arch-box {
    padding: 3rem;
    background-color: rgba(75, 183, 120, 0.05);
    border: 2px solid rgba(75, 183, 120, 0.2);
    border-radius: 1rem;
    transition: all 0.3s ease;
}

.arch-box:hover {
    border-color: #4bb778;
    background-color: rgba(75, 183, 120, 0.08);
}

.arch-box h3 {
    font-size: 2rem;
    color: white;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.arch-box h3 i {
    color: #4bb778;
}

.arch-box ul {
    list-style: none;
    padding: 0;
}

.arch-box ul li {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1.2rem;
    padding-left: 2.5rem;
    position: relative;
    line-height: 1.6;
}

.arch-box ul li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: #4bb778;
    font-weight: bold;
}

/* Notes Grid */
.notes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

.note-card {
    padding: 3rem;
    background-color: rgba(75, 183, 120, 0.05);
    border-left: 4px solid #4bb778;
    border-radius: 1rem;
    text-align: center;
    transition: all 0.3s ease;
}

.note-card:hover {
    background-color: rgba(75, 183, 120, 0.1);
    transform: scale(1.03);
}

.note-card i {
    font-size: 4rem;
    color: #4bb778;
    margin-bottom: 2rem;
    display: block;
}

.note-card p {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
}

/* Conclusion */
.conclusion {
    background: linear-gradient(135deg, #0a0a0a 0%, black 100%);
    padding: 10rem 9%;
}

.conclusion-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.conclusion-content h2 {
    font-size: 4rem;
    color: white;
    margin-bottom: 3rem;
}

.conclusion-content p {
    font-size: 1.8rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
    margin-bottom: 4rem;
}

.project-meta {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
    padding: 3rem;
    background-color: rgba(75, 183, 120, 0.05);
    border-radius: 1rem;
}

.meta-item {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.8);
}

.meta-item strong {
    color: #4bb778;
    display: block;
    margin-bottom: 0.5rem;
}

.conclusion-actions {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-secondary {
    background-color: transparent;
    border: 2px solid #4bb778;
    color: #4bb778;
}

.btn-secondary:hover {
    background-color: #4bb778;
    box-shadow: 0 0rem 1.5rem #4bb778;
}

/* Responsive */
@media(max-width: 995px) {
    .hero-title {
        font-size: 5rem;
    }

    .hero-subtitle {
        font-size: 2.5rem;
    }

    .hero-description {
        font-size: 1.6rem;
    }

    .section-title {
        font-size: 3.5rem;
    }

    .yggdrasil-section {
        padding: 5rem 4%;
    }

    .content-box {
        flex-direction: column;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .infra-grid, .services-grid, .wolves-container, .comm-grid, 
    .dwarves-grid, .storage-grid {
        grid-template-columns: 1fr;
    }

    .ip-plan {
        grid-template-columns: 1fr;
    }

    .tags-container {
        grid-template-columns: 1fr;
    }

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

    .architecture-boxes {
        grid-template-columns: 1fr;
    }

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

@media(max-width: 480px) {
    .hero-title {
        font-size: 4rem;
    }

    .hero-subtitle {
        font-size: 2rem;
    }

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

    .conclusion-actions {
        flex-direction: column;
    }

    .info-box {
        flex-direction: column;
        text-align: center;
    }
}