/**
 * GameShare88 Footer - Cyberpunk Minimalist Gaming Grid
 * Stylesheet for [gameshare_footer] Shortcode & Theme Integration
 */

/* ==========================================================================
   1. ELEMENTOR FULL-WIDTH OVERRIDES
   ========================================================================== */
.elementor-widget-html:has(.gs-footer-wrap),
.elementor-widget-shortcode:has(.gs-footer-wrap),
.elementor-element:has(> .elementor-widget-container > .gs-footer-wrap) {
    width: 100% !important;
    max-width: 100% !important;
    flex-grow: 1 !important;
    align-self: stretch !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* ==========================================================================
   2. ROOT WRAPPER & ACCENT BORDER
   ========================================================================== */
.gs-footer-wrap {
    width: 100%;
    background: linear-gradient(180deg, #0a0f1d 0%, #060913 100%);
    color: #94a3b8;
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 14px;
    line-height: 1.6;
    position: relative;
    border-top: 1px solid rgba(0, 242, 254, 0.15);
    box-sizing: border-box;
    overflow: hidden;
}

/* Top Neon Gradient Glow Line */
.gs-footer-accent-line {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, #00f2fe 30%, #4facfe 70%, transparent 100%);
    box-shadow: 0 0 15px rgba(0, 242, 254, 0.6);
    z-index: 2;
}

/* Container */
.gs-footer-container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
    box-sizing: border-box;
}

/* ==========================================================================
   3. MAIN 3-COLUMN GRID
   ========================================================================== */
.gs-footer-grid {
    display: grid;
    grid-template-columns: 1.25fr 1.35fr 1.1fr;
    gap: 40px;
    padding: 55px 0 45px 0;
    box-sizing: border-box;
}

/* ==========================================================================
   4. COLUMN 1: BRAND, SOCIALS & COMMUNITY CTA
   ========================================================================== */
.gs-footer-col-brand {
    display: flex;
    flex-direction: column;
}

/* Logo */
.gs-footer-brand-link {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    margin-bottom: 16px;
    transition: transform 0.25s ease;
}

.gs-footer-brand-link:hover {
    transform: translateY(-1px);
}

.gs-footer-logo-img {
    max-height: 42px;
    width: auto;
    object-fit: contain;
}

.gs-footer-logo-text {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Rajdhani', sans-serif;
    font-size: 26px;
    font-weight: 800;
    letter-spacing: 1px;
}

.gs-footer-logo-text .gs-logo-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #00f2fe;
    filter: drop-shadow(0 0 8px rgba(0, 242, 254, 0.7));
}

.gs-footer-logo-text .gs-logo-main {
    color: #ffffff;
    text-shadow: 0 0 12px rgba(255, 255, 255, 0.2);
}

.gs-footer-logo-text .gs-logo-accent {
    background: linear-gradient(135deg, #00f2fe 0%, #4facfe 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 10px rgba(0, 242, 254, 0.5));
}

/* Tagline */
.gs-footer-tagline {
    font-size: 13.5px;
    color: #94a3b8;
    line-height: 1.6;
    margin: 0 0 20px 0;
    max-width: 360px;
}

/* Social Icons */
.gs-footer-socials {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 22px;
}

.gs-social-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #cbd5e1;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.gs-social-btn:hover {
    transform: translateY(-3px);
}

/* Neon hover states for socials */
.gs-social-tg:hover {
    background: rgba(0, 136, 204, 0.2);
    border-color: #26a5e4;
    color: #26a5e4;
    box-shadow: 0 0 16px rgba(38, 165, 228, 0.4);
}

.gs-social-dc:hover {
    background: rgba(88, 101, 242, 0.2);
    border-color: #5865f2;
    color: #7289da;
    box-shadow: 0 0 16px rgba(88, 101, 242, 0.4);
}

.gs-social-yt:hover {
    background: rgba(255, 0, 0, 0.2);
    border-color: #ff0000;
    color: #ff3333;
    box-shadow: 0 0 16px rgba(255, 0, 0, 0.4);
}

.gs-social-fb:hover {
    background: rgba(24, 119, 242, 0.2);
    border-color: #1877f2;
    color: #1877f2;
    box-shadow: 0 0 16px rgba(24, 119, 242, 0.4);
}

.gs-social-tt:hover {
    background: rgba(254, 44, 85, 0.2);
    border-color: #fe2c55;
    color: #fe2c55;
    box-shadow: 0 0 16px rgba(254, 44, 85, 0.4);
}

/* Button: GIA NHẬP CỘNG ĐỒNG GAME THỦ GAMESHARE88 */
.gs-footer-community-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 13px 20px;
    background: linear-gradient(135deg, rgba(0, 242, 254, 0.12) 0%, rgba(79, 172, 254, 0.16) 100%);
    border: 1px solid rgba(0, 242, 254, 0.5);
    border-radius: 10px;
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-decoration: none;
    text-transform: uppercase;
    position: relative;
    box-shadow: 0 4px 20px rgba(0, 242, 254, 0.15);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    max-width: 360px;
    overflow: hidden;
}

.gs-footer-community-btn .gs-btn-icon {
    display: inline-flex;
    align-items: center;
    color: #00f2fe;
    filter: drop-shadow(0 0 6px rgba(0, 242, 254, 0.8));
    transition: transform 0.3s ease;
}

