/* AlbertGPT.ai — v81-style single CSS file */

:root{
  --ink:#0b1d3a;
  --pink:#d81b60;
  --glass: rgba(255,255,255,0.78);
  --glass2: rgba(255,255,255,0.70);
  --ellipse1:#ffe8a3;
  --ellipse2:#f5b62f;
  --btn1:#ffeaa6;
  --btn2:#f1b41f;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: "Trebuchet MS", Arial, sans-serif;
  color:var(--ink);
  overflow-x:hidden;
}

/* Background */
.bg{
  position:fixed;
  inset:0;
  background:
    radial-gradient(ellipse at 30% 20%, rgba(255,255,255,0.20), rgba(255,255,255,0) 55%),
    url("assets/lotus.jpg") center/cover no-repeat;
  filter:saturate(1.05) contrast(1.03);
  transform:scale(1.02);
  z-index:-2;
}
.bg::after{
  content:"";
  position:absolute;
  inset:0;
  background:rgba(0,0,0,0.12);
  z-index:-1;
}

/* HERO */
.hero{
  height:100vh;
  position:relative;
}

/* Hero layout tuned to match v81 reference screenshot */
.hero-left{
  position:absolute;
  inset:0;
}

.hero-title{
  position:absolute;
  left:4.2vw;
  top:7vh;                 /* title sits in the top ~25% */
  width:min(760px, 86vw);  /* larger, closer to v81 screenshot */
  height:auto;
  display:block;
}

/* See more button positioned lower-left like v81 */
.btn-see-more{
  position:absolute;
  left:6.0vw;
  top:62vh;
  display:inline-block;
  padding:14px 44px;
  border-radius:999px;
  background: linear-gradient(180deg, var(--btn1), var(--btn2));
  color:#2a1d00;
  text-decoration:none;
  font-weight:700;
  letter-spacing:0.4px;
  box-shadow: 0 10px 24px rgba(0,0,0,0.22), inset 0 1px 0 rgba(255,255,255,0.7);
  border:1px solid rgba(120,80,0,0.30);
  /* move button right by its own width */
  }

/* CONTENT */
.content{
  width:min(1100px, 92vw);
  margin:0 auto;
  padding-bottom:90px;
}

/* After "See more", move everything down ~3 lines */
.panel:first-of-type{
  margin-top: 3.2em;   /* <-- key: down ~3 lines */
}

.panel{
  padding-top:30px;
}

/* Ellipse headers */


.ellipse-title{
  font-family: Georgia, "Times New Roman", serif;
  font-weight:700;
  font-size:46px;
  line-height:1.05;
  margin-bottom:10px;
}
.ellipse-sub{
  font-size:23px;
  font-weight:700;
  line-height:1.25;
}

/* Cards */
.cards{
  /* Flex rows so each card can be the same fixed width;
     the 3-card row will naturally "stick out" wider than the 2-card rows. */
  display:flex;
  gap:26px;
  margin:0 auto 26px auto;
  width:min(1100px, 96vw);
  justify-content:center;
}
.cards-2{justify-content:center;}
.cards-3{justify-content:center;}

.card{
  display:block;
  text-decoration:none;
  color:var(--ink);
  background: linear-gradient(180deg, var(--glass), var(--glass2));
  border:1px solid rgba(0,0,0,0.10);
  border-radius:16px;
  padding:24px 24px 26px 24px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.20);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  width: 345px;              /* bigger cards so text breathes */
  height: 240px;             /* more room at the bottom */
  overflow:hidden;
}
.card:hover{
  transform: translateY(-2px);
  transition: transform 140ms ease;
}

.card-title{
  font-size:33px;
  font-weight:900;
  color:var(--pink);
  text-shadow: 0 2px 0 rgba(0,0,0,0.10);
  margin:0 0 10px 0;
  line-height:1.05;
  display:-webkit-box;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:2;
  overflow:hidden;
}
.card-text{
  font-size:21px;
  font-weight:800;
  line-height:1.25;
  margin:0;
  display:-webkit-box;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:5;
  overflow:hidden;
}

/* Bottom section spacing */
.panel-bottom{
  /* big gap before the next subtitle */
  margin-top: 320px;
  padding-top: 14px;
}

/* Footer */
.footer{
  width:min(980px, 92vw);
  margin:34px auto 0 auto;
  display:flex;
  justify-content:flex-end;
  align-items:center;
  padding:14px 6px;
  color:rgba(255,255,255,0.92);
  text-shadow:0 1px 2px rgba(0,0,0,0.45);
}
.footer a{color:rgba(255,255,255,0.92); text-decoration:none; font-weight:700}

/* Responsive */
@media (max-width: 980px){
  .ellipse-title{font-size:40px}
  .ellipse-sub{font-size:20px}
  .card-title{font-size:30px}
  .card-text{font-size:19px}
}
@media (max-width: 760px){
  .cards{flex-direction:column; align-items:center;}
  .card{width:min(520px, 92vw); height:auto;}
  .hero-title{left:5vw; top:6vh; width:min(460px, 84vw)}
  .btn-see-more{left:7vw; top:64vh; transform:none}
  

}


