@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600&display=swap');
body {
    background: url('../assets/images/wow_bg.png') no-repeat center center fixed;
    background-size: cover;
    color: #eee;
    margin: 0;
    font-family: Verdana, Arial, sans-serif;
}
header {
    background: rgba(22, 22, 28, 0.95);
    box-shadow: 0 6px 12px #000a;
    border-bottom: 4px solid #19375a;
    padding-bottom: 8px;
    position: relative;
}
.logo-bar {
    display: flex; align-items: center; gap: 1em;
    padding: 12px 32px 8px 32px;
}
.logo {
    height: 64px; width: auto;
}
.site-title {
    font-family: 'Inter', Arial, sans-serif;
    font-size: 2.8em;
    color: #ffe066;
    letter-spacing: 2px;
    text-shadow: 2px 2px 10px #19375a, 0 2px 0 #fff2, 0 0 24px #222d;
}
.site-title span { color: #82caff; }
#burger {
    display: none;
    font-size: 2.2em;
    background: none;
    color: #ffe066;
    border: none;
    cursor: pointer;
    margin-left: auto;
}
nav ul {
    display: flex; gap: 2em; list-style: none;
    justify-content: center; margin: 0; padding: 0;
}
nav a {
    color: #ffe066;
    font-size: 1.12em;
    padding: 10px 18px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background .16s, color .16s;
}
nav a:hover {
    background: #13203a;
    color: #fff;
}
main {
    max-width: 950px;
    margin: 32px auto;
    background: rgba(27,30,35,0.93);
    border-radius: 18px;
    box-shadow: 0 0 32px #000a;
    padding: 2.3em 2.1em;
    min-height: 60vh;
}
footer {
    text-align: center;
    color: #bbb;
    margin: 40px 0 20px 0;
    font-size: 0.98em;
}

.footer-links {
    text-align: center;
    margin: 0 auto 12px;
}

.footer-links a {
    color: #ffe066;
    text-decoration: none;
    padding: 4px 18px;
    border-radius: 6px;
    transition: background 0.15s, color 0.15s, box-shadow 0.2s;
    font-size: 1.08em;
    font-family: inherit;
    display: inline-block;
    margin: 0 4px;
}

.footer-links a:hover {
    background: #222c;
    color: #fffbe0;
    box-shadow: 0 2px 8px #0005;
    text-decoration: underline;
}

footer ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

h1, h2, h3, .site-title, .wow-title, .section-title, .news-title, nav, .menu, .navbar {
    font-family: 'Inter', Arial, sans-serif;
    color: #ffe066;
    letter-spacing: 1px;
    text-shadow: 2px 2px 12px #151c36, 0 0 4px #000;
}

main, .news-list article, .news-block, .card, .wow-db-container, .specialty-card p, .shop-container, .register-container, .server-info-block {
    font-family: 'Inter', Arial, sans-serif;
    color: #e5e5e5;
}

 p {
    font-family: 'Inter', Arial, sans-serif;
    color: #eae5c3;
    margin-top: 0.5em;
    margin-bottom: 0.6em;
    letter-spacing: 1px;
    text-shadow: 2px 2px 12px #151c36, 0 0 4px #000;
}

section { margin-bottom: 2em;}
.footer-content { opacity: 0.88;}
/* Responsive menu */
@media (max-width: 900px) {
    main { padding: 1em 0.4em;}
    .logo-bar { padding: 8px 10px;}
    .site-title { font-size: 1.4em; }
}
@media (max-width: 600px) {
    .logo { height: 40px;}
    nav ul {
        display: none;
        flex-direction: column;
        background: #191c28;
        position: absolute; left: 0; right: 0;
        top: 95px; z-index: 2; padding: 0;
        box-shadow: 0 8px 32px #000b;
    }
    nav.open ul { display: flex;}
    #burger { display: block;}
}

