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

body {
    font-family: 'Roboto', sans-serif;
    background-color: #0d5e3e;
    background-image: url('../Images/green-felt.png');
    background-position: center center;
    background-size: cover;
    background-attachment: fixed;
    background-repeat: no-repeat;
    color: #ffffff;
    min-height: 100vh;
    position: relative;
    padding: 20px;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: -1;
}

.container {
    max-width: 900px;
    margin: 0 auto;
    width: 100%;
}

.back-link {
    display: inline-block;
    color: #ffffff;
    text-decoration: none;
    margin-bottom: 20px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.back-link:hover {
    text-shadow: 0 0 10px rgba(255, 204, 0, 0.8);
}

h1 {
    font-family: 'Oswald', sans-serif;
    font-weight: 600;
    font-size: 3rem;
    color: #ffffff;
    margin-bottom: 10px;
    letter-spacing: 2px;
}

.game-type {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 30px;
    font-style: italic;
}

.content {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    padding: 30px;
    line-height: 1.8;
}

h2 {
    font-family: 'Oswald', sans-serif;
    font-weight: 600;
    font-size: 2rem;
    color: #ffffff;
    margin: 30px 0 15px 0;
    letter-spacing: 1px;
}

h2:first-child {
    margin-top: 0;
}

p {
    margin-bottom: 15px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.6);
}

ol, ul {
    margin-left: 30px;
    margin-bottom: 15px;
}

li {
    margin-bottom: 8px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.6);
}

.highlight {
    color: #ffffff;
    font-weight: 600;
}

.warning {
    background: rgba(255, 200, 0, 0.2);
    border-left: 4px solid #ffffff;
    padding: 15px;
    margin: 20px 0;
    border-radius: 5px;
}

.card {
    display: inline-block;
    height: 50px;
    width: auto;
    vertical-align: middle;
    margin: 0 2px;
}

.card-inline {
    display: inline-flex;
    align-items: center;
    gap: 2px;
}

@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.5rem;
    }
}


/* ── Site Family Footer ──────────────────────────────────────── */
.site-family-footer {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.12);
    text-align: left;
}
.family-label {
    font-family: 'Oswald', sans-serif;
    font-size: 0.72rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.5);
    margin: 0 0 12px;
}
.family-cards {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}
.family-card {
    flex: 1;
    min-width: 140px;
    display: flex;
    flex-direction: column;
    border-radius: 8px;
    padding: 14px 16px;
    text-decoration: none;
    color: rgba(255,255,255,0.65);
    font-size: 0.82rem;
    background-size: cover;
    background-position: center;
    transition: opacity 0.2s;
}
.family-card:hover { opacity: 0.85; color: #fff; }
.family-card .fc-name {
    font-family: 'Oswald', sans-serif;
    font-size: 0.9rem;
    margin-bottom: 2px;
}
.family-card.current { cursor: default; pointer-events: none; }
.footer-copy {
    margin: 0;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.4);
    text-align: center;
}
