:root {
    --primary-color: #e60000; /* Rot aus Originalseite */
    --dark-bg: #111;
    --light-text: #fff;
}

body {
    margin: 0;
    font-family: 'Segoe UI', sans-serif;
    background-color: #000;
    color: var(--light-text);
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}

.site-header, .site-footer {
    background-color: var(--dark-bg);
    padding: 1rem 0;
}


.site-footer details { margin-top: 6px; }
.site-footer summary { cursor: pointer; user-select: none; }
.site-footer details ul { margin: 6px 0 0; padding-left: 18px; }



.site-header .logo img {
    height: 50px;
}

.main-nav ul {
    list-style: none;
    display: flex;
    gap: 1.5rem;
    margin: 0;
    padding: 0;
}

.main-nav a {
    color: var(--light-text);
    text-decoration: none;
    font-weight: 500;
}

.hero {
    background-size: cover;
    background-position: center;
    padding: 6rem 2rem;
    text-align: center;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}



.hero-title {
    font-size: 3rem;            
    font-weight: bold;          
    color: #e60000;             
    text-shadow: 0 0 10px #000, 0 0 20px #e60000; 
    font-family: 'Alfa Slab One', serif; /* Mafia-Look */
    letter-spacing: 4px;        /* Abstand zwischen Buchstaben */
    text-transform: uppercase;  /* Alles Großbuchstaben für mehr Wirkung */
}




.btn {
    background: var(--primary-color);
    color: white;
    padding: 0.75rem 1.5rem;
    display: inline-block;
    text-decoration: none;
    border-radius: 4px;
}

.features {
    display: flex;
    gap: 2rem;
    padding: 3rem 0;
    text-align: center;
}

.feature h2 {
    color: var(--primary-color);
}

.cta {
    background: var(--primary-color);
    text-align: center;
    padding: 3rem 1rem;
}



.casino-table img {
    border-radius: 5px;
    background-color: #111;
    padding: 4px;
}

.table-danger th {
    color: #000;
    font-weight: bold;
}

