@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;700&family=MedievalSharp&display=swap');

body {
    scroll-behavior: smooth;
    font-family: 'Cinzel', serif;
}

/* ==== Sichtbarkeit von Changelog‑Einträgen ==== */
.changelog-entry.hidden {
    display: none;
}
#show-all-entries {
    display: block;
    margin: 2rem auto;
}

/* ==== Hero‑Titel ==== */
.hero-title {
    font-family: 'MedievalSharp', cursive;
    font-size: 4rem;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.6);
    animation: float 3s ease-in-out infinite;
}
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-20px); }
}

/* ==== Menü‑Hover ==== */
.menu-item {
    transition: all 0.3s ease;
}
.menu-item:hover {
    transform: translateY(-5px);
    color: #fbbf24;
}

/* ==== Section‑Titel ==== */
.section-title {
    position: relative;
    display: block;
    margin: 0 auto 1.5rem auto;
    text-align: center;
    width: fit-content;
}
.section-title::after {
    content: '';
    position: absolute;
    width: 75%;
    height: 3px;
    background: linear-gradient(90deg, #7c3aed, #ec4899);
    bottom: -10px;
    left: 15%;
}

/* ==== Wellen‑Hintergrund ==== */
.wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: url("image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320'%3E%3Cpath fill='%233b82f6' fill-opacity='0.3' d='M0,128L48,144C96,160,192,192,288,186.7C384,181,480,139,576,133.3C672,128,768,160,864,176C960,192,1056,192,1152,176C1248,160,1344,128,1392,112L1440,96L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z'/%3E%3C/svg%3E")
               bottom center no-repeat;
    background-size: cover;
    animation: wave 10s linear infinite;
}
@keyframes wave {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-1440px); }
}

/* ==== Screenshot‑Grid ==== */
.screenshot-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

/* ==== Lightbox ==== */
.lightbox {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-color: rgba(20, 31, 49, 0.95);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}
.lightbox.active {
    display: flex;
    opacity: 1;
}
.lightbox-content {
    max-width: 90%;
    max-height: 90%;
    position: relative;
    transform: scale(0.9);
    transition: transform 0.4s ease;
}
.lightbox.active .lightbox-content { transform: scale(1); }
.lightbox img {
    max-width: 100%;
    max-height: 90vh;
    border-radius: 8px;
    box-shadow: 0 0 25px rgba(0,0,0,0.5);
}
.lightbox-close {
    position: absolute;
    top: -40px; right: -10px;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    background: rgba(0,0,0,0.5);
    width: 40px; height: 40px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
    z-index: 1010;
}
.lightbox-close:hover {
    background: rgba(255,0,0,0.7);
    transform: scale(1.1);
}
.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: white;
    font-size: 2.5rem;
    cursor: pointer;
    background: rgba(0,0,0,0.5);
    width: 50px; height: 50px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
    z-index: 1010;
}
.lightbox-nav:hover { background: rgba(59,130,246,0.7); }
.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }
.lightbox-nav.hidden { display: none; }

/* ==== Screenshot‑Item ==== */
.screenshot-item {
    position: relative;
    cursor: pointer;
    overflow: visible;
    transition: transform 0.3s ease;
    border-radius: .5rem;
}
.screenshot-item:hover { transform: scale(1.05); }

/* ==== Feature‑Icon ==== */
.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #fbbf24;
}

/* ==== Progress‑Bar ==== */
.progress-bar {
    height: 20px;
    background: #1f2937;
    border-radius: 10px;
    overflow: hidden;
}
.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #3b82f6, #8b5cf6);
    border-radius: 10px;
    transition: width 1s ease-in-out;
}

/* ==== FAQ ==== */
.faq-item {
    border-bottom: 1px solid #e5e7eb;
    padding: 1rem 0;
}
.faq-question {
    cursor: pointer;
    font-weight: bold;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height .3s ease;
    margin-top: .5rem;
}
.faq-item.active .faq-answer { max-height: 500px; }

/* ==== Hamburger Menü ==== */
.hamburger {
    width: 30px; height: 24px;
    position: relative;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.hamburger-line {
    width: 100%; height: 3px;
    background-color: #fff;
    border-radius: 3px;
    transition: all .3s ease;
}
.hamburger.open .hamburger-line:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}
.hamburger.open .hamburger-line:nth-child(2) { opacity: 0; }
.hamburger.open .hamburger-line:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* ==== Mobile‑Menu ==== */
.mobile-menu {
    position: fixed;
    top: 0; right: -300px;
    width: 300px;
    height: 100vh;
    background: linear-gradient(135deg, #1f2937, #374151);
    z-index: 1000;
    transition: right .3s ease-in-out;
    box-shadow: -5px 0 15px rgba(0,0,0,0.3);
    padding: 2rem;
    overflow-y: auto;
}
.mobile-menu.open { right: 0; }
.mobile-menu-item {
    display: block;
    padding: 1rem 0;
    border-bottom: 1px solid #4b5563;
    color: #e5e7eb;
    text-decoration: none;
    font-size: 1.1rem;
    transition: all .3s ease;
    position: relative;
    padding-left: 2rem;
}
.mobile-menu-item:hover {
    color: #3b82f6;
    transform: translateX(5px);
}
.mobile-menu-item::before {
    content: '▹';
    position: absolute;
    left: 0;
    opacity: 0;
    transition: all .3s ease;
}
.mobile-menu-item:hover::before {
    opacity: 1;
    transform: translateX(-5px);
}

/* ==== Mobile‑Overlay ==== */
.mobile-menu-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all .3s ease;
}
.mobile-menu-overlay.open {
    opacity: 1;
    visibility: visible;
}

/* ==== Close‑Button ==== */
.close-menu {
    position: absolute;
    top: 1.5rem; right: 1.5rem;
    font-size: 1.5rem;
    color: #e5e7eb;
    cursor: pointer;
    transition: all .3s ease;
}
.close-menu:hover {
    color: #3b82f6;
    transform: rotate(90deg);
}

/* ==== Hero‑Image ==== */
.hero-image {
    max-width: 50%;
    height: auto;
    animation: float 3s ease-in-out infinite;
    filter: drop-shadow(3px 3px 6px rgba(0,0,0,0.6));
    max-height: 80vh;
}

:root {
	--scrollbar-thumb: #cfb53b;
	--scrollbar-track: #1a1a1a;
	--scrollbar-width: 8px;
}

/* Sprachauswahl Styling */
.language-selector {
    position: relative;
}

.language-button {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    padding: 8px;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.language-button:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.language-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background-color: #1f2937;
    border: 1px solid #374151;
    border-radius: 4px;
    overflow: hidden;
}

.language-dropdown button {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 8px 12px;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    text-align: left;
}

.language-dropdown button:hover {
    background-color: #374151;
}

.flag-icon {
    font-size: 1.2em;
}
		
::-webkit-scrollbar {
	width: var(--scrollbar-width);
}

::-webkit-scrollbar-track {
	background: var(--scrollbar-track);
	border-radius: 10px;
}

::-webkit-scrollbar-thumb {
	background: var(--scrollbar-thumb);
	border-radius: 10px;
	border: 2px solid var(--scrollbar-track);
}

::-webkit-scrollbar-thumb:hover {
	background: #cfb53b;
}

html {
	scrollbar-width: thin;
	scrollbar-color: var(--scrollbar-thumb) var(--scrollbar-track);
}