/* ======================================
   GLOBAL GYGO APP CSS  (OFFICIAL FILE)
   ====================================== */

html, body {
    overflow-x: hidden;   /* Fixes horizontal scrolling */
}

body {
    margin: 0;
    font-family: Inter, Arial, sans-serif;
    background: #0b0e15;
    color: #f3f4f6;
}

a {
    color: #22c55e;
    text-decoration: none;
}

/* Make full page use vertical flex layout */
html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    overflow-x: hidden; /* No horizontal scroll */
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    background: radial-gradient(
        circle at 50% 0%,
        rgba(40, 50, 80, 0.35),
        rgba(10, 12, 18, 0.8)
    );
    z-index: -1;
}



/* ======================================
   HEADER (gygo-logo.png is permanent)
   ====================================== */

.gygo-header {
    width: 100%;
    background: rgba(15,18,28,0.9);
    backdrop-filter: blur(6px);
    border-bottom: 1px solid #1f2937;
    position: sticky;
    top: 0;
    z-index: 2000;
}

.gygo-logo-link,
.gygo-logo-link:visited,
.gygo-logo-link:hover,
.gygo-logo-link:active {
  color: var(--text-main); /* or #e9edf6 if you prefer */
  text-decoration: none;
}

.gygo-header-inner {
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    padding: 12px 24px;

    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;        /* Prevents header overflow */
    box-sizing: border-box; /* Prevents horizontal scrolling */
}

.gygo-header {
    background: linear-gradient(
        to bottom,
        rgba(15,18,28,0.9),
        rgba(10,12,20,0.6)
    );
    backdrop-filter: blur(10px);
}


/* Logo area */
.gygo-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.gygo-logo img {
    height: 34px;
    max-width: 100%;
}

.gygo-logo-text {
    font-size: 1.2rem;
    font-weight: 600;
}

/* Top navigation items */
.gygo-nav {
    display: flex;
    gap: 28px;
}

.gygo-nav a {
    color: #e5e7eb;
    font-size: 0.95rem;
}

.gygo-nav a:hover {
    color: #ffffff;
}

.logout-link {
    color: #ef4444 !important;
}

/* ======================================
   MOBILE NAV MENU
   ====================================== */

.nav-toggle {
    display: none;
}

.nav-toggle-label {
    display: none;
    cursor: pointer;
}

.nav-toggle-label span,
.nav-toggle-label span::before,
.nav-toggle-label span::after {
    display: block;
    background: #e5e7eb;
    height: 3px;
    width: 24px;
    border-radius: 3px;
    position: relative;
}

.nav-toggle-label span::before,
.nav-toggle-label span::after {
    content: '';
    position: absolute;
}

.nav-toggle-label span::before {
    top: -7px;
}

.nav-toggle-label span::after {
    top: 7px;
}

/* Mobile breakpoint */
@media (max-width: 768px) {

    .nav-toggle-label {
        display: block;
    }

    .gygo-nav {
        display: none;
        position: absolute;
        top: 62px;
        right: 0;
        background: #111827;
        width: 60%;
        padding: 20px;
        border-left: 1px solid #1f2937;
        border-bottom: 1px solid #1f2937;
        flex-direction: column;
        gap: 18px;
    }

    .nav-toggle:checked + .nav-toggle-label + .gygo-nav {
        display: flex;
    }
}




/* ======================================
   FOOTER AREA (centered, site-wide)
   ====================================== */

.gygo-footer {
    margin-top: 60px;
    padding: 18px 20px 24px;
    border-top: 1px solid rgba(0,0,0,0.6);
    background: radial-gradient(circle at top, #06070c, #03040a 70%);
    font-size: 12px;
    color: rgba(233,237,246,0.65);
}

.gygo-footer-inner {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 24px;
    text-align: center;
}

.footer-copy {
    font-size: 12px;
    color: rgba(233,237,246,0.65);
}

.gygo-footer a {
    color: inherit;
    text-decoration: none;
}

.gygo-footer a:hover {
    text-decoration: underline;
}

/* ======================================
   MAIN APP CONTAINER
   ====================================== */

.gygo-main {
    flex: 1;                          /* Ensures footer stays bottom */
    display: flex;
    justify-content: center;
    padding: 40px 20px 60px;          /* TOP:40 (breathing room), BOTTOM:60 (footer space) */
    box-sizing: border-box;
    width: 100%;
}

.gygo-container {
    width: 100%;
    max-width: 1200px;
}