.btn-warning {
    background: linear-gradient(to bottom, #ffcc00, #ff6600);
    border: none;
    color: #000;
}

.btn-warning:hover {
    background: linear-gradient(to bottom, #ff6600, #ffcc00);
}



.casino-table {
    display: flex;
    justify-content: center;
	margin-bottom: 7rem; /* Abstand zum Footer */
}

.casino-table .table {
    width: auto;
    margin: 0 auto;
	
}



/* Admin-Tabelle Styling */
.admin-table th, .admin-table td {
    vertical-align: middle;
    padding: 12px 10px;
}

.admin-table img {
    max-height: 40px;
}

.admin-btn-sm {
    padding: 4px 10px;
    font-size: 0.85rem;
}

/* Formular-Abstände */
.admin-form .form-control {
    padding: 6px 8px;
    font-size: 0.9rem;
}




.casino-logo {
    width: 200px;           /* feste Breite */
    height: 80px;           /* feste Höhe */
    object-fit: contain;    /* passt das Logo ins Feld ohne Verzerrung */
    border: 2px solid #ff0000; /* fester Rand */
    border-radius: 6px;     /* leicht abgerundet */
    background-color: #111; /* Hintergrund, falls Logo kleiner */
    padding: 5px;
}



/* Top Casino Highlight ohne das Blinken zu blockieren */
.top-casino {
    animation: blink-bg 1.5s infinite;
}


/* Spezieller Glow für Top 1 Button */
.top-casino .btn-claim {
    box-shadow: 0 0 15px rgba(255, 204, 0, 0.9), 0 0 30px rgba(255, 153, 0, 0.7);
    animation: pulse-glow 1.5s infinite;
}

@keyframes blink-bg {
    0%, 100% { background-color: rgba(255, 204, 0, 0.3); }
    50% { background-color: rgba(255, 153, 0, 0.6); }
}

/* Blinkender Bonus-Text */
.blink-bonus {
    color: #ff0000;
    text-shadow: 0 0 5px #fff, 0 0 10px #ff0000, 0 0 20px #ff6600;
    animation: neon-blink 1s infinite alternate;
}

@keyframes neon-blink {
    0% { opacity: 1; }
    100% { opacity: 0.6; }
}




/* Claim Bonus Button Style */
.btn-claim {
    background: linear-gradient(to bottom, #ffcc00, #ff6600);
    color: #000;
    font-weight: bold;
    padding: 10px 18px;
    border-radius: 25px; /* Gerundet */
    text-transform: uppercase;
    box-shadow: 0 0 10px rgba(255, 102, 0, 0.7);
    border: none;
    transition: all 0.3s ease-in-out;
}

.btn-claim:hover {
    background: linear-gradient(to bottom, #ff6600, #ffcc00);
    box-shadow: 0 0 20px rgba(255, 204, 0, 1);
}

/* Bonus-Label Farbe */
.table td small {
    display: block;
    font-size: 0.75rem;
    color: #ffcc00; /* Goldfarbig wie Casino */
    font-weight: 600;
}

@keyframes pulse-glow {
    0% { box-shadow: 0 0 10px rgba(255, 204, 0, 0.8); }
    50% { box-shadow: 0 0 25px rgba(255, 153, 0, 1); }
    100% { box-shadow: 0 0 10px rgba(255, 204, 0, 0.8); }
}

/* Responsive Tabelle */
@media (max-width: 768px) {
    .casino-logo {
        width: 120px;
        height: 50px;
    }
    table {
        font-size: 0.85rem;
    }
    .btn-warning {
        padding: 0.4rem 0.6rem;
        font-size: 0.8rem;
    }
}






.top3-podium {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 2rem;
    text-align: center;
	margin-bottom: 6rem; /* Abstand zur Tabelle */
}

.podium-container {
    display: flex;
    align-items: flex-end;
    gap: 2rem;
}

.podium-card {
    background: #111;
    padding: 1rem;
    border-radius: 15px;
    box-shadow: 0 0 20px rgba(0,0,0,0.6);
    transform: translateY(0);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    min-width: 200px;
}

.podium-card img {
    width: 150px;
    height: 60px;
    object-fit: contain;
    background: #000;
    padding: 5px;
    border-radius: 10px;
}

.podium-card.gold {
    background: linear-gradient(145deg, #fff5cc, #ffd700);
    box-shadow: 0 0 25px gold;
    transform: scale(1.2);
    z-index: 3;
}

.podium-card.silver {
    background: linear-gradient(145deg, #f8f8f8, #c0c0c0);
    box-shadow: 0 0 20px silver;
    transform: scale(1.05) translateY(20px);
    z-index: 2;
}

.podium-card.bronze {
    background: linear-gradient(145deg, #fbe1c6, #cd7f32);
    box-shadow: 0 0 20px #cd7f32;
    transform: scale(1.05) translateY(20px);
    z-index: 1;
}

.podium-card:hover {
    transform: scale(1.25) translateY(-5px);
    box-shadow: 0 0 35px rgba(255, 215, 0, 0.9);
}



/* Schriftfarbe für Podium-Karten gezielt ändern */
.podium-card h3,
.podium-card p {
    color: #000; /* Schwarze Schrift */
}

/* Optional: Für jede Medaille eigene Farbe */
.podium-card.gold h3,
.podium-card.gold p {
    color: #e60000; /* Schwarz für Gold */
}

.podium-card.silver h3,
.podium-card.silver p {
    color: #222; /* Dunkelgrau für Silber */
}

.podium-card.bronze h3,
.podium-card.bronze p {
    color: #000; /* Weiß für Bronze */
}



.hero-tight {
    padding-top: 1.5rem; /* weniger Platz oben */
    padding-bottom: 3rem; /* unten kann bleiben */
}




.background-elements {
    position: relative;
    width: 100%;
    height: 0; /* keine Höhe, Elemente sind absolut positioniert */
    pointer-events: none; /* Klicks gehen durch */
    z-index: 0;
}

/* Basis-Stil für alle Hintergrundbilder */
.background-elements img {
    position: absolute;
    max-width: 400px;
    opacity: 0.85;
}

/* Einzelpositionierungen */
.bg-gods {
    top: 100px;
    left: 50%;
    transform: translateX(-50%);
    max-width: 600px;
    z-index: 1;
}

.bg-samurai {
    top: 1200px;
    left: 1%;
    max-width: 350px;
}

.bg-dice-gold {
    top: 200px;
    right: 5%;
    max-width: 250px;
}

.bg-dice-red {
    top: 550px;
    right: 15%;
    max-width: 220px;
}

/* Mobile Anpassungen */
@media (max-width: 768px) {
    .background-elements img {
        opacity: 0.5;
        max-width: 150px;
    }
    .bg-gods {
        top: 50px;
        max-width: 300px;
    }
    .bg-samurai {
        bottom: 50px;
        max-width: 200px;
    }
}



.hero {
    position: relative;
    padding-top: 1rem; /* Weniger Abstand oben */
    padding-bottom: 3rem; /* Abstand nach unten bleibt */
    z-index: 5; /* Damit der Text vor den Göttern liegt */
}

.hero h1,
.hero p,
.hero .btn {
    position: relative;
    z-index: 6; /* Text über den Göttern */
}


/* Podest-Hintergrund mit absolutem Götterbild */
.top3-podium-wrapper {
    position: relative;
    margin-bottom: 6rem; /* Abstand zur Tabelle */
}

.top3-podium-wrapper::before {
    content: "";
    background: url('../img/backgrounds/gods.png') no-repeat center;
    background-size: contain;
    position: absolute;
    top: -220px; /* Bild höher schieben */
    left: 0;
    right: 0;
    height: 300px; /* Höhe des Bildbereichs */
    z-index: 0;
    pointer-events: none; /* Klicks gehen durch */
}

.podium-container {
    position: relative;
    z-index: 1; /* Karten liegen vor dem Hintergrund */
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 2rem;
}

/* Responsive: Bild und Höhe anpassen */
@media (max-width: 768px) {
    .top3-podium-wrapper::before {
        top: -40px;
        height: 200px;
        background-size: cover;
    }
}




/* Header-Navigation */
.site-header { padding: 10px 0; }

.main-nav {
  display: grid;
  grid-template-columns: 1fr auto 1fr; /* leer | Mitte | rechts */
  align-items: center;
  gap: 16px;
}

/* ul-Resets + Layout */
.main-nav .nav-left,
.main-nav .nav-right {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 16px;
}

/* Mitte zentrieren */
.main-nav .nav-left {
  grid-column: 2;
  justify-self: center;
}

/* Auth-Bereich ganz rechts */
.main-nav .nav-right {
  grid-column: 3;
  justify-self: end;
  align-items: center;
}

.nav-user { opacity: .8; margin-right: 8px; }

/* Optional: Buttons etwas kompakter im Header */
.main-nav .btn { padding: 6px 12px; border-radius: 10px; }

/* Responsive: auf schmalen Screens bleibt Mitte zentriert, Auth rechts */
@media (max-width: 768px) {
  .main-nav { grid-template-columns: 1fr auto; }
  .main-nav .nav-left { grid-column: 1 / -1; justify-self: center; }
  .main-nav .nav-right { grid-column: 2; justify-self: end; }
}



