/* Generic */
body_old {
    background: url("../img/background-igloo.png") no-repeat center center fixed;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;

    margin: 0;
    display: block;
    font-family: Arial, Helvetica Neue, Helvetica, sans-serif;
    font-size: 22px;
    color: #dedede;
}

body {
    background: url("../img/PageBackground.png") no-repeat center center fixed;
    background-size: cover;
    background-color: black;
    margin: 0;
    display: block;

    font-family: Arial, Helvetica Neue, Helvetica, sans-serif;
    font-size: 22px;
    color: #dedede;
}

p {
    margin: 8px;
}
a {
    color: #4dc9ed;
    text-decoration: none;
}
a:hover {
    color: #dedede;
}
a:visited {
    color: #247891;
}

.clearfix:after {    
    content: ".";
    display: block;
    visibility: hidden;
    height: 0px;
    clear: both;
}
.bold {
    font-weight: bold;
}
.accent {
    color: #C1272D;
}
p.center {
    text-align: center;
}
oldimg.center {
    left: 50%;
    margin-right: -50%;
    transform: translate(-50%, 0);
    position: absolute;
}

img.center {
    display: block;
    margin: 0 auto;
    max-width: 100%;
    height: auto;
}

/* Content */
#content {
    background: transparent;
    width: 100%;
    max-width: 1280px;
    position: relative;
    z-index: 10;
}

#main-logo {
    padding: 20px;    
    background: transparent;
    text-align: left;
}

#main-logo img {
    max-width: 500px;
    height: auto;
    display: block;
    margin: 0;
}

#description {
    width: 100%;
    margin-top: 60px;
    margin-bottom: 60px;
}

#description.imprint {
    margin:50px;
    font-size: 16px;
    width: 80%;
    word-wrap: break-word;
}

