/*
Theme Name: GPLfly
Theme URI: https://gplfly.com
Author: GPLfly
Description: GPLfly WordPress distribution platform.
Version: 4.0.4
Text Domain: gplfly
*/

:root {
    --gpl-bg-main: #0a0a0a;
    --gpl-bg-deep: #050505;
    --gpl-bg-card: rgba(20, 16, 12, .72);
    --gpl-bg-hover: rgba(40, 28, 18, .9);
    --gpl-border: rgba(234, 88, 12, .11);
    --gpl-border-strong: rgba(234, 88, 12, .22);
    --gpl-primary: #ea580c;
    --gpl-primary-dark: #c2410c;
    --gpl-accent: #f59e0b;
    --gpl-accent-soft: #fb923c;
    --gpl-success: #22c55e;
    --gpl-warning: #fbbf24;
    --gpl-danger: #ef4444;
    --gpl-text-main: #fafaf9;
    --gpl-text-muted: #a8a29e;
    --gpl-radius: 16px;
    --gpl-transition: all .3s cubic-bezier(.16, 1, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    background: var(--gpl-bg-main);
    color: var(--gpl-text-main);
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
a { color: inherit; text-decoration: none; transition: var(--gpl-transition); }
h1, h2, h3, h4, h5, h6 { color: var(--gpl-text-main); font-family: Manrope, Inter, sans-serif; letter-spacing: -.045em; }
::selection { color: #fff; background: var(--gpl-primary); }
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--gpl-bg-deep); }
::-webkit-scrollbar-thumb { background: #3d2a1a; border-radius: 20px; }

.gpl-site-header {
    position: sticky; top: 0; z-index: 1000;
    border-bottom: 1px solid var(--gpl-border);
    background: rgba(10, 10, 10, .82);
    backdrop-filter: blur(22px);
}
.gpl-header-shell, .gpl-footer-shell { width: min(1240px, calc(100% - 48px)); margin: 0 auto; }
.gpl-header-shell { min-height: 72px; display: flex; align-items: center; gap: 26px; }
.gpl-brand { display: inline-flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.gpl-brand-mark {
    display: grid; width: 36px; height: 36px; place-items: center;
    color: #fff; background: linear-gradient(135deg, #ea580c, #f59e0b);
    border-radius: 12px; box-shadow: 0 8px 28px rgba(234, 88, 12, .25);
}
.gpl-brand-name { color: #fff; font-family: Manrope, Inter, sans-serif; font-size: 20px; font-weight: 800; letter-spacing: -.06em; }
.gpl-brand-name span { color: var(--gpl-primary); }
.gpl-primary-nav { display: flex; gap: 6px; }
.gpl-primary-nav a, .gpl-login-link { color: #a8a29e; padding: 9px 8px; font-size: 13px; font-weight: 700; }
.gpl-primary-nav a:hover, .gpl-login-link:hover { color: #fff; }
.gpl-header-search { position: relative; max-width: 350px; margin: 0 auto; flex: 1 1 280px; }
.gpl-search-form {
    display: flex; align-items: center; gap: 9px; padding: 0 11px;
    border: 1px solid var(--gpl-border); border-radius: 11px; background: rgba(255,255,255,.035);
}
.gpl-search-form svg { color: #78716c; flex: 0 0 auto; }
.gpl-search-form input { width: 100%; padding: 10px 0; color: #fff; border: 0; outline: 0; background: transparent; font: 500 12px Inter, sans-serif; }
.gpl-search-form input::placeholder { color: #78716c; }
.gpl-search-shortcut { color: #78716c; padding: 2px 5px; border: 1px solid var(--gpl-border); border-radius: 4px; font-size: 9px; white-space: nowrap; }
#gpl-search-results { position: absolute; top: calc(100% + 10px); width: 100%; z-index: 1001; display: none; }
.gpl-header-actions { display: flex; align-items: center; gap: 8px; flex: 0 0 auto; margin-left: auto; }
.gpl-header-cta {
    display: inline-flex; align-items: center; gap: 7px; padding: 10px 14px;
    color: #fff; background: linear-gradient(135deg, #ea580c, #f59e0b); border-radius: 9px; font-size: 13px; font-weight: 800;
    box-shadow: 0 4px 16px rgba(234, 88, 12, .25);
}
.gpl-header-cta:hover { color: #fff; background: linear-gradient(135deg, #c2410c, #ea580c); transform: translateY(-1px); box-shadow: 0 8px 24px rgba(234, 88, 12, .35); }

.gpl-site-footer { position: relative; overflow: hidden; padding: 78px 0 28px; border-top: 1px solid var(--gpl-border); background: var(--gpl-bg-deep); }
.gpl-footer-glow { position: absolute; left: 0; bottom: -220px; width: 560px; height: 420px; background: rgba(234, 88, 12, .1); filter: blur(100px); }
.gpl-footer-top { position: relative; display: grid; grid-template-columns: 1.2fr 1fr; gap: 80px; }
.gpl-footer-intro p { max-width: 420px; margin: 22px 0; color: var(--gpl-text-muted); font-size: 14px; line-height: 1.75; }
.gpl-footer-status { display: inline-flex; align-items: center; gap: 8px; color: var(--gpl-success); font-size: 12px; font-weight: 700; }
.gpl-footer-status i { width: 7px; height: 7px; background: var(--gpl-success); border-radius: 50%; box-shadow: 0 0 14px var(--gpl-success); }
.gpl-footer-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.gpl-footer-links h4 { margin: 0 0 18px; color: #e7e5e4; font: 700 11px Inter, sans-serif; letter-spacing: .12em; text-transform: uppercase; }
.gpl-footer-links a { display: block; margin: 12px 0; color: #a8a29e; font-size: 13px; font-weight: 600; }
.gpl-footer-links a:hover { color: #fff; transform: translateX(3px); }
.gpl-footer-bottom { position: relative; display: flex; justify-content: space-between; gap: 20px; margin-top: 62px; padding-top: 20px; border-top: 1px solid var(--gpl-border); color: #78716c; font-size: 11px; }

.gpl-container { width: min(1240px, calc(100% - 48px)); margin: 0 auto; }
.glass-panel { border: 1px solid var(--gpl-border); background: var(--gpl-bg-card); backdrop-filter: blur(20px); }
.text-gradient { color: var(--gpl-primary); background: linear-gradient(100deg, #f59e0b, #ea580c); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.gpl-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 20px; border: 1px solid transparent; border-radius: 10px; cursor: pointer; font-size: 13px; font-weight: 800; }
.gpl-btn-primary { color: #fff !important; background: linear-gradient(135deg, #ea580c, #f59e0b); box-shadow: 0 4px 16px rgba(234, 88, 12, .2); }
.gpl-btn-primary:hover { background: linear-gradient(135deg, #c2410c, #ea580c); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(234, 88, 12, .35); }
.page-numbers { padding: 10px 16px; border: 1px solid var(--gpl-border) !important; border-radius: 8px; color: var(--gpl-text-muted) !important; }
.page-numbers.current { color: #fff !important; background: var(--gpl-primary) !important; border-color: var(--gpl-primary) !important; }

@media (max-width: 980px) {
    .gpl-primary-nav { display: none; }
    .gpl-footer-top { grid-template-columns: 1fr; gap: 44px; }
}
@media (max-width: 720px) {
    .gpl-header-shell, .gpl-footer-shell, .gpl-container { width: min(100% - 32px, 1240px); }
    .gpl-header-search, .gpl-login-link { display: none; }
    .gpl-header-actions { margin-left: auto; }
    .gpl-footer-links { grid-template-columns: repeat(2, 1fr); }
    .gpl-footer-bottom { flex-direction: column; }
}
