:root{
    --white:#fff; --black:#000;
  }

  /* page wrapper that englobes everything */
  body{
    margin:0;
    font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    color: var(--white);
    background: linear-gradient(to bottom, #0b3b86 0%, #5ea7ff 65%, #bfe0ff 100%);
    min-height:100svh;
  }
  .page{
    max-width: 1200px;
    margin: 0 auto;
    padding: 24px 20px 64px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }

  /* your oval styles (based on your snippet) */
  .oval{
    background: black;
    color: white;
    padding: 15px 25px;
    border-radius: 50%;
    font-size: 1.1rem;
    box-shadow: 0 0 20px rgba(255,255,255,0.5);
    max-width: 80%;
    border: 5px solid white; /* added border */
    display: inline-block;
    font-weight: 700;
    letter-spacing: .5px;
    cursor: pointer;
    user-select: none;
  }
  .oval:hover{ filter: brightness(.95); }

  .oval-title{
    background: black;
    color: white;
    /* make it an ellipse by giving more horizontal padding */
    padding: 14px 140px;
    border-radius: 50%;
    font-size: 1.6rem;
    box-shadow: 0 0 20px rgba(255,255,255,0.5);
    max-width: 100%;
    border: 10px solid white; /* added border */
    position: relative;
    top: 0;                 /* keep in flow since we now use the page wrapper */
    display: inline-block;
    font-weight: 800;
    letter-spacing: 6px;
    text-align: center;
    line-height: 1.2;
  }

  .buttons{
    display:flex;
    gap:18px;
    align-items:center;
    justify-content:center;
    flex-wrap: wrap;
    margin-top: 6px;
  }

  /* two black boxes area */
  .media-grid{
    width: 100%;
    display:grid;
    grid-template-columns: repeat(2, minmax(280px, 1fr));
    gap: 60px;
    margin-top: 18px;
  }
  .media-box{
    background: var(--black);
    border: 6px solid var(--white);
    min-height: 520px;
    padding: 12px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
  }
  .media-box h3{
    margin: 4px 0 10px;
    text-align:center;
    font-weight: 800;
    letter-spacing: 2px;
    color: var(--white);
  }
  .gallery{
    overflow: auto;
    padding-right: 4px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .thumb{
    width: 100%;
    aspect-ratio: 9 / 16;
    object-fit: cover;
    border: 2px solid var(--white);
    cursor: pointer;
  }
  .thumbY{
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
    border: 2px solid var(--white);
    cursor: pointer;
  }
  .thumb:hover{ opacity: .85; }

  /* modal for enlarged view */
  .modal{
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.86);
    display: none;               /* shown via JS */
    align-items: center;
    justify-content: center;
    padding: 22px;
    z-index: 1000;
  }
  .modal.open{ display:flex; }
  .modal-inner{
    background: #000;
    border: 4px solid #fff;
    width: min(1000px, 92vw);
    padding: 10px;
    width: 50%;
 
  }
  .modal-inner iframe,
  .modal-inner img,
  .modal-inner video{
    width: 100%;
    height: auto;
    aspect-ratio: 9/16;
    display: block;
  }
  .modal-close{
    position: absolute;
    top: 16px;
    right: 22px;
    font-size: 36px;
    color: #fff;
    cursor: pointer;
    line-height: 1;
  }

  /* responsive tweaks */
  @media (max-width: 900px){
    .oval-title{ padding: 12px 60px; font-size: 1.3rem; letter-spacing: 4px; width: 80%; }
    .media-grid{ gap: 28px; }
  }
  @media (max-width: 640px){
    .media-grid{ grid-template-columns: 1fr; }
  }

  /* ✅ Extra small screens (phones ≤480px) */
@media (max-width: 480px){

  body {
    font-size: 14px;
  }

  .page {
    padding: 16px 12px 48px;
    gap: 12px;
  }

  .oval-title {
    padding: 10px 28px;   /* much less horizontal padding */
    font-size: 1rem;
    letter-spacing: 2px;
    border-width: 6px;
    max-width: 80%;
    line-height: 1.3;
    word-break: break-word; /* prevent overflow */
  }

  .oval {
    padding: 10px 16px;
    font-size: 0.9rem;
    border-width: 3px;
    text-align: center;
  }

  .buttons {
    flex-direction: column;
    gap: 10px;
    margin-top: 4px;
  }

  .media-grid {
    grid-template-columns: 1fr;
    gap: 18px;
    margin-top: 12px;
  }
  .social-icons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 10px;
  }
  
  .social-icons a {
    color: white;
    font-size: 20px;
    text-decoration: none;
  }

  .box {
    border: 2px solid white;
    background: black;
    color: white;
    padding: 15px;
    margin: 10px;
    text-align: center;
    font-family: "Exo", sans-serif;
  }

   .social {
    width: 300px;
  }
  .media-box {
    min-height: 300px;
    padding: 8px;
    border-width: 4px;
  }
  .media-box h3 {
    font-size: 1rem;
    letter-spacing: 1px;
  }

  .thumb {
    border-width: 1px;
    display: block;
    width: 100%;
    margin: 0 auto;
    border: none;
    aspect-ratio: 9 / 16;
  }

  .modal-inner {
    border-width: 3px;
    padding: 6px;
    width: 100%;
  max-width: 800px;
  aspect-ratio: 9 / 16;
  display: block;
  margin: 0 auto;
  border: none;
  }
  .modal-close {
    font-size: 28px;
    top: 10px;
    right: 14px;
  }
}
