/* GabriCode — footer tasarımcı imzası */
@property --gc-angle {
    syntax: "<angle>";
    inherits: false;
    initial-value: 0deg;
}

.gc-credit {
    --gc-purple: #634498;
    --gc-purple-soft: #b096ec;
    --gc-blue: #add0e1;
    display: flex;
    justify-content: center;
    padding: 6px 12px 22px;
}

.gc-credit__pill {
    position: relative;
    isolation: isolate;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 6px 16px 6px 6px;
    border-radius: 999px;
    background:
        linear-gradient(rgba(12, 14, 28, 0.78), rgba(12, 14, 28, 0.78)) padding-box,
        conic-gradient(from var(--gc-angle), var(--gc-purple), var(--gc-blue), var(--gc-purple-soft), var(--gc-purple)) border-box;
    border: 1px solid transparent;
    box-shadow:
        0 10px 30px -12px rgba(99, 68, 152, 0.55),
        0 0 0 1px rgba(255, 255, 255, 0.02) inset;
    backdrop-filter: blur(14px) saturate(140%);
    -webkit-backdrop-filter: blur(14px) saturate(140%);
    overflow: hidden;
    animation: gc-spin 8s linear infinite;
    transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.35s ease;
}

.gc-credit__pill::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: radial-gradient(120% 140% at 0% 50%, rgba(99, 68, 152, 0.35), transparent 55%),
        radial-gradient(120% 140% at 100% 50%, rgba(173, 208, 225, 0.18), transparent 55%);
    pointer-events: none;
}

.gc-credit__pill::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: -40%;
    width: 35%;
    z-index: -1;
    background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.14), transparent);
    transform: skewX(-18deg);
    animation: gc-shine 5.5s ease-in-out infinite;
    pointer-events: none;
}

.gc-credit__pill:hover {
    transform: translateY(-2px);
    box-shadow:
        0 16px 40px -14px rgba(99, 68, 152, 0.75),
        0 0 24px -6px rgba(173, 208, 225, 0.35);
}

.gc-credit__mark {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 25%, #ffffff, #eef1fb 70%);
    box-shadow: 0 4px 12px -4px rgba(99, 68, 152, 0.6), 0 0 0 1px rgba(173, 208, 225, 0.5);
    flex-shrink: 0;
}

.gc-credit__mark img {
    width: 26px;
    height: auto;
    display: block;
    transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.gc-credit__pill:hover .gc-credit__mark img {
    transform: rotate(-12deg) scale(1.06);
}

.gc-credit__label {
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(226, 232, 240, 0.62);
    white-space: nowrap;
}

.gc-credit__sep {
    width: 1px;
    height: 16px;
    background: linear-gradient(transparent, rgba(173, 208, 225, 0.55), transparent);
}

.gc-credit__brand {
    display: inline-flex;
    align-items: center;
}

.gc-credit__word {
    display: block;
    height: 18px;
    width: auto;
}

.gc-credit__word--light {
    display: none;
}

@keyframes gc-spin {
    to { --gc-angle: 360deg; }
}

@keyframes gc-shine {
    0%, 55% { left: -40%; }
    85%, 100% { left: 120%; }
}

/* Aydınlık tema */
body.light-mode .gc-credit__pill {
    background:
        linear-gradient(rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0.85)) padding-box,
        conic-gradient(from var(--gc-angle), var(--gc-purple), var(--gc-blue), var(--gc-purple-soft), var(--gc-purple)) border-box;
    box-shadow: 0 10px 28px -14px rgba(99, 68, 152, 0.45);
}

body.light-mode .gc-credit__label {
    color: #64748b;
}

body.light-mode .gc-credit__word--dark {
    display: none;
}

body.light-mode .gc-credit__word--light {
    display: block;
}

@media (max-width: 480px) {
    .gc-credit__pill {
        gap: 8px;
        padding-right: 12px;
    }

    .gc-credit__label {
        font-size: 0.625rem;
        letter-spacing: 0.1em;
    }

    .gc-credit__word {
        height: 15px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .gc-credit__pill,
    .gc-credit__pill::after {
        animation: none;
    }

    .gc-credit__pill,
    .gc-credit__mark img {
        transition: none;
    }
}