.gs-footer-community-btn .gs-btn-arrow {
    display: inline-flex;
    align-items: center;
    color: #38bdf8;
    transition: transform 0.3s ease;
}

.gs-footer-community-btn:hover {
    background: linear-gradient(135deg, #00f2fe 0%, #4facfe 100%);
    border-color: #00f2fe;
    color: #080d1a;
    box-shadow: 0 0 25px rgba(0, 242, 254, 0.5), 0 4px 15px rgba(0, 0, 0, 0.3);
    transform: translateY(-2px);
}

.gs-footer-community-btn:hover .gs-btn-icon,
.gs-footer-community-btn:hover .gs-btn-arrow {
    color: #080d1a;
    filter: none;
}

.gs-footer-community-btn:hover .gs-btn-arrow {
    transform: translateX(4px);
}

/* ==========================================================================
   5. COLUMN 2: 2 SUB-COLUMNS NAVIGATION
   ========================================================================== */
.gs-footer-subcols-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.gs-footer-col-title {
    color: #ffffff;
    font-family: 'Rajdhani', sans-serif;
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin: 0 0 18px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.gs-footer-col-title .gs-title-bar {
    display: inline-block;
    width: 3px;
    height: 14px;
    background: linear-gradient(180deg, #00f2fe 0%, #4facfe 100%);
    border-radius: 2px;
    box-shadow: 0 0 8px rgba(0, 242, 254, 0.6);
}

.gs-footer-link-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.gs-footer-link-list li a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 13.5px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
    padding: 2px 0;
}

.gs-footer-link-list li a .gs-link-chevron {
    color: #475569;
    font-size: 15px;
    line-height: 1;
    transition: all 0.2s ease;
}

.gs-footer-link-list li a:hover {
    color: #00f2fe;
    transform: translateX(4px);
}

.gs-footer-link-list li a:hover .gs-link-chevron {
    color: #00f2fe;
}

/* ==========================================================================
   6. COLUMN 3: DISCLAIMER & CONTACT
   ========================================================================== */
.gs-footer-col-disclaimer {
    display: flex;
    flex-direction: column;
}

.gs-footer-disclaimer-text {
    font-size: 13px;
    color: #94a3b8;
    line-height: 1.65;
    margin: 0 0 20px 0;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 12px 14px;
}

.gs-footer-contacts {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.gs-contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(15, 23, 42, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 8px;
    padding: 8px 12px;
    transition: all 0.25s ease;
}

.gs-contact-item:hover {
    border-color: rgba(0, 242, 254, 0.3);
    background: rgba(0, 242, 254, 0.04);
}

.gs-contact-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 6px;
    background: rgba(0, 242, 254, 0.1);
    color: #00f2fe;
}

.gs-contact-info {
    display: flex;
    flex-direction: column;
    font-size: 12px;
}

.gs-contact-lbl {
    color: #64748b;
    font-weight: 500;
}

.gs-contact-val {
    color: #e2e8f0;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s ease;
}

.gs-contact-val:hover {
    color: #00f2fe;
}

/* ==========================================================================
   7. BOTTOM BAR & BACK TO TOP
   ========================================================================== */
.gs-footer-bottom {
    background: #04070e;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding: 18px 0;
    box-sizing: border-box;
}

.gs-footer-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.gs-footer-copyright {
    font-size: 13px;
    color: #64748b;
}

/* Back to top button */
.gs-back-to-top {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(0, 242, 254, 0.3);
    border-radius: 20px;
    padding: 7px 16px;
    color: #cbd5e1;
    font-family: inherit;
    font-size: 12.5px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.gs-back-to-top .gs-btt-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #00f2fe;
    transition: transform 0.3s ease;
}

.gs-back-to-top:hover {
    background: rgba(0, 242, 254, 0.15);
    border-color: #00f2fe;
    color: #ffffff;
    box-shadow: 0 0 16px rgba(0, 242, 254, 0.4);
    transform: translateY(-2px);
}

.gs-back-to-top:hover .gs-btt-icon {
    transform: translateY(-3px);
}

/* ==========================================================================
   8. RESPONSIVE BREAKPOINTS
   ========================================================================== */

/* Tablet (<= 991px) */
@media (max-width: 991px) {
    .gs-footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 35px;
        padding: 45px 0 35px 0;
    }

    .gs-footer-col-disclaimer {
        grid-column: span 2;
    }

    .gs-footer-community-btn,
    .gs-footer-tagline {
        max-width: 100%;
    }
}

/* Mobile (<= 767px) */
@media (max-width: 767px) {
    .gs-footer-grid {
        grid-template-columns: 1fr;
        gap: 35px;
        padding: 40px 0 30px 0;
    }

    .gs-footer-col-disclaimer {
        grid-column: span 1;
    }

    .gs-footer-subcols-grid {
        gap: 25px;
    }

    .gs-footer-community-btn {
        width: 100%;
        box-sizing: border-box;
        text-align: center;
    }

    .gs-footer-bottom-inner {
        flex-direction: column-reverse;
        gap: 14px;
        text-align: center;
    }
}
