/* =========================== Genel ============================ */

* {

    margin: 0;

    padding: 0;

    box-sizing: border-box;

    font-family: Arial, Helvetica, sans-serif;

}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    color: #fff;
    background:
        radial-gradient(circle at 15% 10%, rgba(37,117,221,.20), transparent 25%),
        radial-gradient(circle at 85% 15%, rgba(56,139,230,.15), transparent 22%),
        radial-gradient(circle at 50% 100%, rgba(20,68,124,.12), transparent 35%),
        #0c1422;
    background-attachment: fixed;
    margin: 0;
    padding: 0;
}



/* =========================== Header ============================ */

header {

    background:

        radial-gradient(circle at top left, rgba(37,117,221,.12), transparent 45%),

        radial-gradient(circle at bottom right, rgba(56,139,230,.08), transparent 40%),

        rgba(14,29,49,.75);

    backdrop-filter: blur(10px);

    -webkit-backdrop-filter: blur(10px);

    display: flex;

    justify-content: space-between;

    align-items: center;

    padding: 0 50px;

    height: 80px;

    position: sticky;

    top: 0;

    z-index: 1000;

}

.logo img {

    height: 50px;

    width: auto;

    display: block;

}

nav ul {

    display: flex;

    list-style: none;

    gap: 30px;

}

nav a {

    text-decoration: none;

    color: rgba(125,184,246,0.862);

    transition: .25s;

}

nav a:hover {

    color: #7ebaff;

}



/* =========================== Link Button ============================ */

.LinksButton {

    display: inline-flex;

    align-items: center;

    gap: 8px;

    margin-right: auto;

    color: #78baff;

    text-decoration: none;

    transition: .25s;

}

.LinksButton:hover {

    color: #90c7ff;

}

.LinksButton-icon {

    font-size: 20px;

    color: #2874ca;

    margin-left: 20px;

    transition: color .25s;

}

.LinksButton:hover .LinksButton-icon {

    color: #90c7ff;

}

.LinksButton-title {

    line-height: 1;

}



/* =========================== Başlık ============================ */

.section-title {

    width: 90%;

    max-width: 1200px;

    margin: 20px auto;

    color: #78baff;

    font-size: 30px;

}



/* =========================== Kartlar ============================ */

.games {

    width: 90%;

    max-width: 1200px;

    margin: 30px auto;

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 25px;

}

.card {

    background: #14233a;

    border-radius: 12px;

    overflow: hidden;

    transition: .25s;

    background:

        radial-gradient(circle at top left, rgba(37,117,221,.10), transparent 40%),

        radial-gradient(circle at bottom right, rgba(56,139,230,.08), transparent 35%),

        #14233a;

}

.card:hover {

    transform: translateY(-5px);

    box-shadow: 0 8px 20px rgba(0, 0, 0, .45);

}

.card img {

    width: 100%;

    height: 300px;

    object-fit: cover;

    display: block;

}

.card-content {

    padding: 15px;

}

.card h3 {

    color: #dbeeff;

    margin-bottom: 10px;

}

.card p {

    color: #cfcfcf;

    margin-bottom: 15px;

    font-size: 15px;

}

.card button {

    width: 100%;

    padding: 12px;

    border: none;

    border-radius: 8px;

    background: #6bb3ff;

    color: white;

    cursor: pointer;

    transition: .25s;

}

.card button:hover {

    background: #7ebaff;

}



/* =========================== Footer ============================ */

footer {

    background:

        radial-gradient(circle at top left, rgba(37,117,221,.08), transparent 45%),

        radial-gradient(circle at bottom right, rgba(56,139,230,.06), transparent 40%),

        #112036;

    padding: 20px 0;

    margin-top: auto;

}

.footer-inner {

    max-width: 1200px;

    margin: 0 auto;

    padding: 0 20px;

    display: flex;

    justify-content: space-between;

    align-items: center;

    flex-wrap: wrap;

    gap: 15px;

}

.footer-left {

    display: flex;

    align-items: center;

    gap: 15px;

    flex-wrap: wrap;

}

.footer-logo-img {

    height: 60px;

    width: auto;

    display: block;

}

.footer-copy-wrapper {

    display: flex;

    flex-direction: column;

    line-height: 1.5;

}

.footer-copy {

    color: #9db9d8;

    font-size: 14px;

}

.footer-copy-alt {

    color: #9db9d8;

    font-size: 13px;

}

.footer-links {

    display: flex;

    gap: 20px;

    flex-wrap: wrap;

}

.footer-links a {

    color: #9db9d8;

    text-decoration: none;

    font-size: 14px;

    transition: .25s;

}

.footer-links a:hover {

    color: #6bb3ff;

}



/* =========================== Yama Sayfası ============================ */

.game-page {

    width: 90%;

    max-width: 1200px;

    margin: 40px auto;

    position: relative;

    flex: 1 0 auto;

}

.game-header {

    display: flex;

    gap: 40px;

    align-items: flex-start;

}

.cover {

    width: 500px;

    border-radius: 12px;

    box-shadow: 0 10px 25px rgba(0, 0, 0, .4);

}

.game-info {

    flex: 1;

}

