:root {
    --fg-bg: #060713;
    --fg-surface: #0d1226;
    --fg-surface-soft: #171b36;
    --fg-text: #f7fbff;
    --fg-text-soft: #c3c9ff;
    --fg-copper: #20f6d2;
    --fg-copper-soft: #b5ff3d;
    --fg-radius-sm: 10px;
    --fg-radius-md: 14px;
    --fg-radius-lg: 18px;
    --fg-space-1: 0.25rem;
    --fg-space-2: 0.5rem;
    --fg-space-3: 0.75rem;
    --fg-space-4: 1rem;
    --fg-space-5: 1.25rem;
    --fg-space-6: 1.5rem;
    --fg-space-8: 2rem;
    --fg-shadow-soft: 0 20px 45px -30px rgba(0, 0, 0, 0.8);
    --fg-shadow-brand: 0 18px 44px -22px rgba(32, 246, 210, 0.62);
}

body {
    background: var(--fg-bg);
    color: var(--fg-text);
}

.fg-container {
    width: min(100%, 1160px);
    margin-inline: auto;
    padding-inline: var(--fg-space-4);
}

.fg-card {
    border: 1px solid rgba(32, 246, 210, 0.24);
    border-radius: var(--fg-radius-md);
    background: linear-gradient(160deg, rgba(12, 18, 38, 0.96), rgba(8, 10, 24, 0.98));
    box-shadow: var(--fg-shadow-soft);
}

.fg-glass {
    background: rgba(10, 14, 32, 0.74);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.fg-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    border-radius: 999px;
    border: 1px solid transparent;
    padding: 0.72rem 1.1rem;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    transition: transform .2s ease, filter .2s ease, border-color .2s ease, background-color .2s ease;
}

.fg-btn:active {
    transform: translateY(1px);
}

.fg-btn-primary {
    background: linear-gradient(100deg, #b5ff3d 0%, #20f6d2 48%, #8b5cf6 100%);
    color: #061015;
    box-shadow: var(--fg-shadow-brand);
}

.fg-btn-primary:hover {
    filter: brightness(1.06);
}

.fg-btn-ghost {
    border-color: rgba(32, 246, 210, 0.34);
    background: rgba(11, 16, 35, 0.82);
    color: #f1f5f9;
}

.fg-btn-ghost:hover {
    background: rgba(20, 25, 55, 0.92);
    border-color: rgba(181, 255, 61, 0.55);
}

.fg-input,
.fg-textarea,
.fg-select {
    width: 100%;
    border-radius: 12px;
    border: 1px solid rgba(32, 246, 210, 0.24);
    background: rgba(6, 7, 19, 0.96);
    color: var(--fg-text);
    padding: 0.68rem 0.78rem;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.fg-input:focus,
.fg-textarea:focus,
.fg-select:focus {
    outline: none;
    border-color: rgba(32, 246, 210, 0.64);
    box-shadow: 0 0 0 3px rgba(32, 246, 210, 0.16);
}

.fg-skeleton {
    position: relative;
    overflow: hidden;
    background: linear-gradient(90deg, rgba(51, 65, 85, 0.35), rgba(71, 85, 105, 0.45), rgba(51, 65, 85, 0.35));
    background-size: 180% 100%;
    animation: fg-shimmer 1.6s infinite linear;
}

.fg-loading-shimmer {
    position: relative;
    overflow: hidden;
}

.fg-loading-shimmer::after {
    content: '';
    position: absolute;
    inset: 0;
    transform: translateX(-100%);
    background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.15) 50%, rgba(255,255,255,0) 100%);
    animation: fg-sweep 1.7s infinite;
}

@keyframes fg-shimmer {
    from { background-position: 180% 0; }
    to { background-position: -180% 0; }
}

@keyframes fg-sweep {
    to { transform: translateX(100%); }
}

.fg-modal {
    position: fixed;
    inset: 0;
    z-index: 80;
    display: none;
    align-items: center;
    justify-content: center;
    padding: max(1rem, env(safe-area-inset-top)) max(1rem, env(safe-area-inset-right)) max(1rem, env(safe-area-inset-bottom)) max(1rem, env(safe-area-inset-left));
    background: rgba(2, 6, 23, 0.75);
}

.fg-modal[data-open="1"] {
    display: flex;
}

.fg-modal-panel {
    width: min(100%, 980px);
    max-height: calc(100vh - 2rem);
    overflow: auto;
    border-radius: var(--fg-radius-lg);
    border: 1px solid rgba(255,255,255,0.12);
    background: #060713;
    box-shadow: var(--fg-shadow-soft);
}

.fg-safe-bottom {
    padding-bottom: max(var(--fg-space-4), env(safe-area-inset-bottom));
}


/* Bİ TIKLA neo theme: marginal fixed header and global accent refresh. */
#fg-main-header.fg-neo-header {
    isolation: isolate;
    background:
        radial-gradient(30rem 12rem at 10% 0%, rgba(181, 255, 61, 0.12), transparent 58%),
        radial-gradient(26rem 10rem at 86% 20%, rgba(139, 92, 246, 0.18), transparent 62%),
        linear-gradient(115deg, rgba(6, 7, 19, 0.92), rgba(12, 16, 39, 0.82));
    border-bottom-color: rgba(32, 246, 210, 0.22) !important;
    box-shadow: 0 18px 54px -34px rgba(32, 246, 210, 0.55), inset 0 -1px 0 rgba(255, 255, 255, 0.05);
}
#fg-main-header.fg-neo-header::before {
    content: "";
    position: absolute;
    left: min(2rem, 4vw);
    right: min(2rem, 4vw);
    bottom: -1px;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, transparent, #8b5cf6 14%, #20f6d2 46%, #b5ff3d 70%, transparent);
    opacity: 0.92;
    pointer-events: none;
}
#fg-main-header.fg-neo-header::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background-image: linear-gradient(120deg, rgba(255,255,255,0.06) 0 1px, transparent 1px 100%);
    background-size: 26px 100%;
    mask-image: linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent);
    opacity: 0.22;
    pointer-events: none;
}
.fg-neo-nav-link {
    position: relative;
    border: 1px solid rgba(32, 246, 210, 0.0);
    color: rgba(231, 236, 255, 0.82) !important;
}
.fg-neo-nav-link::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(100deg, rgba(32, 246, 210, 0.12), rgba(139, 92, 246, 0.14));
    opacity: 0;
    transition: opacity .22s ease;
}
.fg-neo-nav-link:hover {
    border-color: rgba(32, 246, 210, 0.26);
    color: #b5ff3d !important;
}
.fg-neo-nav-link:hover::before { opacity: 1; }
.fg-neo-cta {
    background: linear-gradient(100deg, #b5ff3d 0%, #20f6d2 48%, #8b5cf6 100%) !important;
    color: #061015 !important;
    box-shadow: 0 14px 34px -16px rgba(32, 246, 210, 0.9), 0 0 0 1px rgba(255,255,255,0.08) inset !important;
}
.fg-neo-mobile-menu {
    background: linear-gradient(180deg, rgba(6, 7, 19, 0.98), rgba(14, 18, 44, 0.98)) !important;
    border-top-color: rgba(32, 246, 210, 0.22) !important;
}
.fg-neo-mobile-link:hover {
    border-color: rgba(32, 246, 210, 0.34) !important;
    background: rgba(32, 246, 210, 0.08) !important;
    color: #b5ff3d !important;
}
