:root{
  /* Color palette */
  --orange: rgb(205 144 81);   
  --grey-green: rgb(80 95 91);    
  --off-white: rgb(247 246 242);  
  --tan: rgb(225 199 172);  
  --brown-green: rgb(143 134 93); 
  --teal: rgb(67 180 192);

  --text: rgba(255,255,255,.92);
  --muted: rgba(255,255,255,.78);
  --shadow: 0 10px 28px rgba(0,0,0,.28);
  --shadow-lg: 0 15px 35px rgba(0,0,0,0.4);
}

.subtitle {
  color: var(--muted);
  font-weight: 400;
  margin-top: -10px;
  margin-bottom: 35px;
  font-size: clamp(20px, 2vw, 24px);
}

body{
  margin: 0;
  font-family: "Source Sans Pro", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text);
  line-height: 1.55;
}

/* Background img + Dark overlay */
body::before {
    content: "";
    position: fixed;
    inset: 0;
    background: url('seven_bg_home.jpg') center / cover no-repeat;
    opacity: 0.9;
    z-index: -2;
}
body::after{
  content:"";
  position: fixed;
  inset: 0;
  background: radial-gradient(1200px 700px at 50% 10%, rgba(0,0,0,.35), rgba(0,0,0,.40));
  z-index: -1;
}

/* Logo */
.top-left-image {
    position: fixed;
    top: 14px;
    left: 14px;
    width: 200px;
    height: auto;
    z-index: 10;
}

.content {
    width: min(1100px, 92%); 
    margin: 0 auto;
    padding: 70px 18px 60px;
    text-align:center;
}

/* Header + Paragraphs */
.content h1{
  margin: 0 0 14px;
  font-weight: 700;
  letter-spacing: 0.5px;
  line-height: 1.15;
  padding-bottom: 20px;
  font-size: clamp(28px, 3.2vw, 35px);
  text-shadow: 0 8px 20px rgba(0,0,0,.35);
}
.content p{
  margin: 0 auto 15px;
  max-width: 68ch;
  font-size: clamp(15px, 1.2vw, 17px);
  line-height: 1.6;
  color: var(--muted);
  text-shadow: 0 2px 8px rgba(0,0,0,.55);
  text-wrap: pretty;
  hyphens: auto;
}

/* Base structure for ALL buttons */
.btn {
    padding: 10px 20px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-family: inherit;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.3px;
    border-radius: 50px;
    margin: 4px 2px;
    transition: transform .15s ease, box-shadow .15s ease, filter .15s ease;
    border: none; 
    cursor: pointer;
    color: white;
    box-sizing: border-box;
}

/* Colors for Active */
.btn-primary {
    background-color: rgb(103, 176, 183);
    box-shadow: 0 8px 18px rgba(0,0,0,.22);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(0 0 0 / .30);
    filter: brightness(1.08);
}

/* Colors for Disabled */
.btn-disabled {
    background-color: var(--grey-green);
    cursor: not-allowed;
    opacity: 0.7; /* Optional: makes it look more 'inactive' */
    box-shadow: none; /* Optional: flatter look for disabled */
}

/* Card layout */
.container{
    display: flex;
    justify-content: center;
    align-items: stretch;
    flex-wrap: wrap; /* for mobile */
    gap: 25px;
}

.game_card{
  width: 450px;
  margin: 0;
  border-radius: 12px;
  gap: 15px;
  padding: 22px 18px 20px;
  box-shadow: var(--shadow);
  background-color: rgba(132, 147, 143, 0.75);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  backdrop-filter: blur(6px) saturate(1.2);
  -webkit-backdrop-filter: blur(6px) saturate(1.2);
  transition: transform .2s ease, box-shadow .2s ease;
}

.game_card h2{
  margin: 12px 0 6px;
  font-size: 25px;
  font-weight: 700;
  letter-spacing: 0.4px;
}

.game_card p{
    flex-grow: 1;
}

.card-text {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  gap: 14px;
  text-align: left;
}

.card-text p {
  margin: 0;
}

.level-list {
  list-style: none;
  padding: 14px;
  margin: 10px 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: rgba(0, 0, 0, 0.15);
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.level-list li {
  font-size: 14.5px;
  color: var(--muted);
}

.level-list strong {
  color: var(--teal);
  display: inline-block;
  width: 70px;
}

.game_card form {
  margin: 0;
  width: 100%;
}

.game_card .btn {
  width: 100%; 
  box-sizing: border-box; 
}

/* --- Under Construction Badge --- */
.under-construction {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px;
    width: 100%;
    box-sizing: border-box;
    background: rgba(205, 144, 81, 0.15); 
    border: 1px dashed rgba(205, 144, 81, 0.4);
    border-radius: 8px;
    color: var(--orange);
    
    font-weight: 600;
    font-size: 15px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    user-select: none;
}

.under-construction svg {
    animation: gentle-bob 3s ease-in-out infinite;
}

@keyframes gentle-bob {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-3px); }
}