/* En İyi Arkadaş Sertifikası — krem kâğıt, gold renk ve bordo tonlar */
:root {
  --zemin: #fbf3e4; --kart: #ffffff; --cizgi: #ecdcc0; --yazi: #2b1d16; --soluk: #7d6a5c;
  --vurgu: #8e2449; --gold: #b8892e; --r: 18px;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  min-height: 100dvh; color: var(--yazi);
  background: radial-gradient(ellipse at 50% -20%, #ffe3ea, var(--zemin) 55%) fixed var(--zemin);
  font: 16px/1.45 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  -webkit-tap-highlight-color: transparent;
}
a { color: inherit; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
.sar { max-width: 520px; margin: 0 auto; padding: 14px 16px 28px; }
.gizli { display: none !important; }
.soluk { color: var(--soluk); font-weight: 500; }

.ust { display: flex; justify-content: center; margin-bottom: 14px; }
.hap { text-decoration: none; font-size: 13px; padding: 6px 12px; border-radius: 99px; background: #fff; border: 1px solid var(--cizgi); color: var(--soluk); }
.hap b { color: var(--yazi); }

#giris { text-align: center; padding-top: 6px; }
.giris-emoji { display: flex; justify-content: center; gap: 12px; font-size: 44px; margin: 14px 0 6px; }
.giris-emoji span { animation: zipla 2.4s ease-in-out infinite; }
.giris-emoji span:nth-child(2) { animation-delay: .25s; } .giris-emoji span:nth-child(3) { animation-delay: .5s; }
@keyframes zipla { 0%, 60%, 100% { transform: translateY(0); } 30% { transform: translateY(-10px); } }
h1 { font-family: Georgia, "Times New Roman", serif; font-size: clamp(34px, 10vw, 46px); line-height: 1.04; margin: 6px 0 10px; letter-spacing: -0.01em; }
h1 em { color: var(--vurgu); }
.alt { color: var(--soluk); margin: 0 auto 18px; max-width: 420px; }
.not { font-size: 13px; color: var(--soluk); margin-top: 12px; }

.form { display: grid; gap: 6px; text-align: left; background: #fff; border: 1px solid var(--cizgi); border-radius: 22px; padding: 16px; }
.form label { font-weight: 800; font-size: 14px; margin-top: 6px; display: block; }
.form input, .form select {
  width: 100%; padding: 13px 13px; border: 2px solid var(--cizgi); border-radius: 14px; font-size: 17px; font-weight: 700;
  background: #fffcf6; outline: none; min-height: 52px; -webkit-appearance: none; appearance: none;
}
.form select { background-image: linear-gradient(45deg, transparent 50%, var(--soluk) 50%), linear-gradient(135deg, var(--soluk) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 34px; }
.form input:focus, .form select:focus { border-color: var(--vurgu); }
.form .dugme { margin-top: 12px; }
.ikili { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ikili > div { min-width: 0; }
.hata { margin: 8px 0 0; color: #b3261e; font-weight: 700; font-size: 14px; }

.dugme {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; width: 100%;
  padding: 16px 14px; border: 0; border-radius: var(--r); background: var(--vurgu); color: #fff;
  font-weight: 800; font-size: 17px; text-decoration: none; text-align: center; line-height: 1.2;
  box-shadow: 0 6px 18px -8px var(--vurgu);
}
.dugme:active { transform: scale(.98); }
.dugme.ikincil { background: #fff; color: var(--yazi); border: 1px solid var(--cizgi); box-shadow: none; font-size: 16px; }
.dugme.wa { background: #1faa59; box-shadow: 0 6px 18px -8px #1faa59; }
.dugmeler { display: grid; gap: 10px; margin-top: 16px; }
.geri { background: none; border: 0; color: var(--soluk); font-weight: 700; padding: 8px 0; }

.ust-yazi { text-align: center; font-weight: 800; font-size: 18px; margin: 4px 0 12px; }
.kart-sar { border-radius: 14px; overflow: hidden; box-shadow: 0 22px 40px -22px #5a2a12aa, 0 0 0 1px #00000010; animation: belir .6s both; background: #fdf7e8; }
.kart-sar canvas { display: block; width: 100%; height: auto; aspect-ratio: 1080 / 1350; }
@keyframes belir { from { opacity: 0; transform: translateY(10px) scale(.96) rotate(-1deg); } }

/* öneri */
.oneri { margin-top: 22px; background: #fff; border: 1px solid var(--cizgi); border-radius: 22px; padding: 18px 16px; }
.oneri h3 { margin: 0 0 4px; font-size: 20px; }
.oneri-alt { margin: 0 0 14px; color: var(--soluk); font-size: 15px; }
.urunler { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.urun { display: flex; flex-direction: column; text-decoration: none; border: 1px solid var(--cizgi); border-radius: 16px; overflow: hidden; background: #fff; }
.urun img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; display: block; background: #f6efe3; }
.urun .kim { font-size: 12px; font-weight: 800; color: var(--vurgu); padding: 8px 10px 0; overflow-wrap: anywhere; }
.urun .ad { font-size: 14px; font-weight: 800; padding: 4px 10px 2px; line-height: 1.25; }
.urun .renk { font-size: 12px; color: var(--soluk); padding: 0 10px; }
.urun .git { margin: auto 8px 8px; margin-top: 10px; padding: 10px 4px; white-space: nowrap; border-radius: 12px; background: #f27a1a; color: #fff; font-weight: 800; font-size: 14px; text-align: center; }

.imza { margin-top: 22px; font-size: 12px; color: var(--soluk); text-align: center; }
.imza a { color: var(--soluk); }

#bildirim { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 40px); opacity: 0; transition: .25s; background: var(--yazi); color: #fff; padding: 10px 16px; border-radius: 99px; font-weight: 700; z-index: 9; pointer-events: none; }
#bildirim.acik { opacity: 1; transform: translate(-50%, 0); }
