/* ===================================
   CONTENT-BEREICH
=================================== */
.content {
    background: rgba(0,0,0,.45);
    border: 1px solid rgba(215,167,61,.5);
    padding: 25px;
    margin-bottom: 30px;
    text-align: center;
}

.content h1 {
    font-family: 'Cinzel', serif;
    font-size: 34px;
    font-weight: 800;
    color: #e8d7a8;
    margin-bottom: 25px;
    text-shadow: 0 0 12px rgba(255,215,0,0.55);
    letter-spacing: 1px;
}

/* ===================================
   STARTSEITE
=================================== */
.intro { margin: 20px 0; font-size: 22px; }

.kacheln {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 30px 0;
}

.kachel {
    padding: 20px 30px;
    border: 2px solid gold;
    border-radius: 10px;
    background: rgba(0,0,0,0.4);
    color: gold;
    font-size: 20px;
    text-decoration: none;
    transition: 0.3s;
}

.kachel:hover {
    box-shadow: 0 0 15px #00aaff;
    transform: translateY(-3px);
}

.baustelle img {
    max-width: 300px;
    margin: 30px auto;
    display: block;
    animation: fadein 1.2s ease;
}

@keyframes fadein {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* ===================================
   CONTACT / CREATIVE / POEMS
=================================== */
.contact-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 20px;
}

.contact-item a {
    color: #d7a73d;
    text-decoration: none;
    font-weight: bold;
}

.contact-item a:hover {
    color: #fff;
    text-decoration: underline;
}

.creative-select {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
    margin-top: 25px;
}

.creative-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(0,0,0,.35);
    border: 2px solid #d7a73d;
    padding: 15px;
    text-decoration: none;
    color: #fff;
    transition: .25s ease;
}

.creative-item img {
    width: 100%;
    border-bottom: 2px solid #d7a73d;
    margin-bottom: 10px;
}

.creative-item span {
    font-size: 1.2rem;
    font-weight: bold;
    color: #d7a73d;
}

.creative-item:hover {
    transform: scale(1.03);
    filter: brightness(1.1);
    box-shadow: 0 0 20px rgba(215,167,61,.6);
}

.poem-select {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 25px;
}

.poem-item {
    padding: 15px 20px;
    background: rgba(0,0,0,.35);
    border: 2px solid #d7a73d;
    text-decoration: none;
    color: #fff;
    font-size: 1.2rem;
    font-weight: bold;
    transition: .25s ease;
}

.poem-item:hover {
    transform: scale(1.02);
    filter: brightness(1.1);
    box-shadow: 0 0 20px rgba(215,167,61,.6);
}

/* ===================================
   BILDER / COMIC / STORY GRIDS
=================================== */
.bilder-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 18px;
    margin-top: 20px;
}

