/* Yumurta Avcısı game page */
.egg-game-promo-card{margin-top:22px;background:linear-gradient(110deg,#071b2b,#0d2d45);color:#fff;border-color:#274963;}
.egg-game-promo-card .game-promo{width:62%;}
.egg-game-promo-card .game-promo p:not(.game-kicker){color:#d5e1ec;}
.egg-game-card-art{position:relative;flex:1;min-width:0;display:flex;align-items:center;justify-content:center;overflow:hidden;background:radial-gradient(circle at 50% 40%,#31566b,#071827 72%);}
.egg-game-card-art img{width:72%;height:180px;object-fit:contain;filter:drop-shadow(0 10px 18px #0006);}
.egg-game-card-art span{position:absolute;right:14px;bottom:14px;border-radius:20px;padding:7px 14px;background:linear-gradient(135deg,#ffe29c,#f3bd4d);color:#071827;font-size:11px;font-weight:900;letter-spacing:1px;}
.egg-page{background:var(--paper);padding-bottom:50px;min-height:70vh;}
.egg-intro{padding-bottom:40px;}
.egg-game-shell{width:min(100% - 32px,1000px);margin:28px auto 0;padding:20px;border:1px solid #274b65;border-radius:20px;background:linear-gradient(145deg,#071b2b,#0b2b43);box-shadow:0 20px 55px #061a2b20;color:#fff;}
.egg-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-bottom:12px;}
.egg-stats div{display:flex;flex-direction:column;gap:3px;padding:10px 14px;border:1px solid #2a4b62;border-radius:10px;background:#0b2235;}
.egg-stats span{font-size:10px;letter-spacing:1.5px;color:#a9c7dc;font-weight:800;}
.egg-stats strong{font-size:23px;color:#ffd67b;line-height:1.2;}
.egg-stage{position:relative;overflow:hidden;border:1px solid #31536a;border-radius:14px;background:#071523;aspect-ratio:12/7;min-height:300px;touch-action:none;}
#eggCanvas{display:block;width:100%;height:100%;touch-action:none;}
.egg-overlay{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:22px;background:linear-gradient(135deg,#061827d9,#0a2a43d9);backdrop-filter:blur(3px);}
.egg-overlay.hidden{display:none;}
.egg-overlay-chick{width:clamp(65px,12vw,110px);height:clamp(65px,12vw,110px);object-fit:contain;margin-bottom:4px;filter:drop-shadow(0 8px 12px #0006);}
.egg-overlay h2{margin:0 0 6px;color:#ffd67b;font-size:clamp(24px,4vw,38px);}
.egg-overlay p{max-width:450px;color:#e0eaf1;margin:0 0 17px;font-size:14px;}
.egg-mobile-help{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;padding:13px 2px 5px;color:#c8d8e5;font-size:12px;}
.egg-game-actions{display:flex;gap:10px;flex-wrap:wrap;padding:10px 0;}
.egg-game-actions .button{cursor:pointer;}
.egg-rules{margin:7px 0 0;padding-top:14px;border-top:1px solid #29485f;color:#cfdeea;font-size:13px;}
.egg-rules b{color:#ffd67b;}
@media(max-width:760px){.egg-game-promo-card{flex-direction:column;}.egg-game-promo-card .game-promo{width:100%;}.egg-game-card-art{min-height:180px;}.egg-game-card-art img{height:155px;}.egg-game-shell{width:calc(100% - 20px);padding:11px;border-radius:14px;margin-top:16px;}.egg-stats{gap:6px;}.egg-stats div{padding:8px 9px;}.egg-stats strong{font-size:19px;}.egg-stats span{font-size:9px;letter-spacing:.8px;}.egg-stage{aspect-ratio:3/4;min-height:390px;max-height:65vh;}.egg-mobile-help{font-size:11px;}.egg-game-actions{display:grid;grid-template-columns:1fr 1fr;}.egg-game-actions #eggRestart{grid-column:1/-1;}}
@media(prefers-reduced-motion:reduce){.egg-game-shell *{scroll-behavior:auto;}}

/* Büyük oyun alanı: geniş masaüstü, uyumlu telefon görünümü */
.egg-page .egg-game-shell{width:min(calc(100% - 40px),1400px);margin-top:22px;padding:clamp(12px,2vw,24px)}
.egg-page .egg-stage{aspect-ratio:16/9;min-height:560px;max-height:78vh}
.egg-page #eggCanvas{width:100%;height:100%}
@media(max-width:900px){.egg-page .egg-game-shell{width:calc(100% - 24px)}.egg-page .egg-stage{min-height:440px;max-height:72vh}}
@media(max-width:760px){.egg-page .egg-stage{aspect-ratio:4/5;min-height:400px;max-height:68vh}}

/* Colorful illustrated cover for Yumurta Avcısı start/game-over screen */
.egg-stage .egg-overlay{
  background-image:linear-gradient(180deg,rgba(4,18,32,.36),rgba(4,18,32,.76)),url('assets/game-covers/yumurta-kapak.jpg');
  background-size:cover;
  background-position:center;
  border-radius:12px;
}
.egg-stage .egg-overlay-chick{filter:drop-shadow(0 6px 12px #0008);}
.egg-stage .egg-overlay h2,.egg-stage .egg-overlay p{text-shadow:0 2px 8px #001522;}


/* Final fix: give the egg game a tall, roomy playfield and keep controls visible. */
.egg-page .egg-game-shell{max-width:1500px;margin-inline:auto;padding:clamp(10px,1.5vw,22px);}
.egg-page .egg-stage{width:100%;height:clamp(480px,68vh,760px);min-height:480px;max-height:none;aspect-ratio:auto;}
.egg-page #eggCanvas{display:block;width:100%;height:100%;touch-action:none;}
.egg-page .egg-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;}
.egg-page .egg-game-actions{display:flex;flex-wrap:wrap;gap:10px;justify-content:center;padding:12px 0;}
.egg-page .egg-mobile-help{display:flex;flex-wrap:wrap;justify-content:space-between;gap:8px;}
@media(max-width:800px){
 .egg-page .egg-stage{height:clamp(400px,62vh,620px);min-height:400px;}
 .egg-page .egg-stats{grid-template-columns:repeat(2,minmax(0,1fr));}
}
@media(max-width:480px){
 .egg-page .egg-game-shell{padding:8px;}
 .egg-page .egg-stage{height:58vh;min-height:360px;}
 .egg-page .egg-game-actions .button{flex:1 1 auto;}
}

/* Compact game title header: less empty space, no extra intro text. */
.egg-page .egg-intro-compact{
  width:min(980px,calc(100% - 32px));
  max-width:980px;
  margin:0 auto 14px;
  padding:16px 20px;
  min-height:0;
  text-align:center;
  border-radius:0 0 14px 14px;
}
.egg-page .egg-intro-compact h1{margin:0;font-size:clamp(25px,3vw,36px);line-height:1.15}
@media(max-width:600px){.egg-page .egg-intro-compact{width:calc(100% - 20px);padding:13px 12px;margin-bottom:10px}}
