.footer-button {
    background: var(--color-accent1);
    position: relative;
    isolation: isolate;
    display: inline-flex;
    align-items: center;
    gap: 15px;
    color: var(--color-main);
    padding: 8px 20px;
    font-size: 12px;
    margin: 0 0 15px 0;
    font-family: var(--main-font);
    text-transform: uppercase;
    font-weight: 700;
    overflow: hidden;
    cursor: pointer;
    white-space: nowrap;
    transition: color 0.3s ease;
}

.footer-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--color-main);
    transition: left 0.4s ease;
    z-index: -1;
    pointer-events: none;
}

.footer-button:hover::before {
    left: 0;
}

.footer-button a {
    color: inherit;
    text-decoration: none;
    position: relative;
    z-index: 1;
    transition: color 0.3s ease;
}

.footer-button:hover,
.footer-button:hover a,
.footer-button:hover * {
    color: var(--color-accent1) !important;
    fill: var(--color-accent1) !important;
    stroke: var(--color-accent1) !important;
}






.footer-table {
   display: grid;
    grid-template-columns: repeat(6, 1fr);
    grid-template-rows: repeat(5, 1fr);
    grid-column-gap: 0px;
    grid-row-gap: 0px;
    margin-top: 20px;
    margin-bottom: 50px;
	font-family: var(--main-font);
	color: var(--main-color);
	position:relative;
}

.div1 { 
    grid-area: 1 / 1 / 5 / 5; 
    background: var(--div-bg);
    padding: 30px;
    z-index: 2;
    position: relative;
}

.div2 { 
    grid-area: 1 / 5 / 5 / 7; 
    background-color: var(--color-accent1);
    background-blend-mode: multiply;
    background-image: var(--accent-bg1);
	padding: 65px 40px;
}

.div3 { 
    grid-area: 5 / 1 / 6 / 7; 
	border-top: 1px solid var(--line1);
	background: var(--div-bg);
	padding: 30px;
}

.footer-title {
font-family: 'scotland';
    font-size: 158px;
    font-weight: 400;
    color: var(--color-main);
    text-transform: lowercase;
    font-style: italic;
    margin-top: -48px;
    height: 1px;
    margin-left: 540px;
    z-index: 3;
    position: absolute;
}

.footer-headline {
    background: var(--color-accent1);
    color: var(--color-main);
    padding: 6px 12px;
    font-size: 12px;
    margin-bottom: 5px;
    display: inline-block;
    width: fit-content;
    font-family: var(--main-font);
    text-transform: uppercase;
    font-weight: 800;
    letter-spacing: 1px;
}

/* Spezifischer für footer-link */
.div1 .footer-link a {
    padding: 8px 0;
    font-size: 12px;
    color: var(--color-main);
    text-decoration: none;
    text-transform: uppercase;
    font-family: var(--main-font);
    font-weight: 500;
    letter-spacing: 0.8px;
    transition: all 0.3s ease;
    position: relative;
    opacity: 0.8;
    display: inline-block;
}

.div1 .footer-link a::before {
    content: "+ ";
    font-weight: 700;
    color: var(--color-accent1);
    margin-right: 5px;
    transition: all 0.3s ease;
}

.div1 .footer-link a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--color-accent1);
    transition: width 0.3s ease;
}

.div1 .footer-link a:hover {
    color: var(--color-accent1);
    opacity: 1;
    transform: translateX(3px);
}

.div1 .footer-link a:hover::after {
    width: 100%;
}

.div1 .footer-link a:hover::before {
    transform: rotate(45deg);
}

/* Für footer-list */
.footer-list a {
    padding: 6px 0;
    font-size: 9px;
    color: var(--color-main);
    text-decoration: none;
    text-transform: uppercase;
    font-family: var(--main-font);
    font-weight: 500;
    letter-spacing: 0.8px;
    transition: all 0.3s ease;
    position: relative;
    opacity: 0.8;
    display: inline-block;
}

.footer-list a::before {
    content: "+ ";
    font-weight: 700;
    color: var(--color-accent1);
    margin-right: 5px;
    transition: all 0.3s ease;
}

.footer-list a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--color-accent1);
    transition: width 0.3s ease;
}

.footer-list a:hover {
    color: var(--color-accent1);
    opacity: 1;
    transform: translateX(3px);
}

.footer-list a:hover::after {
    width: 100%;
}

.footer-list a:hover::before {
    transform: rotate(45deg);
}

/* Spezielle Klasse nur für "Who was online" headline */
.footer-headline-online {
    background: var(--color-accent1);
    color: var(--color-main);
    padding: 6px 12px;
    font-size: 12px;
    margin-top: 30px;
    margin-bottom: 15px;
    display: inline-block;
    width: fit-content;
    font-family: var(--main-font);
    text-transform: uppercase;
    font-weight: 800;
    letter-spacing: 1px;
}

