@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600&display=swap');
:root {
    
       --boxFarbe1: #1e3c72; 
       --boxFarbe2: #2a5298;;
       --boxSchatten: rgba(42, 82, 152, 0.4);
    }
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
}

html, body {
  margin: 0;
  min-height: 100vh;
  background: linear-gradient(135deg, #081521, #102a43);

  display: flex;
  justify-content: center;
  align-items: center;

  font-family: "Courier New", monospace;
  color: #0b3d2e;
}

.board {
  text-align: center;
}

.title {
  font-size: 40px;
  letter-spacing: 6px;
  margin-bottom: 50px;
color: #a5d8ff;

;



}
.top-section{
    display:flex;
    align-items:left;
    justify-content:center;
    gap:40px;
}

.gaeste-info {
    color: #a5d8ff;
    font-size: 13px;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 18px;
    opacity: 0.8;
}

.countdown {
  display: flex;
  gap: 60px;
  justify-content: center;
}

.time-block span {
  display: block;
  margin-top: 15px;
  font-size: 12px;
  letter-spacing: 3px;
  color: #8aa0b5;
}

.digit-group {
  display: flex;
  gap: 10px;
}

.digit {
  width: 70px;
  height: 100px;
  background: #13293d;
  border: 1px solid #1f3a56;
  border-radius: 6px;

  display: flex;
  justify-content: center;
  align-items: center;

  font-size: 36px;
  font-weight: bold;
  color: white;
}

/* Mobile */
@media (max-width: 600px) {
  .digit {
    width: 50px;
    height: 70px;
    font-size: 22px;
  }

  .countdown {
    gap: 30px;
  }

  .title {
    font-size: 28px;
  }
}


.container {
    background: white;
    padding: 50px;
    width: 100%;
    max-width: 1100px;   
    margin: 0 auto;      
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.25);
}

h1 {
    margin-bottom: 20px;
    color: #333;
    font-weight: 600;
    text-align: center;
}

h2 {
    margin: 25px 0 15px 0;
    color: #444;
}

/* ===============================
   FORM
================================= */
form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

input {
    padding: 12px;
    border-radius: 10px;
    border: 1px solid #ccc;
    font-size: 16px;
    transition: 0.3s;
}

input:focus {
    border-color: #1e3c72;
    outline: none;
    box-shadow: 0 0 5px var(--boxSchatten);
}


button {
    padding: 12px ;
    border-radius: 10px;
    border: none;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    color: white;

    background: linear-gradient(135deg,
    var(--boxFarbe1),
    var(--boxFarbe2));
    box-shadow: 0 8px 20px var(--boxSchatten);

    transition: all 0.3s ease;
}

button:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 25px var(--boxSchatten);
}


/* ===============================
   TABLE
================================= */
table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
}

th {
    background: #f4f4f4;
    padding: 10px;
    text-align: left;
}

td {
    padding: 10px;
    border-bottom: 1px solid #eee;
}

tr:hover {
    background: #fafafa;
}

/* ===============================
   ACTION BUTTONS
================================= */
.emoji-btn {
    text-decoration: none;
    font-size: 20px;
    margin: 0 5px;
    transition: 0.2s ease;
}

.emoji-btn:hover {
    transform: scale(1.3);
}

.einladung-btn {
    text-decoration: none;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 6px;
    background: linear-gradient(135deg, #1e3c72, #2a5298);
    color: #a5d8ff;
    letter-spacing: 0.5px;
    transition: 0.2s ease;
    vertical-align: middle;
    display: inline-block;
    margin: 0 4px;
}

.einladung-btn:hover {
    background: linear-gradient(135deg, #2a5298, #3a6bc9);
    transform: scale(1.05);
}

.abstand {
    margin-top: 25px;
}


/* ===============================
   ERROR
================================= */
.error {
    color: #ff4d4d;
    margin-bottom: 15px;
    font-weight: 500;
}

/* ===============================
   TIMEOUT BOX
================================= */
.timeout-box {
    background: linear-gradient(135deg, #ff4d4d, #cc0000);
    color: white;
    padding: 18px;
    margin-bottom: 20px;
    border-radius: 15px;
    font-weight: 600;
    font-size: 18px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
    animation: shake 0.4s ease;
}

/* ===============================
   ADMIN BUTTON
================================= */
.admin-area {
    margin-top: 40px;
    text-align: center;
}


/* ROYAL BLUE */
.admin-btn {
    padding: 12px 25px;
    border-radius: 30px;
    border: none;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    color: white;

    background: linear-gradient(135deg,var(--boxFarbe1),
    var(--boxFarbe2));
    box-shadow: 0 8px 20px var(--boxSchatten);

    transition: all 0.3s ease;
}

.admin-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 25px var(--boxSchatten);
}

/* ===============================
   SECRET FORM
================================= */
.geheim-form {
    position: fixed;
    bottom: 15px;
    right: 15px;
}

.geheim-form input {
    width: 80px;
    padding: 6px;
    font-size: 12px;
    border-radius: 6px;
    border: 1px solid #ccc;
    opacity: 0.4;
    transition: 0.3s;
}

.geheim-form input:focus {
    opacity: 1;
    border-color:  #1e3c72;
}
.suchleiste {
    display: flex;
    gap: 10px;
}

.suchleiste input {
    flex: 2;   /* doppelt so viel Platz */
}

.suchleiste button {
    flex: 1;   /* normaler Platz */
}

/* ===============================
   ANIMATION
================================= */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes shake {
    0% { transform: translateX(-5px); }
    25% { transform: translateX(5px); }
    50% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
    100% { transform: translateX(0); }
}

/* ===============================
   MOBILE VERSION
================================= */
@media (max-width: 768px) {

    body {
        padding: 20px 10px;
    }

    .container {
        padding: 25px;
        border-radius: 15px;
    }

    h1 {
        font-size: 22px;
    }

    h2 {
        font-size: 18px;
    }

    input {
        font-size: 14px;
    }

    button {
        font-size: 14px;
    }

    table {
        font-size: 14px;
    }

    th, td {
        padding: 8px;
    }

    .admin-btn {
        width: 100%;
    }
}