.game-info h1 {

    color: #f2f2f2;

    margin-bottom: 15px;

    font-size: 38px;

}

.game-info p {

    color: #d5d5d5;

    margin-bottom: 10px;

    font-size: 17px;

}

.status {

    color: #6bb3ff;

}

.download-buttons {

    margin-top: 25px;

    display: flex;

    gap: 15px;

    flex-wrap: wrap;

}

.download-buttons a {

    background: #2874ca;

    color: white;

    text-decoration: none;

    padding: 12px 22px;

    border-radius: 8px;

    transition: .25s;

}

.download-buttons a:hover {

    background: #1d5eb6;

}

.game-page section {

    margin-top: 35px;

    background:

        radial-gradient(circle at top left, rgba(37,117,221,.08), transparent 45%),

        radial-gradient(circle at bottom right, rgba(56,139,230,.06), transparent 40%),

        #14233a;

    border-radius: 12px;

    padding: 25px;

}

.game-page h2 {

    color: #2874ca;

    margin-bottom: 18px;

}

.game-page p,

.game-page li {

    color: #d0d0d0;

    line-height: 1.8;

}

table {

    width: 100%;

    border-collapse: separate;

    border-spacing: 0;

}

table th {

    background: #2874ca;

    color: white;

    padding: 12px;

}

table td {

    padding: 12px;

    border-bottom: 1px solid #304d70;

}

th {

    background: #2874ca;

    color: white;

    padding: 14px;

}

th:first-child {

    border-top-left-radius: 12px;

}

th:last-child {

    border-top-right-radius: 12px;

}

.gallery {

    display: grid;

    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));

    gap: 20px;

}

.gallery img {

    width: 100%;

    border-radius: 10px;

    transition: .25s;

    cursor: pointer;

}

.gallery img:hover {

    transform: scale(1.03);

}

.gallery-placeholder {

    grid-column: 1 / -1;

    text-align: center;

    color: #9db9d8;

    font-size: 18px;

    padding: 50px 20px;

    background: rgba(0,0,0,0.2);

    border-radius: 12px;

    border: 1px dashed #304d70;

}

.progress {

    width: 300px;

    height: 24px;

    background: #101e32;

    border-radius: 20px;

    overflow: hidden;

    border: 1px solid #344d6b;

}

.progress-bar {

    height: 100%;

    background: linear-gradient(90deg, #2874ca, #8ac3ff);

    display: flex;

    justify-content: center;

    align-items: center;

    border-radius: 20px;

    transition: .4s;

}

.progress-wrapper {

    display: flex;

    align-items: center;

    gap: 18px;

}

.progress-percent {

    width: 45px;

    text-align: right;

    font-weight: bold;

    color: #fff;

}

.info-grid {

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 30px;

    margin-bottom: 70px;

}

.about-section,

.progress-section {

    height: 100%;

}

.about-section p {

    line-height: 1.8;

    text-align: justify;

}

.back-button {

    position: fixed;

    top: 100px;

    left: 55px;

    z-index: 999;

    display: flex;

    align-items: center;

    justify-content: center;

    width: 48px;

    height: 48px;

    background: rgba(17,34,56,0.85);

    backdrop-filter: blur(6px);

    -webkit-backdrop-filter: blur(6px);

    border-radius: 50%;

    color: #9db9d8;

    font-size: 22px;

    text-decoration: none;

    transition: .3s;

    border: 1px solid rgba(255, 255, 255, 0.08);

    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);

}

.back-button:hover {

    background: #78baff;

    color: #fff;

    transform: scale(1.08);

    border-color: #2874ca;

}



/* =========================== Emeği Geçenler ============================ */

.contributors-side {
    flex: 0 0 160px;
    height: 280px;
    overflow-y: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    background: #14233a;
    border: 1px solid #243c5b;
    border-radius: 12px;
    padding: 18px;
    transition: .25s;
    text-align: center;
}

.contributors-side::-webkit-scrollbar {
    display: none;
}

.contributors-side:hover {
    border-color: #78baff;
}

.contributors-side > h3:first-of-type {
    color: #d0d0d0;
    font-size: 18px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #2874ca;
}

