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

html {
scroll-snap-type: y mandatory;
scroll-behavior: smooth;
scrollbar-width: none;
-ms-overflow-style: none;
}

/* Scrollleisten für Chrome, Safari und Edge ausblenden */
::-webkit-scrollbar {
    display: none;
}

body {
height: 100vh;
margin: 0;
font-family: Trajan Pro, Times New Roman, Serif;
background-color: black;
overflow: hidden;
cursor: url("/source/img/cursor_normal.png") 0 0, auto !important;
}

input, textarea, select, button, a {
cursor: url("/source/img/cursor_normal.png") 0 0, auto !important;
}

.star {
position: fixed;
background-color: Gold;
border-radius: 50%;
z-index: -1;
}

/* ================= STARTSEITE (Mittig & Boxen) ================= */
#startseite {
display: flex;
flex-direction: column;
width: 100%;
height: 100%;
align-items: center;
justify-content: center;
}

.wrapper {
position: fixed;
top: 0%;
left: 50%;
transform: translate(-50%, -50%);
padding-top: 90px;

display: flex;
flex-direction: row;
}

.wrapper img {
height: 50px;
width: 50px;
}

.titel {
color: #D4AF37; /* Goldene Farbe */
font-size: 40px;
font-weight: bold;
letter-spacing: 2px;
text-shadow: 0px 4px 10px rgba(0,0,0,0.8);
}

/* Container für die Boxen nebeneinander */
.box-container {
display: flex;
justify-content: center;
align-items: center;
background: #816d0066;
border-radius: 5px;
border: Gold 1px solid;
width: 90dvw;
height: 75dvh;
gap: 20px;
}

/* Das Box-Design für die Buttons */
.box-button {
width: 290px;
height: 85%;
background: rgba(0, 0, 0, 0.5);
border-radius: 1px;
border: Gold 1px solid;
padding: 10px;
color: Gold;
text-decoration: none;
transition: 0.2s;
display: flex;
align-items: center;
justify-content: center;
font-size: 55px;
}

/* Effekt beim Drüberfahren (Hover) */
.box-button:hover {
transform: scale(1.1);
box-shadow: 0 0 15px gold;
}

/* ================= APP-FRAME ANSICHT (5% / 95%) ================= */
#tv-ansicht {
display: none; /* Am Anfang unsichtbar */
flex-direction: column;
width: 100%;
height: 100%;
background-color: #000;
}

/* Obere Leiste (5%) */
.top-bar {
height: 5%;
min-height: 40px;
background-color: black;
display: flex;
align-items: center;
padding-left: 15px;
border-bottom: 1px solid #333;
z-index: 1000;
}

.top-bar button {
background-color: transparent;
color: #ff4444;
border: 1px solid #ff4444;
padding: 5px 20px;
font-size: 14px;
border-radius: 5px;
font-weight: bold;
transition: 0.2s;
}

.top-bar button:hover {
transform: scale(1.1);
box-shadow: 0 0 15px gold;
}

/* Der Ladebildschirm ist dunkel und füllt den Bereich unter der Top-Bar */
#loading-screen {
display: none; /* Am Anfang unsichtbar */
width: 100%;
height: 95%;
background-color: #111; /* Dunkler Hintergrund */
color: #D4AF37; /* Nemesis Gold */
flex-direction: column;
align-items: center;
justify-content: center;
font-family: Trajan Pro, Times New Roman, Serif;
font-weight: bold;
font-size: 20px;
letter-spacing: 2px;
z-index: 1001;
}

/* Das drehende Ladesymbol */
.spinner {
width: 60px;
height: 60px;
border: 6px solid #333;
border-top: 6px solid #D4AF37; /* Goldener Rand oben */
border-radius: 50%;
animation: spin 1s linear infinite;
margin-bottom: 25px;
z-index: 1001;
}

/* Animation für das Drehen */
@keyframes spin {
0% { transform: rotate(0deg); }
100% { transform: rotate(360deg); }
}

/* Den iframe standardmäßig unsichtbar machen, bis er geladen ist */
#app-frame {
display: none; 
width: 100%;
height: 95%;
border: none;
z-index: 998;
}

.copyright {
display: flex;
justify-content: center;
align-items: center;
position: fixed;
bottom: 0;
height: 50px;
width: 100vw;
background: #00000075;
font-size: 20px;
color: Gold;
}