
body { font-family: system-ui, sans-serif; background: linear-gradient(lightblue,white); background-attachment: fixed; margin:0; color: #fff; }

#game { width: 100%; max-width: 1000px; margin: auto; padding: 1rem; text-align: center; }

#game-line { display: flex; align-items: flex-start;  }
#game-line span { font-weight: bold }
#game-line a:link { text-decoration:none }
#game-line span a:hover { color:red }

h3,h2  { font-family: 'Bagel Fat One'; display: inline-block;  margin:0 0 0 auto;  }
h3,h2 a { text-decoration: none; color: inherit; }
h3:hover,h2:hover,h1:hover a:hover { color: #0066ff; }
h1 { font-family: 'Bagel Fat One'; font-size: 3em; padding: 0px; margin: 0; line-height: 1; }

#status { display: flex; justify-content: space-around; background: rgba(0, 0, 0, 0.4); padding: 10px; border-radius: 8px; margin-bottom: 10px; }


#game-container { display: flex; flex-direction: column; align-items: center; justify-content: space-evenly; height: 100vh; width: 100vw; position: relative; 
  width: 50%;      /* Requires a width less than the parent */
  margin-left: auto;
  margin-right: auto;

}

#board-wrapper { background: #5d4037; padding: 12px; border-radius: 10px; border: 5px solid #f39c12; box-shadow: 0 20px 50px rgba(0,0,0,0.25); }

#checkers-board { display: grid; grid-template-columns: repeat(8, 1fr); grid-template-rows: repeat(8, 1fr); width: 90vw; height: 90vw; max-width: 562px; max-height: 562px; background: #fdf5e6; border: 1px solid #333; z-index:110; }

.square { width: 100%; height: 100%; position: relative; display: flex; justify-content: center; align-items: center; }
.square.dark { background: #78ab4e; }
.piece { width: 72%; height: 72%; border-radius: 50%; cursor: pointer; z-index: 5; position: absolute; box-shadow: inset 0 5px 10px rgba(0,0,0,0.6), inset 0 -1px 3px rgba(255,255,255,0.2), 0 4px 8px rgba(0,0,0,0.3); transition: transform 0.2s; }
.piece.player { background: radial-gradient(circle, #333, #000); border: 1px solid #111; }

.piece.ai { background: radial-gradient(circle, #961d1d, #e74c3c); border: 1px solid #7b241c; }

.piece::before { content: ''; position: absolute; top: 20%; left: 20%; right: 20%; bottom: 20%; border-radius: 50%; border: 1px solid rgba(255,255,255,0.05); box-shadow: inset 0 2px 5px rgba(0,0,0,0.4); }

.piece.king::after { content: ''; position: absolute; top: 50%; left: 50%; width: 55%; height: 55%; transform: translate(-50%, -50%); background-color: #f1c40f; -webkit-mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M5 16L3 5L8.5 10L12 4L15.5 10L21 5L19 16H5M19 19C19 19.6 18.6 20 18 20H6C5.4 20 5 19.6 5 19V18H19V19Z"/></svg>'); mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M5 16L3 5L8.5 10L12 4L15.5 10L21 5L19 16H5M19 19C19 19.6 18.6 20 18 20H6C5.4 20 5 19.6 5 19V18H19V19Z"/></svg>'); -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; -webkit-mask-position: center; mask-position: center; }
.piece.selected { transform: scale(1.1) translateY(-8px); box-shadow: 0 15px 30px rgba(0,0,0,0.4), 0 0 20px #f1c40f; z-index: 50; }
.piece.can-jump { animation: pulse-gold 1.5s infinite; }
@keyframes pulse-gold { 0% { box-shadow: 0 0 0 0 rgba(241, 196, 15, 0.7); } 70% { box-shadow: 0 0 0 15px rgba(241, 196, 15, 0); } 100% { box-shadow: 0 0 0 0 rgba(241, 196, 15, 0); } }

/*#game-over-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(44, 62, 80, 0.95); z-index: 2000; display: none; flex-direction: column; align-items: center; justify-content: center; color: #fff; font-family: 'Bagel Fat One'; text-align: center; }
*/

#game-over-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.2); z-index: 2000; display: none; flex-direction: column; align-items: center; justify-content: center; color: #fff; font-family: 'Bagel Fat One'; text-align: center; }

.modal-content h2 { font-size: 3.5rem; margin: 0; color: #f1c40f; }
.modal-content p { font-size: 1.5rem; margin: 10px 0 30px; }
.modal-content button { padding: 15px 45px; font-size: 1.2rem; background: #3498db; color: white; border: none; border-radius: 50px; cursor: pointer; font-family: 'Titan One'; }

.player-avatar { text-align: center; opacity: 0.6; transition: 0.3s; }
.player-avatar.current-turn { opacity: 1; }
.player-avatar img { width: 80px; height: 80px; border-radius: 50%; border: 4px solid #fff; }
.player-avatar.current-turn img { border-color: #f1c40f; box-shadow: 0 0 20px #f1c40f; }



.label { font-family: 'Titan One'; font-size: 0.9rem; color: #2c3e50; margin-top: 8px; }


.footer
{
    margin: 0 auto;
    color: black;
    width: 100%;
    text-align:center;
}

.footer h4, .footer h5 {
    margin: 0 auto;
/*    font-family: 'Bagel Fat One'; */
    font-family: courier;
}

/*@@@@ negate mobile html elements @@@@@@@@@*/

#menu-toggle, #label-burger, #nav-hamburger {
    display:none;
}

#mobile-status {
    display:none;
}
  
/*@@@@ end negate mobile html elements @@@@@@@@@*/




/* @@@@@@@@@@@@@@@@@@@@@@@@@@@@ ADS START */
  
#gdc_mobile_ad {
    display:none;
} 
  
.gdc_ads h4 {
    margin-bottom:0px;
    margin-top:0px;
}

.gdc_ads {
    width:160px;
    height:300px;   
    text-align:center;
}

.gdc_ads_no_img {
    width:160px;
    height:300px;
    text-align:center;
    border: dashed dotted;
    display:none;
}

#gdc_ads_left, #gdc_no_ads_left {
    margin-left:40px;
    margin-top: 150px;
    float:left;
}

#gdc_ads_right, #gdc_no_ads_right {
    margin-right:40px; 
    margin-top: 150px;
    float:right;
}

/* ADS END @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ */

