/* ===== RESET ===== */
*{
  box-sizing:border-box;
  margin:0;
  padding:0;
}

html,body{
  height:100%;
}

body{
  font-family:'Patrick Hand', cursive;
  background:#fff;
  color:#000;
}

/* ===== PAGE LAYOUT (KEY PART) ===== */
.page{
  min-height:100vh;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:space-between;

  width:min(92vw, 1400px);
  margin:0 auto;
  padding:16px 0;
}

/* ===== HEADER ===== */
.header{
  width:100%;
  display:flex;
  justify-content:space-between;
  align-items:center;

  border:2.5px solid #000;
  border-radius:16px;
  padding:12px 20px;
}

.header-left{
  display:flex;
  align-items:center;
  gap:12px;
}

.logo{
  width:64px;
}

.brand{
  font-size:40px;
}

.header-right{
  display:flex;
  gap:14px;
}

.icon{
  width:30px;
}

/* ===== HERO SECTION ===== */
.section-two{
  flex:1; 
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:center;
  gap:20px;
}

/* ===== CHARACTER ===== */
.hero-img{
  width:380px;
}

/* ===== BUBBLE ===== */
.bubble{
  background:#93b763;
  border:3px solid #2f3542;
  border-radius:16px;
  padding:18px 22px;
  text-align:center;
  max-width:700px;
}

.bubble-text{
  font-size:28px;
  line-height:1.3;
}

.bubble-ca{
  margin-top:10px;
  font-size:18px;
  font-weight:bold;
}

/* ===== FOOTER ===== */
.footer{
  padding:6px 0;
}

.footer p{
  font-size:14px;
  letter-spacing:1px;
  opacity:.6;
}


/* ===== RESPONSIVE ===== */

/* Tablets & small laptops */
@media (max-width: 1024px) {
  .brand {
    font-size: 32px;
  }

  .hero-img {
    width: 320px;
  }

  .bubble-text {
    font-size: 24px;
  }
}

/* Phones */
@media (max-width: 768px) {
  .page {
    width: 100%;
    padding: 12px 10px;
  }

  /* HEADER STACK */
  .header {
    flex-direction: column;
    gap: 12px;
    padding: 14px;
    text-align: center;
  }

  .header-left {
    flex-direction: column;
    gap: 6px;
  }

  .logo {
    width: 56px;
  }

  .brand {
    font-size: 28px;
  }

  .header-right {
    justify-content: center;
    gap: 18px;
  }

  .icon {
    width: 28px;
  }

  /* HERO */
  .section-two {
    gap: 16px;
  }

  .hero-img {
    width: min(78vw, 300px);
  }

  /* BUBBLE */
  .bubble {
    padding: 14px 16px;
  }

  .bubble-text {
    font-size: 20px;
  }

  .bubble-ca {
    font-size: 16px;
  }
}

/* Small phones */
@media (max-width: 480px) {
  .brand {
    font-size: 24px;
  }

  .hero-img {
    width: min(82vw, 260px);
  }

  .bubble-text {
    font-size: 18px;
  }

  .bubble-ca {
    font-size: 14px;
  }

  .footer p {
    font-size: 12px;
  }
}




/* ===== MEME SECTION ===== */
.meme-section {
  width: 100%;
  margin: 24px 0;
}

.meme-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.meme-grid img {
  width: 100%;
  height: auto;
  border-radius: 16px;
  border: 3px solid #000;
  object-fit: cover;
  background: #fff;
}

/* Tablet */
@media (max-width: 900px) {
  .meme-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile */
@media (max-width: 500px) {
  .meme-grid {
    grid-template-columns: 1fr;
  }
}
