.content-box {
    display:flex;
    flex-direction:column;
    justify-content:start;
    align-items: center;
    height:100vh;
    margin-top: 100px;
}

.image-theme {
    width: auto;
    height: 80px;
}

.landing-wrapper {
    min-height: calc(100vh - 140px); /* grob: Header + Footer abgezogen */
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem 1rem;
}

.content-box-menu {
    max-width: 480px;
    width: 100%;
    height: 80%;
    padding: 2.5rem 2rem;
    border-radius: 1.25rem;

    /* background: rgba(15, 23, 42, 0.9); */
    border: 1px solid rgba(148, 163, 184, 0.4);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7);

    text-align: center;
    /*color: #e5e7eb;*/
    margin-top: 0px;
}

.content-box-game {
    max-width: 850px;
    width: 80%;
    height: 80%;
    padding: 2.5rem 2rem;
    border-radius: 1.25rem;

    /* background: rgba(15, 23, 42, 0.9); */
    border: 1px solid rgba(148, 163, 184, 0.4);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7);

    /*text-align: center;*/
    /*color: #e5e7eb;*/
    margin-top: 0px;
}

.content-box-board {
    display: flex;
    align-items: center;
    justify-content: center;
}

.header {
    font-size: 2.2rem;
    margin-bottom: 0.5rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.subtitle {
    margin-bottom: 2rem;
    font-size: 0.98rem;
    color: #9ca3af;
}

.button-row {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.button-start {
    width: 100%;
    border-radius: 999px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding-top: 0.8rem;
    padding-bottom: 0.8rem;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}

@media (min-width: 768px) {
    .content-box {
        padding: 3rem 2.5rem;
    }

    .landing-title {
        font-size: 2.5rem;
    }
}

body {
    margin: 0;
    font-family: system-ui, sans-serif;
    /*background: radial-gradient(circle at top, #3b82f6 0, #020617 50%, #000 100%);*/
    /*color: #e5e7eb;*/
}

.app-header {
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.app-title {
    font-size: 1.25rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.logo-circle {
    width: 40px;
    height: 40px;
    border-radius: 999px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, #facc15, #f97316);
    color: #0f172a;
    font-size: 1.4rem;
    box-shadow: 0 6px 18px rgba(0,0,0,0.5);
}

.app-footer {
    text-align: center;
    padding: 1rem 0;
    opacity: 0.7;
    position: fixed;
}

.button-start:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.45);
}

.landing-title {
    font-size: 2.3rem;
    margin-bottom: 0.5rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.landing-subtitle {
    margin-bottom: 2rem;
    font-size: 0.98rem;
    color: #9ca3af;
}


#piece-grid {
    display: grid;
    grid-template-columns: repeat(8, 50px);
    grid-auto-rows: 50px;
    gap: 4px;
}

.cell {
    width: 50px;
    height: 50px;
    box-sizing: border-box;
    border: 1px solid #ccc;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cell img {
    max-width: 90%;
    max-height: 90%;
}

.board-container svg {
  width: 800px;
  height: auto;
  display: block;
  overflow: visible;
}

.valid-move {
    fill: rgba(255, 0, 0, 0.6) !important;
}