.wow-btn {
    display: inline-block;
    background: linear-gradient(90deg,#0c3157 60%,#1566b0 100%);
    color: #ffe066;
    border: 2px solid #91c5ff;
    border-radius: 16px;
    padding: 14px 36px;
    font-size: 1.2em;
    font-family: 'UnifrakturCook', serif;
    box-shadow: 0 0 18px #162955b6;
    text-decoration: none;
    margin-top: 10px;
    margin-bottom: 20px;
    transition: background .17s, color .17s, box-shadow .17s;
}
.wow-btn:hover {
    background: #11192a;
    color: #fff;
    box-shadow: 0 0 28px #27bfffaa;
}
.news-list { display: flex; flex-wrap: wrap; gap: 1.5em;}
.news-list article {
    background: #222b38;
    border-radius: 12px;
    box-shadow: 0 0 12px #19375a44;
    padding: 1.1em 1.4em 1.3em 1.4em;
    width: 340px;
    min-width: 210px;
    flex: 1;
}
.news-link {
    display: inline-block;
    color: #8fd1ff;
    margin-top: 0.7em;
    text-decoration: underline;
}
@media (max-width: 800px) {
    .news-list { flex-direction: column;}
    .news-list article { width: 100%; }
}

.carousel {
    width: 100%;
    max-width: 1000px;
    margin: 18px auto 0 auto;
    position: relative;
    overflow: hidden;
    border-radius: 18px;
    box-shadow: 0 6px 36px #19375a44;
    background: #111e32;
    min-height: 260px;
}
.carousel-track {
    display: flex;
    transition: transform 0.7s cubic-bezier(.4,.09,.33,1);
}
.carousel-slide {
    min-width: 100%;
    opacity: 0;
    transition: opacity 0.5s;
    position: relative;
    display: none;
}
.carousel-slide.active {
    opacity: 1;
    display: block;
}
.carousel-slide img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    border-radius: 18px 18px 0 0;
    display: block;
}
.carousel-caption {
    position: absolute;
    bottom: 22px;
    left: 70px;
    right: 70px;
    background: rgba(23, 32, 57, 0.75);
    color: #ffe066;
    padding: 14px 22px 8px 22px;
    border-radius: 10px;
    font-family: 'UnifrakturCook', serif;
    text-shadow: 0 2px 8px #151c36, 0 0 6px #000;
}
.carousel-btn {
    position: absolute;
    top: 48%;
    background: #233c5aa1;
    color: #fff;
    border: none;
    font-size: 2.6em;
    border-radius: 50%;
    padding: 6px 18px;
    cursor: pointer;
    z-index: 10;
    transition: background .15s;
}
.carousel-btn.prev { left: 14px; }
.carousel-btn.next { right: 14px; }
.carousel-btn:hover { background: #3964a0cc; }
.carousel-dots {
    position: absolute; bottom: 14px; left: 50%; transform: translateX(-50%);
    display: flex; gap: 10px;
}
.carousel-dots .dot {
    width: 13px; height: 13px;
    background: #fcfcfc99;
    border-radius: 50%;
    display: inline-block;
    cursor: pointer;
    border: 2px solid #19375a;
    transition: background 0.2s, transform 0.2s;
}
.carousel-dots .dot.active {
    background: #ffe066;
    transform: scale(1.3);
}
@media (max-width: 700px) {
    .carousel { min-height: 150px;}
    .carousel-slide img { height: 120px; }
    .carousel-caption { font-size: 0.95em; padding: 7px 12px; }
    .carousel-btn { font-size: 1.7em; }
}


.server-status-block {
    margin: 32px auto 16px auto;
    max-width: 440px;
    background: #162847f0;
    color: #ffe58a;
    border-radius: 12px;
    box-shadow: 0 2px 18px #151c3677;
    padding: 16px 24px 12px 24px;
    font-family: 'Lato', Arial, sans-serif;
    text-align: center;
}
.server-status-title {
    font-size: 1.32em;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 6px;
    letter-spacing: .03em;
}
.server-wow-icon {
    height: 26px;
    width: 26px;
}
.server-status-details {
    display: flex;
    gap: 14px;
    justify-content: center;
    font-size: 1.05em;
}
.server-status-indicator {
    font-weight: 600;
}
.server-status-players {
    color: #c7e4ff;
    font-weight: 400;
}

.server-info-block {
    max-width: 560px;
    margin: 36px auto 30px auto;
    background: #1b223aeb;
    border-radius: 14px;
    box-shadow: 0 2px 18px #15244c55;
    padding: 28px 28px 22px 28px;
    text-align: left;
    color: #eae5c3;
    font-family: 'Lato', Arial, sans-serif;
}

.server-info-title {
    font-size: 1.44em;
    font-weight: bold;
    color: #ffe58a;
    display: flex;
    align-items: center;
    gap: 11px;
    margin-bottom: 12px;
}

.wow-info-icon {
    width: 32px;
    height: 32px;
}

.server-info-list {
    list-style: none;
    padding: 0;
    margin: 0 0 15px 0;
}

.server-info-list li {
    margin: 0 0 7px 0;
    padding-left: 1.3em;
    position: relative;
}
.server-info-list li::before {
    content: "•";
    color: #63b4ff;
    position: absolute;
    left: 0;
    font-size: 1.2em;
    line-height: 1em;
}

.server-info-btn {
    display: inline-block;
    background: linear-gradient(90deg, #63b4ff 0%, #31e1e1 100%);
    color: #111a33;
    font-weight: 600;
    border-radius: 7px;
    padding: 8px 26px;
    text-decoration: none;
    box-shadow: 0 2px 8px #191c2255;
    transition: background 0.19s, color 0.19s;
    margin-top: 8px;
}
.server-info-btn:hover {
    background: linear-gradient(90deg, #31e1e1 0%, #63b4ff 100%);
    color: #243a52;
}

.specialties-section {
    background: #181e29ef;
    padding: 48px 0 30px 0;
    margin: 38px 0 0 0;
    border-radius: 16px;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
    box-shadow: 0 2px 18px #17214142;
}
.section-title {
    text-align: center;
    color: #fff6ca;
    font-size: 2.3em;
    font-weight: 700;
    letter-spacing: 0.02em;
    margin-bottom: 36px;
    text-shadow: 0 2px 9px #111;
}
.specialties-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 34px 38px;
    max-width: 950px;
    margin: 0 auto;
}
.specialty-card {
    display: flex;
    align-items: flex-start;
    background: #0f162a99;
    border-radius: 9px;
    padding: 17px 17px 17px 17px;
    box-shadow: 0 2px 10px #14245422;
    gap: 19px;
}
.spec-icon {
    width: 54px;
    height: 54px;
    margin-right: 0px;
    border-radius: 50%;
    background: #262d3a;
    box-shadow: 0 1px 5px #1117;
    border: 2px solid #424c66;
    object-fit: contain;
}
.specialty-card h3 {
    color: #ffe177;
    margin: 0 0 5px 0;
    font-size: 1.13em;
}
.specialty-card p {
    margin: 0;
    color: #eee;
    font-size: 1em;
    line-height: 1.38em;
}
@media (max-width: 900px) {
    .specialties-grid {
        grid-template-columns: 1fr;
    }
}

.navbar, .dropdown-menu, .navbar-nav .nav-link {
    font-family: 'LifeCraft', 'Arial', sans-serif; /* Remplace par ta police WoW-like si besoin */
    font-size: 18px;
}

.navbar-nav .nav-link,
.navbar-nav .dropdown-item {
    color: #ffe066c0 !important; /* or WoW */
    font-weight: bold;
}

.dropdown-menu {
    min-width: 240px;
    background-color: #232323 !important;
    border-radius: 8px;
    border: 1px solid #444;
    padding: 18px 24px;
    z-index: 20;
}

.dropdown-menu li,
.dropdown-menu a {
    font-family: inherit;
    color: #ffe066;
    white-space: normal;    /* permet de couper sur 2 lignes */
    word-break: break-word; /* force la coupure si un mot est trop long */
    padding: 6px 0;
    font-size: 1em;
}

.dropdown-menu .dropdown-item {
    color: #ffe066c0 !important;
    transition: background 0.2s;
}

.dropdown-menu .dropdown-item:hover {
    background: #333 !important;
    color: #fff !important;
}

.navbar {
    background: #1a1a1a !important;  /* foncé, ou image custom */
    border-bottom: 2px solid #2a2a2a;
    box-shadow: 0 1px 6px #0008;
}

.navbar-nav .nav-link.active, .navbar-nav .nav-link:focus, .navbar-nav .nav-link:hover {
    color: #ffe066c0 !important;
    text-shadow: 0 0 8px #fff70070;
    text-decoration: underline;
}

/* news */

.wow-title {
    color: #ffe066;
    font-family: 'LifeCraft', 'Arial', sans-serif;
    font-size: 2.4rem;
    margin-bottom: 30px;
    text-shadow: 0 0 6px #222;
}
.wow-news-card {
    background: rgba(30,30,30,0.92);
    border-left: 6px solid #ffe066;
    color: #fff;
}
.wow-news-link {
    color: #ffe066;
    text-decoration: none;
}
.wow-news-link:hover {
    color: #fff;
    text-shadow: 0 0 10px #ffe06680;
}
.wow-news-meta {
    font-size: 0.9em;
    color: #bbb;
    margin-bottom: 8px;
}


/* changelog */

    .list-group-item {
        background: #191e26 !important; /* Couleur fond sombre */
        color: #ffe99c; /* Couleur texte or WoW */
        border: none;
        box-shadow: 0 2px 10px #00000040;
        font-family: 'Montserrat', Arial, sans-serif;
    }

    .wow-changelog-list {
        margin: 30px auto;
        max-width: 900px;
    }
    .wow-changelog-card {
        background: linear-gradient(135deg, #23272e 80%, #282d35 100%);
        color: #ffe99c;
        border-radius: 14px;
        box-shadow: 0 2px 16px #0008;
        margin-bottom: 30px;
        padding: 28px 30px 20px 30px;
        border: 1px solid #83662344;
        font-family: 'Montserrat', Arial, sans-serif;
        transition: transform .13s;
        position: relative;
    }
    .wow-changelog-card:hover {
        transform: scale(1.018);
        border-color: #ffe06677;
        box-shadow: 0 4px 24px #ffe06633;
    }
    .wow-changelog-date {
        color: #ffe99c;
        font-weight: 700;
        font-size: 1.13em;
        letter-spacing: 1px;
        margin-bottom: 8px;
        text-shadow: 1px 1px 4px #000a;
    }
    .wow-changelog-title {
        color: #f9edbb;
        font-size: 1.25em;
        font-weight: bold;
        margin-bottom: 10px;
        text-shadow: 0 1px 8px #000a;
    }
    .wow-changelog-desc {
        color: #c9c4b4;
        font-size: 1.08em;
        text-shadow: 0 1px 6px #000a;
    }
    .wow-changelog-pagination {
        text-align: center;
        margin: 18px 0 0 0;
    }
    .wow-changelog-pagination a,
    .wow-changelog-pagination span {
        display: inline-block;
        background: #21252b;
        color: #ffe99c;
        border-radius: 5px;
        padding: 6px 16px;
        margin: 0 2px;
        text-decoration: none;
        font-weight: bold;
        transition: background 0.2s;
    }
    .wow-changelog-pagination a:hover {
        background: #ffe06644;
        color: #23272e;
    }
    .wow-changelog-pagination .active {
        background: #ffe066;
        color: #23272e;
    }

    /* nous rejoindre */

        .wow-join-container {
        max-width: 830px;
        margin: 40px auto 60px auto;
        background: linear-gradient(135deg, #23272e 90%, #282d35 100%);
        border-radius: 14px;
        box-shadow: 0 2px 18px #0007;
        color: #ffe99c;
        padding: 38px 32px;
        font-family: 'Montserrat', Arial, sans-serif;
    }
    .wow-join-container h1 {
        font-size: 2.2em;
        color: #ffe066;
        margin-bottom: 28px;
        font-family: 'Cinzel', serif;
        text-shadow: 0 2px 10px #0008;
    }
    .wow-join-container ol {
        padding-left: 1.2em;
    }
    .wow-join-container li {
        margin-bottom: 18px;
        font-size: 1.1em;
        line-height: 1.6;
    }
    .wow-join-link {
        color: #fff29a;
        text-decoration: underline;
        font-weight: bold;
    }
    .wow-join-link:hover {
        color: #ffe066;
        text-shadow: 0 2px 8px #0008;
    }
    .wow-join-important {
        display: block;
        margin: 32px 0 12px 0;
        font-size: 1.18em;
        font-weight: bold;
        color: #fff;
        background: #be9600bb;
        border-radius: 7px;
        padding: 10px 20px;
        text-shadow: 0 1px 6px #000c;
    }
    .wow-join-patch {
        margin: 12px 0 22px 0;
        padding: 16px 18px;
        background: #20232a;
        border-radius: 7px;
        color: #fff1be;
        font-size: 1em;
        box-shadow: 0 2px 8px #0005;
    }
    @media (max-width: 700px) {
        .wow-join-container {
            padding: 16px 6vw;
            font-size: 1em;
        }
        .wow-join-container h1 { font-size: 1.5em; }
    }

    /* recuperation personnage */

    .wow-page-title {
    font-family: 'UnifrakturCook', fantasy;
    font-size: 2.4rem;
    color: #ffe066;
    margin-bottom: 25px;
    text-shadow: 0 2px 8px #000, 0 1px 0 #634e13;
    text-align: center;
}

.wow-section-title {
    color: #ffe066;
    font-size: 1.4rem;
    font-weight: bold;
    margin-top: 25px;
    margin-bottom: 10px;
    text-shadow: 0 1px 5px #1b1c1c;
}

.wow-step-list {
    padding-left: 1.3em;
    margin-bottom: 18px;
}

.wow-step-list li {
    margin-bottom: 7px;
    color: #e3cfa4;
}

.wow-alert {
    background: rgba(38,41,48,0.85);
    border-left: 4px solid #ffe066;
    color: #ffd800;
    padding: 13px 18px;
    margin: 22px 0 18px 0;
    border-radius: 6px;
    font-weight: bold;
    box-shadow: 0 2px 6px #111;
}

.wow-highlight {
    color: #ffe066;
    font-weight: bold;
}

.wow-content {
    font-size: 1.09rem;
    color: #e9dbb5;
    line-height: 1.75;
}

/* reglement */

.wow-reglement-title {
    font-family: 'UnifrakturCook', fantasy;
    font-size: 2.4rem;
    color: #ffe066;
    margin-bottom: 24px;
    text-shadow: 0 2px 8px #000, 0 1px 0 #634e13;
    text-align: center;
    letter-spacing: 1px;
}

.wow-reglement-block {
    background: rgba(36,37,42,0.97);
    border-radius: 10px;
    box-shadow: 0 4px 20px #1118;
    padding: 32px 25px;
    max-width: 820px;
    margin: 0 auto 40px auto;
    border: 1.5px solid #64522e;
}

.wow-reglement-section-title {
    color: #ffe066;
    font-size: 1.25rem;
    font-weight: bold;
    margin-top: 28px;
    margin-bottom: 10px;
    text-shadow: 0 1px 5px #181717;
}

.wow-reglement-list {
    color: #e9dbb5;
    font-size: 1.07rem;
    margin-left: 20px;
    margin-bottom: 20px;
    line-height: 1.7;
}

.wow-reglement-list li {
    margin-bottom: 6px;
}

.wow-reglement-important {
    color: #ffe066;
    background: #31220e;
    border-left: 4px solid #ffe066;
    padding: 12px 17px;
    margin: 20px 0;
    border-radius: 7px;
    font-weight: bold;
    box-shadow: 0 2px 8px #2225;
}

.wow-reglement-footer {
    text-align: right;
    color: #cbb37a;
    margin-top: 30px;
    font-style: italic;
    font-size: 1.08rem;
}

/* fonctionnalites */

.wow-fonctions-title {
    font-family: 'UnifrakturCook', fantasy;
    font-size: 2.3rem;
    color: #54d9ff;
    margin-bottom: 20px;
    text-align: center;
    text-shadow: 0 2px 7px #173e57, 0 1px 0 #1e232b;
    letter-spacing: 1px;
}
.wow-fonctions-block {
    background: linear-gradient(120deg, #23243a 85%, #2a2628 100%);
    border-radius: 13px;
    box-shadow: 0 4px 24px #003e5940;
    padding: 34px 30px 40px 30px;
    max-width: 900px;
    margin: 0 auto 40px auto;
    border: 2px solid #167ab6;
}
.wow-fonctions-important {
    color: #fff4d3;
    background: #22334a;
    border-left: 6px solid #67e6ff;
    padding: 16px 23px;
    margin: 22px 0 30px 0;
    border-radius: 7px;
    font-weight: bold;
    box-shadow: 0 2px 8px #192b3a35;
}
.wow-fonctions-section-title {
    color: #ffed7c;
    font-size: 1.33rem;
    font-weight: bold;
    margin-top: 28px;
    margin-bottom: 10px;
    text-shadow: 0 2px 7px #231f11;
    letter-spacing: 0.5px;
}
.wow-fonctions-list {
    color: #f7eee1;
    font-size: 1.09rem;
    margin-left: 18px;
    margin-bottom: 20px;
    line-height: 1.7;
}
.wow-fonctions-list li {
    margin-bottom: 8px;
}
.wow-fonctions-footer {
    text-align: right;
    color: #cbb37a;
    margin-top: 30px;
    font-style: italic;
    font-size: 1.08rem;
}
.wow-fonctions-subsection-title {
    color: #54d9ff;
    margin-top: 12px;
    margin-bottom: 5px;
    font-weight: 600;
    font-size: 1.1rem;
    text-shadow: 0 1px 5px #143d50;
}
.wow-fonctions-phase {
    background: #252d3a;
    border-left: 4px solid #66e7ff;
    margin: 16px 0 0 0;
    padding: 14px 16px 5px 18px;
    border-radius: 7px;
    box-shadow: 0 1px 6px #14253b20;
}
.wow-fonctions-upcoming {
    color: #b9e3fc;
    font-weight: 600;
    font-size: 1.11rem;
    margin-top: 24px;
    background: #142033;
    padding: 10px 14px 7px 14px;
    border-radius: 7px;
    border-left: 3px solid #79b1f7;
    box-shadow: 0 1px 6px #2d607760;
}
.wow-fonctions-link {
    color: #54d9ff;
    text-decoration: underline;
    font-weight: bold;
}

/* database */

.container { max-width: 1000px; margin: 32px auto; padding: 40px; background: rgba(30,30,36,0.95); border-radius: 20px; }
.wow-title { font-family: 'UnifrakturCook', serif; color: #ffe43a; font-size: 2.4rem; margin-bottom: 22px; }
.wow-searchbar { display: flex; gap: 8px; align-items: center; margin-bottom: 22px; }
.wow-select, .wow-input { padding: 8px 12px; border-radius: 7px; border: none; background: #191923; color: #fff; }
.wow-btn { background: #1a60c6; color: #fff; border: none; border-radius: 7px; padding: 8px 18px; font-weight: bold; cursor: pointer; }
.wow-btn:hover { background: #ffe43a; color: #1a1a1a; }
.wow-table-wrapper { overflow-x: auto; }
.wow-table { width: 100%; border-collapse: collapse; margin-top: 18px; }
.wow-table th, .wow-table td { padding: 12px 8px; text-align: left; border-bottom: 1px solid #33343d; }
.wow-table th { color: #ffe43a; font-family: 'UnifrakturCook', serif; font-size: 1.15rem; }
.wow-table td { color: #fff; font-size: 1rem; vertical-align: middle; }
.wow-table tbody tr { transition: background 0.13s; }
.wow-table tbody tr:hover { background: #22222b; }
.wow-icon-stack { display: inline-block; position: relative; width: 42px; height: 42px; }
.wow-item-icon { width: 38px; height: 38px; border-radius: 6px; position: absolute; top: 2px; left: 2px; object-fit: cover; }
.wow-item-border { width: 42px; height: 42px; position: absolute; top: 0; left: 0; pointer-events: none; }
.quality-0 { color: #aaa; }
.quality-1 { color: #fff; }
.quality-2 { color: #1eff00; }
.quality-3 { color: #0070dd; }
.quality-4 { color: #a335ee; }
.quality-5 { color: #ff8000; }
.wow-pagination { display: flex; gap: 5px; justify-content: center; margin: 30px 0 0 0; padding: 0; list-style: none; }
.wow-page-item { border-radius: 7px; overflow: hidden; }
.wow-page-link { display: block; padding: 8px 15px; background: #1a1a24; color: #fff; border: 1px solid #35354a; font-size: 1.09rem; text-decoration: none; transition: all 0.18s; }
.wow-page-item.active .wow-page-link,
.wow-page-link:hover { background: #ffe43a; color: #181818; border-color: #ffe43a; font-weight: bold; }
@media (max-width: 700px) {
    .container { padding: 15px; }
    .wow-table th, .wow-table td { font-size: .98rem; padding: 7px 2px; }
}

.wow-db-container {
    background: rgba(24, 24, 24, 0.9);
    border-radius: 18px;
    padding: 32px 32px 24px 32px;
    max-width: 1100px;
    margin: 36px auto 36px auto;
    box-shadow: 0 2px 24px #000A;
}
.wowhead-table th, .wowhead-table td {
    vertical-align: middle !important;
}
.wowhead-table .icon-stack {
    position: relative; display: inline-block; width: 40px; height: 40px;
}
.wowhead-table .icon-bg {
    position: absolute; left: 0; top: 0; z-index: 1;
}
.wowhead-table .icon-fg {
    position: absolute; left: 2px; top: 2px; z-index: 2;
}
.wow-item-link { text-decoration: none; }
.quality-0 { color: #9d9d9d; }
.quality-1 { color: #ffffff; }
.quality-2 { color: #1eff00; }
.quality-3 { color: #0070dd; }
.quality-4 { color: #a335ee; }
.quality-5 { color: #ff8000; }
.quality-6 { color: #e5cc80; }
.wow-item-row:hover { background: #272626 !important; }

.searchbar-advanced {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-bottom: 24px;
}
.dropdowns {
    display: flex;
    gap: 8px;
}
.wow-select {
    background: #1a1b20;
    color: #ffe066;
    border: 1px solid #404040;
    border-radius: 4px;
    padding: 7px 12px;
    font-size: 17px;
}
#searchInput {
    flex: 1;
    border: none;
    border-radius: 4px;
    padding: 7px 12px;
    background: #23232b;
    color: #fff;
    font-size: 17px;
}
#searchBtn {
    background: #2073d1;
    color: white;
    border: none;
    padding: 7px 20px;
    border-radius: 4px;
    font-weight: bold;
    transition: background 0.15s;
    cursor: pointer;
}
#searchBtn:hover {
    background: #315fa2;
}
.pagination {
    margin: 24px 0 0 0;
    display: flex;
    gap: 6px;
    justify-content: center;
}
.pagination a {
    background: #23232b;
    color: #ffe066;
    padding: 7px 14px;
    border-radius: 6px;
    text-decoration: none;
    border: 1px solid #333;
}
.pagination a.active {
    background: #2073d1;
    color: #fff;
    font-weight: bold;
    pointer-events: none;
}

.wow-table td, .wow-table th {
  color: #fff !important;
  opacity: 1 !important;
}

.quality-0 { color: #9d9d9d !important; }
.quality-1 { color: #ffffff !important; }
.quality-2 { color: #1eff00 !important; }
.quality-3 { color: #0070dd !important; }
.quality-4 { color: #a335ee !important; }
.quality-5 { color: #ff8000 !important; }
.quality-6 { color: #e5cc80 !important; }

.wow-table tbody tr {
    background: transparent;
    color: #fff;
}

.wow-table tbody tr:hover {
    background: rgba(34, 34, 43, 0.85);
}

.wow-table td .wow-item-link {
    color: inherit !important;
    text-decoration: none;
    font-weight: bold;
}

.wow-table td .wow-item-link:hover {
    text-decoration: underline;
}

/* auth */

.wow-title {
    font-family: 'UnifrakturCook', serif;
    color: #ffe066;
    font-size: 2.1rem;
    letter-spacing: 1px;
}
.wow-input {
    background: #1b1b22;
    color: #fff;
    border: 1px solid #404040;
    border-radius: 7px;
    padding: 10px 12px;
    font-size: 1.1rem;
    width: 100%;
    margin-top: 7px;
}
.wow-btn {
    background: #1a60c6;
    color: #fff;
    border: none;
    border-radius: 7px;
    padding: 10px 0;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.16s;
}
.wow-btn:hover {
    background: #ffe066;
    color: #1b1b22;
}


/* creation de compte */

.register-container {
    background: rgba(30,30,36,0.96);
    border-radius: 15px;
    padding: 42px 38px 32px 38px;
    max-width: 400px;
    margin: 60px auto 30px auto;
    box-shadow: 0 2px 32px #000A;
}
.register-container label {
    color: #ffe43a;
    font-family: 'UnifrakturCook', serif;
    margin-top: 12px;
    display: block;
    font-size: 1.15rem;
}
.register-container input[type=text], .register-container input[type=password], .register-container input[type=email] {
    width: 100%;
    padding: 8px 12px;
    border-radius: 7px;
    border: none;
    background: #191923;
    color: #fff;
    margin-bottom: 12px;
    margin-top: 5px;
}
.register-container .wow-btn {
    margin-top: 10px;
    width: 100%;
    padding: 12px 0;
    font-size: 1.12rem;
}

/* Titre jaune lumineux avec effet WoW */
.register-container h2 {
    color: #ffea00;
    text-shadow: 2px 2px 6px #111, 0 0 15px #ffea00;
    font-family: "Morpheus", serif; /* ou ta police WoW */
}

/* Champs du formulaire */
.register-container label {
    color: #ffe000;
    font-family: "Morpheus", serif;
    font-size: 1.1em;
    margin-bottom: 4px;
    display: block;
    text-shadow: 1px 1px 3px #000;
}

/* Message succès */
.success-msg {
    margin: 30px auto 10px auto;
    background: rgba(30,50,0,0.93);
    color: #cfff8e;
    padding: 18px 30px;
    border: 2px solid #6bcf28;
    border-radius: 8px;
    font-size: 1.15em;
    box-shadow: 0 0 16px #000;
    width: fit-content;
    text-align: left;
}

/* Message d'erreur */
.error-messages {
    background: rgba(40,0,0,0.85);
    color: #ffbaba;
    border: 2px solid #c92525;
    padding: 15px 22px;
    border-radius: 8px;
    margin-bottom: 18px;
    font-size: 1.08em;
    box-shadow: 0 0 10px #220000;
    width: fit-content;
}

.register-form input[type="text"],
.register-form input[type="email"],
.register-form input[type="password"] {
    background: #11111a;
    color: #ffe000;
    border: 1.5px solid #575757;
    border-radius: 4px;
    padding: 7px 12px;
    margin-bottom: 18px;
    font-family: inherit;
    width: 98%;
    font-size: 1em;
}

.register-form button, .register-form input[type="submit"] {
    background: #332200;
    color: #ffe000;
    border: 2px solid #a3810b;
    border-radius: 7px;
    padding: 7px 18px;
    font-size: 1.08em;
    font-family: "Morpheus", serif;
    cursor: pointer;
    box-shadow: 0 0 7px #000;
    transition: background .15s;
}

.register-form button:hover,
.register-form input[type="submit"]:hover {
    background: #614800;
    color: #fffbe0;
    border-color: #ffe000;
}

/* Fond et boîte formulaire */
.register-container {
    background: rgba(8,8,16,0.88);
    border-radius: 18px;
    padding: 30px 36px 18px 36px;
    box-shadow: 0 0 32px #000a;
    width: 380px;
    margin: 40px auto;
    border: 1.5px solid #202020;
}

/* login */

.register-container h2 {
    color: #ffea00;
    text-shadow: 2px 2px 6px #111, 0 0 15px #ffea00;
    font-family: "Morpheus", serif;
}

.error-messages {
    background: rgba(40,0,0,0.85);
    color: #ffbaba;
    border: 2px solid #c92525;
    padding: 15px 22px;
    border-radius: 8px;
    margin-bottom: 18px;
    font-size: 1.08em;
    box-shadow: 0 0 10px #220000;
    width: fit-content;
}

.register-container {
    background: rgba(8,8,16,0.88);
    border-radius: 18px;
    padding: 30px 36px 18px 36px;
    box-shadow: 0 0 32px #000a;
    width: 380px;
    margin: 40px auto;
    border: 1.5px solid #202020;
}

/* navbar */
/* Réduit la hauteur, espace, et met à droite */
.navbar {
    min-height: 52px !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}
/* Centrage du menu navbar */
.navbar-nav {
    margin-left: auto;
    margin-right: auto;
    float: none;
    display: flex;
    justify-content: center;
}
.logo-bar {
    background: #181818;
    padding: 8px 18px;
}
.site-title {
    font-family: 'UnifrakturCook', fantasy;
    font-size: 2rem;
    color: #ffe066;
    margin-bottom: 0;
}
.logo {
    height: 48px;
}
.dropdown-menu {
    min-width: 170px;
    right: 0;
    left: auto;
}
.navbar-nav .nav-link, .navbar-nav .dropdown-item {
    padding-top: 7px !important;
    padding-bottom: 7px !important;
    font-size: 1em;
}
/* Optionnel : recentre aussi le logo-bar sur petits écrans */
@media (max-width: 991px) {
    .logo-bar { justify-content: center; }
}
/* Pour centrer dans la largeur de la navbar */
.collapse.navbar-collapse {
    justify-content: center !important;
}

/* vote */

.vote-section {
    max-width: 600px;
    margin: 40px auto 0 auto;
    padding: 2rem;
    background: rgba(24, 24, 28, 0.98);
    border-radius: 18px;
    box-shadow: 0 0 16px #000c, 0 8px 20px #1112;
}
.vote-title {
    text-align: center;
    color: #ffe066;
    font-family: 'UnifrakturCook', fantasy, serif;
    font-size: 2.2rem;
    margin-bottom: 1.6rem;
    letter-spacing: 2px;
    text-shadow: 0 2px 12px #000, 0 0 2px #ffe06699;
}
.vote-btns .btn {
    width: 100%;
    font-size: 1.1rem;
    margin-bottom: 18px;
    border: 2px solid #ffe066;
    background: linear-gradient(90deg, #333, #222 70%);
    color: #ffe066;
    box-shadow: 0 2px 6px #000c;
    transition: background 0.2s, border 0.2s, color 0.2s;
}
.vote-btns .btn:disabled,
.vote-btns .btn.disabled {
    background: #3b3b42 !important;
    color: #bbb !important;
    border-color: #888 !important;
    cursor: not-allowed !important;
    opacity: 0.77;
}
.vote-btns span {
    display: block;
    font-size: 0.98rem;
    color: #ffe066c0;
    text-align: center;
    margin-top: -12px;
    margin-bottom: 12px;
    min-height: 20px;
    font-family: 'UnifrakturCook', fantasy, serif;
}
#claim-msg-sp {
    text-align: center;
    margin-top: 8px;
    font-weight: bold;
    color: #ffe066;
}

/* donation */

.donation-section {
    max-width: 540px;
    margin: 40px auto;
    background: rgba(34,34,34,0.98);
    border-radius: 20px;
    padding: 2rem 2.5rem;
    box-shadow: 0 2px 20px #000d;
}
.donation-title {
    font-family: 'UnifrakturCook', fantasy, serif;
    font-size: 2rem;
    color: #ffe066;
    text-align: center;
    margin-bottom: 28px;
    letter-spacing: 2px;
}
.donation-pack {
    background: #24242c;
    border-radius: 10px;
    padding: 1.4rem;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.donation-pack .points { color: #ffe066; font-weight: bold; font-size: 1.25rem;}
.donation-pack .amount { color: #6ce26c; font-size: 1.17rem;}
.paypal-btn { margin-top: 10px; }

/* admin panel */

.table-admin {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
    background: #222;
    color: #fff;
}
.table-admin th, .table-admin td {
    padding: 8px 14px;
    border: 1px solid #444;
}
.btn { padding: 6px 13px; border-radius: 4px; text-decoration: none; color: #fff; background: #444;}
.btn-xs { padding: 2px 7px; font-size: 0.96em; }
.btn-success { background: #00691c; }
.btn-warning { background: #c89100; }
.btn-danger { background: #7d1818; }
.admin-nav { background: #181818; padding: 10px; }
.admin-nav a { color: #ffe066; margin-right: 16px; text-decoration: none; font-weight: bold; }
.admin-nav a:hover { text-decoration: underline; }
.admin-content { margin: 20px; }

/* panel user */ 

.wow-table th, .wow-table td {
    vertical-align: middle !important;
}
.wow-table img {
    vertical-align: middle;
    border-radius: 8px;
    box-shadow: 0 2px 6px #000b;
    /*background: #181818;*/
    margin-right: 7px;
}
.wow-btn.btn-xs {
    padding: 4px 14px;
    font-size: 0.99em;
}

/* -- Style général Boutique -- */
.wow-title {
    font-family: 'UnifrakturCook', fantasy;
    color: #ffe066;
    letter-spacing: 1px;
    font-size: 2em;
    text-shadow: 1px 1px 5px #000a;
}
.shop-card {
    background: linear-gradient(135deg, #242021 80%, #2e2b1a 100%);
    border: 1px solid #4d3e28;
    border-radius: 10px;
    box-shadow: 0 2px 10px #0008;
    color: #ffe;
    margin-bottom: 24px;
    padding: 15px 20px;
    display: flex;
    align-items: flex-start;
    transition: box-shadow .15s;
}
.shop-card:hover {
    box-shadow: 0 4px 20px #000c;
    border-color: #ffe066;
}
.shop-card img {
    border-radius: 8px;
    box-shadow: 0 0 10px #000b;
    background: #181818;
    margin-right: 18px;
}
.shop-card .wow-price {
    font-weight: bold;
    margin-right: 8px;
}
.shop-card .badge.bg-warning { background: linear-gradient(90deg,#ffe47a 60%,#ffe066); color: #544500; }
.shop-card .badge.bg-success { background: linear-gradient(90deg,#7affb1 60%,#28d700); color: #155c24; }

.shop-btn {
    background: #303030;
    color: #ffe066;
    border: 1px solid #665218;
    padding: 6px 18px;
    border-radius: 5px;
    font-weight: bold;
    margin-top: 10px;
    transition: background .12s;
}
.shop-btn:hover {
    background: #ffe066;
    color: #2b1801;
    border-color: #b1943c;
}

@media (max-width: 900px) {
    .shop-card { flex-direction: column; }
    .shop-card img { margin-bottom: 10px; margin-right:0; }
}

.shop-card { transition: box-shadow .15s, transform .10s; }
.shop-card:hover { transform: translateY(-3px) scale(1.01); }
.shop-container {
    background: rgba(30, 30, 30, 0.95);
    color: #f6e6c0;
    border-radius: 12px;
    box-shadow: 0 2px 16px #0008;
    padding: 30px 22px;
    margin: 40px auto 0;
    max-width: 980px;
    font-family: 'Lato', Arial, sans-serif;
}

.shop-container h2, .shop-container h3, .shop-container th {
    color: #ffe066;
    font-family: 'UnifrakturCook', fantasy;
}

.shop-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin-bottom: 40px;
    background: rgba(20, 20, 20, 0.92);
    box-shadow: 0 2px 6px #0006;
    border-radius: 8px;
    overflow: hidden;
}

.shop-table th, .shop-table td {
    padding: 10px 14px;
    border-bottom: 1px solid #2e2e2e;
    text-align: left;
}

.shop-table tr:last-child td {
    border-bottom: none;
}

.shop-table th {
    background: #292211;
    font-weight: bold;
}

.shop-table td img {
    vertical-align: middle;
}

.shop-btn {
    background: linear-gradient(90deg, #ffe066 60%, #c6a942 100%);
    color: #2d1d01;
    border: none;
    padding: 6px 18px;
    border-radius: 6px;
    font-weight: 600;
    transition: filter 0.12s;
    cursor: pointer;
    margin: 2px;
}
.shop-btn:hover {
    filter: brightness(1.12);
    color: #000;
}

.alert {
    border-radius: 5px;
    padding: 10px 15px;
    margin-bottom: 20px;
}
.alert-success { background: #153e2c; color: #b6ffd6; border: 1px solid #39c486; }
.alert-danger  { background: #4a2121; color: #ffc5c5; border: 1px solid #da4747; }

.wow-shop-cart {
    background: rgba(35,32,22,0.98);
    border-radius: 14px;
    border: 2px solid #bfa75a;
    box-shadow: 0 6px 24px #000a;
    padding: 26px 24px 24px 24px;
    margin-bottom: 42px;
}
.btn-xs { font-size:0.89em; padding: 2px 10px; }

/* armory */

.armory-blizzard-container {
    width: 900px;        /* Fixe, pas 100vw, pas 100% ! */
    margin: 0 auto;
    position: relative;
    overflow: visible;
    background: none;     /* Important ! */
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 40px;
}

.armory-equip-flex {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: flex-start;
    gap: 80px;          /* C'est ce gap qui espace entre gauche/centre/droite */
    width: 100%;
    min-height: 540px;
    overflow: visible;
}

.armory-side {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 90px;
    max-width: 120px;
    /* pas de flex-grow ici */
}
.armory-side:last-child {
    align-items: flex-start;
}
.armory-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 240px;
    max-width: 300px;
    margin-top: 35px;
}
.armory-weapon-row {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 34px;
  margin-top: 34px;
  margin-bottom: 18px;
}

.armory-weapon-row .armory-slot-wrapper {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.armory-portrait-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 18px;
}
.armory-character-portrait {
  width: 210px;
  height: 210px;
  border-radius: 50%;
  border: 5px solid #353644;
  background: #222225;
  object-fit: cover;
  margin-bottom: 8px;
  box-shadow: 0 0 24px #000b;
  display: block;
}
.armory-slot-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    margin-bottom: 22px;
}

.left-slot-detail {
    position: absolute;
    left: 65px;         /* Juste à droite du slot (slot fait 54/56px) */
    top: 50%;
    transform: translateY(-50%);
    min-width: 140px;
    color: #ffe066;
    font-size: 1.02rem;
    text-align: left;
    pointer-events: none;
    white-space: pre-line;
    text-shadow: 0 1px 4px #000a, 0 0 7px #000;
    background: rgba(18,18,28,0.78);
    padding: 3px 7px;
    border-radius: 6px;
    border: 1px solid #3e2d1a;
    font-weight: 500;
}

.right-slot-detail {
    position: absolute;
    right: 65px;         /* Juste à gauche du slot */
    top: 50%;
    transform: translateY(-50%);
    min-width: 140px;
    color: #50e6ff;
    font-size: 1.02rem;
    text-align: right;
    pointer-events: none;
    white-space: pre-line;
    text-shadow: 0 1px 4px #000a, 0 0 7px #000;
    background: rgba(18,18,28,0.78);
    padding: 3px 7px;
    border-radius: 6px;
    border: 1px solid #217488;
    font-weight: 500;
}
.armory-slot {
  width: 54px;
  height: 54px;
  border-radius: 10px;
  background: rgba(60,70,90,0.78);
  border: 2.5px solid #445388;
  box-shadow: 0 2px 12px #0006;
  object-fit: cover;
  transition: border 0.15s, box-shadow 0.15s;
  margin-bottom: 5px;
}
.armory-slot-empty { opacity: 0.38; }
.armory-slot-row-bottom {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 32px;
    margin-top: 38px;
    margin-bottom: 10px;
}
.armory-info-row {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: flex-start;
  gap: 40px;
  margin: 32px 0 0 0;
  width: 100%;
}
.armory-stats-block,
.armory-metiers-block {
  background: rgba(10,20,40,0.74);
  border-radius: 10px;
  padding: 22px 28px 18px 28px;
  min-width: 210px;
  max-width: 340px;
  color: #d5e0ff;
  box-shadow: 0 1px 7px #001c;
}
.armory-metiers-block .metier {
  display: flex; align-items: center; margin-bottom: 7px;
}
.armory-metiers-block .metier-icon {
  width: 26px; height: 26px;
  margin-right: 9px;
  border-radius: 4px;
  border: 1px solid #324262;
  background: #23293a;
}
.armory-stats-block ul { padding-left: 1em; margin: 0; }
.armory-stats-block li { margin-bottom: 5px; }

@media (max-width: 900px) {
  .armory-root { flex-direction: column; align-items: center; gap: 24px; }
  .armory-side { flex-direction: row; justify-content: center; min-width: 0; }
  .armory-info-row { flex-direction: column; gap: 18px; align-items: center; }
  .armory-stats-block, .armory-metiers-block { min-width: 180px; padding: 18px 12vw; }
  .armory-character-portrait { width: 140px; height: 140px; }
}
.armory-placeholders { display: flex; gap: 24px; margin: 36px 0 8px; }
.placeholder-card {
  background: #23272a;
  color: #eee;
  border-radius: 10px;
  padding: 22px 32px;
  box-shadow: 0 3px 12px #1118;
  min-width: 180px;
  text-align: center;
  font-size: 16px;
  border: 1px solid #444;
}
.item-tooltip {
  display: none;
  position: absolute;
  left: 110%; top: 50%;
  transform: translateY(-50%);
  min-width: 130px; max-width: 320px;
  background: #232323f0;
  color: #fff;
  border: 1px solid #a49b68;
  border-radius: 6px;
  padding: 10px 14px;
  z-index: 10;
  pointer-events: none;
  font-size: 15px;
  box-shadow: 0 6px 22px #000b;
  white-space: pre-line;
}

.raid-progress-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  margin: 30px auto 0 auto;
  max-width: 900px; /* Ajuste la largeur selon ton layout global */
}

.raid-card {
  width: 270px;           /* 4 x 270px + 3 x 24px = 1182px */
  margin: 0;
  flex-shrink: 0;
  background: #13141b;
  border-radius: 15px;
  box-shadow: 0 4px 22px #0007;
  overflow: hidden;
  margin-bottom: 32px;
  display: flex;
  flex-direction: column;
  min-height: 200px;
}
.raid-img {
    width: 100%;
    height: 120px;
    background-size: cover;
    background-position: center 40%;
    border-bottom: 2px solid #232234;
}
.raid-content {
    padding: 18px 22px 14px 22px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-height: 200px;
}
.raid-title {
    font-size: 1.18rem;
    color: #ffe66c;
    font-weight: 600;
    margin-bottom: 2px;
}
.raid-lvl {
    color: #b6c6d7;
    font-size: 0.98em;
    margin-bottom: 7px;
}
.raid-diff-row {
    display: flex;
    align-items: center;
    margin-bottom: 5px;
    gap: 12px;
}
.raid-bar {
    position: relative;
    height: 30px;
    background: #16181d;
    border-radius: 7px;
    margin-left: 9px;
    flex: 1 1 120px;
    min-width: 90px;
    box-shadow: 0 1px 6px #0007 inset;
    overflow: hidden;
}
.raid-bar-fill {
    height: 100%;
    border-radius: 7px;
    transition: width 0.4s cubic-bezier(.44,1.76,.53,.93);
    background: #b59747;
}
.raid-bar-label {
    position: absolute;
    left: 13px; top: 4px;
    font-size: 1.08em;
    color: #fff;
    font-weight: bold;
    text-shadow: 1px 1px 3px #222a;
}
@media (max-width: 1120px) {
  .raid-card { width: 48%; }
  .raid-progress-wrapper { max-width: 100%; gap: 18px; }
}
@media (max-width: 750px) {
  .raid-card { width: 98%; }
  .raid-progress-wrapper { gap: 12px; }
}

.armory-pvp-summary {
  display: flex;
  gap: 34px;
  margin: 28px 0 8px 0;
  background: rgba(20,24,32,0.80);
  border-radius: 10px;
  padding: 24px 34px;
  box-shadow: 0 2px 16px #0018;
  justify-content: flex-start;
  align-items: flex-start;
  max-width: 900px;
}
.pvp-block { min-width: 145px;}
.pvp-label { color: #ffefaa; font-size: 1.2em; font-weight: bold;}
.pvp-value { color: #b2d9ff; font-size: 2em; font-weight: bold;}
.pvp-mini { font-size: 1em; color: #c4c2b2;}

.armory-tabs {
    display: flex;
    gap: 16px;
    margin: 0 auto 26px auto;
    justify-content: center;
}
.armory-tab {
    background: #171b25;
    color: #ffea00;
    border: none;
    font-family: inherit;
    font-size: 1.1rem;
    padding: 12px 32px;
    border-radius: 12px 12px 0 0;
    cursor: pointer;
    transition: background .12s, color .15s;
    font-weight: 600;
    box-shadow: 0 1px 4px #0006;
}
.armory-tab:not(.active):hover {
    background: #23263a;
    color: #fff7c7;
}
.armory-tab.active {
    background: #222842;
    color: #ffe761;
    border-bottom: 2.5px solid #ffe066;
}
.armory-tab-content {
    display: block;
}
.armory-placeholder {
    background: rgba(30,32,38,0.80);
    color: #f5c45c;
    border-radius: 10px;
    padding: 48px 36px;
    margin: 42px auto 42px auto;
    max-width: 520px;
    text-align: center;
    font-size: 1.2em;
    box-shadow: 0 1px 10px #1118;
}

.hf-list { display: flex; flex-direction: column; gap: 18px; }
.hf-card { background: #191b23; color: #fff; border-radius: 10px; display: flex; gap: 16px; align-items: center; padding: 12px 18px;}
.hf-icon { width: 52px; height: 52px; border-radius: 7px; }
.hf-title { font-size: 1.16em; color: #ffe761; font-weight: 600;}
.hf-desc { font-size: 0.98em; color: #c9e3ff; }
.hf-date { color: #7ac3ff; font-size: 0.95em;}

.reputation-list {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-top: 15px;
}
.reputation-row {
  display: flex; 
  justify-content: space-between; 
  align-items: center;
  padding: 8px 15px; 
  background: #1d2233;
  border-radius: 7px;
  font-size: 1.05em;
}
.reputation-name { color: #f2e885; font-weight: 500; }
.reputation-rank { color: #7be58b; font-weight: 600; }
.reputation-value { color: #e2e5e8; font-size: 0.98em; }

.mounts-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.mount-card {
  width: 116px;
  background: #181d22;
  border-radius: 8px;
  box-shadow: 0 2px 8px #1118;
  padding: 7px 3px 6px 3px;
  text-align: center;
  font-size: 0.98em;
  color: #ffe;
  display: flex; flex-direction: column; align-items: center;
}
.mount-icon {
  width: 64px;
  height: 64px;
  border-radius: 6px;
  margin-bottom: 6px;
}
.no-mounts { color: #c66; font-size: 1.02em; margin-top: 8px; }

.hf-cat-tree { display: flex; flex-direction: column; gap: 24px; }
.achiev-cat-block {
  margin-bottom: 16px;
  padding: 18px 18px 8px 18px;
  background: #1d2233c4;
  border-radius: 12px;
  box-shadow: 0 1px 9px #121d2a44;
}
.achiev-cat-title {
  font-size: 1.25em;
  color: #ffe96d;
  font-weight: 700;
  margin-bottom: 7px;
  letter-spacing: .5px;
}
.achiev-subcat {
  margin-left: 22px;
  margin-top: 6px;
  border-left: 2px solid #2b2c3a7a;
  padding-left: 14px;
}
.achiev-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 6px;
}
.hf-card { background: #191b23; color: #fff; border-radius: 10px; display: flex; gap: 16px; align-items: center; padding: 12px 18px;}
.hf-icon { width: 52px; height: 52px; border-radius: 7px; }
.hf-title { font-size: 1.09em; color: #ffe761; font-weight: 600;}
.hf-desc { font-size: 0.98em; color: #c9e3ff; }
.hf-date { color: #7ac3ff; font-size: 0.94em;}

.accordion-category { margin-bottom: 18px; }
.accordion-header {
    cursor: pointer;
    background: #222842;
    padding: 12px 24px;
    font-weight: bold;
    border-radius: 10px 10px 0 0;
    margin-top: 20px;
    color: #ffe761;
    transition: background .15s;
}
.accordion-header.open {
    background: #313858;
}
.accordion-content {
    background: #191b23;
    padding: 18px 20px;
    border-radius: 0 0 10px 10px;
}
.hf-card { display: flex; gap: 14px; align-items: center; background: #191b23; margin-bottom: 10px; border-radius: 7px; padding: 10px; }
.hf-icon { width: 48px; height: 48px; border-radius: 7px; }
.no-achiev { color: #bbb; font-style: italic; padding: 10px; }

.armory-tab-content h3 {
    font-family: 'UnifrakturCook', 'Merriweather', serif;
    font-size: 2rem;
    margin-top: 36px;
    margin-bottom: 18px;
    color: #f5e3a1;
    text-shadow: 2px 2px 0 #473a22, 0 0 10px #000a;
}

.reputation-row {
  padding: 4px 0;
  border-bottom: 1px solid #292929;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.reputation-rank {
  font-weight: bold;
  margin-left: 8px;
}
.reputation-value {
  color: #888;
  font-size: 0.9em;
  margin-left: 8px;
}
.reputation-list h3 {
  color: #ffc66d;
  margin-top: 16px;
  margin-bottom: 4px;
}

.item-row {
    display: flex;
    align-items: center;
    background: #23201e;
    margin-bottom: 8px;
    padding: 10px;
    border-radius: 8px;
}
.item-row .item-name {
    font-weight: bold;
    margin-right: 16px;
}
.enchant-icon, .gem-icon {
    width: 24px;
    height: 24px;
    margin-left: 6px;
    border-radius: 4px;
    border: 1px solid #666;
    background: #111;
}

.item-tooltip {
    max-width: 320px;
    padding: 8px 10px !important;
    font-size: 12px;
    line-height: 0.7;
    box-sizing: border-box;
    max-height: 85vh; /* Limite la hauteur à 85% de la fenêtre */
    overflow-y: auto; /* Ajoute un scroll vertical si besoin */
}
.item-tooltip > div,
.item-tooltip > ul,
.item-tooltip > li {
    margin: 2px 0 !important;
    padding: 0 !important;
}

.tt-name    { color: #ffe44a; font-size: 1.2em; font-weight: bold; margin-bottom: 2px; }
.tt-ilvl    { color: #38e1e3; margin-bottom: 5px; }
.tt-enchant { color: #ffdb66; }
.tt-gem     { color: #89CFF0; }
.tt-armor   { color: #f5f7fa; }
.tt-stat    { color: #b8e48e; }
.tt-set     { color: #80d267; margin-top: 6px; }
.tt-quality { color: #ff9a00; font-weight: bold; }
.tt-type    { color: #e0e2f0; }
.tt-flavor  { color: #94c3e6; font-style: italic; margin-top: 8px; }
.tt-bind    { color: #efcd7d; }
.tt-durability { color: #aee8ff; }
.tt-required   { color: #ffaedb; }
.tt-transmog  { color: #bb7eff; }
.quality-0 { color: #9d9d9d; }
.quality-1 { color: #ffffff; }
.quality-2 { color: #1eff00; }
.quality-3 { color: #0070dd; }
.quality-4 { color: #a335ee; }
.quality-5 { color: #ff8000; }
.quality-6 { color: #e5cc80; }

.item-tooltip img {
    max-width: 100px;
    height: auto;
    display: block;
    margin: 0 auto 10px auto;
}

.armory-metiers-container {
    display: flex;
    justify-content: center;
    gap: 48px; /* espace entre les 2 blocs */
    margin-bottom: 24px;
}

.armory-metiers-block {
    background: #10151f;
    border-radius: 14px;
    padding: 18px 22px;
    box-shadow: 0 1px 7px #0007;
    min-width: 220px;
    max-width: 270px;
}

.armory-metiers-block h4 {
    color: #cfe4ff;
    margin-bottom: 10px;
    font-size: 1.21em;
    font-weight: bold;
}

.metier {
    display: flex;
    align-items: center;
    margin-bottom: 7px;
    font-size: 1.06em;
}

.metier-icon {
    width: 25px;
    height: 25px;
    margin-right: 8px;
}

/* top voter */

.top-voters-box {
    background: rgba(20, 20, 30, 0.95);
    box-shadow: 0 2px 24px #000a;
    border-radius: 14px;
    padding: 28px 34px 18px 34px;
    margin: 0 auto 34px auto;
    max-width: 400px;
    border: 1.5px solid #333;
    position: relative;
}
.top-voters-title {
    color: #fff;
    font-family: 'UnifrakturCook', fantasy;
    font-size: 1.24em;
    margin-bottom: 16px;
    background: linear-gradient(90deg, #2468ef, #6190fa 66%, #fff3 100%);
    border-radius: 10px 10px 0 0;
    padding: 10px 18px;
    letter-spacing: 1px;
}
.top-voters-table {
    width: 100%;
    border-collapse: collapse;
    background: none;
}
.top-voters-table th, .top-voters-table td {
    padding: 8px 10px;
    text-align: center;
}
.top-voters-table th {
    color: #ffe066;
    font-weight: bold;
    background: #141826;
    border-bottom: 2px solid #444;
    font-family: 'UnifrakturCook', fantasy;
}
.top-voters-table tr {
    background: none;
}
.top-voters-table td {
    color: #fff;
    font-size: 1.08em;
    border-bottom: 1px solid #232339;
}
.top-voters-table tr:first-child td {
    color: #ffe066;
    font-weight: bold;
    font-size: 1.11em;
    background: linear-gradient(90deg,#ffe06622 0 100%);
}
.crown-emoji {
    font-size: 1.15em;
    vertical-align: middle;
    margin-right: 2px;
}