:root {
    --flc-bg:              #1a1a2e;
    --flc-bg-gradient:     linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    --flc-text:            #a8b2c1;
    --flc-text-hover:      #ffffff;
    --flc-accent:          #4fc3f7;
    --flc-accent-glow:     rgba(79, 195, 247, 0.3);
    --flc-separator:       rgba(255, 255, 255, 0.15);
    --flc-border-top:      linear-gradient(90deg, transparent 0%, rgba(79, 195, 247, 0.4) 50%, transparent 100%);
    --flc-font:            -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --flc-radius:          8px;
    --flc-transition:      0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* FOOTER */
.flc-footer {
   /* position: relative;
    background: var(--flc-bg-gradient);*
    border-top: 1px solid rgba(79, 195, 247, 0.15);*/
    padding: 0;
    margin: 0;
    font-family: var(--flc-font);
    font-size: 14px;
    line-height: 1.5;
    z-index: 100;
    width: 100%;
    display: block;
    /*box-sizing: border-box;*/
}

.flc-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--flc-border-top);
    z-index: 1;
}

.flc-footer *, .flc-footer *::before, .flc-footer *::after {
    box-sizing: border-box;
}

.flc-footer__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 24px 30px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}

.flc-footer__links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 6px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.flc-footer__link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    color: var(--flc-text);
    text-decoration: none;
    border-radius: var(--flc-radius);
    transition: all var(--flc-transition);
    position: relative;
    font-weight: 500;
    letter-spacing: 0.02em;
    background: transparent;
    border: 1px solid transparent;
    cursor: pointer;
    font-size: 13px;
}

.flc-footer__link:hover {
    color: var(--flc-text-hover);
    background: rgba(79, 195, 247, 0.08);
    border-color: rgba(79, 195, 247, 0.2);
    box-shadow: 0 0 20px var(--flc-accent-glow);
    transform: translateY(-1px);
}

.flc-footer__icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.flc-footer__link svg {
    width: 16px;
    height: 16px;
    color: var(--flc-accent);
    opacity: 0.7;
    transition: opacity var(--flc-transition);
}

.flc-footer__link:hover svg {
    opacity: 1;
}

.flc-footer__separator {
    color: var(--flc-separator);
    font-size: 12px;
    user-select: none;
    margin: 0 4px;
}

.flc-footer__copyright {
    color: rgba(168, 178, 193, 0.5);
    font-size: 12px;
    letter-spacing: 0.03em;
}

/* MODAL OVERLAY */
.flc-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100vw;
    height: 100vh;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(10, 10, 30, 0);
    backdrop-filter: blur(0px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

.flc-modal-overlay--open {
    opacity: 1;
    visibility: visible;
    background: rgba(10, 10, 30, 0.75);
    backdrop-filter: blur(8px);
    pointer-events: auto;
}

/* MODAL */
.flc-modal {
    position: relative;
    width: 100%;
    max-width: 720px;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.25);
    transform: translateY(30px) scale(0.96);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.flc-modal-overlay--open .flc-modal {
    transform: translateY(0) scale(1);
}

.flc-modal::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #4fc3f7, #29b6f6, #0288d1, #29b6f6, #4fc3f7);
    background-size: 200% 100%;
    animation: flc-shimmer 3s ease-in-out infinite;
    z-index: 2;
}

@keyframes flc-shimmer {
    0%, 100% { background-position: 0% 50%; }
    50%      { background-position: 100% 50%; }
}

.flc-modal__close {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 10;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    color: #64748b;
    cursor: pointer;
    transition: all 0.2s ease;
}

.flc-modal__close:hover {
    background: #fee2e2;
    border-color: #fca5a5;
    color: #dc2626;
    transform: rotate(90deg);
}

.flc-modal__header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 28px 60px 20px 32px;
    border-bottom: 1px solid #f0f2f5;
    background: #ffffff;
}

.flc-modal__icon svg {
    width: 28px;
    height: 28px;
    color: var(--flc-accent);
}

.flc-modal__title {
    font-size: 20px;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0;
}

.flc-modal__body {
    flex: 1 1 auto;
    overflow-y: auto;
    padding: 28px 32px 32px;
    background: #ffffff;
}

.flc-modal__body::-webkit-scrollbar {
    width: 6px;
}

.flc-modal__body::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 3px;
}

.flc-modal__content {
    color: #374151;
    font-size: 14.5px;
    line-height: 1.75;
}

.flc-modal__content h2 {
    font-size: 18px;
    font-weight: 700;
    color: #1a1a2e;
    margin: 30px 0 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid #f0f2f5;
}

.flc-modal__content p {
    margin-bottom: 14px;
}

.flc-modal__loader {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding: 60px 20px;
    color: #94a3b8;
}

.flc-spinner {
    width: 36px;
    height: 36px;
    border: 3px solid #e2e8f0;
    border-top-color: var(--flc-accent);
    border-radius: 50%;
    animation: flc-spin 0.8s linear infinite;
}

@keyframes flc-spin {
    to { transform: rotate(360deg); }
}

@media (max-width: 768px) {
    .flc-footer__inner { padding: 20px 16px 16px; }
    .flc-footer__links { flex-direction: column; gap: 2px; }
    .flc-footer__separator { display: none; }
    .flc-footer__link { width: 100%; justify-content: center; }
    .flc-modal-overlay { padding: 12px; align-items: flex-end; }
    .flc-modal { border-radius: 16px 16px 0 0; }
}

/* SOPORTE DASHICONS */
.flc-footer__link .dashicons {
    font-size: 17px; /* Un poco más grande para compensar visualmente con los SVG */
    width: 16px;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--flc-accent);
}

.flc-modal__icon .dashicons {
    font-size: 28px;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--flc-accent);
}