/* Social Links */
.social-links {
    position: fixed;
    top: 20px;
    right: 20px;
    display: flex;
    gap: 15px;
    z-index: 100;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.social-icon:hover {
    transform: scale(1.1);
}

.social-icon img {
    width: 24px;
    height: 24px;
}

.steam-icon {
    background: linear-gradient(135deg, #1b2838 0%, #171a21 100%);
}

.steam-icon:hover {
    background: linear-gradient(135deg, #2a475e 0%, #1b2838 100%);
}

.discord-icon {
    background: #5865F2;
}

.discord-icon:hover {
    background: #7289da;
}

/* Footer */
#footer {
    background: #08141b;
    position: fixed;
    height: 45px;
    left: 0;    
    bottom: 0;
    width: 100%;
}
#impressum-link {
    margin-top: 15px;
    text-align: center;    
    font-size: 12px;
    font-weight: normal;    
}

/* Steam-style Media Slider */
.media-slider-container {
    display: flex;
    justify-content: center;
    padding: 20px;
    margin-bottom: 60px;
}

.media-slider {
    width: 100%;
    max-width: 1100px;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 4px;
    padding: 8px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

.main-display {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000;
    border-radius: 2px;
    overflow: hidden;
}

.main-media {
    width: 100%;
    height: 100%;
}

.main-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Navigation Arrows */
.nav-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    padding: 25px 18px;
    cursor: pointer;
    z-index: 10;
    transition: opacity 0.2s ease;
    opacity: 0;
}

.main-display:hover .nav-arrow {
    opacity: 1;
}

.nav-arrow:hover {
    background: transparent;
}

.nav-arrow .arrow-icon {
    display: block;
    width: 20px;
    height: 20px;
    border-top: 3px solid #fff;
    border-right: 3px solid #fff;
}

.nav-prev {
    left: 0;
    border-radius: 0 4px 4px 0;
}

.nav-prev .arrow-icon {
    transform: rotate(-135deg);
    margin-left: 6px;
}

.nav-next {
    right: 0;
    border-radius: 4px 0 0 4px;
}

.nav-next .arrow-icon {
    transform: rotate(45deg);
    margin-right: 6px;
}

/* Thumbnail Container with Navigation */
.thumbnail-container {
    display: flex;
    align-items: center;
    margin-top: 8px;
    gap: 4px;
}

.thumb-nav {
    flex-shrink: 0;
    width: 30px;
    height: 65px;
    background: linear-gradient(to bottom, #3a4a5a 0%, #1e2a36 100%);
    border: 1px solid #4a5a6a;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    border-radius: 2px;
}

.thumb-nav:hover {
    background: linear-gradient(to bottom, #4a5a6a 0%, #2a3a46 100%);
}

.thumb-nav .arrow-icon {
    display: block;
    width: 10px;
    height: 10px;
    border-top: 2px solid #8fa4b5;
    border-right: 2px solid #8fa4b5;
}

.thumb-nav:hover .arrow-icon {
    border-color: #fff;
}

.thumb-prev .arrow-icon {
    transform: rotate(-135deg);
    margin-left: 4px;
}

.thumb-next .arrow-icon {
    transform: rotate(45deg);
    margin-right: 4px;
}

/* Thumbnail Strip Wrapper */
.thumbnail-strip-wrapper {
    flex: 1;
    overflow: hidden;
    position: relative;
}

/* Thumbnail Strip */
.thumbnail-strip {
    display: flex;
    gap: 5px;
    padding: 4px 0;
    transition: transform 0.3s ease;
}

.thumbnail {
    flex-shrink: 0;
    width: 116px;
    height: 65px;
    cursor: pointer;
    border-radius: 2px;
    overflow: hidden;
    border: 2px solid transparent;
    transition: border-color 0.2s ease, opacity 0.2s ease;
    position: relative;
    opacity: 0.6;
}

.thumbnail:hover {
    opacity: 0.9;
}

.thumbnail.active {
    border-color: #67c1f5;
    opacity: 1;
}

.thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Thumbnail Progress Bar */
.thumb-progress-container {
    height: 10px;
    background: #1e2a36;
    border-radius: 3px;
    margin-top: 6px;
    position: relative;
    cursor: pointer;
}

.thumb-progress-bar {
    position: absolute;
    height: 100%;
    background: linear-gradient(to right, #67c1f5, #4a9bc7);
    border-radius: 3px;
    cursor: grab;
    transition: left 0.1s ease;
}

.thumb-progress-bar:hover {
    background: linear-gradient(to right, #8ad4ff, #67c1f5);
}

.thumb-progress-bar:active {
    cursor: grabbing;
}

.gif-badge {
    position: absolute;
    bottom: 4px;
    right: 4px;
    background: rgba(0, 0, 0, 0.8);
    color: #67c1f5;
    font-size: 10px;
    font-weight: bold;
    padding: 2px 5px;
    border-radius: 2px;
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

.lightbox.active {
    display: flex;
}

.lightbox-image {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    border-radius: 4px;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    background: transparent;
    border: none;
    color: #fff;
    font-size: 40px;
    cursor: pointer;
    transition: color 0.2s ease;
    line-height: 1;
}

.lightbox-close:hover {
    color: #67c1f5;
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    padding: 30px 25px;
    cursor: pointer;
    transition: opacity 0.2s ease;
}

.lightbox-nav .arrow-icon {
    display: block;
    width: 25px;
    height: 25px;
    border-top: 3px solid #fff;
    border-right: 3px solid #fff;
}

.lightbox-nav:hover .arrow-icon {
    border-color: #67c1f5;
}

.lightbox-prev {
    left: 20px;
}

.lightbox-prev .arrow-icon {
    transform: rotate(-135deg);
}

.lightbox-next {
    right: 20px;
}

.lightbox-next .arrow-icon {
    transform: rotate(45deg);
}

.main-media {
    cursor: pointer;
}

/* Responsive adjustments */
@media only screen and (max-width: 1200px) {
    #main-logo img {
        max-width: 400px;
    }

    .media-slider {
        max-width: 900px;
    }
}

@media only screen and (max-width: 768px) {
    #main-logo {
        text-align: center;
    }

    #main-logo img {
        max-width: 280px;
        margin: 0 auto;
    }

    .media-slider {
        max-width: 100%;
        padding: 4px;
    }

    .media-slider-container {
        padding: 10px;
    }

    .thumbnail {
        width: 80px;
        height: 45px;
    }

    .nav-arrow {
        padding: 15px 10px;
        font-size: 18px;
    }

    .lightbox-nav {
        padding: 20px 15px;
    }

    .lightbox-nav .arrow-icon {
        width: 18px;
        height: 18px;
    }

    .thumb-nav {
        width: 24px;
        height: 50px;
    }

    .thumb-nav .arrow-icon {
        width: 8px;
        height: 8px;
    }

    .social-links {
        top: 10px;
        right: 10px;
        gap: 10px;
    }

    .social-icon {
        width: 36px;
        height: 36px;
    }

    .social-icon img {
        width: 20px;
        height: 20px;
    }
}

@media only screen and (max-width: 480px) {
    #main-logo img {
        max-width: 200px;
    }

    .thumbnail {
        width: 60px;
        height: 34px;
    }

    .social-icon {
        width: 32px;
        height: 32px;
    }

    .social-icon img {
        width: 18px;
        height: 18px;
    }
}