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

body {  font-family:  system-ui, sans-serif;  background: url('assets/clouds_background.jpg'), RGB(123, 203, 238);   background-size: cover; background-position: center; background-attachment: fixed; ; margin:0; color: #33CCFF; }


#game { width: 100%; max-width: 1000px; margin: auto; padding: 1rem; text-align: center; position: relative; }
/*#game-line { display: flex; justify-content: space-between; align-items: 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 }


#gameline h3,h2 { color: /*lightblue*/ #33CCFF; }

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 { color: blue; } */
h3:hover,h2:hover,h1:hover a:hover { color: #0066ff; }

h1 { font-family: 'Bagel Fat One'; font-size: 3em; margin: 0; line-height: 1; }

#status {
  display: flex;
  gap: 20px;
  background: rgba(0, 0, 0, 0.4);
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: bold;
}

.controls button, #play-again-btn {
  padding: 8px 16px;
  font-size: 1rem;
  font-weight: bold;
  background: darkorange;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  margin-left: 5px;
}

.controls button:hover, #play-again-btn:hover {
  background: #e67e22;
}

#table {
  position: relative;
  background: #06661e;
  border-radius: 20px;
  margin: 0 auto;
  padding: 20px;
  box-shadow: inset 0 0 50px rgba(0,0,0,0.5);
  border: 4px solid darkorange;
  min-height: 600px;
  width:900px;
}

.top-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 30px;
}

.pile-group, .foundation-group {
  display: flex;
  gap: 15px;
}

.tableau-row {
  display: flex;
  justify-content: space-between;
  min-height: 400px;
}

.tableau-col {
  width: 80px;
  min-height: 120px;
  position: relative;
  border: 2px dashed rgba(255,255,255,0.2);
  border-radius: 6px;
}

.pile-slot {
  width: 80px;
  height: 112px;
  border: 2px dashed rgba(255,255,255,0.3);
  border-radius: 6px;
  position: relative;
  box-sizing: border-box;
}

.card {
  width: 80px;
  height: 112px;
  border-radius: 6px;
  position: absolute;
  cursor: grab;
  box-shadow: 0 2px 6px rgba(0,0,0,0.4);
  user-select: none;
}

.card.face-down {
  background-color: #1a2a6c;
  border: 2px solid #fff;
  /*background-image: repeating-linear-gradient(45deg, #2c3e50 0, #2c3e50 10px, #34495e 10px, #34495e 20px); */
  background-size: contain !important;
  background: url("assets/cards/back2.svg");
}

/* Victory Overlay */
#game-over {
  display: none;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /*background: rgba(0, 0, 0, 0.75);*/
  background: rgba(0, 0, 0, 0.40);
  z-index: 1000;
  justify-content: center;
  align-items: center;
  border-radius: 20px;
}

.modal-content {
  background: #2c3e50;
  padding: 30px 50px;
  border-radius: 12px;
  border: 3px solid darkorange;
  text-align: center;
}

.modal-content h2 {
  font-family: 'Bagel Fat One';
  font-size: 2.5rem;
  margin: 0 0 10px 0;
  color: #f1c40f;
}

.fountain-card {
  position: fixed;
  width: 80px;
  height: 112px;
  pointer-events: none;
  z-index: 999;
}


.screen-content img {
  width: 60%;   /* 6/10 of the screen width */
}  

.about { width:75%; margin:0 auto; color:black;  }

.about h2, .about h3, .about h4 {
    font-family: 'Bagel Fat One';
    color:#228B22; /* forest green */
}


/* Rotations relative to South (You) */
.point-left { transform: rotate(-90deg); }   /* Points to West */
.point-right { transform: rotate(90deg); }   /* Points to East */
.point-across { transform: rotate(0deg); }    /* Points to North */

.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;
}


/* @@@@@@@@ mobile edit to negate mobile html elements @@@ */  
#menu-toggle, #label-burger, #nav-hamburger {
    display:none;
}   

#mobile-scores {
    display:none;
}
/* @@@@@@@@@@@@@ mobile edit end @@@@@@@@@@@@@@@@@@@@@@@@@@*/



/* @@@@@@@@@@ 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 thin;
    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 @@@@@@@@@@@@@@@@@@@@@@ */



