body {
    background: linear-gradient(to bottom, #09627d, #021f33);
    /* Sticky Footer: auf kurzen Seiten klebt der Footer sonst mitten im Viewport */
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

body > footer {
    margin-top: auto;
}

/* color Variables */
:root {
    --white: #ffffff;
    --blue: #1a9ba6;
    --blueOcu: rgba(26, 155, 166, 0.5);
}

a {
    text-decoration: none;
    color: white;
}

#banner {
    position: relative;
    min-height: 1000px;
    background-image: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)),
        url(../images/cover_bg.webp);
    background-position: center;
    background-repeat: no-repeat;
    background-size: 100% 100%;
}

.bg-dark {
    background: transparent !important;
}

nav {
    border-top: 1px solid var(--blue);
    padding: 10px 0px !important;
    margin-top: 20px !important;
    border-bottom: 1px solid var(--blue);
    z-index: 99;
}

.navbar-dark .navbar-nav .nav-link:focus,
.navbar-dark .navbar-nav .nav-link {
    color: var(--white) !important;
    font-size: 17px;
    padding-left: 20px;
    padding-right: 20px;
    border-radius: 8px;
}

.nav-link:hover {
	background: var(--blueOcu);
	
}

.login-btn {
    border: 2px solid var(--blue);
    background: transparent;
    color: var(--white);
    padding: 10px 25px;
    border-radius: 20px;
    font-size: 14px;
    font-family: 400;
}

.login-btn:hover {
    background: var(--blue);
    color: white;
    border: 2px solid transparent;
}

.banner-content {
    position: absolute;
    left: 52%;
    top: 65%;
    width: 90%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    flex-direction: column;
    text-align: center;
}

.banner-content>img {
    width: 150px;
}

.banner-content h1 {
    color: var(--white);
    font-size: 70px;
    font-weight: 700;
    text-transform: none;
    margin-bottom: 0;
}

.banner-content h3 {
    color: #45f4f8;
    font-weight: 700;
    font-size: 35px;
    letter-spacing: 10px;
    text-align: center;
    margin-bottom: 1.5rem;
}

.banner-content p {
    color: var(--white);
}

.btn2 {
    background: #081f35;
    color: #45f4f8;
    padding: 16px 26px;
    border-radius: 50px;
    font-weight: 700;
    letter-spacing: 5px;
    font-size: 20px;
    width: fit-content;
    border: 2px solid #45f4f8;
}

.btn2 span {
    padding: 0px 30px;
}

.btn2:hover {
    background: var(--blue);
    color: #45f4f8;
    
}

/* Boxes */

.boxes .subbox {
    background: linear-gradient(to bottom, #0e334d, #010f1d);
    color: white;
    border-radius: 10px;
    border: 2px solid #45f4f8;
    padding: 30px;
}

.boxes .subbox .inner-boxes {
    border: 1px solid #45f4f8;
    border-radius: 10px;
    overflow: hidden;
}

.boxes .subbox .inner-boxes .inner-content {
    background: var(--white);
    color: black;
}

.boxes .subbox .inner-boxes .inner-content .card-btn {
    color: black;
    padding: 5px 15px;
}


.image-area {
    height: 250px; /* Definiere die gewünschte Höhe */
    overflow: hidden; /* Verhindert Überlauf, falls das Bild größer ist */
    display: flex; /* Zentriert das Bild vertikal */
    align-items: center; /* Zentriert das Bild vertikal */
    justify-content: center; /* Zentriert das Bild horizontal */
    
}



.more-btn {
    border: 2px solid var(--blue);
    background: transparent;
    color: var(--white);
    padding: 10px 25px;
    border-radius: 20px;
    font-size: 14px;
    font-family: 400;
    margin-top: 20px;
}

.more-btn:hover {
    background: var(--blue);
    color: white;
    border: 2px solid transparent;
}


.user-info {
    display: flex;
    align-items: center;
    margin-right: 20px;
}

.user-details {
    color: var(--white);
    font-size: 14px;
}

.user-details .username {
    font-size: 16px;
    color: var(--white);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.8), 0 0 10px rgba(0, 255, 255, 0.8);
}

.user-details .balance {
    display: flex;
    align-items: center;
    margin-top: 3px;
}

.user-details .eye-btn {
    background: none;
    border: none;
    color: var(--blue);
    cursor: pointer;
    font-size: 14px;
    margin-right: 5px;
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
}

.user-details .eye-btn:hover {
    color: var(--pink);
}

.user-details #balance-display {
    font-size: 14px;
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.8);
}

.dropdown-menu {
  border-radius: 20%;
  background: rgba(26, 155, 166, 1); 
}

.dropdown-item:hover {
    border-radius: 20%;
    background: rgba(35, 190, 204, 0.5); 
}

/* Profile Picture */
.profile-pic {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.8), 0 0 10px rgba(255, 0, 255, 0.8);
}

.profile-pic img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.user-info-container {
    display: flex;
    flex-direction: column;
    align-items: flex-end; /* Align username and balance at the same start point */
    gap: 5px; /* Space between username and balance */
    min-width: 100px; /* Consistent width for balance area */
}


.balance {
	  display: flex;
    align-items: center;
    gap: 5px; /* Space between the eye icon and balance text */
    
   
}

.username {
	  font-size: 16px;
    color: var(--white);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.8), 0 0 10px rgba(0, 255, 255, 0.8);
    margin: 0; /* Ensure no extra spacing around */
     text-align: left;

}

/* Premium-/VIP-Kennzeichnung in der Navbar */
.nav-tier-badge { font-size: 12px; margin-left: 4px; text-shadow: none; }
.nav-tier-badge.premium { color: #45f4f8; }
.nav-tier-badge.vip { color: #ffd23f; }
.nav-premium-link { color: #ffd23f !important; }
.nav-premium-link:hover { text-shadow: 0 0 10px rgba(255, 210, 63, 0.8); }


.neon-text {
    min-width: 150px; /* Consistent width for balance area */
     text-align: left;
}


.profile-card {
    max-width: 500px;
    margin: 10px auto;
    background: rgba(0, 0, 0, 0.8);
    border-radius: 15px;
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.5), 0 0 20px rgba(255, 0, 255, 0.5);
    padding: 20px;
    position: relative; /* Allows positioning for the badge */
    text-align: center;
}

/* Verification Badge */
.verification {
    position: absolute;
    top: 15px; /* Adjust top position */
    left: 15px; /* Adjust left position */
    background-color: #28a745;
    color: #fff;
    padding: 5px 10px;
    font-size: 12px;
    font-weight: bold;
    border-radius: 8px;
}

/* Profile Picture */
.profile-picture {
    margin: 20px 0;
    text-align: center;
}

.profile-picture img,
.profile-placeholder {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 3px solid #00ffff;
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.7);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #1a1a1a; /* Optional: dunkler Hintergrund für Kontrast */
}

.profile-placeholder_big {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    border: 3px solid #00ffff;
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.7);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #1a1a1a; /* Optional: dunkler Hintergrund für Kontrast */
}

.profile-placeholder i {
    font-size: 12px;
    color: #00ffff;
}


.profile-placeholder_big i {
    font-size: 40px;
    color: #00ffff;
}

/* Username and Role */
.profileusername {
    font-size: 24px;
    font-weight: bold;
    color: #fff;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
    margin-bottom: 5px;
}

.role {
    font-size: 16px;
    color: #aaa;
    text-transform: uppercase;
    margin-bottom: 15px;
}

/* Social Icons */
.social-icons i {
    font-size: 20px;
    color: #00ffff;
    margin: 0 5px;
    cursor: pointer;
    transition: color 0.3s ease;
    
}

.social-icons i:hover {
    color: #ff00ff;
}

/* Buttons */
.pbuttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 20px;
    margin-top: 20px;
}

