/* StrayDog Branding Variables */
:root {
    --sd-cyan: #00e5ff;
    --sd-green: #00ff41;
    --sd-amber: #ffbf00;
    --sd-magenta: #ff00ff;
    --sd-fg: #e0e0e0;
    --sd-muted: #a0a0a0;
    --sd-shadow: rgba(0, 229, 255, 0.2);
    --hunter-green: #355E3B;
    --tiffany-pink: #FF86C8;
}

/* Footer Styling */
.sd-footer {
    position: relative;
    margin-top: 4rem;
    padding: 2rem 0;
    border-top: 2px solid rgba(0, 229, 255, 0.2);
    color: var(--sd-muted);
    font-family: "IBM Plex Mono", monospace;
    text-align: center;
}

.sd-footer .sd-credits {
    margin-top: 0.5rem;
    font-size: 0.9rem;
    line-height: 1.6;
}

.sd-footer a {
    color: var(--sd-cyan);
    text-decoration: none;
    transition: all 0.2s ease;
}

.sd-footer a:hover {
    color: var(--sd-green);
    text-shadow: 0 0 8px var(--sd-cyan);
}



/* Single Footer Gear Logo */
.sd-footer-gear {
    display: block;
    width: 40px;
    height: 40px;
    margin: 0 auto 1rem;
    opacity: 0.5;
    border-radius: 15%;
}

/* GitHub Links */
.sd-footer .sd-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 0.75rem;
}

.sd-github {
    width: 20px;
    height: 20px;
    opacity: 0.7;
    transition: all 0.3s ease;
}

/* First GitHub link - Hunter Green for StrayDogSyn */
.sd-footer .sd-links a:first-child .sd-github {
    fill: var(--hunter-green);
}

.sd-footer .sd-links a:first-child:hover .sd-github {
    opacity: 1;
    filter: drop-shadow(0 0 4px var(--hunter-green));
}

/* Second GitHub link - Tiffany Pink for miasmith81 */
.sd-footer .sd-links a:last-child .sd-github {
    fill: var(--tiffany-pink);
}

.sd-footer .sd-links a:last-child:hover .sd-github {
    opacity: 1;
    filter: drop-shadow(0 0 4px var(--tiffany-pink));
}

/* Subtle Watermark - Bottom Right (Stray Stencil) */
.sd-watermark::before {
    content: "";
    position: fixed;
    bottom: 10%;
    right: 5%;
    width: 220px;
    height: 220px;
    background-image: url("../brands/stray-stencil.png");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    opacity: 0.24;
    pointer-events: none;
    z-index: 0;
}

/* Fixed Top-Left Corner Logo (Silver StrayDog Logo) */
.sd-watermark::after {
    content: "";
    position: fixed;
    top: 10%;
    left: 5%;
    width: 220px;
    height: 220px;
    background-image: url("../brands/straydog-syndications-llc-main.png");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    opacity: 0.26;
    pointer-events: none;
    z-index: 1;
}

/* Affiliate Icons with Glassmorphic Tooltips */
.affiliate-icon {
    position: relative;
    display: inline-block;
}

.affiliate-icon a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.affiliate-icon a:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--accent-cyan);
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 255, 255, 0.2);
}

.affiliate-icon svg {
    transition: all 0.3s ease;
    opacity: 0.7;
}

.affiliate-icon a:hover svg {
    opacity: 1;
    transform: scale(1.1);
    filter: drop-shadow(0 0 8px currentColor);
}

/* Glassmorphic Tooltip */
.affiliate-tooltip {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(-8px);
    background: rgba(20, 20, 40, 0.95);
    backdrop-filter: blur(12px);
    color: var(--accent-cyan);
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0, 255, 255, 0.2);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    z-index: 1000;
}

.affiliate-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-top-color: rgba(20, 20, 40, 0.95);
}

.affiliate-icon:hover .affiliate-tooltip {
    opacity: 1;
    transform: translateX(-50%) translateY(-12px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .sd-watermark::before {
        width: 140px;
        height: 140px;
        bottom: 8%;
        right: 5%;
    }
    
    .sd-watermark::after {
        width: 140px;
        height: 140px;
        top: 8%;
        left: 5%;
    }
}

