/* css/styles.css - Redesign für AngelSpire */

/* Import der neuen Schriftarten von Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;700&family=Nunito+Sans:wght@400;600&display=swap');

/* Neues Farb- und Schrift-Schema für AngelSpire */
:root {
    --background-main: #0D111C;
    --background-panel: rgba(25, 30, 45, 0.6);
    --accent-gold: #FFD700;
    --accent-gold-glow: rgba(255, 215, 0, 0.2);
    --text-light: #F0F2F5;
    --text-muted: #A0A8B4;
    --border-color: rgba(255, 215, 0, 0.25);
    --shadow: 0 8px 32px rgba(0, 0, 0, 0.3);

    --font-headings: 'Cinzel', serif;
    --font-body: 'Nunito Sans', sans-serif;
}

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

/* Neuer animierter Hintergrund */
body {
    font-family: var(--font-body);
    background-color: var(--background-main);
    background-image: url('../img/celestial-background.png'); /* Stellen Sie sicher, dass dieses Bild im /img Ordner liegt */
    background-size: cover;
    background-attachment: fixed;
    color: var(--text-light);
    min-height: 100vh;
    animation: slow-pan 60s linear infinite alternate;
    display: none; /* Verhindert Flackern beim Laden */
}

@keyframes slow-pan {
    from { background-position: 0% 0%; }
    to { background-position: 100% 50%; }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Allgemeine Text-Stile */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-headings);
    color: var(--accent-gold);
    text-shadow: 0 0 8px var(--accent-gold-glow);
}

p {
    color: var(--text-light);
    line-height: 1.7;
}

a {
    color: var(--accent-gold);
    text-decoration: none;
    transition: color 0.3s ease, text-shadow 0.3s ease;
}

a:hover {
    color: #fff;
    text-shadow: 0 0 10px var(--accent-gold-glow);
}

/* Neuer Header */
header {
    background: rgba(13, 17, 28, 0.7);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
}

/* Navigation-Buttons */
nav a {
    color: var(--text-muted);
    transition: all 0.3s ease;
}

nav a.active-nav, nav a:hover {
    color: var(--accent-gold);
    background: var(--accent-gold-glow);
    text-shadow: 0 0 5px var(--accent-gold);
}

/* Haupt-Login/Abmelden-Button */
.login-section .btn {
    background: var(--accent-gold);
    color: var(--background-main);
    font-family: var(--font-headings);
    font-weight: 700;
}
.login-section .btn:hover {
    background: #fff;
    box-shadow: 0 0 20px #fff;
}
.login-section .btn-logout {
    background: transparent;
    border: 1px solid #902020;
    color: #ff6060;
}
.login-section .btn-logout:hover {
    background: #902020;
    color: #fff;
}

/* Der neue "Glow & Glass" Panel-Stil */
.panel {
    background: var(--background-panel);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 25px;
    margin-bottom: 25px;
    box-shadow: 0 0 20px rgba(0,0,0,0.2), inset 0 0 15px rgba(0,0,0,0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.panel:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 0 30px var(--accent-gold-glow), inset 0 0 20px rgba(0,0,0,0.4);
}

/* Neue allgemeine Buttons */
.btn {
    background: transparent;
    border: 2px solid var(--accent-gold);
    padding: 10px 25px;
    border-radius: 50px;
    color: var(--accent-gold);
    font-family: var(--font-headings);
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    font-size: 14px;
}

.btn:hover {
    background: var(--accent-gold);
    color: var(--background-main);
    box-shadow: 0 0 20px var(--accent-gold-glow);
    transform: scale(1.05);
}

/* Neue Formularfelder */
.form-input {
    width: 100%;
    padding: 12px;
    margin-bottom: 20px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.2);
    color: var(--text-light);
    font-size: 14px;
    transition: all 0.3s ease;
}

.form-input:focus {
    outline: none;
    border-color: var(--accent-gold);
    box-shadow: 0 0 15px var(--accent-gold-glow);
}

select.form-input option {
    background: var(--background-main);
    color: var(--text-light);
}

textarea.form-input {
    min-height: 140px;
    resize: vertical;
}

.form-label {
    display: block;
    text-align: left;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 14px;
    color: var(--text-muted);
}

/* Tabellen-Styling (für wert.php, suche.php) */
.data-table {
    width: 100%;
    border-collapse: collapse;
}
.data-table th, .data-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}
.data-table th {
    font-family: var(--font-headings);
    color: var(--accent-gold);
    font-size: 16px;
    text-transform: uppercase;
}
.data-table tr:last-child td {
    border-bottom: none;
}
.data-table tr {
    transition: background-color 0.3s ease;
}
.data-table tr:hover {
    background-color: var(--accent-gold-glow);
}
.item-image {
    width: 32px;
    height: 32px;
    object-fit: contain;
    vertical-align: middle;
    background: rgba(0,0,0,0.3);
    border-radius: 4px;
    padding: 2px;
}
.item-image-large img, .enchantment-image {
    background: rgba(0,0,0,0.3);
    border-radius: 8px;
    padding: 5px;
}

/* Status-Labels (für Bewerbungen) */
.status-pending { color: #f39c12; }
.status-accepted { color: #2ecc71; }
.status-rejected { color: #e74c3c; }

/* Hamburger-Menü für Mobilgeräte */
.hamburger span {
    background-color: var(--text-light);
}

/* Animation für das Einblenden von Elementen */
.animate-fade-in {
    animation: fadeIn 1s ease-out forwards;
    opacity: 0;
}
@keyframes fadeIn {
    to { opacity: 1; }
}
/* Neue Stile für Team-Rollen auf der staff.php */
.role-badge {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 20px;
    font-family: var(--font-headings);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    border: 2px solid;
    background-image: linear-gradient(45deg, rgba(255,255,255,0.1), rgba(0,0,0,0.2));
}

.role-owner {
    color: #ff5252;
    border-color: #ff5252;
    text-shadow: 0 0 10px #ff5252;
}

.role-content {
    color: #fdd835;
    border-color: #fdd835;
    text-shadow: 0 0 10px #fdd835;
}

.role-builder {
    color: #448aff;
    border-color: #448aff;
    text-shadow: 0 0 10px #448aff;
}

.role-supporter {
    color: #4dd0e1;
    border-color: #4dd0e1;
    text-shadow: 0 0 10px #4dd0e1;
}

/* Fügen Sie hier weitere Rollen-Stile hinzu, falls nötig */