/* Responsive: avoid overflow on narrow screens */
/* --- Fix: visible gold ellipses (2:1, compact) --- */
.ellipse-title{
  color: rgba(30,24,10,0.92);
  text-shadow: 0 1px 0 rgba(255,255,255,0.35);
}

.ellipse-sub{
  color: rgba(30,24,10,0.85);
}



.ellipse--wide{
  width: 620px;
  height: 310px;          /* 2:1 */
  aspect-ratio: 2 / 1;
  padding: 26px 54px;
  margin: 0 auto 26px auto;  /* centered */
}

/* Keep the text inside tidy */
.ellipse-title{ margin: 0; }
.ellipse-sub{ margin: 0; }

/* Responsive: keep 2:1 ratio and centered */
@media (max-width: 740px){
  .ellipse--wide{
    width: min(92vw, 620px);
    height: calc(min(92vw, 620px) / 2);
  }
}

/* --- Subtitle ellipses: exact 2:1, centered, same size --- */
.ellipse{
  width: 420px;            /* exact 2:1 */
  height: 210px;
  aspect-ratio: 2 / 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;

  margin: 0 auto;          /* centered */
  padding: 0 34px;         /* keeps text off edges without changing ratio */
  box-sizing: border-box;

  border-radius: 9999px;   /* true ellipse */
  background: radial-gradient(circle at 30% 25%, rgba(255,255,255,.55), rgba(255,255,255,0) 55%),
              linear-gradient(180deg, #f6d27a 0%, #d7a442 45%, #b98325 100%);
  border: 1px solid rgba(255, 234, 170, .75);
  box-shadow: 0 12px 30px rgba(0,0,0,.35), inset 0 1px 0 rgba(255,255,255,.45);
}

/* Keep internal typography tidy */
.ellipse .ellipse-title{
  margin: 0 0 10px 0;
}
.ellipse .ellipse-sub{
  margin: 0;
  max-width: 34ch;
}

/* Mobile: keep 2:1 while shrinking */
@media (max-width: 520px){
  .ellipse{
    width: min(92vw, 420px);
    height: calc(min(92vw, 420px) / 2);
    padding: 0 22px;
  }
}


/* ---------- Gold subtitle ellipses (TRUE 2:1) ---------- */
.ellipse{
  width: 520px;               /* 2:1 ratio */
  height: 260px;
  border-radius: 50%;         /* true ellipse */
  margin: 0 auto 34px auto;   /* space between ellipse and cards */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-sizing: border-box;

  /* gold look */
  background: linear-gradient(180deg, rgba(255, 232, 170, 0.95), rgba(200, 150, 60, 0.92));
  border: 2px solid rgba(255, 220, 140, 0.75);
  box-shadow: 0 14px 40px rgba(0,0,0,0.30);
}

/* content wrapper so padding doesn't break the 2:1 ratio */
.ellipse .ellipse-inner{
  width: 84%;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* keep headings and body balanced */
.ellipse-title{
  margin: 0;
  line-height: 1.05;
}

.ellipse-subtitle{
  margin: 0;
  line-height: 1.35;
}

/* Responsive: keep 2:1 ratio while fitting small screens */
@media (max-width: 640px){
  .ellipse{
    width: min(92vw, 520px);
    height: calc(min(92vw, 520px) / 2);
    margin-bottom: 26px;
  }
  .ellipse .ellipse-inner{ width: 88%; }
}

/* Ellipse title/description spacing + centering */
.ellipse .ellipse-inner{
  text-align: center;
  align-items: center;
  justify-content: center;
}

.ellipse .ellipse-title{
  text-align: center;
  width: 100%;
  margin: 0 auto;
}

.ellipse .ellipse-subtitle{
  text-align: center;
  width: 100%;
  margin: 18px auto 0 auto; /* gap between title and description */
  line-height: 1.4;
}

/* --- Fix: true visual centering inside ellipses --- */
.ellipse{
  position: relative;
}

.ellipse .ellipse-inner{
  width: 100% !important;
  padding: 0 60px !important;   /* symmetric padding so text block is centered */
  box-sizing: border-box !important;
  margin: 0 auto !important;
  text-align: center !important;
}

.ellipse .ellipse-title,
.ellipse .ellipse-subtitle{
  width: 100% !important;
  text-align: center !important;
}

.ellipse .ellipse-subtitle{
  margin-top: 20px !important;  /* clear gap under title */
}

/* remove any accidental left padding on paragraphs */
.ellipse p{
  padding-left: 0 !important;
  padding-right: 0 !important;
  margin-left: auto !important;
  margin-right: auto !important;
}


/* Reduce all card description text by one size step */
.card p{
  font-size: 0.95em !important;
}
