/* ============================================================
   ChikChikGame.com — Web Site Stili
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Press+Start+2P&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg-dark: #0a0418;
  --bg-mid: #1d0b3a;
  --accent: #FFD700;
  --accent2: #FF6B2B;
  --text: #EEDDFF;
  --text-dim: #8877AA;
}

html, body {
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-mid) 50%, #3d0c35 100%);
  color: var(--text);
  font-family: 'Press Start 2P', 'Courier New', monospace;
  overflow-x: hidden;
}

/* ── Üst Bar ── */
.top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 24px;
  background: rgba(0,0,0,0.4);
  border-bottom: 2px solid rgba(255,215,0,0.2);
}

.logo {
  font-size: 18px;
  color: var(--accent);
}

.logo span {
  margin-left: 4px;
}

nav {
  display: flex;
  gap: 16px;
  align-items: center;
}

.store-btn {
  background: var(--accent2);
  color: #FFF;
  padding: 8px 16px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 10px;
  transition: transform 0.2s, background 0.2s;
}

.store-btn:hover {
  background: #FF8C50;
  transform: scale(1.05);
}

.nav-link {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 9px;
  transition: color 0.2s;
}

.nav-link:hover {
  color: var(--accent);
}

/* ── Ana Düzen ── */
.game-layout {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 80px;
  padding: 20px;
  min-height: calc(100vh - 140px);
}

/* ── Reklam Panelleri ── */
.ad-panel {
  width: 160px;
  flex-shrink: 0;
  display: flex;
  align-items: flex-start;
  padding-top: 20px;
}

.ad-placeholder {
  width: 160px;
  height: 600px;
  background: rgba(255,255,255,0.03);
  border: 1px dashed rgba(255,215,0,0.15);
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.15);
  font-size: 10px;
  gap: 8px;
}

.ad-placeholder.banner {
  width: 728px;
  height: 90px;
  max-width: 100%;
}

/* ── Oyun Container ── */
.game-container {
  width: 400px;
  height: 700px;
  flex-shrink: 0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 
    0 0 40px rgba(138, 92, 245, 0.3),
    0 0 80px rgba(217, 70, 239, 0.1),
    0 8px 32px rgba(0,0,0,0.5);
  border: 2px solid rgba(138, 92, 245, 0.3);
}

#game-frame {
  width: 400px;
  height: 700px;
  border: none;
  display: block;
}

/* ── Alt Bar ── */
.bottom-bar {
  text-align: center;
  padding: 16px;
  background: rgba(0,0,0,0.4);
  border-top: 2px solid rgba(255,215,0,0.1);
}

.ad-banner {
  display: flex;
  justify-content: center;
  margin-bottom: 12px;
}

.copyright {
  font-size: 8px;
  color: var(--text-dim);
}

.copyright a {
  color: var(--accent);
  text-decoration: none;
}

/* ── Mobil Responsive ── */
@media (max-width: 900px) {
  .ad-panel {
    display: none !important;
  }
  
  .game-layout {
    padding: 0;
    gap: 0;
  }
  
  .game-container {
    width: 100vw;
    height: 100vh;
    border-radius: 0;
    border: none;
    box-shadow: none;
  }
  
  #game-frame {
    width: 100%;
    height: 100%;
  }
  
  .top-bar, .bottom-bar {
    display: none;
  }
  
  .ad-banner {
    display: none;
  }
}

@media (max-width: 1200px) and (min-width: 901px) {
  .ad-panel {
    width: 120px;
  }
  
  .ad-placeholder {
    width: 120px;
    height: 500px;
  }
}