.contributors-list {
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.contributors-list:last-child {
    margin-bottom: 0;
}

.contributors-list h3 {
    color: #9db9d8;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    margin: 0 0 10px 0;
    letter-spacing: 0.5px;
}

.contributors-list a {
    color: #d0d0d0;
    text-decoration: none;
    font-size: 16px;
    padding: 6px 20px;
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: .3s;
    display: inline-block;
    width: fit-content;
    text-align: center;
    margin: 0 auto;
}

.contributors-list a:hover {
    background: #78baff;
    color: #fff;
    transform: scale(1.05);
    border-color: #2874ca;
    box-shadow: 0 4px 12px rgba(37,117,221,0.3);
}


/* =========================== İndirme Kartları ============================ */

.downloads {

    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 20px;

}

.download-card {

    display: flex;

    align-items: center;

    gap: 18px;

    padding: 18px 22px;

    text-decoration: none;

    color: #fff;

    border-radius: 14px;

    background:

        radial-gradient(circle at top left, rgba(37,117,221,.10), transparent 45%),

        rgba(21,41,65,.75);

    backdrop-filter: blur(8px);

    transition: .25s;

}

.download-card:hover {

    transform: translateY(-4px);

    background:

        radial-gradient(circle at top left, rgba(64,151,244,.18), transparent 45%),

        rgba(28,52,81,.9);

    box-shadow: 0 10px 25px rgba(0, 0, 0, .35);

}

.download-card i {

    font-size: 42px;

    color: #8ac3ff;

    width: 45px;

    text-align: center;

}

.download-card h3 {

    margin-bottom: 5px;

    color: #fff;

}

.download-card p {

    color: #cfcfcf;

    font-size: 14px;

}



/* =========================== Lightbox ============================ */

.image-modal {

    position: fixed;

    inset: 0;

    display: flex;

    justify-content: center;

    align-items: center;

    background: rgba(0, 0, 0, .45);

    backdrop-filter: blur(10px);

    -webkit-backdrop-filter: blur(10px);

    opacity: 0;

    visibility: hidden;

    transition: .25s;

    z-index: 99999;

}

.image-modal.show {

    opacity: 1;

    visibility: visible;

}

.image-modal img {

    max-width: 85%;

    max-height: 85%;

    border-radius: 15px;

    box-shadow: 0 20px 60px rgba(0, 0, 0, .6);

    animation: zoom .25s;

}

.close-modal {

    position: absolute;

    top: 25px;

    right: 35px;

    font-size: 45px;

    color: white;

    cursor: pointer;

    transition: .25s;

    user-select: none;

}

.close-modal:hover {

    color: #8ac3ff;

    transform: scale(1.15);

}

@keyframes zoom {

    from {

        transform: scale(.85);

        opacity: 0;

    }

    to {

        transform: scale(1);

        opacity: 1;

    }

}

.prev-image,

.next-image {

    position: absolute;

    top: 50%;

    transform: translateY(-50%);

    font-size: 60px;

    color: white;

    cursor: pointer;

    user-select: none;

    padding: 15px;

    transition: .25s;

}

.prev-image {

    left: 30px;

}

.next-image {

    right: 30px;

}

.prev-image:hover,

.next-image:hover {

    color: #8ac3ff;

    transform: translateY(-50%) scale(1.15);

}



/* =========================== Politika Sayfaları Özel ============================ */

.policy-page section {

    background: rgba(17,34,56,0.7) !important;

    backdrop-filter: blur(4px) !important;

    -webkit-backdrop-filter: blur(4px) !important;

    padding: 30px 35px !important;

    border-radius: 16px !important;

    border: 1px solid rgba(255,255,255,0.05) !important;

}

.policy-page h1 {

    font-size: 34px !important;

    color: #f2f2f2 !important;

    border-bottom: 2px solid #2874ca !important;

    padding-bottom: 16px !important;

    margin-bottom: 20px !important;

}

.policy-page h2 {

    color: #d0d0d0 !important;

    font-size: 22px !important;

    margin-top: 35px !important;

    margin-bottom: 12px !important;

    padding-left: 6px !important;

    border-left: 3px solid #2874ca !important;

    padding-left: 14px !important;

    font-weight: 600 !important;

}

.policy-page p {

    color: #c5c5c5 !important;

    line-height: 1.9 !important;

    margin-bottom: 16px !important;

    font-size: 16px !important;

}

.policy-page ul {

    margin: 12px 0 18px 22px !important;

    padding-left: 10px !important;

    list-style-type: disc !important;

}

.policy-page ul li {

    color: #c5c5c5 !important;

    line-height: 1.8 !important;

    margin-bottom: 4px !important;

    font-size: 15px !important;

}

.policy-page strong {

    color: #e0e0e0 !important;

}

.policy-page a {

    color: #2874ca !important;

    text-decoration: underline !important;

}

.policy-page a:hover {

    color: #8ac3ff !important;

}

body:has(.policy-page) .back-button {

    left: 200px;

    top: 100px;

}

.policy-page .btn.btn-form {
    color: #ffffff !important;
    text-decoration: none !important;
}
.policy-page .btn.btn-form:hover {
    color: #ffffff !important;
    background: #1d5eb6;
}



/* =========================== İletişim Sayfası ============================ */

.contact-page h1 {

    font-size: 34px;

    color: #f2f2f2;

    display: flex;

    align-items: center;

    gap: 14px;

    border-bottom: 2px solid #2874ca;

    padding-bottom: 16px;

    margin-bottom: 10px;

}

.contact-page h1 i {

    color: #2874ca;

    font-size: 30px;

}

.contact-page .intro {

    color: #c5c5c5;

    font-size: 17px;

    margin-top: 25px;

}

.contact-grid {

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 25px;

    margin: 35px 0;

}

.contact-card {

    background: rgba(255,255,255,0.04);

    border-radius: 12px;

    padding: 30px 20px;

    text-align: center;

    border: 1px solid #29415f;

    transition: 0.25s;

}

.contact-card:hover {

    border-color: #2874ca;

    background: rgba(37,117,221,0.1);

}

.contact-icon {

    font-size: 40px;

    margin-bottom: 10px;

}

.form-icon {

    color: #2874ca;

}

.discord-icon {

    color: #404eed;

}

.contact-card h3 {

    color: #f2f2f2;

    font-size: 20px;

    margin: 0 0 10px 0;

}

.contact-card p {

    color: #e0e0e0;

    font-size: 14px;

    margin: 0 0 20px 0;

}

.contact-card a {

    text-decoration: none !important;

}

.btn {

    display: inline-block;

    padding: 12px 30px;

    border-radius: 30px;

    font-weight: bold;

    transition: 0.25s;

}

.btn-form {

    background: #2874ca;

    color: #ffffff;

}

.btn-form:hover {

    background: #1d5eb6;

    color: #ffffff;

}

.btn-discord {

    background: #404eed;

    color: #ffffff;

}

.btn-discord:hover {

    background: #5a6aff;

    color: #ffffff;

}

.discord-note {

    background: rgba(64,78,237,0.08);

    border-left: 4px solid #404eed;

    padding: 15px 20px;

    border-radius: 6px;

    margin: 10px 0 10px 0;

}

.discord-note p {

    color: #c5c5c5;

    font-size: 15px;

    margin: 0;

}

.discord-note i {

    color: #404eed;

}

.discord-card:hover {

    border-color: #404eed !important;

    background: rgba(64,78,237,0.15) !important;

}

.contact-footer {

    border-top: 1px solid #29415f;

    padding-top: 20px;

    margin-top: 20px;

    text-align: center;

    color: #e0e0e0;

    font-size: 17px;

}

.contact-footer i {

    color: #ffffff;

}



/* =========================== Hakkında Sayfası ============================ */

.about-grid {

    display: flex;

    justify-content: center;

    margin: 30px 0;

}

.about-card {

    background: rgba(255,255,255,0.04);

    border-radius: 20px;

    padding: 35px 40px;

    border: 1px solid rgba(255,255,255,0.06);

    max-width: 750px;

    width: 100%;

    transition: 0.4s ease;

    backdrop-filter: blur(8px);

    box-shadow: 0 8px 32px rgba(0,0,0,0.25);

}

.about-card h3 {

    color: #f2f2f2;

    font-size: 30px;

    margin-bottom: 22px;

    font-weight: 700;

    letter-spacing: 0.5px;

    text-align: center; 

}

.about-footer {

    border-top: 1px solid rgba(255,255,255,0.06);

    padding-top: 20px;

    margin-top: 25px;

    text-align: center;

    color: #9db9d8;

    font-size: 14px;

}

.about-footer i {

    transition: 0.3s;

}

.team-container {
    display: flex !important;
    gap: 18px !important;
    margin-top: 5px;
    text-align: left;
}

.team-column {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.team-category {
    background: rgba(255,255,255,0.04);
    border-radius: 14px;
    padding: 18px 20px 20px 20px;
    border: 1px solid rgba(255,255,255,0.06);
    transition: 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.team-category:hover {
    border-color: #2874ca;
    background: rgba(37,117,221,0.08);
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(37,117,221,0.1);
}

.team-header {

    display: flex;

    align-items: center;

    gap: 12px;

    margin-bottom: 12px;

}

.team-icon {

    width: 40px;

    height: 40px;

    display: flex;

    align-items: center;

    justify-content: center;

    background: rgba(37,117,221,0.15);

    border-radius: 50%;

    color: #2874ca;

    font-size: 18px;

    flex-shrink: 0;

}

.team-category h4 {

    color: #f2f2f2;

    font-size: 20px;

    margin: 0;

    font-weight: 600;

}

.member-list {

    display: flex;

    flex-direction: column;

    gap: 6px;

    margin-top: 2px;

}

.member {

    display: flex;

    align-items: center;

    justify-content: space-between;

    padding: 6px 0;

    border-bottom: 1px solid rgba(255,255,255,0.04);

}

.member:last-child {

    border-bottom: none;

}

.member span {

    color: #e0e0e0;

    font-size: 20px;

    font-weight: 500;

}

.member-links {

    display: flex;

    gap: 10px;

}

.member-links a {

    color: #9db9d8;

    font-size: 18px;

    transition: 0.25s;

    text-decoration: none;

}

.member-links a:hover {

    color: #2874ca;

    transform: scale(1.15);

}

/* =========================== Rehber ve SSS Sayfaları Özel Düzenlemeler ============================ */

.policy-page .eyebrow {
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #2874ca;
    font-weight: 600;
    margin-bottom: 0;
    font-size: 14px;
}

.policy-page .intro-text {
    font-size: 1.2rem;
    color: #d5d5d5;
    line-height: 1.7;
    margin-top: 10px;
}

.policy-page h3 {
    color: #d0d0d0;
    font-size: 22px;
    margin-top: 35px;
    margin-bottom: 12px;
    padding-left: 14px;
    border-left: 3px solid #2874ca;
    font-weight: 600;
}

.team-title {
    text-align:center !important;
    color:#d0d0d0 !important; 
    font-size:30px !important; 
    margin-bottom:22px !important; 
    font-weight:700 !important; 
    letter-spacing:0.5px !important;
    padding-left: 0 !important;
    border-left: none !important;
    margin-top: 0 !important;
    background: transparent !important;
}

.other-title {
    text-align:center !important;
    color:#d0d0d0 !important; 
    font-size:25px !important; 
    margin-bottom:10px !important; 
    font-weight:700 !important; 
    letter-spacing:0.5px !important;
    padding-left: 0 !important;
    border-left: none !important;
    margin-top: 0 !important;
    background: transparent !important;
}

.policy-page details {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid #29415f;
    border-radius: 12px;
    padding: 6px 18px;
    margin-bottom: 14px;
    transition: 0.25s;
}

.policy-page details:hover {
    border-color: #2874ca;
    background: rgba(37,117,221,0.06);
}

.policy-page details summary {
    color: #f2f2f2;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    list-style: none;
    padding: 14px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.policy-page details summary::-webkit-details-marker {
    display: none;
}

.policy-page details summary i {
    color: #2874ca;
    transition: transform 0.3s;
    font-size: 18px;
    flex-shrink: 0;
    margin-left: 10px;
}

.policy-page details[open] summary i {
    transform: rotate(180deg);
}

.policy-page details p {
    color: #c5c5c5;
    line-height: 1.8;
    padding: 0 0 18px 0;
    margin: 0;
    font-size: 16px;
}

.guide-page .content-list {
    margin: 12px 0 18px 22px;
    padding-left: 10px;
    list-style-type: disc;
}

.guide-page .content-list li {
    color: #c5c5c5;
    line-height: 1.8;
    margin-bottom: 4px;
    font-size: 15px;
}

.policy-page .faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin: 20px 0;
}

.policy-page .faq-grid article {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid #243c5b;
    border-radius: 12px;
    padding: 20px 22px;
    transition: 0.25s;
}

.policy-page .faq-grid article:hover {
    border-color: #2874ca;
    background: rgba(37,117,221,0.06);
    transform: translateY(-2px);
}

.policy-page .faq-grid article h3 {
    color: #f2f2f2;
    font-size: 17px;
    margin-top: 0;
    margin-bottom: 8px;
    padding-left: 0;
    border-left: none;
    font-weight: 600;
}

.policy-page .faq-grid article p {
    color: #c5c5c5;
    font-size: 15px;
    line-height: 1.7;
    margin: 0;
}

.guide-page .faq-link-note {
    font-size: 1.1rem;
    margin-top: 25px;
    color: #d5d5d5;
}

.guide-page .faq-link-note a {
    color: #2874ca;
    text-decoration: underline;
    transition: 0.25s;
}

.guide-page .faq-link-note a:hover {
    color: #8ac3ff;
}

/* =========================== Mobil Düzenlemeler ============================ */


@media (max-width: 700px) {
    .policy-page .faq-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    .policy-page details summary {
        font-size: 16px;
    }
    .policy-page h3 {
        font-size: 19px;
        padding-left: 10px;
    }
    .policy-page .intro-text {
        font-size: 1rem;
    }
    .guide-page .content-list {
        margin-left: 10px;
        padding-left: 6px;
    }
}

@media (max-width: 900px) {

    header {

        flex-direction: column;

        height: auto;

        padding: 15px 20px;

        gap: 10px;

    }

    .logo img {

        height: 45px;

    }

    .LinksButton {

        margin: 0;

        justify-content: center;

        width: 100%;

    }

    .LinksButton-icon {

        margin-left: 0;

    }

    nav ul {

        flex-wrap: wrap;

        justify-content: center;

        gap: 15px;

    }

    .games {

        grid-template-columns: repeat(2, 1fr);

        gap: 18px;

    }

    .game-header {

        flex-direction: column;

        align-items: center;

    }

    .cover {

        width: 100%;

        max-width: 350px;

    }

    .game-info {

        text-align: center;

    }

    .download-buttons {

        justify-content: center;

    }

    .info-grid {

        grid-template-columns: 1fr;

    }

    .downloads {

        grid-template-columns: 1fr;

    }

    .footer-inner {

        flex-direction: column;

        text-align: center;

        gap: 12px;

    }

    .footer-links {

        flex-wrap: wrap;

        justify-content: center;

        gap: 12px;

    }

}

@media (max-width: 550px) {

    .games {

        grid-template-columns: 1fr;

        gap: 20px;

    }

    .card img {

        height: 220px;

    }

    .section-title {

        font-size: 24px;

    }

    .game-info h1 {

        font-size: 28px;

    }

    .progress {

        width: 100%;

        max-width: 280px;

    }

    .progress-wrapper {

        flex-wrap: wrap;

        justify-content: center;

    }

}

@media (max-width: 700px) {

    .back-button {

        top: 85px;

        right: 15px;

        width: 42px;

        height: 42px;

        font-size: 18px;

    }

}

@media (max-width: 900px) {
    .contributors-side {
        flex: 0 0 auto;
        width: 100%;
        height: 180px; 
        overflow-y: auto;
        scrollbar-width: none;
        -ms-overflow-style: none;
        align-self: auto;
        text-align: center;
        padding: 16px;
        display: flex;
        flex-wrap: nowrap; 
        gap: 10px;
        border-color: #243c5b;
        background: #14233a;

    }
    .contributors-side::-webkit-scrollbar {
        display: none;
    }

    .contributors-side > h3:first-child {
        display: none; 
    }

    .contributors-list {
        flex: 1 1 0;
        min-width: 0;
        flex-direction: column;
        align-items: center;
        gap: 6px;
    }

    .contributors-list h3 {
        font-size: 14px;
        margin-bottom: 8px;
        padding-bottom: 4px;
        border-bottom: 1px solid #243c5b;
        width: 100%;
        white-space: normal;
        overflow-wrap: anywhere;
    }

    .contributors-list a {
        display: inline-block;
        width: auto;
        font-size: 15px;
        padding: 6px 14px;
        margin: 2px 0;
        max-width: 100%;
        white-space: normal;
        overflow-wrap: anywhere;
    }

}

@media (max-width: 700px) {

    .policy-page section {

        padding: 20px 18px !important;

    }

    .policy-page h1 {

        font-size: 28px !important;

    }

    .policy-page h2 {

        font-size: 20px !important;

        margin-top: 28px !important;

    }

    .policy-page p {

        font-size: 15px !important;

    }

    .policy-page ul li {

        font-size: 14px !important;

    }

}

@media (max-width: 700px) {

    .footer-inner {

        flex-direction: column;

        text-align: center;

        gap: 10px;

    }

    .footer-left {

        justify-content: center;

        flex-wrap: wrap;

    }

    .footer-copy-wrapper {

        align-items: center;

    }

    .footer-links {

        justify-content: center;

    }

}

@media (max-width: 700px) {

    .back-button {

        display: none !important;

    }

}

@media (max-width: 700px) {

    .contact-grid {

        grid-template-columns: 1fr;

    }

}

@media (max-width: 900px) {

    .games {

        grid-template-columns: repeat(2, 1fr);

        gap: 18px;

    }

    .card-content {

        padding: 12px;

    }

    .card-content h3 {

        font-size: 17px;

    }

    .card-content p {

        font-size: 14px;

        margin-bottom: 12px;

    }

    .card-content button {

        font-size: 14px;

        padding: 10px;

    }

}

@media (max-width: 550px) {

    .games {

        grid-template-columns: 1fr;

        gap: 20px;

        width: 92%;

    }

    .card-content {

        padding: 10px;

    }

    .card-content h3 {

        font-size: 15px;

        margin-bottom: 6px;

    }

    .card-content p {

        font-size: 13px;

        margin-bottom: 10px;

    }

    .card-content button {

        font-size: 13px;

        padding: 8px;

    }

    .section-title {

        font-size: 22px;

        text-align: center;

        margin: 15px auto;

    }

}

@media (max-width: 550px) {

    .team-container {

        grid-template-columns: 1fr;

        gap: 14px;

    }

    .about-card {

        padding: 20px;

    }

    .about-card h3 {

        font-size: 24px;

    }

    .team-category {

        padding: 14px 16px;

    }

    .team-header {

        gap: 10px;

    }

    .team-icon {

        width: 34px;

        height: 34px;

        font-size: 16px;

    }

    .team-category h4 {

        font-size: 18px;

    }

    .member span {

        font-size: 17px;

    }

    .member-links a {

        font-size: 16px;

    }

}

/* --------------------------------------------------------- */

nav a {
    color: #8ac3ff;
}
nav a:hover {
    color: #78baff;
}

.back-button:hover {
    background: #1d5eb6;
}

body:has(.policy-page) .back-button {
    left: 30px;
}

.faq-page .sss-madde {
    color: #c5c5c5;
    line-height: 1.8;
    padding: 0 0 0px 0;
    margin: 0;
    font-size: 16px;
}

.card {
    display: flex;
    flex-direction: column;
}

.card img {
    flex-shrink: 0;
}

.card-content {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.card-content button {
    margin-top: auto;
}

.card {
    display: flex;
    flex-direction: column;
}

.card img {
    flex-shrink: 0;
}

.card-content {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.card h4 {
    color: #d0d0d0;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 10px;
}

.card-content button {
    margin-top: auto;
}

/* 2026-11: readable navigation, small-screen guidance and accessible galleries. */
:root { --readable-accent: #93c5fd; --action-blue: #1d5eb6; }
nav a, .LinksButton, .LinksButton-icon, .section-title { color: var(--readable-accent); }
nav a:hover, .LinksButton:hover, .LinksButton:hover .LinksButton-icon { color: #dbeeff; }
.policy-page a, .project-notes a, .home-intro a { color: #a6cfff; text-decoration: underline; text-underline-offset: 3px; }
.policy-page a { color: #a6cfff !important; }
.policy-page a:hover { color: #fff !important; }
.policy-page a:hover, .project-notes a:hover, .home-intro a:hover { color: #fff; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid #bae6fd; outline-offset: 4px; }
.skip-link { position: fixed; z-index: 100001; top: 12px; left: 12px; transform: translateY(-200%); background: #fff; color: #101b2c; padding: 12px 18px; border-radius: 8px; }
.skip-link:focus { transform: translateY(0); }
#main-content:focus { outline: none; }
.home-intro, .reading-section { width: 90%; max-width: 1200px; margin: 32px auto; }
.home-intro { margin-bottom: 22px; }
.home-intro h1 { color: #f0f7ff; font-size: clamp(26px,3.3vw,40px); line-height: 1.2; margin-bottom: 14px; }
.home-intro p { max-width: 850px; line-height: 1.7; color: #d8e5f5; margin-bottom: 12px; }
.eyebrow { color: #93c5fd !important; font-size: 13px; font-weight: 700; letter-spacing: .05em; margin-bottom: 10px; }
.card-action { display: block; width: 100%; padding: 12px; border-radius: 8px; background: var(--action-blue); color: white; text-align: center; text-decoration: none; font-size: 15px; }
.card-action:hover { background: #2672cf; }
.card-content { display: flex; flex-direction: column; height: calc(100% - 300px); }
.card-content h4 { margin-bottom: 8px; }
.card-action { margin-top: auto; }
.reading-section h2, .project-notes h2 { color: #a6cfff; margin-bottom: 18px; }
.reading-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; }
.reading-card { background: #13253e; padding: 22px; border: 1px solid #2c527b; border-radius: 12px; color: #eee !important; text-decoration: none !important; }
.reading-card h3 { color: #e1f0ff; margin: 0 0 12px; line-height: 1.4; }
.reading-card p { color: #ddd; line-height: 1.7; margin: 0 0 16px; }
.reading-card span { color: #a6cfff; line-height: 1.5; }
.project-notes { padding: 24px; margin: 30px 0; border: 1px solid #2c527b; border-radius: 12px; background: #111f34; }
.project-notes p { color: #dce8f6; line-height: 1.8; margin-bottom: 16px; }
.project-notes p:last-child { margin-bottom: 0; }
.updated { color: #b6cbe3; font-size: 14px; margin: 18px 0 26px; }
.policy-page .reading-section { width: 100%; }
.policy-page .lead { font-size: 19px; line-height: 1.7; color: #eee; }
.policy-page li { line-height: 1.8; }
.table-scroll { overflow-x: auto; max-width: 100%; margin: 24px 0; }
.table-scroll table { width: 100%; min-width: 540px; border-collapse: collapse; }
.table-scroll caption { text-align: left; color: #ddd; padding-bottom: 12px; font-size: 14px; }
.table-scroll td, .table-scroll th { padding: 12px; text-align: left; vertical-align: top; border-bottom: 1px solid #365e86; }
.report-template { white-space: pre-wrap; overflow-wrap: anywhere; font-family: ui-monospace,monospace; line-height: 1.8; background: #111; border: 1px solid #365e86; border-radius: 10px; padding: 20px; color: #eee; }
.footer-links { flex-wrap: wrap; }
.team-column { min-width: 0; }
.member span { overflow-wrap: anywhere; }
@media (max-width: 650px) { .team-container { flex-direction: column; } }
.gallery-thumb { padding: 0; border: 0; background: none; border-radius: 12px; cursor: zoom-in; min-width: 0; width: 100%; }
.gallery-thumb img { width: 100%; }
dialog.image-modal { width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; border: 0; padding: 60px 65px; color: #fff; background: rgba(7,15,27,.94); opacity: 1; visibility: visible; }
dialog.image-modal:not([open]) { display: none; }
dialog.image-modal[open] { display: flex; }
dialog.image-modal::backdrop { background: rgba(0,0,0,.7); }
.image-modal figure { margin: 0; max-width: 100%; text-align: center; }
.image-modal figure img { display: block; width: auto; height: auto; max-width: 100%; max-height: calc(100vh - 160px); margin: auto; }
.image-modal figcaption { font-size: 14px; line-height: 1.5; margin-top: 16px; }
.image-modal button { border: 0; background: #1a3555; color: #fff; min-width: 44px; min-height: 44px; border-radius: 8px; }
.image-modal .close-modal { top: 12px; right: 14px; font-size: 32px; }
.image-modal .prev-image { left: 12px; font-size: 26px; }
.image-modal .next-image { right: 12px; font-size: 26px; }
@media (max-width: 800px) { .reading-grid { grid-template-columns: 1fr; } nav ul { flex-wrap: wrap; justify-content: center; row-gap: 12px; } header { height: auto; min-height: 80px; padding-top: 12px; padding-bottom: 12px; } }
@media (max-width: 550px) { .home-intro,.reading-section { width: calc(100% - 32px); margin: 24px auto; } .card-content { height: auto; } .project-notes { padding: 18px; } .home-intro h1 { font-size: 29px; } .policy-page .lead { font-size: 17px; } dialog.image-modal { padding: 68px 54px; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; } }

/* Blue theme and responsive image proportions. */
html { color-scheme: dark; }
.logo img { filter: hue-rotate(205deg) saturate(1.3) brightness(2.2); }
.footer-logo-img { filter: hue-rotate(205deg) saturate(1.3) brightness(1.7); }
.section-title { color: #a6cfff; margin-top: 28px; }
.catalog-tools { width: 90%; max-width: 1200px; margin: 22px auto 0; }
.catalog-tools label { display: block; color: #dbeeff; font-size: 14px; font-weight: 600; margin-bottom: 9px; }
.search-field { display: flex; align-items: center; gap: 12px; background: #101e32; border: 1px solid #365e86; border-radius: 12px; padding: 0 14px; }
.search-field:focus-within { outline: 2px solid #93c5fd; outline-offset: 2px; }
.search-field > i { color: #93c5fd; }
.search-field input { width: 100%; min-width: 0; background: none; color: #f0f7ff; border: 0; outline: none; padding: 15px 0; font-size: 16px; }
.search-field input::placeholder { color: #9db9d8; opacity: 1; }
.search-field button { border: 0; border-radius: 7px; padding: 10px; background: #1d5eb6; color: #fff; cursor: pointer; }
#game-count { color: #b6cbe3; font-size: 13px; margin-top: 10px; }
.search-empty { width: 90%; max-width: 1200px; margin: 28px auto; color: #dbeeff; padding: 24px; background: #13253e; border-radius: 12px; }
[hidden] { display: none !important; }
.card picture { display: block; position: relative; flex: none; width: 100%; aspect-ratio: 4 / 3; overflow: hidden; background: #101e32; }
.card picture img { display: block; position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.card-cover { position: relative; flex: none; width: 100%; }
.card .card-cover > .cover-wordmark { position: absolute; left: 2.5%; top: 25.7%; width: 32%; height: auto; pointer-events: none; }
.card-content { height: auto; }
/* Reserve the translated-title row, including cards without a translation. */
.games .card-content {
 display: grid;
 grid-template-columns: minmax(0, 1fr);
 grid-template-rows: auto minmax(26px, auto) 1fr auto;
}
.games .card-content h3 { grid-row: 1; }
.games .card-content h4 { grid-row: 2; line-height: 18px; }
.games .card-content p { grid-row: 3; align-self: end; }
.games .card-action { grid-row: 4; margin-top: 0; }
.card-content h3 { color: #e6f1ff; }
.card-content p { margin-bottom: 16px; }
.card-action { min-height: 44px; font-weight: 600; }
.game-header > .cover { aspect-ratio: 16 / 9; background: #101e32; height: auto; max-width: 100%; flex: 0 1 500px; min-width: 0; object-fit: contain; }
.game-info { min-width: 0; }
.game-info h2, .game-page section > h2 { color: #93c5fd; }
.gallery { grid-template-columns: repeat(auto-fill,minmax(min(100%,300px),1fr)); align-items: start; }
.gallery-thumb { display: block; position: relative; aspect-ratio: 16 / 9; max-width: 400px; overflow: hidden; line-height: 0; background: #101e32; }
.gallery img { display: block; position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; border-radius: 0; }
.gallery img:hover { transform: none; }
.gallery-thumb:hover { outline: 2px solid #78baff; outline-offset: 3px; }
.footer-logo-img { object-fit: contain; }
.game-info a, .credits a, .back-button { color: #a6cfff; }
.download-buttons a { color: #fff; }
.policy-page .btn.btn-form { color: #fff !important; }
@media (max-width: 900px) {
 .game-header { flex-direction: column; align-items: center; }
 .game-header > .cover { flex: none; width: 100%; max-width: 600px; height: auto; }
 .game-info { width: 100%; }
}
@media (max-width: 550px) {
 .game-header > .cover { max-width: 100%; }
}

/* A bounded thumbnail grid and a viewport-sized, undistorted full image. */
html:has(dialog.image-modal[open]) { overflow: hidden; }
dialog.image-modal {
  box-sizing: border-box;
  width: 100%; height: 100vh; height: 100dvh;
  padding: 64px 72px 24px;
  overflow: hidden;
}
.image-modal figure {
  display: grid; grid-template-rows: minmax(0, 1fr) auto;
  width: 100%; height: 100%; min-width: 0; min-height: 0;
  pointer-events: none;
}
.image-modal figure img {
  width: 100%; height: 100%; min-height: 0; max-width: 100%; max-height: 100%;
  object-fit: contain; border-radius: 0; box-shadow: none; animation: none; pointer-events: auto;
}
.image-modal figcaption { margin: 14px auto 0; overflow-wrap: anywhere; }
.image-modal .prev-image, .image-modal .next-image {
  width: 44px; height: 48px; padding: 0;
}
@media (max-width: 550px) {
  dialog.image-modal { padding: 64px 12px 16px; }
  .image-modal figcaption { min-height: 48px; max-width: calc(100% - 112px); }
  .image-modal .prev-image, .image-modal .next-image {
    top: auto; bottom: 16px; transform: none;
  }
}

.card picture[data-cover-fit] img { inset: auto; left: 50%; top: 50%; height: auto; max-width: none; transform: translate(-50%, -50%); }
.card picture[data-cover-fit="special"] img { width: calc(100% * 670 / 630); }
.card picture[data-cover-fit="tkatb"] img { width: calc(100% * 670 / 614); }
.card picture .cover-tfc { object-position: 50% 65%; }
