@font-face {
    font-family: Montserrat;
    src: url(fonts/Montserrat-VariableFont_wght.ttf);
}

body {
    font-family: Arial, sans-serif;
    text-align: center;
    background-color: #f4f4f4;
}

h1 {
    color: #333;
}

.game-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    padding: 20px;
    max-width: 1000px;
    margin: auto;
}

.game {
    background: white;
    padding: 10px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: 0.3s;
}

.game:hover {
    transform: scale(1.05);
}

.game img {
    width: 100%;
    height: auto;
    border-radius: 5px;
}

.game a {
    display: block;
    margin-top: 8px;
    font-weight: bold;
    text-decoration: none;
    color: #333;
}

#drivinglink {
    position: absolute;
    font-family: Montserrat;
    color: #333;
    top: 10px;
    right: 1px;
}

#searchInput {
  padding: 10px;
  width: 80%;
  max-width: 400px;
  font-size: 16px;
  margin-bottom: 20px;
  border: 2px solid #ccc;
  border-radius: 8px;
}


#retrolink {
    position: absolute;
    font-family: Montserrat;
    color: #333;
    top: 10px;
    right: 100px;
}

#skilllink {
    position: absolute;
    font-family: Montserrat;
    color: #333;
    top: 10px;
    left: 1px;
}

#calmlink {
    position: absolute;
    font-family: Montserrat;
    color: #333;
    top: 10px;
    left: 100px;
}

#shootinglink {
    position: absolute;
    font-family: Montserrat;
    color: #333;
    top: 10px;
    left: 200px;
}

#suggestionslink {
    position: absolute;
    font-family: Montserrat;
    color: #333;
    top: 10px;
    left: 300px;
}

#papasalley {
    position: absolute;
    font-family: Montserrat;
    color: #333;
    top: 10px;
    left: 500px;
}

#randomsports {
    position: absolute;
    font-family: Montserrat;
    color: #333;
    top: 10px;
    left: 800px;
}

#scrollToTopBtn {
  display: none;
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 99;
  border: none;
  outline: none;
  background-color: #007bff;
  color: white;
  cursor: pointer;
  padding: 15px;
  border-radius: 10px;
  font-size: 18px;
}

#scrollToTopBtn:hover {
    background-color: #0056b3;
}

/* ===== Top navigation (responsive, replaces absolute-positioned links) ===== */
.site-nav {
    background: #1a1a2e;
    padding: 10px 15px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 100;
}

.site-nav a {
    font-family: Montserrat, Arial, sans-serif;
    color: #fff;
    text-decoration: none;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 14px;
    transition: background 0.2s;
}

.site-nav a:hover,
.site-nav a.active {
    background: #0056b3;
    color: #fff;
}

@media (max-width: 600px) {
    .site-nav {
        justify-content: flex-start;
        font-size: 13px;
    }
    .site-nav a {
        padding: 6px 8px;
        font-size: 13px;
    }
}

/* ===== Breadcrumbs ===== */
.breadcrumbs {
    font-family: Montserrat, Arial, sans-serif;
    font-size: 14px;
    color: #666;
    padding: 10px 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.breadcrumbs a {
    color: #007bff;
    text-decoration: none;
}

.breadcrumbs a:hover {
    text-decoration: underline;
}

/* ===== Ad slots ===== */
.ad-slot {
    max-width: 1000px;
    margin: 15px auto;
    min-height: 90px;
    text-align: center;
}

/* ===== Game frame (wrapper for iframe/object on game pages) ===== */
.game-frame {
    width: 100%;
    min-height: 70vh;
    margin: 0;
    padding: 0;
}

.game-frame iframe,
.game-frame object,
.game-frame embed {
    width: 100%;
    height: 70vh;
    border: none;
    display: block;
}

/* ===== Game description section ===== */
.game-description {
    max-width: 800px;
    margin: 20px auto;
    padding: 0 20px;
    line-height: 1.6;
    color: #333;
    text-align: left;
}

.game-description a {
    color: #007bff;
}

/* ===== Site footer ===== */
.site-footer {
    background: #1a1a2e;
    color: #ccc;
    text-align: center;
    padding: 20px 15px;
    margin-top: 30px;
    font-size: 14px;
}

.site-footer a {
    color: #00d4ff;
    text-decoration: none;
}

.site-footer a:hover {
    text-decoration: underline;
}

/* ===== Hero / intro on home ===== */
.hero {
    padding: 20px;
    max-width: 800px;
    margin: 0 auto;
}

.hero p {
    line-height: 1.6;
    color: #555;
}

/* ===== Cookie consent banner ===== */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: #1a1a2e;
    color: #fff;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px;
    box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.3);
    font-family: Montserrat, Arial, sans-serif;
    font-size: 14px;
}

.cookie-banner .cookie-text {
    flex: 1 1 320px;
    max-width: 800px;
    line-height: 1.5;
}

.cookie-banner .cookie-text a {
    color: #00d4ff;
    text-decoration: underline;
}

.cookie-banner .cookie-buttons {
    display: flex;
    gap: 10px;
    flex: 0 0 auto;
}

.cookie-btn {
    border: none;
    outline: none;
    cursor: pointer;
    padding: 8px 16px;
    border-radius: 6px;
    font-family: inherit;
    font-size: 14px;
    transition: background 0.2s;
}

.cookie-btn-accept {
    background: #007bff;
    color: #fff;
}
.cookie-btn-accept:hover {
    background: #0056b3;
}

.cookie-btn-deny {
    background: #444;
    color: #fff;
}
.cookie-btn-deny:hover {
    background: #2c2c2c;
}

@media (max-width: 600px) {
    .cookie-banner {
        flex-direction: column;
        align-items: stretch;
    }
    .cookie-banner .cookie-buttons {
        justify-content: stretch;
    }
    .cookie-btn {
        flex: 1;
    }
}