/* KEDAI WEB KAMEK - Universal Portfolio Stamp */

:root {
    --kwk-brand: #FF4500;
    --kwk-size: 90px;
    --kwk-speed-float: 4s;
    --kwk-speed-spin: 12s;
}

/* 1. MAIN CONTAINER */
.kwk-stamp-container {
    position: fixed !important;
    bottom: 100px !important;
    /* High enough to clear mobile nav bars */
    right: 25px !important;
    width: var(--kwk-size) !important;
    height: var(--kwk-size) !important;
    z-index: 999999 !important;
    display: block !important;
    cursor: pointer;
    filter: drop-shadow(0 10px 15px rgba(0, 0, 0, 0.3));
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    animation: kwk-float var(--kwk-speed-float) ease-in-out infinite;
}

.kwk-stamp-container:hover {
    transform: scale(1.15) rotate(5deg);
    animation-play-state: paused;
}

.kwk-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 2. THE CENTRAL HUB (Logo & Text) */
.kwk-main-center {
    width: 75%;
    height: 75%;
    background: var(--kwk-brand) !important;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    /* Stacks Icon over Text */
    align-items: center;
    justify-content: center;
    color: white !important;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 800;
    font-size: 10px;
    text-align: center;
    line-height: 1.1;
    z-index: 10;
    box-shadow: inset 0 0 15px rgba(255, 255, 255, 0.3);
}

/* 3. THE URL (The Screenshot Protector) */
/* 3. THE URL (The Screenshot Protector) */
.kwk-url-text {
    position: absolute;
    bottom: -12px;
    background: white;
    color: var(--kwk-brand);
    font-size: 8px;
    /* Slightly bigger since the URL is shorter now */
    font-weight: 900;
    padding: 2px 8px;
    border-radius: 4px;
    letter-spacing: 0.5px;
    white-space: nowrap;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    z-index: 20;
    border: 1px solid rgba(255, 69, 0, 0.2);
    text-transform: uppercase;
}

/* 4. THE SPINNING OUTER RING */
.kwk-orbit-ring {
    position: absolute;
    width: 105%;
    height: 105%;
    border: 2px dashed var(--kwk-brand);
    border-radius: 50%;
    animation: kwk-spin var(--kwk-speed-spin) linear infinite;
    z-index: 5;
    opacity: 0.8;
}

/* 5. THE LINK WRAPPER (Invisible reset) */
.kwk-stamp-link {
    text-decoration: none !important;
    color: inherit !important;
    outline: none;
}

/* ANIMATIONS */
@keyframes kwk-float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-18px);
    }
}

@keyframes kwk-spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* Responsive: Smaller for Mobile Devices */
@media (max-width: 768px) {
    .kwk-stamp-container {
        bottom: 110px !important;
        /* Ensure it clears the mobile bottom nav */
        right: 15px !important;
        --kwk-size: 75px;
    }

    .kwk-main-center {
        font-size: 8px;
    }

    .kwk-url-text {
        font-size: 6px;
        bottom: -8px;
    }
}
  
  