@font-face {
      font-family: 'Patrick Hand SC';
      src: url('./Fonts/PatrickHandSC-Regular.ttf') format('truetype');
      font-weight: normal;
      font-style: normal;
    }
    html, body {
      height: 100%;
      margin: 0;
      padding: 0;
    }
    body {
      background-color: #051f3f;
      background-image: url('./images/placeholder.png');
      background-repeat: no-repeat;
      background-position: center center;
      background-size: cover;
      min-height: 100vh;
      width: 100vw;
      font-family: 'Segoe UI', Arial, sans-serif;
      display: flex;
      align-items: center;
      justify-content: center;
      box-sizing: border-box;
      overflow-x: hidden;
    }
    .container {
      width: 100%;
      max-width: 380px;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      margin-top: -30px; /* Push up by 30px */
    }
    h1.hand-font {
      font-family: 'Patrick Hand SC', Arial, sans-serif;
      color: #fff;
      font-size: 3.1em;
      font-weight: bold;
      margin-bottom: 40px;
      letter-spacing: 0.04em;
      text-align: center;
      text-shadow:
        0 3px 16px #040f2c,
        0 1px 1px #000;
      line-height: 1.1;
    }
    ul.menu-list {
      list-style: none;
      padding: 0;
      margin: 0;
      width: 100%;
      display: flex;
      flex-direction: column;
      align-items: center;
    }
    .menu-list li {
      margin: 17px 0 0 0; /* Previously 20px. Now reduced by ~15% */
      width: 100%;
      display: flex;
      justify-content: center;
    }
    .menu-list li:first-child {
      margin-top: 0; /* Remove top margin from first button */
    }
    .menu-btn {
      width: 100%;
      max-width: 340px;
      box-sizing: border-box;
      padding: 18px 0;
      font-size: 1.2em;
      font-weight: 600;
      text-decoration: none;
      color: #fff;
      background: #6474b6;
      border: 2px solid #bcbec0; /* Subtle gray border */
      border-radius: 14px;
      box-shadow:
        0 4px 18px 4px rgba(40,40,40,0.30), /* Stronger drop shadow */
        0 1.5px 3px #25252544; /* Subtle hard edge shadow */
      transition: background 0.3s, transform 0.2s;
      cursor: pointer;
      display: flex;
      justify-content: center;
      align-items: center;
      text-align: center;
    }
    .menu-btn:active,
    .menu-btn:hover {
      background: #364079;
    }

    /* --- New Layout Styles --- */

/* Main Container - Updated for two columns */
.container {
  flex-direction: row; /* Arrange items side-by-side */
  justify-content: space-around; /* Add space between columns */
  align-items: center;
  max-width: 900px; /* Widen the container for desktop */
  gap: 2rem; /* Add a gap between the columns */
}

/* Column Definitions */
.left-column {
  flex: 1; /* Allow column to grow */
  max-width: 400px;
}
.right-column {
  flex: 1; /* Allow column to grow */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* Profile Image Style */
.profile-image {
  max-width: 300px;
  height: auto;
  /* This filter creates a shadow similar to your mockup */
  filter: drop-shadow(0px 5px 15px rgba(0,0,0,0.5));
}

/* --- Responsive Styles for Mobile --- */
@media (max-width: 768px) {
  .container {
    /* Stack columns on top of each other on mobile */
    flex-direction: column-reverse;
    margin-top: 2rem; /* Add some space at the top on mobile */
  }
  
  h1.hand-font {
    margin-bottom: 20px; /* Reduce space below title on mobile */
  }

  .right-column {
    margin-bottom: 2rem; /* Add space between image and buttons */
  }
}

/* --- Enhanced Mobile Landscape Layout --- */
/* This code only applies to devices with a landscape orientation, 
   like a phone turned sideways. */

@media (max-width: 900px) and (orientation: landscape) {
  
  /* Re-establish the two-column layout */
  .container {
    flex-direction: row;
    gap: 1.5rem; /* A slightly smaller gap */
  }

  /* Reduce the size of the buttons */
  .menu-btn {
    font-size: 0.9em; /* Smaller font */
    padding: 12px 0;   /* Less vertical padding */
    border-radius: 10px;
  }
  
  /* Reduce the margin between buttons */
  .menu-list li {
    margin: 10px 0 0 0;
  }

  /* Reduce the size of the title */
  h1.hand-font {
    font-size: 2.5em;
  }

  /* Reduce the size of the image */
  .profile-image {
    max-width: 200px;
  }
}