/* Footer Container */
.footer {
    background: var(--bg2);
    border-top: 2px solid var(--accent1);
    padding: 40px 20px 20px;
    margin-top: 60px;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        0deg,
        rgba(74, 122, 74, 0.03) 0px,
        transparent 1px,
        transparent 2px,
        rgba(74, 122, 74, 0.03) 3px
    );
    pointer-events: none;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
	margin-top:30px;
    z-index: 1;
}

/* Footer Grid - 3 Boxen */
.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 25px;
    margin-bottom: 30px;
}

/* Box Styling */
.footer-box {
    background: var(--bg2);
    border: 1px solid var(--accent3);
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
    transition: all 0.3s;
	width:100%;
}

.footer-box:hover {
    border-color: var(--accent1);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.7), 0 0 30px var(--glow);
    transform: translateY(-5px);
}

.footer-box-header {
    color: var(--accent2);
    font-size: 14px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 0 10px var(--glow);
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--accent3);
}

/* Inplay Quotes Box */
.footer-quote-display {
    min-height: 120px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.footer-quote-text {
    color: var(--text2);
    font-size: 14px;
    font-style: italic;
    line-height: 1.6;
    margin-bottom: 10px;
}

.footer-quote-author {
    color: var(--accent1);
    font-size: 12px;
    text-align: right;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Usergruppen Grid */
.footer-usergroup-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.footer-usergroup-item {
    background: var(--bg3);
    border-left: 2px solid var(--accent1);
    padding: 10px;
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    transition: all 0.3s;
}

.footer-usergroup-item:hover {
    background: rgba(74, 122, 74, 0.15);
    border-left-color: var(--accent2);
    transform: translateX(5px);
}

.footer-group-icon {
    font-size: 24px;
    color: var(--accent1);
    filter: drop-shadow(0 0 8px var(--glow));
}

.footer-group-info {
    flex: 1;
}

.footer-group-name {
    color: var(--text2);
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 2px;
}

.footer-group-count {
    color: var(--text3);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Userlist Overlay */
.footer-userlist-overlay {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    width: 400px;
    max-height: 500px;
    background: var(--bg2);
    border: 2px solid var(--accent1);
    padding: 20px;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: all 0.4s ease;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.9), 0 0 30px var(--glow);
}

.footer-userlist-overlay.active {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
    transform: translate(-50%, -50%) scale(1);
}

.footer-userlist-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--accent3);
}

.footer-userlist-title {
    color: var(--accent2);
    font-size: 16px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 0 10px var(--glow);
}

.footer-userlist-close {
    color: var(--text3);
    font-size: 30px;
    cursor: pointer;
    transition: all 0.3s;
    line-height: 1;
}

.footer-userlist-close:hover {
    color: var(--accent2);
    transform: rotate(90deg);
}

.footer-userlist-members {
    max-height: 400px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-user-item {
    background: var(--bg3);
    border-left: 2px solid var(--accent1);
    padding: 8px 12px;
    color: var(--text2);
    font-size: 13px;
    transition: all 0.3s;
}

.footer-user-item:hover {
    background: rgba(74, 122, 74, 0.15);
    transform: translateX(5px);
    color: var(--accent2);
}

/* Character Showcase Carousel */
.footer-character-showcase {
    position: relative;
    min-height: 140px;
}

.footer-character-slide {
    display: none;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.footer-character-slide.active {
    display: flex;
    opacity: 1;
    gap: 15px;
    align-items: center;
}

.footer-char-avatar {
    width: 80px;
    height: 80px;
    border: 2px solid var(--accent1);
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 0 15px var(--glow);
    flex-shrink: 0;
}

.footer-char-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(60%);
    transition: all 0.3s;
}

.footer-box:hover .footer-char-avatar img {
    filter: grayscale(0%);
}

.footer-char-info {
    flex: 1;
}

.footer-char-name {
    color: var(--accent2);
    font-size: 16px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 3px;
    text-shadow: 0 0 10px var(--glow);
}

.footer-char-faction {
    color: var(--accent1);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.footer-char-quote {
    color: var(--text2);
    font-size: 12px;
    font-style: italic;
    line-height: 1.4;
}

/* Carousel Dots */
.footer-carousel-dots {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
}

.footer-carousel-dot {
    width: 8px;
    height: 8px;
    background: var(--bg3);
    border: 1px solid var(--accent3);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s;
}

.footer-carousel-dot:hover {
    border-color: var(--accent2);
}

.footer-carousel-dot.active {
    background: var(--accent1);
    border-color: var(--accent1);
    box-shadow: 0 0 10px var(--glow);
}

/* Footer Bottom */
.footer-bottom {
    border-top: 1px solid var(--accent3);
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: var(--text3);
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a {
    color: var(--text3);
    text-decoration: none;
    transition: all 0.3s;
}

.footer-links a:hover {
    color: var(--accent2);
}

/* Responsive */
@media (max-width: 968px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}

.footer-quote-meta {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid var(--accent3);
    text-align: center;
}

.footer-quote-meta a:hover {
    color: var(--accent2) !important;
}