/* ======================================================
   GLOBAL RESETS
====================================================== */
* {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    width: 100%;
}

body {
    font-family: sans-serif;
    overflow-x: hidden;
    background: #fafafa;
}

/* ======================================================
   BUTTONS
====================================================== */
button {
    background-color: #ff5f08;
    border: 2px solid #ff5f08;
    border-radius: 2rem;
    color: #fff;
    cursor: pointer;
    padding: .75rem 1.5rem;
    font-size: 1rem;
    font-weight: 700;
    transition: .3s ease;
}

button:hover {
    background-color: #ff7733;
    border-color: #ff7733;
}

/* =============================
        HEADER — compact
============================= */

.sog-header {
    width: 100%;
    margin: 0;
    padding: 0;
}

/* Banner */
.sog-banner {
    background: url('/img/developer_head.jpg') center center / cover no-repeat;
    position: relative;
    padding: 40px 0; /* mult mai curat */
    text-align: center;
    color: #fff;

    display: flex;
    justify-content: center;   /* centrează textul pe verticală */
    align-items: center;
    min-height: 200px;         /* destul loc pt titlu + logo */
}


.sog-banner::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.55);
    z-index: 1;
}

/* TEXT + STRUCTURE */
.sog-logo-container {
    position: relative;
    z-index: 2;
}

.sog-title {
    font-size: 2rem;
    font-weight: 700;
    margin: 0 auto;
    max-width: 900px;
    line-height: 1.3;
    padding: 0 100px; /* spațiu lateral pentru logo */
    position: relative;
    z-index: 2;
}


/* RIGHT ICON */
.sog-logo-right {
    position: absolute;
    top: 20px;
    right: 30px;
    width: 70px;
    height: auto;
    z-index: 3;
}


/* OLD CENTER LOGO (optional for other pages) */
.sog-logo {
    width: 160px;
    max-width: 70%;
    height: auto;
    display: block;
    margin: 0 auto 12px auto;
    transition: width .3s ease;
}

@media (max-width: 600px) {

    .sog-logo-right {
        width: 48px;
        top: 12px;
        right: 15px;
    }

    .sog-title {
        font-size: 1.45rem;
        padding: 0 30px; /* spațiu lateral pentru logo */
    }

    .sog-logo {
        width: 110px;
    }
}

/* =============================
            NAV BAR
============================= */

.sog-nav {
    background-color: #1a0d26;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    padding: 10px 20px;
    position: sticky;
    top: 0;
    z-index: 9999;
        /* 🔥 UMBRA SUB NAV */
    box-shadow: -8px 12px 25px -8px rgba(0, 0, 0, 0.5);
}

.sog-nav a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    padding: 6px 12px;
    border-radius: 4px;
    transition: .25s ease;
}

.sog-nav a:hover {
    color: #ff8800;
}

.sog-nav a.active {
    background-color: rgba(255,255,255,0.16);
}

/* ======================================================
   FOOTER — DARK NEON PURPLE
====================================================== */

.footer {
    background: #1a0d26;
    color: #ccc;
    padding: 4rem 2rem 2rem;
    box-shadow: 0 -24px 24px rgba(0, 0, 0, 0.20);  
}

.footer-container {
    max-width: 1300px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
}

.footer-col h3 {
    color: #fff;
    margin-bottom: 1rem;
    font-size: 1.2rem;
    font-weight: 700;
}

.footer-col ul {
    list-style: none;
    padding: 0;
}

.footer-col ul li a {
    color: #bbb;
    text-decoration: none;
    display: block;
    padding: .3rem 0;
    transition: 0.2s;
}

.footer-col ul li a:hover {
    color: #fff;
}

/* About section */
.footer-logo img {
    width: 90px;
    height: auto;
    margin-bottom: 1rem;
}

.footer-text {
    color: #cfcfcf;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.footer-social a img {
    width: 28px;
    height: 28px;
    margin-right: .7rem;
    opacity: .85;
    transition: 0.25s ease;
}

.footer-social a img:hover {
    opacity: 1;
}

/* Bottom section */
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.18);
    margin-top: 3rem;
    padding-top: 1.5rem;
    text-align: center;
    color: #aaa;
    font-size: .9rem;
}

/* Responsive footer */
@media (max-width: 900px) {
    .footer-container {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 600px) {
    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

/* ======================================================
   SCROLL BUTTON
====================================================== */

#scrollUpBtn {
    position: fixed;
    bottom: 25px;
    right: 25px;
    background-color: #2b123d; /* darker purple for style */
    border: none;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
    transition: all .3s ease;
    z-index: 1500;
    display: flex;
    justify-content: center;
    align-items: center;
}

#scrollUpBtn svg {
    width: 22px;
    height: 22px;
    fill: white;
}

#scrollUpBtn.show {
    opacity: 1;
    visibility: visible;
    bottom: 35px;
}

.gamesPage, .gamesList, .game {
    overflow: visible !important;
}