.tile-inner {
    background: radial-gradient(circle at top, #1a2435 0%, #05070b 70%);
    border-radius: 8px;
    padding: 8px;
    box-shadow: 0 0 12px rgba(255,215,0,0.25);
    border: 1px solid rgba(255,215,0,0.35);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.tile-inner:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 16px rgba(255,215,0,0.45);
}

.tile-inner img {
    width: 100%;
    border-radius: 4px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.tile-inner:hover img {
    transform: scale(1.05);
    box-shadow: 0 0 12px rgba(255,215,0,0.45);
}

.title {
    margin-top: 6px;
    font-family: 'Cinzel', serif;
    font-size: 16px;
    font-weight: 700;
    color: #e8d7a8;
    text-shadow: 0 0 6px rgba(255,215,0,0.45);
}

.subtitle {
    font-size: 12px;
    color: #c9b88a;
    opacity: 0.9;
}

/* ===================================
   COMIC GRIDS
=================================== */
.comic-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  margin-top: 25px;
}

.comic-tile {
  background: radial-gradient(circle at top, #1a2435 0%, #05070b 70%);
  border-radius: 8px;
  box-shadow: 0 0 12px rgba(255,215,0,0.25);
  border: 1px solid rgba(255,215,0,0.35);
  padding: 15px;
}

.comic-tile .tile-inner {
  overflow: hidden;
  border-radius: 6px;
}

.comic-tile .tile-inner img {
  width: 100%;
  height: auto;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.comic-tile .tile-inner:hover img {
  transform: scale(1.05);
  box-shadow: 0 0 10px rgba(0,0,0,0.4);
}

.comic-title {
  font-family: 'Cinzel', serif;
  color: #e8d7a8;
  margin-top: 10px;
  font-size: 1.2em;
  text-align: center;
}

/* ===================================
   BUCH-SEITEN
=================================== */
.book-wrapper {
    position: relative;
    width: 100%;
    max-width: 1627px;
    margin: 0 auto;
    background: url('../images/book_open.png') center/contain no-repeat;
    height: 1024px;
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.content.book-content {
    padding: 0 !important;
    background: none !important;
    border: none !important;
    margin: 0 !important;
}

.book-page {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0;
}

.book-left {
    position: relative;
    left: 18.2%;
    top: 15.5%;
    width: 78.2%;
    height: 67%;
    padding: 35px 45px;
}

.book-left img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 82%;
    filter: drop-shadow(0 6px 12px rgba(0,0,0,0.25));
}

.book-right {
    position: relative;
    left: 3%;
    top: 15.5%;
    width: 78.2%;
    height: 67%;
    padding: 35px 45px;
    font-family: "Lucida Handwriting", cursive;
    color: #000;
    font-size: 17px;
    line-height: 1.6;
}

.book-right h2 {
    font-size: 26px;
    margin-bottom: 18px;
}

/* ===================================
   DISCORD BILDER – KOMBINIERTER STYLE
=================================== */

/* Allgemeiner Content */
.content {
    text-align: center;
    padding: 20px;
}

h1 {
    margin-bottom: 10px;
}

/* Kategorien-Menü */
.category-menu {
    margin: 30px 0;
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.category-btn {
    padding: 10px 22px;
    background: rgba(0,0,0,0.45);
    border: 2px solid #d7a73d;
    border-radius: 8px;
    color: #e8d7a8;
    cursor: pointer;
    font-weight: bold;
    font-size: 18px;
    text-shadow: 0 0 6px rgba(255,215,0,0.45);
    transition: 0.25s ease;
}

.category-btn:hover {
    background: rgba(215,167,61,0.25);
    box-shadow: 0 0 12px rgba(215,167,61,0.55);
    transform: translateY(-2px);
}

.category-section {
    display: none;
    margin-top: 40px;
}

.category-section.active {
    display: block;
}

/* Galerie */
.gallery {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 22px;
    padding: 10px;
    max-width: 1350px;
    margin: 0 auto;
}

/* Rahmen + Inhalt */
.item {
    position: relative;
    padding: 40px; /* Platz für Rahmen */
    border-radius: 12px; /* aus HTML übernommen */
    box-shadow: 0 0 15px #0ff3; /* aus HTML übernommen */
    background: #0a0a0a; /* aus HTML übernommen */
}

/* Rahmen */
.item::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url('../images/discord-frame.png') center no-repeat;
    background-size: 100% 100%; /* korrigierte Syntax */
    pointer-events: none;
    z-index: 1;
}

/* Inhalt über dem Rahmen */
.item > * {
    position: relative;
    z-index: 2;
}

/* Bild im Rahmen */
.discord-img,
.item img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 10px; /* aus HTML übernommen */
    display: block;
    margin: 0 auto 10px;
}

/* Buttons */
.copy-btn,
.download-btn {
    width: 100%;
    padding: 8px;
    margin: 12px auto 0;
    border-radius: 6px;
    border: 1px solid rgba(215,167,61,0.45);
    cursor: pointer;
    font-weight: bold;
    font-size: 15px;
    color: #e8d7a8;
    background: rgba(0,0,0,0.35);
    text-shadow: 0 0 6px rgba(255,215,0,0.45);
    transition: 0.25s ease;
    display: block;
}

.copy-btn:hover,
.download-btn:hover {
    background: rgba(215,167,61,0.25);
    box-shadow: 0 0 12px rgba(215,167,61,0.55);
    transform: translateY(-2px);
}



/* ===================================
   CONTENT FRAME (Startseite / allgemeiner Content)
=================================== */
.content-frame {
    position: relative;
    width: auto;
    height: auto;
    max-width: 1920px;
    margin: 20px auto;

    /* 1. Rahmen oben
       2. Hintergrund unten */
    background-image:
        url('../images/rahmen1.png?v=1'),
        url('../images/content_bg.png');

    background-repeat: no-repeat, no-repeat;
    background-position: center, center;

    /* Rahmen gestreckt – Hintergrund füllt */
    background-size: 100% 100%, 95% 95%;

    padding: 75px 75px;
}

.content-inner {
	padding: 65px 20px 65px 20px;
    position: relative;
    z-index: 2;
    text-align: center;
}

/* ===================================
   GÄSTEBUCH – EINTRÄGE
=================================== */

.gb-entry {
    background: rgba(0,0,0,0.35);
    border: 2px solid #d7a73d;
    padding: 15px 20px;
    border-radius: 10px;
    margin: 20px auto;
    max-width: 700px;
    color: #e8d7a8;
    text-shadow: 0 0 6px rgba(0,0,0,0.45);
    box-shadow: 0 0 12px rgba(215,167,61,0.35);
}

/* Trenner zwischen Formular und Einträgen */
.gb-divider {
    margin: 40px auto;
    width: 60%;
    border: 0;
    border-top: 2px solid #d7a73d;
    box-shadow: 0 0 10px rgba(215,167,61,0.45);
}

.gb-delete {
    color: #e8d7a8;
    font-size: 12px;
    opacity: 0.7;
}

.gb-delete:hover {
    opacity: 1;
    color: #ff6666;
}

/* ===================================
   GÄSTEBUCH – FORMULAR
=================================== */

.guestbook-form {
    max-width: 700px;
    margin: 0 auto 40px auto;
    text-align: left;
    color: #e8d7a8;
    font-size: 18px;
}

.guestbook-form input,
.guestbook-form textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #d7a73d;
    border-radius: 8px;
    background: rgba(0,0,0,0.35);
    color: #e8d7a8;
    font-size: 18px;
    box-shadow: 0 0 10px rgba(215,167,61,0.35);
}

.guestbook-form button {
    margin-top: 10px;
    padding: 12px 25px;
    background: #d7a73d;
    color: #000;
    font-weight: bold;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.25s ease;
}

.guestbook-form button:hover {
    background: #ffd97a;
    box-shadow: 0 0 12px gold;
}

/* ===================================
   COMMUNITY
=================================== */

.community-box {
    max-width: 800px;
    margin: 40px auto;
    padding: 25px 30px;
    background: rgba(0,0,0,0.35);
    border: 2px solid #d7a73d;
    border-radius: 10px;
    box-shadow: 0 0 12px rgba(215,167,61,0.35);
}

.community-text {
    color: #e8d7a8;
    font-size: 20px;
    line-height: 1.7;
    text-shadow: 0 0 6px rgba(0,0,0,0.45);
}

/* ===================================
   DISCORD LIVE STATUS
=================================== */

.discord-box {
    max-width: 800px;
    margin: 40px auto;
    padding: 25px 30px;
    background: rgba(0,0,0,0.35);
    border: 2px solid #5865F2; /* Discord-Blau */
    border-radius: 10px;
    box-shadow: 0 0 12px rgba(88,101,242,0.35);
    color: #e8d7a8;
}

.discord-title {
    font-size: 26px;
    font-weight: bold;
    color: #5865F2;
    margin-bottom: 15px;
    text-shadow: 0 0 10px rgba(88,101,242,0.55);
}

.discord-online,
.discord-server,
.discord-users {
    margin: 10px 0;
    font-size: 18px;
    line-height: 1.6;
}