/* ==================================================
   Grundeinstellungen
================================================== */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

[hidden] {
    display: none !important;
}

body {
    min-height: 100vh;
    display: flex;
    color: #ffffff;
    font-family: Arial, sans-serif;
    background:
        radial-gradient(
            circle at 70% 20%,
            rgba(98, 48, 180, 0.28),
            transparent 35%
        ),
        linear-gradient(135deg, #090811, #161020);
}

/* ==================================================
   Linke Seitenleiste
================================================== */

.seitenleiste {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 10;
    width: 230px;
    height: 100vh;
    display: flex;
    flex-direction: column;
    padding: 24px 16px;
    background: rgba(10, 9, 18, 0.96);
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.seitenleiste h1 {
    margin-bottom: 35px;
    text-align: center;
}

.seitenleiste h1 img {
    width: 165px;
    max-height: 70px;
    object-fit: contain;
}

.seitenleiste nav {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.seitenleiste a {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 12px 14px;
    color: #c8c5d1;
    text-decoration: none;
    border: 1px solid transparent;
    border-radius: 8px;
    transition: 0.2s;
}

.seitenleiste a:hover,
.seitenleiste a.aktiv {
    color: #ffffff;
    background: rgba(96, 72, 180, 0.28);
    border-color: #36bfff;
}

/* ==================================================
   Community
================================================== */

.community {
    margin-top: auto;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.community p {
    margin: 0 0 8px 14px;
    color: #74717e;
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
}

/* ==================================================
   Hauptbereich
================================================== */

main {
    width: calc(100% - 230px);
    min-height: 100vh;
    margin-left: 230px;
    padding: 50px;
}

main h2 {
    margin-bottom: 12px;
    font-size: 32px;
}

main p {
    color: #bbb7c7;
    line-height: 1.6;
}

/* Seiten ein- und ausblenden */

.seite {
    display: none;
}

.seite.aktiv {
    display: block;
}

/* ==================================================
   Home-Seite
================================================== */

.aufbau-hinweis {
    width: 100%;
    max-width: 850px;
    margin: 30px auto 0;
    padding: 20px 24px;
    text-align: center;
    background: rgba(35, 25, 60, 0.55);
    border: 1px solid #4a435c;
    border-radius: 12px;
}

.aufbau-hinweis strong {
    display: block;
    margin-bottom: 9px;
    font-size: 19px;
}

.aufbau-hinweis p {
    color: #c8c5d1;
    line-height: 1.65;
}

.home-video-bereich {
    width: 100%;
    margin-top: 35px;
    text-align: center;
}

.seitenleiste .navigation img {
    width: 25px;
    height: 25px;
    object-fit: contain;
}

.navigation[data-seite="home"].aktiv { border-color: #2eaeff; }
.navigation[data-seite="hunting"].aktiv { border-color: #56e840; }
.navigation[data-seite="item-guides"].aktiv {
    background: rgba(218, 48, 186, 0.2);
    border-color: #ed43c8;
}
.navigation[data-seite="farming-rechner"].aktiv { border-color: #3be3f2; }
.navigation[data-seite="item-rechner"].aktiv { border-color: #ff9f1c; }

.home-video-bereich h3 {
    margin-bottom: 18px;
    font-size: 28px;
}

.neuestes-video {
    width: 100%;
    max-width: 850px;
    margin: 0 auto;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background: #000000;
    border: 1px solid #4a435c;
    border-radius: 14px;
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
}

.neuestes-video iframe {
    width: 100%;
    height: 100%;
    display: block;
    border: 0;
}

/* ==================================================
   Hunting-Bereich
================================================== */

#hunting {
    width: 100%;
}

/* Werkzeuge und Filter */

.werkzeuge {
    width: 100%;
    max-width: 1150px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin: 30px auto 22px;
}

.suche,
.ort-filter,
.stufen-filter,
.sortierung {
    height: 45px;
    padding: 0 15px;
    color: #ffffff;
    background: rgba(10, 10, 18, 0.88);
    border: 1px solid #393444;
    border-radius: 9px;
    outline: none;
    transition: 0.2s;
}

.suche {
    width: 225px;
}

.ort-filter {
    width: 180px;
}

.stufen-filter {
    width: 150px;
}

.sortierung {
    width: 190px;
}

.suche::placeholder {
    color: #777382;
}

.suche:focus,
.ort-filter:hover,
.ort-filter:focus,
.stufen-filter:hover,
.stufen-filter:focus,
.sortierung:hover,
.sortierung:focus {
    border-color: #36bfff;
}

.ort-filter,
.stufen-filter,
.sortierung {
    cursor: pointer;
}

.ort-filter option,
.stufen-filter option,
.sortierung option {
    color: #ffffff;
    background: #12101c;
}

/* Sell Offer und Insta Sell */

.verkaufsart {
    height: 45px;
    display: flex;
    align-items: center;
    padding: 4px;
    background: rgba(10, 10, 18, 0.88);
    border: 1px solid #393444;
    border-radius: 9px;
}

.preis-button {
    height: 35px;
    padding: 0 16px;
    color: #bbb7c7;
    font-weight: bold;
    white-space: nowrap;
    background: transparent;
    border: 0;
    border-radius: 7px;
    cursor: pointer;
    transition: 0.2s;
}

.preis-button:hover {
    color: #ffffff;
}

.preis-button.aktiv {
    color: #ffffff;
    background: linear-gradient(135deg, #7257f5, #39c8f4);
}

/* ==================================================
   Methodentabelle
================================================== */

.methoden-tabelle {
    width: 100%;
    max-width: 1150px;
    margin: 0 auto;
    table-layout: fixed;
    border-spacing: 0 8px;
}

/* Spaltenbreiten */

.methoden-tabelle th:nth-child(1),
.methoden-tabelle td:nth-child(1) {
    width: 25%;
}

.methoden-tabelle th:nth-child(2),
.methoden-tabelle td:nth-child(2) {
    width: 16%;
}

.methoden-tabelle th:nth-child(3),
.methoden-tabelle td:nth-child(3) {
    width: 15%;
}

.methoden-tabelle th:nth-child(4),
.methoden-tabelle td:nth-child(4) {
    width: 15%;
}

.methoden-tabelle th:nth-child(5),
.methoden-tabelle td:nth-child(5) {
    width: 17%;
}

.methoden-tabelle th:nth-child(6),
.methoden-tabelle td:nth-child(6) {
    width: 12%;
}

/* Tabellenüberschriften */

.methoden-tabelle th {
    padding: 14px;
    text-align: left;
    font-size: 18px;
}

/* Tabellenfelder */

.methoden-tabelle td {
    padding: 14px;
    vertical-align: middle;
    background: rgba(10, 10, 20, 0.86);
    border-top: 1px solid #343042;
    border-bottom: 1px solid #343042;
}

.methoden-tabelle td:first-child {
    border-left: 1px solid #343042;
    border-radius: 9px 0 0 9px;
}

.methoden-tabelle td:last-child {
    border-right: 1px solid #343042;
    border-radius: 0 9px 9px 0;
}

.methode {
    transition: 0.2s;
}

.methode:hover td {
    background: rgba(40, 30, 64, 0.92);
    border-color: #66528f;
}

/* Methodenbild und Name */

.methoden-name {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: bold;
}

.methoden-bild {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    object-fit: contain;
    image-rendering: pixelated;
}

/* Ort */

.ort-anzeige {
    min-width: 105px;
    display: inline-block;
    padding: 7px 13px;
    color: #54d4ff;
    font-size: 13px;
    font-weight: bold;
    text-align: center;
    background: rgba(27, 126, 175, 0.16);
    border: 1px solid rgba(54, 191, 255, 0.6);
    border-radius: 999px;
}

/* Stufe */

.stufen-anzeige {
    min-width: 92px;
    display: inline-block;
    padding: 7px 13px;
    font-size: 13px;
    font-weight: bold;
    text-align: center;
    border-radius: 999px;
}

.stufen-anzeige.beginner {
    color: #38f0a2;
    background: rgba(25, 151, 104, 0.16);
    border: 1px solid rgba(38, 208, 142, 0.6);
}

.stufen-anzeige.middle {
    color: #ffd65a;
    background: rgba(180, 134, 20, 0.16);
    border: 1px solid rgba(255, 199, 50, 0.6);
}

.stufen-anzeige.end {
    color: #ff7694;
    background: rgba(190, 43, 77, 0.16);
    border: 1px solid rgba(255, 76, 116, 0.6);
}

/* YouTube-Logo */

.youtube-logo {
    width: 40px;
    display: block;
    cursor: pointer;
    transition: transform 0.2s;
}

.youtube-logo:hover {
    transform: scale(1.12);
}

/* ==================================================
   Farming-Rechner
================================================== */

#farming-rechner {
    width: 100%;
}

.rechner-kopf {
    width: 100%;
    max-width: 650px;
    margin: 0 auto 22px;
    text-align: center;
}

.rechner-kopf > span {
    display: block;
    margin-bottom: 10px;
    color: #42c8ff;
    font-size: 14px;
    font-weight: bold;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.rechner-kopf h2 {
    margin-bottom: 12px;
    font-size: 32px;
    background: linear-gradient(
        135deg,
        #ffffff,
        #a98bff,
        #39c8f4
    );
    color: transparent;
    background-clip: text;
    -webkit-background-clip: text;
}

.rechner-kopf p {
    max-width: 650px;
    margin: 0 auto;
}

.farming-rechner-karte {
    width: 100%;
    max-width: 590px;
    margin: 0 auto;
    padding: 22px;
    background:
        radial-gradient(
            circle at 100% 0,
            rgba(106, 67, 205, 0.2),
            transparent 40%
        ),
        rgba(15, 12, 27, 0.92);
    border: 1px solid #4a435c;
    border-radius: 16px;
    box-shadow: 0 20px 55px rgba(0, 0, 0, 0.4);
}

#farming-rechner-form {
    display: flex;
    flex-direction: column;
    gap: 13px;
}

/* Eingabefelder */

.rechner-feld {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.rechner-feld label {
    color: #ffffff;
    font-size: 15px;
    font-weight: bold;
}

.rechner-feld input {
    width: 100%;
    height: 44px;
    padding: 0 15px;
    color: #ffffff;
    font-size: 15px;
    background: rgba(8, 8, 16, 0.78);
    border: 1px solid #403a50;
    border-radius: 10px;
    outline: none;
    transition: 0.2s;
}

.rechner-feld input::placeholder {
    color: #777382;
}

.rechner-feld input:hover:not(:disabled) {
    border-color: #625978;
}

.rechner-feld input:focus {
    border-color: #36bfff;
    box-shadow: 0 0 0 3px rgba(54, 191, 255, 0.11);
}

.rechner-feld input:disabled {
    color: #696574;
    background: rgba(8, 8, 16, 0.42);
    border-color: #2e2a38;
    cursor: not-allowed;
    opacity: 0.55;
}

/* Preisbereiche */

.rechner-preisbereich {
    padding: 13px;
    background: rgba(35, 27, 57, 0.43);
    border: 1px solid #3d374b;
    border-radius: 12px;
    transition: 0.2s;
}

.rechner-preisbereich:has(
    .preis-auswahl input:checked
) {
    background: rgba(43, 35, 73, 0.58);
    border-color: #66528f;
}

/* Eigene Checkbox */

.preis-auswahl {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    color: #d7d3e1;
    font-size: 15px;
    font-weight: bold;
    cursor: pointer;
    user-select: none;
}

.preis-auswahl input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.preis-checkbox {
    width: 21px;
    height: 21px;
    position: relative;
    flex-shrink: 0;
    background: rgba(8, 8, 16, 0.9);
    border: 1px solid #625b70;
    border-radius: 6px;
    transition: 0.2s;
}

.preis-auswahl:hover .preis-checkbox {
    border-color: #36bfff;
}

.preis-auswahl input:checked + .preis-checkbox {
    background: linear-gradient(135deg, #7257f5, #39c8f4);
    border-color: #55d3ff;
    box-shadow: 0 0 14px rgba(57, 200, 244, 0.3);
}

.preis-auswahl input:checked + .preis-checkbox::after {
    content: "\2713";
    position: absolute;
    top: 50%;
    left: 50%;
    color: #ffffff;
    font-size: 14px;
    font-weight: bold;
    transform: translate(-50%, -52%);
}

/* Calculate-Button */

.rechner-button {
    min-width: 165px;
    height: 44px;
    align-self: center;
    margin-top: 2px;
    padding: 0 28px;
    color: #ffffff;
    font-size: 17px;
    font-weight: bold;
    background: linear-gradient(135deg, #39c8f4, #8558f5);
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(78, 106, 238, 0.28);
    cursor: pointer;
    transition: 0.2s;
}

.rechner-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 11px 30px rgba(78, 106, 238, 0.38);
}

.rechner-button:active {
    transform: translateY(0);
}

/* Fehlermeldung */

.rechner-fehler {
    min-height: 12px;
    color: #ff7890;
    font-size: 14px;
    font-weight: bold;
    text-align: center;
}

/* Ergebnisse */

.rechner-ergebnisse {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.ergebnis-karte {
    min-height: 105px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 8px;
    padding: 14px;
    text-align: center;
    background: rgba(9, 9, 18, 0.76);
    border: 1px solid #423b51;
    border-radius: 12px;
}

.ergebnis-karte.sell {
    border-color: rgba(57, 200, 244, 0.5);
    box-shadow: inset 0 0 25px rgba(57, 200, 244, 0.05);
}

.ergebnis-karte.insta {
    border-color: rgba(157, 99, 255, 0.5);
    box-shadow: inset 0 0 25px rgba(157, 99, 255, 0.06);
}

.ergebnis-karte > span {
    color: #bbb7c7;
    font-size: 14px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.ergebnis-karte strong {
    color: #ffffff;
    font-size: clamp(18px, 2vw, 22px);
    word-break: break-word;
}

.ergebnis-karte.sell strong {
    color: #4bd7ff;
}

.ergebnis-karte.insta strong {
    color: #ae8aff;
}

.ergebnis-karte small {
    color: #777382;
    font-size: 12px;
}

/* Menge pro Stunde */

.menge-pro-stunde {
    padding-top: 12px;
    color: #8f8a9c;
    font-size: 14px;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.09);
}

.menge-pro-stunde strong {
    color: #d9d5e2;
}

/* Sprachauswahl */

.sprach-auswahl {
    position: fixed;
    top: 16px;
    right: 18px;
    z-index: 1000;
    display: flex;
    gap: 8px;
    padding: 6px;
    background: rgba(10, 8, 18, 0.88);
    border: 1px solid #403850;
    border-radius: 11px;
    backdrop-filter: blur(8px);
}

.sprach-button {
    width: 42px;
    height: 30px;
    padding: 2px;
    background: transparent;
    border: 1px solid transparent;
    border-radius: 7px;
    cursor: pointer;
    transition: 0.2s;
}

.sprach-button img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    border-radius: 4px;
}

.sprach-button:hover,
.sprach-button.aktiv {
    border-color: #45cfff;
    box-shadow: 0 0 12px rgba(69, 207, 255, 0.28);
}

/* ==================================================
   Item-Rechner
================================================== */

#item-rechner {
    width: 100%;
}

.item-rechner-karte {
    width: 100%;
    max-width: 650px;
    margin: 0 auto;
    padding: 22px;
    background:
        radial-gradient(
            circle at 100% 0,
            rgba(106, 67, 205, 0.2),
            transparent 40%
        ),
        rgba(15, 12, 27, 0.92);
    border: 1px solid #4a435c;
    border-radius: 16px;
    box-shadow: 0 20px 55px rgba(0, 0, 0, 0.4);
}

#item-rechner-form {
    display: flex;
    flex-direction: column;
    gap: 13px;
}

.craft-item-feld {
    padding-bottom: 13px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}

.item-produkte {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.item-rechner-ergebnisse {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.ergebnis-karte.materialkosten {
    border-color: rgba(57, 200, 244, 0.5);
}

.ergebnis-karte.materialkosten strong {
    color: #4bd7ff;
}

.ergebnis-karte.craft-ergebnis {
    border-color: rgba(157, 99, 255, 0.5);
}

.ergebnis-karte.craft-ergebnis strong {
    color: #ae8aff;
}

.ergebnis-karte.craft-ergebnis.profit {
    border-color: rgba(63, 224, 143, 0.65);
    box-shadow: inset 0 0 25px rgba(63, 224, 143, 0.06);
}

.ergebnis-karte.craft-ergebnis.profit strong {
    color: #52e69a;
}

.ergebnis-karte.craft-ergebnis.verlust {
    border-color: rgba(255, 99, 127, 0.65);
    box-shadow: inset 0 0 25px rgba(255, 99, 127, 0.06);
}

.ergebnis-karte.craft-ergebnis.verlust strong {
    color: #ff718c;
}

/* ==================================================
   Item Guides
================================================== */

.craft-kopf {
    width: 100%;
    max-width: 760px;
    margin: 0 auto 28px;
    text-align: center;
}

.craft-kopf > span {
    display: block;
    margin-bottom: 12px;
    color: #ef4dcc;
    font-size: 15px;
    font-weight: bold;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.craft-kopf h2 {
    margin-bottom: 12px;
    font-size: clamp(42px, 7vw, 78px);
    background: linear-gradient(135deg, #ffffff, #d88aff, #ff47c8);
    color: transparent;
    background-clip: text;
    -webkit-background-clip: text;
}

.craft-kopf p { font-size: 18px; }

.craft-werkzeuge {
    width: 100%;
    max-width: 1080px;
    display: flex;
    justify-content: center;
    gap: 14px;
    margin: 0 auto 24px;
}

.erhalt-filter {
    display: flex;
    gap: 6px;
    padding: 4px;
    background: rgba(10, 9, 18, 0.9);
    border: 1px solid #40364e;
    border-radius: 11px;
}

.erhalt-filter-button {
    padding: 0 12px;
    color: #c8c3d3;
    font-size: 13px;
    font-weight: bold;
    white-space: nowrap;
    background: transparent;
    border: 1px solid transparent;
    border-radius: 8px;
    cursor: pointer;
}

.erhalt-filter-button:hover,
.erhalt-filter-button.aktiv {
    color: #ffffff;
    background: linear-gradient(135deg, #ad35dc, #ed3cae);
    border-color: #f064d0;
}

#rezept-suche {
    width: 250px;
    min-width: 200px;
    flex: 0 1 250px;
    height: 46px;
    padding: 0 17px;
    color: #ffffff;
    background: rgba(10, 9, 18, 0.92);
    border: 1px solid #4a3b62;
    border-radius: 11px;
    outline: none;
}

#rezept-suche:focus {
    border-color: #e84ac5;
    box-shadow: 0 0 0 3px rgba(232, 74, 197, 0.12);
}

.craft-filter {
    display: flex;
    align-items: stretch;
    gap: 7px;
    padding: 4px;
    background: rgba(10, 9, 18, 0.9);
    border: 1px solid #40364e;
    border-radius: 11px;
}

.craft-filter-button {
    padding: 0 15px;
    color: #c8c3d3;
    font-size: 14px;
    font-weight: bold;
    white-space: nowrap;
    background: transparent;
    border: 1px solid transparent;
    border-radius: 8px;
    cursor: pointer;
}

.craft-filter-gruppe {
    min-width: 160px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 3px;
    padding: 5px 8px;
    background: rgba(40, 30, 58, 0.52);
    border: 1px solid #4d3b64;
    border-radius: 8px;
}

.craft-filter-gruppe > span {
    color: #e1d9eb;
    font-size: 11px;
    font-weight: bold;
}

.craft-filter-gruppe select {
    width: 100%;
    color: #ffffff;
    background: #161020;
    border: 0;
    outline: none;
    cursor: pointer;
}

.craft-filter-gruppe select option {
    color: #ffffff;
    background: #161020;
}

.craft-filter-button:hover,
.craft-filter-button.aktiv {
    color: #ffffff;
    background: linear-gradient(135deg, #ad35dc, #ed3cae);
    border-color: #f064d0;
}

.rezept-liste {
    width: 100%;
    max-width: 850px;
    margin: 0 auto;
}

.rezept-liste {
    display: grid;
    gap: 12px;
}

.rezept-karte {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    background: linear-gradient(100deg, rgba(20, 15, 34, 0.96), rgba(36, 23, 56, 0.88));
    border: 1px solid #704d98;
    border-radius: 16px;
    box-shadow: inset 0 0 30px rgba(181, 68, 225, 0.06);
}

.rezept-karte > img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    image-rendering: pixelated;
}

.rezept-karte > div { flex: 1; }
.rezept-karte h3 { margin-bottom: 0; font-size: 23px; }
.rezept-karte > div span { color: #b7adc6; }

.rezept-oeffnen,
.rezept-zurueck {
    padding: 12px 18px;
    color: #ffffff;
    font-weight: bold;
    background: linear-gradient(135deg, #9a42e8, #ed3eac);
    border: 1px solid #f475d6;
    border-radius: 9px;
    cursor: pointer;
}

.rezept-kein-ergebnis { margin-top: 35px; text-align: center; }

.rezept-zurueck {
    margin-bottom: 24px;
    background: rgba(40, 29, 61, 0.86);
    border-color: #674d85;
}

.rezept-detail {
    width: 100%;
    max-width: 1050px;
    margin: 0 auto;
}

.rezept-detail-kopf {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 24px;
    padding: 22px;
    background: linear-gradient(100deg, rgba(39, 23, 61, 0.88), rgba(15, 12, 27, 0.92));
    border: 1px solid #6e4b95;
    border-radius: 16px;
}

.rezept-detail-kopf > img {
    width: 90px;
    height: 90px;
    object-fit: contain;
    image-rendering: pixelated;
}

.rezept-detail-kopf span,
.freischaltung-karte span {
    color: #ee51c9;
    font-size: 13px;
    font-weight: bold;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.rezept-detail-kopf h2 { margin: 5px 0; font-size: 38px; }

.rezept-detail-grid {
    display: grid;
    grid-template-columns: 1.08fr 0.92fr;
    gap: 18px;
}

.crafting-bereich,
.material-bereich,
.freischaltung-karte {
    padding: 22px;
    background: rgba(13, 11, 24, 0.9);
    border: 1px solid #473858;
    border-radius: 15px;
}

.crafting-bereich h3,
.material-bereich h3 { margin-bottom: 18px; }

.minecraft-rezept {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    padding: 22px 15px;
    background: #c7c7c7;
    border: 4px solid #eeeeee;
    box-shadow: inset 0 0 0 3px #5d5d5d;
}

.crafting-feld {
    display: grid;
    grid-template-columns: repeat(3, 58px);
    gap: 3px;
}

.craft-slot,
.craft-ergebnis-slot {
    position: relative;
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    background: #8b8b8b;
    border: 3px solid;
    border-color: #555555 #eeeeee #eeeeee #555555;
}

.craft-slot img,
.craft-ergebnis-slot img {
    width: 44px;
    height: 44px;
    object-fit: contain;
    image-rendering: pixelated;
}

.craft-slot span,
.craft-ergebnis-slot span {
    position: absolute;
    right: 3px;
    bottom: 1px;
    color: #ffffff;
    font-weight: bold;
    text-shadow: 2px 2px #222222;
}

.craft-slot-leer { background: #9b9b9b; }
.crafting-pfeil { color: #777777; font-size: 42px; font-weight: bold; }
.craft-ergebnis-slot { width: 70px; height: 70px; }

.material-liste {
    display: grid;
    gap: 10px;
    list-style: none;
}

.material-liste li {
    display: grid;
    grid-template-columns: 44px 1fr auto;
    align-items: center;
    gap: 11px;
    padding: 11px;
    background: rgba(43, 32, 61, 0.58);
    border: 1px solid #4d3e5e;
    border-radius: 10px;
}

.material-liste img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    image-rendering: pixelated;
}

.material-liste strong { color: #54d9ff; font-size: 17px; }

.freischaltung-karte {
    display: flex;
    align-items: center;
    gap: 17px;
    margin-top: 18px;
    border-color: #744993;
}

.freischaltung-karte > img:first-child {
    width: 66px;
    height: 66px;
    object-fit: contain;
    image-rendering: pixelated;
}

.freischaltung-karte h3 { margin: 5px 0; font-size: 24px; }

.drop-bereich,
.voraussetzungen-bereich {
    margin-bottom: 18px;
    padding: 22px;
    background: rgba(13, 11, 24, 0.9);
    border: 1px solid #473858;
    border-radius: 15px;
}

.drop-bereich > h3,
.voraussetzungen-bereich > h3 {
    margin-bottom: 15px;
}

.drop-karten {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.info-karte {
    display: flex;
    align-items: center;
    gap: 16px;
    min-height: 130px;
    padding: 18px;
    background: linear-gradient(115deg, rgba(36, 25, 53, 0.9), rgba(17, 13, 29, 0.92));
    border: 1px solid #644582;
    border-radius: 13px;
}

.info-karte > img {
    width: 66px;
    height: 66px;
    flex-shrink: 0;
    padding: 12px;
    object-fit: contain;
    background: rgba(51, 29, 73, 0.65);
    border: 1px solid #8c55b4;
    border-radius: 12px;
}

.info-karte h4 {
    margin-bottom: 6px;
    font-size: 19px;
}

.info-karte strong {
    display: block;
    margin-bottom: 6px;
    color: #4bd7ff;
}

.info-karte p {
    color: #bcb5c8;
    line-height: 1.45;
}

.kein-crafting-hinweis {
    padding: 14px 18px;
    color: #bbb4c5;
    background: rgba(20, 15, 31, 0.9);
    border: 1px solid #4c3b5e;
    border-radius: 11px;
}


/* ==================================================
   Kleinere Bildschirme
================================================== */

@media (max-width: 1200px) {
    main {
        padding: 40px 30px;
    }

    .werkzeuge {
        flex-wrap: wrap;
    }
}

@media (max-width: 900px) {
    .home-video-bereich {
        margin-top: 32px;
    }

    .werkzeuge {
        align-items: stretch;
        flex-direction: column;
    }

    .craft-werkzeuge,
    .rezept-detail-grid {
        grid-template-columns: 1fr;
        flex-direction: column;
    }

    .drop-karten {
        grid-template-columns: 1fr;
    }

    .craft-filter {
        min-height: 48px;
        overflow-x: auto;
    }

    .erhalt-filter {
        min-height: 48px;
        overflow-x: auto;
    }

    .suche,
    .ort-filter,
    .stufen-filter,
    .sortierung {
        width: 100%;
    }

    .verkaufsart {
        justify-content: center;
    }
}

/* ==================================================
   Handyansicht
================================================== */

@media (max-width: 750px) {
    .sprach-auswahl {
        position: absolute;
        top: 12px;
        right: 12px;
    }
    body {
        display: block;
    }

    .seitenleiste {
        position: static;
        width: 100%;
        height: auto;
    }

    .community {
        margin-top: 25px;
    }

    main {
        width: 100%;
        margin-left: 0;
        padding: 30px 20px;
        overflow-x: auto;
    }

    .home-video-bereich {
        margin-top: 28px;
    }

    .home-video-bereich h3 {
        font-size: 22px;
    }

    .methoden-tabelle {
        min-width: 900px;
    }

    .farming-rechner-karte {
        padding: 20px;
    }

    .item-rechner-karte {
        padding: 20px;
    }

    .rechner-kopf h2 {
        font-size: 29px;
    }

    .rechner-ergebnisse {
        grid-template-columns: 1fr;
    }

    .item-produkte,
    .item-rechner-ergebnisse {
        grid-template-columns: 1fr;
    }

    .rezept-karte,
    .rezept-detail-kopf,
    .freischaltung-karte {
        align-items: center;
        flex-direction: column;
        text-align: center;
    }

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

    .rezept-oeffnen {
        width: 100%;
    }

    .minecraft-rezept {
        gap: 8px;
        padding: 15px 8px;
    }

    .crafting-feld {
        grid-template-columns: repeat(3, 46px);
    }

    .craft-slot {
        width: 46px;
        height: 46px;
    }

    .craft-slot img {
        width: 35px;
        height: 35px;
    }

    .crafting-pfeil {
        font-size: 28px;
    }

    .craft-ergebnis-slot {
        width: 56px;
        height: 56px;
    }


    .rechner-button {
        width: 100%;
    }
}