.werwaronline {
    margin-top: 0;
    color: var(--color-main);
    opacity: 0.7;
    font-size: 11px;
    font-family: var(--main-font);
    line-height: 1.6;
}

.werwaronline span {
    color: var(--color-main);
    opacity: 0.7;
    font-size: 11px;
    font-family: var(--main-font);
    margin-right: 8px;
}


/* Container für die gesamte Liste */
.lastusers-wrapper {
    margin-top: 15px;
    display: flex;
    flex-wrap: wrap;
    gap: 35px 15px;
}

.lastusers-wrapper .footer-headline {
    margin-bottom: 12px;
    width: 100%;
}

.lastusers-container {
    width: calc(50% - 7.5px);
    box-sizing: border-box;
}

/* Lastusers Liste Styling */
.lastusers-row {
    position: relative;
    padding: 6px 0;
    border-left: 2px solid var(--color-accent1);
    padding-left: 10px;
    margin-bottom: 4px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.lastusers-row:hover {
    border-left-color: var(--color-main);
    transform: translateX(2px);
    background: rgba(255,255,255,0.02);
}

.lastusers-row:hover .lastusers-name a {
    color: var(--color-accent1);
}

.lastusers-info {
    position: relative;
    z-index: 2;
}

.lastusers-name {
    font-family: var(--main-font);
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 2px;
    line-height: 1.2;
}

.lastusers-name a {
    color: var(--color-main);
    text-decoration: none;
    transition: all 0.3s ease;
}

.lastusers-regdate {
    font-family: var(--main-font);
    font-size: 8px;
    color: var(--color-main);
    opacity: 0.6;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    font-weight: 400;
}

/* Footer mit Full-Screen Background */
.footer-full {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    background: var(--div-bg);
    border-top: 1px solid var(--line1);
    padding: 15px 0 50px 0; /* 35px + 15px extra = 50px bottom */
    margin-top: 50px;
}

/* Container für Footer-Inhalt - gleiche Breite wie Forum */
.footer-content {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 55px; /* 20px + 35px border = 55px */
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--main-font);
    font-size: 10px;
    color: var(--color-main);
    opacity: 0.7;
}

/* Linke Seite - Theme Switch */
.footer-left {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* Support für beide Klassen */
.footer-theme,
.theme {
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-theme form,
.theme form {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
}

/* Target das Select Element */
.footer-theme select,
.theme select {
    background: var(--div-bg);
    color: var(--color-main);
    border: 1px solid var(--line1);
    padding: 4px 8px;
    font-size: 10px;
    font-family: var(--main-font);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    min-width: 80px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.footer-theme select:hover,
.theme select:hover {
    border-color: var(--color-accent1);
    background: rgba(255,255,255,0.05);
}

.footer-theme select:focus,
.theme select:focus {
    outline: none;
    border-color: var(--color-accent1);
    box-shadow: 0 0 0 1px var(--color-accent1);
}

.footer-theme select option,
.theme select option {
    background: var(--div-bg);
    color: var(--color-main);
    padding: 4px;
}

/* Go Button falls vorhanden */
.footer-theme input[type="submit"],
.theme input[type="submit"] {
    background: var(--color-accent1);
    color: var(--color-main);
    border: 1px solid var(--color-accent1);
    padding: 4px 8px;
    font-size: 10px;
    font-family: var(--main-font);
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
}

.footer-theme input[type="submit"]:hover,
.theme input[type="submit"]:hover {
    background: var(--color-main);
    color: var(--color-accent1);
}

/* Rechte Seite - MyBB Info */
.footer-right {
    text-align: right;
    line-height: 1.4;
}

.footer-right a {
    color: var(--color-main);
    text-decoration: none;
    opacity: 0.7;
    transition: all 0.3s ease;
}

.footer-right a:hover {
    opacity: 1;
    color: var(--color-accent1);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        gap: 10px;
        text-align: center;
        padding: 0 55px;
    }
    
    .footer-right {
        text-align: center;
    }
}

.footer-section-partners {
    display: flex;
    justify-content: center;
    gap: 15px;                  /* spacing between buttons */
    margin: 40px 0;
}

.footer-section-partners .sister {
    display: inline-block;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.footer-section-partners .sister img {
    display: block;
    width: 100px;               /* uniform size */
    height: auto;
    filter: grayscale(100%) brightness(0.8) contrast(1.2);
    transition: filter 0.3s ease;
}

.footer-section-partners .sister:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.6);
}

.footer-section-partners .sister:hover img {
    filter: none;
}