.pbuttons .pbtn {
    border: 2px solid #00ffff;
    color: #00ffff;
    background: none;
    border-radius: 20px;
    padding: 10px 20px;
    font-weight: bold;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.pbuttons .pbtn:hover {
    background-color: #00ffff;
    color: #000;
}

/* Profile Details */
.profile-details {
    text-align: left;
    margin-top: 20px;
}

.profile-details h5 {
    color: #ff00ff;
    font-weight: bold;
    text-shadow: 0 0 5px rgba(255, 0, 255, 0.8);
    margin-bottom: 15px;
}

.profile-details .detail-item {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid #444;
    padding: 5px 0;
    font-size: 14px;
    color: white;
}

.profile-details .detail-item span {
    color: #ddd;
}


/* History Table */
.history-table {
    width: 100%;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    border-collapse: collapse;
    border-radius: 10px;
}

.table-title {
	    color: white;
    font-weight: bold;
    text-shadow: 0 0 5px rgba(255, 0, 255, 0.8);
    margin-bottom: 15px;
}

.history-table th {
    background-color: #222;
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.7);
}

.history-table td {
    padding: 10px;
    text-align: center;
}

.history-table .game-icon {
    width: 20px;
    height: 20px;
    border-radius: 5px;
    margin-right: 10px;
    vertical-align: middle;
}

.history-table .won {
    background-color: #28a745;
    color: white;
    font-weight: bold;
}

.history-table .lost {
    background-color: #dc3545;
    color: white;
    font-weight: bold;
}




.neon-box {
            position: relative;
            background-color: #111;
            border-radius: 15px;
            padding: 20px;
            margin: 20px;
            margin-top: 10px;
            text-align: center;
            box-shadow: 0 0 40px rgba(0, 255, 255, 0.8), 0 0 40px rgba(255, 0, 255, 0.8);
            background-size: cover;
            background-position: center;
            height: 430px;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            color: var(--white);
        }
				
        .neon-box::before {
            content: '';
            position: absolute;
            top: -4px;
            left: -4px;
            right: -4px;
            bottom: -4px;
            border-radius: 15px;
            background: linear-gradient(45deg, #00FFFF, #FF00FF);
            z-index: -1;
            
            
        }

        .neon-title {
            font-size: 1.5rem;
            font-weight: bold;
            color: #fff;
            text-shadow: 0 0 10px rgba(0, 255, 255, 0.8), 0 0 10px rgba(255, 0, 255, 0.8);
        }

        .neon-button {
            background: none;
            border: 2px solid;
            border-image-slice: 1;
            border-width: 2px;
            border-image-source: linear-gradient(45deg, #00FFFF, #FF00FF);
            color: #fff;
            border-radius: 25px;
            padding: 10px 20px;
            text-transform: uppercase;
            font-size: 1rem;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .neon-button:hover {
            background: linear-gradient(45deg, #00FFFF, #FF00FF);
            color: #000;
            box-shadow: 0 0 10px #00FFFF, 0 0 10px #FF00FF;
        }

/* Current Game Navbar Indicator */
.current-game-indicator {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
}

.current-game-ring {
  position: relative;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.current-game-ring::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 3px solid transparent;
  border-top-color: #00bfff;
  border-right-color: #00bfff;
  animation: spin-ring 1.2s linear infinite;
}

.current-game-img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(0, 191, 255, 0.4);
}

.current-game-label {
  font-size: 10px;
  color: #00bfff;
  margin-top: 4px;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

@keyframes spin-ring {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* ===== Währungsumschalter EUR / gDollar ===== */
.currency-switch {
  display: inline-flex;
  align-items: center;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(0, 191, 255, 0.35);
  border-radius: 22px;
  padding: 3px;
  margin: 0;
  gap: 2px;
}

.currency-switch .cur-btn {
  background: transparent;
  border: none;
  color: #7fa9bd;
  font-size: 12px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 18px;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}

.currency-switch .cur-btn:hover {
  color: #fff;
}

.currency-switch .cur-btn.active {
  background: linear-gradient(45deg, #00bfff, #0091ff);
  color: #00131f;
  box-shadow: 0 0 10px rgba(0, 191, 255, 0.5);
}

.currency-switch .cur-btn.gd.active {
  background: linear-gradient(45deg, #ffd23f, #ff9f1c);
  color: #2a1d00;
  box-shadow: 0 0 10px rgba(255, 180, 30, 0.55);
}

/* gDollar-Balance leicht goldfarben hervorheben */
.neon-text.gd-text {
  color: #ffd23f !important;
  text-shadow: 0 0 8px rgba(255, 180, 30, 0.6);
}

@media (max-width: 991px) {
  .currency-switch {
    margin: 8px 0;
  }
}