:root {
    --glass: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --muted: rgba(255, 255, 255, 0.65);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

body {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    background-color: #ffffff;
    min-height: 100vh;
}

.slider-wrapper {
    position: relative;
    width: min(1300px, 94%);
    margin: 60px auto;
}

.slider {
    margin-top: 80px !important;
    height: 480px; 
    width: 100%; 
    border-radius: 10px; 
    overflow: hidden; 
    position: relative;
    border: 1px solid var(--glass-border);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    z-index: 2;
}

.slide {
    min-width: 100%; 
    height: 100%; 
    position: relative; 
    display: flex; 
    align-items: flex-end;
    padding: 60px; 
    background-image: url('unsplash.png');
    background-size: cover !important; 
    background-position: center !important; 
    background-repeat: no-repeat !important; 
}

.slides { 
    display: flex; 
    height: 100%; 
    transition: transform 0.8s cubic-bezier(0.85, 0, 0.15, 1); 
}

.slide::after {
    content: ''; 
    position: absolute; 
    inset: 0;
    background: linear-gradient(to top, rgba(5, 10, 21, 0.95) 0%, rgba(5, 10, 21, 0.3) 50%, transparent 100%);
    z-index: 1;
}

.slide-content { 
    position: relative; 
    z-index: 2; 
    max-width: 650px; 
    width: 100%;
}

.slide-tag {
    font-weight: 800; 
    text-transform: uppercase; 
    font-size: 12px; 
    letter-spacing: 3px; 
    margin-bottom: 10px;
}

.slide-content span { 
    font-size: 52px; 
    font-weight: 500; 
    margin-bottom: 32px; 
    line-height: 1.1; 
    letter-spacing: -1px; 
}

.slide-content p { 
    color: var(--muted); 
    font-size: 18px; 
    margin-bottom: 25px; 
    line-height: 1.6;
}

.slide-actions {
    display: flex; 
    gap: 15px; 
    flex-wrap: wrap;
    align-items: center;
}

.btn-ghost {
    background: var(--glass); 
    border: 1px solid var(--glass-border); 
    color: #fff;
    padding: 12px 24px; 
    border-radius: 10px; 
    cursor: none !important; 
    transition: 0.3s; 
    font-weight: 600;
}

.btn-ghost:hover { 
    background: rgba(245, 245, 245, 0.168); 
    color: whitesmoke; 
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: transparent; 
    display: flex;
    justify-content: center;
    z-index: 1000; 
}

.navbar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(to bottom, rgba(11, 11, 11, 0.6), rgba(0, 0, 0, 0.8)), 
        url('unsplash.png');
    background-size: cover;
    background-position: center;
    opacity: 1; 
    z-index: -1; 
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 90%;
    max-width: 1200px;
    background-color: transparent; 
    padding: 14px 28px;
    border-radius: 12px; 
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05); 
}

.logo {
    color: #ffffff; 
    font-size: 1.25rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-decoration: none;
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-item {
    color: #c9cbcf;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 400;
    position: relative;
    padding: 6px 0;
    display: inline-block;
}

.nav-item::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 3px;
    background: #bbbcc0; 
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s cubic-bezier(.22,1,.36,1);
}

.nav-item:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.nav-item:not(:hover)::after {
    transform: scaleX(0);
    transform-origin: right;
}

::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: #ffffff;
}

::-webkit-scrollbar-thumb {
    background: #c3c7db;
    border-radius: 20px;
    border: 2px solid #ffffff;
    transition: background 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
    background: #5D6473;
}

html, body, a, button, input, select, [disabled], .disabled {
    cursor: none !important;
}

.custom-cursor-img {
    width: 38px;
    height: 38px;
    background-image: url('cursor.png'); 
    background-size: contain;
    background-repeat: no-repeat;
    position: fixed;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 100000 !important;
    transition: background-image 0.1s ease;
}

.custom-cursor-img.pointer {
    background-image: url('crosshair.png');
}

.custom-cursor-img.disabled {
    background-image: url('disabled.png');
}

.custom-cursor-img.loading {
    background-image: url('loading.png');
}

.cursor-trail-node {
    position: fixed;
    width: 12px;
    height: 12px;
    background-color: #2A2D34;
    border-radius: 50%;
    pointer-events: none;
    z-index: 9998;
    transform: translate(-50%, -50%);
    animation: fadeAndShrink 0.6s cubic-bezier(0.1, 0.8, 0.3, 1) forwards;
}

@keyframes fadeAndShrink {
    0% {
        opacity: 0.6;
        transform: translate(-50%, -50%) scale(1);
    }
    100% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.1);
    }
}

.portfolio-heading {
    font-size: 3.2rem;
    color: #ffffff;
    font-family: 'Gunny Rewritten', Arial, Helvetica, sans-serif !important;
    margin-bottom: 25px;
    height: 50px;
    display: flex;
    align-items: center;
}

#typewriter-text {
    color: rgba(255, 255, 255, 0.85);
    margin-left: 15px; 
}

.typing-cursor {
    color: #ffffff;
    font-weight: 400;
    margin-left: 4px;
    animation: blinkCursor 0.8s steps(2, start) infinite;
}

@keyframes blinkCursor {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

#preloader {
    position: fixed;
    inset: 0;
    z-index: 99999; 
    background: #fafafa; 
    display: flex;
    justify-content: center;
    align-items: flex-start;
    transition: opacity 0.6s cubic-bezier(0.25, 1, 0.5, 1), visibility 0.6s;
}

#preloader.fade-out {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.skeleton-container {
    width: 100%;
    max-width: 1300px;
    padding: 0 max(3%, 20px);
    margin: 0 auto;
}

.skeleton-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 90%;
    max-width: 1200px;
    margin: 14px auto 0 auto;
    padding: 14px 28px;
    height: 56px;
}

.skeleton-logo {
    width: 80px;
    height: 24px;
    border-radius: 4px;
}

.skeleton-nav-links {
    display: flex;
    gap: 32px;
}

.skeleton-link {
    width: 65px;
    height: 18px;
    border-radius: 4px;
}

.skeleton-card {
    width: min(1300px, 94%);
    margin: 140px auto 60px auto; 
    height: 480px;
    border-radius: 16px;
    border: 1px solid rgba(0, 0, 0, 0.04);
    background: #ffffff;
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 25px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.02);
}

.skeleton-title {
    width: 50%;
    max-width: 400px;
    height: 50px;
    border-radius: 6px;
}

.skeleton-text {
    width: 70%;
    max-width: 550px;
    height: 24px;
    border-radius: 4px;
}

.skeleton-btn {
    width: 150px;
    height: 45px;
    border-radius: 12px;
}

.skeleton-element {
    background: #ededf0; 
    position: relative;
    overflow: hidden;
}

.skeleton-element::after {
    content: '';
    position: absolute;
    inset: 0;
    transform: translateX(-100%);
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.5),
        transparent
    );
    animation: loadingShimmer 1.6s infinite;
}

@keyframes loadingShimmer {
    100% { transform: translateX(100%); }
}

#preloader ~ .custom-cursor-img {
    background-image: url('loading.png') !important;
}

#preloader.fade-out ~ .custom-cursor-img {
    background-image: none; 
}

#preloader, 
.skeleton-container, 
.skeleton-element, 
.skeleton-card {
    pointer-events: none !important;
}

.preloader-branding {
    margin: 60px auto -100px auto; 
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    pointer-events: none !important; 
    user-select: none;
    animation: textPulse 2s ease-in-out infinite;
}

.preloader-branding strong {
    font-size: 3rem;
    font-weight: 800;
    letter-spacing: 6px;
    color: #252627; 
    line-height: 1;
    margin-bottom: 8px;
}

.preloader-branding .preloader-sub {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 4px;
    color: #a1a1a6; 
}

@keyframes textPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.85;
    }
    50% {
        transform: scale(0.98);
        opacity: 0.5;
    }
}

#preloader-fact {
    margin-top: 25px;
    font-size: 0.9rem;
    font-weight: 500;
    color: #6e7075; 
    max-width: 450px;
    line-height: 1.5;
    text-align: center;
    padding: 8px 20px;
    animation: fadeInFact 0.5s ease-out forwards;
}

@keyframes fadeInFact {
    0% {
        opacity: 0;
        transform: translateY(5px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.site-footer {
    width: 100%;
    margin-top: 140px; 
    padding-top: 100px;
    background: #ffffff;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
    box-shadow: 0 -20px 50px rgba(0, 0, 0, 0.02);
}

.footer-container {
    width: min(1300px, 94%); 
    margin: 0 auto;
    display: flex;
    flex-direction: column;
}

.footer-top-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr; 
    gap: 60px;
    margin-bottom: 60px;
    z-index: 2;
}

.footer-brand-column {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-logo {
    font-size: 2.2rem;
    font-weight: 800;
    letter-spacing: 4px;
    color: #252627; 
    line-height: 1;
}

.footer-tagline {
    font-size: 0.95rem;
    color: #6e7075; 
    line-height: 1.6;
    max-width: 380px;
    font-weight: 500;
}

.footer-newsletter {
    margin-top: 15px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-newsletter label {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: #252627;
}

.newsletter-field {
    display: flex;
    max-width: 340px;
    height: 48px;
    background: #f7f7f9;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 10px;
    overflow: hidden;
    padding: 4px;
}

.newsletter-field input {
    width: 100%;
    background: transparent;
    border: none;
    outline: none;
    padding: 0 14px;
    font-size: 0.85rem;
    color: #252627;
}

.newsletter-btn {
    width: 40px;
    height: 40px;
    background: #252627;
    border-radius: 8px;
    border: none;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.newsletter-btn:hover {
    background: #3e4042;
}

.footer-links-column h3 {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #252627;
    margin-bottom: 25px;
    font-weight: 700;
}

.footer-links-column ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.footer-links-column ul li a {
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    color: #6e7075;
    display: inline-block;
    transition: color 0.25s ease, transform 0.25s ease;
}

.footer-links-column ul li a:hover {
    color: #252627;
}

.footer-watermark {
    width: 100%;
    text-align: center;
    user-select: none;
    pointer-events: none;
    margin-bottom: -20px;
    z-index: 1;
}

.footer-watermark span {
    font-size: 13vw; 
    font-weight: 900;
    letter-spacing: 2vw;
    color: rgba(0, 0, 0, 0.025); 
    line-height: 0.8;
    display: block;
}

.footer-bottom-bar {
    border-top: 1px solid rgba(0, 0, 0, 0.04);
    padding: 35px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: #a1a1a6;
    font-weight: 500;
    z-index: 2;
}

.footer-meta-stats {
    display: flex;
    align-items: center;
    gap: 25px;
}

.status-indicator {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #6e7075;
    font-weight: 600;
    font-size: 0.8rem;
    letter-spacing: 0.5px;
}

.pulse-dot {
    width: 7px;
    height: 7px;
    background-color: #2bda72; 
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 0 rgba(43, 218, 114, 0.4);
    animation: metricPulse 2s infinite;
}

@keyframes metricPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(43, 218, 114, 0.7);
    }
    70% {
        box-shadow: 0 0 0 8px rgba(43, 218, 114, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(43, 218, 114, 0);
    }
}

.id-bar-trigger {
    margin: 0 auto 25px auto;
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    box-sizing: border-box;
    background-color: #ffffff;
    width: 100%;
    max-width: 320px;
    padding: 12px 18px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    cursor: none !important; 
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    user-select: none;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    color: #252627;
}

.id-bar-trigger * {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

.id-bar-trigger:hover {
    background-color: #f7f7f9;
    transform: translateY(-2px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.06);
    border-color: rgba(0, 0, 0, 0.1);
}

.trigger-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #ededf0; 
    background-image: url('https://www.rw-designer.com/cursor-view/169712.png'); 
    background-size: 60%;
    background-repeat: no-repeat;
    background-position: center;
    margin-right: 12px;
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.trigger-avatar::after {
    content: '';
    position: absolute;
    bottom: 0px;
    right: 0px;
    width: 11px;
    height: 11px;
    background-color: transparent; 
    border-radius: 50%;
    border: 2px solid transparent;
}

.trigger-info {
    flex-grow: 1;
}

.trigger-username {
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    color: #252627;
}

.trigger-status {
    font-size: 0.75rem;
    font-weight: 500;
    color: #a1a1a6; 
}

.modal-overlay {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.4); 
    backdrop-filter: blur(12px); 
    -webkit-backdrop-filter: blur(12px);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s cubic-bezier(0.25, 1, 0.5, 1);
    z-index: 9999;
}

.modal-overlay * {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.id-card-main {
    background-color: #ffffff;
    width: 350px;
    max-width: 90%;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.08);
    transform: scale(0.92) translateY(10px);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    color: #252627;
}

.modal-overlay.active .id-card-main {
    transform: scale(1) translateY(0);
}

.id-card-banner {
    height: 100px;
    background: linear-gradient(135deg, #ededf0 0%, #e2e2e6 100%); 
    position: relative;
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.id-card-body {
    padding: 20px;
    position: relative;
    background-color: #ffffff;
}

.id-card-avatar {
    width: 85px;
    height: 85px;
    border-radius: 50%;
    background-color: #f7f7f9;
    background-image: url('https://www.rw-designer.com/cursor-view/169712.png');
    background-size: 50%;
    background-repeat: no-repeat;
    background-position: center;
    position: absolute;
    top: -60px;
    left: 20px;
    border: 5px solid #ffffff;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
}

.id-card-profile-data {
    margin-top: 38px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding-bottom: 16px;
}

.profile-name {
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.3px;
    color: #252627;
}

.profile-tag {
    font-size: 0.85rem;
    font-weight: 500;
    color: #a1a1a6;
    margin-top: 2px;
}

.id-card-section {
    margin-top: 16px;
}

.section-title {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #a1a1a6;
    margin-bottom: 6px;
    letter-spacing: 1.5px;
}

.section-content {
    font-size: 0.88rem;
    font-weight: 500;
    color: #6e7075;
    line-height: 1.5;
}

.id-card-section .badge-capsule {
    display: inline-flex;
    align-items: center;
    background: #f1f2f5;
    color: #252627;
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.3px;
    border: 1px solid rgba(0, 0, 0, 0.02);
    margin-top: 4px;
}

.close-hint {
    text-align: center;
    font-size: 0.75rem;
    font-weight: 500;
    color: #c9cbcf;
    margin-top: 24px;
    letter-spacing: 0.5px;
}

.id-grid-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr); 
    gap: 16px;                            
    max-width: 660px;                     
    margin: 40px auto;                    
    width: 100%;
    padding: 0 20px;
    box-sizing: border-box;
}

.astra-docs-section {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    max-width: 900px;
    margin: 80px auto;
    padding: 0 24px;
    color: #252627;
    box-sizing: border-box;
}

.docs-main-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    margin-bottom: 20px;
    text-transform: capitalize;
    color: #18191c;
}

.docs-lead-paragraph {
    text-align: center;
    font-size: 1.1rem;
    font-weight: 500;
    line-height: 1.6;
    color: #6e7075;
    max-width: 760px;
    margin: 0 auto 50px auto;
}

.docs-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px 50px;
    margin-top: 30px;
}

.docs-sub-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: #252627;
    letter-spacing: -0.2px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.docs-sub-title i {
    color: #a1a1a6;
    font-size: 1.1rem;
}

.docs-body-text {
    font-size: 0.95rem;
    font-weight: 400;
    line-height: 1.6;
    color: #6e7075;
}

.docs-footer-note {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px dashed rgba(0, 0, 0, 0.08);
    text-align: center;
}

.docs-footer-note h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #252627;
    margin-bottom: 8px;
}

.docs-footer-note p {
    font-size: 0.95rem;
    color: #6e7075;
    max-width: 680px;
    margin: 0 auto;
    line-height: 1.6;
}

.social-floating-wrapper {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin: 80px auto 40px auto; 
    width: 100%;
    max-width: 1200px;
    padding: 0 20px;
    box-sizing: border-box;
}

.social-floating-wrapper .button {
    display: flex;
    align-items: center;
    height: 60px;
    width: 60px;
    text-decoration: none;
    overflow: hidden;
    background: #fff;
    border-radius: 50px;
    box-shadow: 0px 10px 25px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.04);
    transition: width 0.4s cubic-bezier(0.25, 1, 0.5, 1), background 0.3s;
}

.social-floating-wrapper .button:hover {
    width: 180px;
}

.social-floating-wrapper .button .icon {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 58px;
    height: 58px;
    color: #252627;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-floating-wrapper .button .icon i {
    font-size: 22px;
}

.social-floating-wrapper .button:nth-child(1):hover .icon { background: #5865F2; color: #fff; }
.social-floating-wrapper .button:nth-child(2):hover .icon { background: #18191c; color: #fff; }
.social-floating-wrapper .button:nth-child(3):hover .icon { background: #24292e; color: #fff; }
.social-floating-wrapper .button:nth-child(4):hover .icon { background: #FF0000; color: #fff; }

.social-floating-wrapper .button span {
    font-size: 16px;
    font-weight: 600;
    margin-left: 12px;
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.social-floating-wrapper .button:hover span {
    opacity: 1;
    transition-delay: 0.1s;
}

.social-floating-wrapper .button:nth-child(1) span { color: #5865F2; }
.social-floating-wrapper .button:nth-child(2) span { color: #18191c; }
.social-floating-wrapper .button:nth-child(3) span { color: #24292e; }
.social-floating-wrapper .button:nth-child(4) span { color: #FF0000; }


#download:hover .icon { background: #fc0; }
.slides #download {left: 170%; position: absolute; top: 5px; z-index: 10001;}
#download span { color: #fc0; }
#download {display: inline-block;height: 60px;width: 60px;text-decoration: none;margin: 0 1px;overflow: hidden;background: #fff;border-radius: 50px;box-shadow: 0px 10px 10px rgba(0, 0, 0, 0.1);transition: all 0.3s ease-out;}
#download .icon {display: inline-block;height: 60px;width: 60px;color: #000;text-align: center;border-radius: 50px;box-sizing: border-box;line-height: 60px;transition: all 0.3s ease-out;}
#download .icon i {font-size: 25px;line-height: 60px;transition: all 0.3s ease-out;}
#download:hover .icon i {color: #fff;}
.mobile-text {display: none !important;}

@media (max-width: 1024px) {
    .portfolio-heading { font-size: 2.5rem; }
    .slide-content span { font-size: 42px; }
    .footer-top-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
    .footer-brand-column { grid-column: span 2; }
}
@media (max-width: 768px) {
    html, body { cursor: default !important; }
    .custom-cursor-img, .cursor-trail-node { display: none !important; }
    
    .nav-container { padding: 10px 20px; }
    .nav-links { gap: 15px; }
    
    .desktop-text {
        display: none !important;
    }

    .mobile-text {
        display: block !important;
        color: #ff6e6e !important; /* Makes the alert text a clean soft red, or use var(--muted) for normal styling */
        font-size: 15px;
        margin-bottom: 25px;
        line-height: 1.6;
    }

    #download {
        display: none !important;
    }
    .slider { 
        height: 400px; 
        margin-top: 60px !important; 
    }
    .slide { 
        height: 100%;
        padding: 30px 20px; 
        background-size: cover !important;
        background-position: center !important;
    }
    
    .portfolio-heading { font-size: 2rem; height: auto; flex-direction: column; align-items: flex-start; gap: 5px; }
    #typewriter-text { margin-left: 0; }
    .slide-content span { font-size: 32px; }
    .slide-content p { font-size: 15px; }
    
    .id-grid-container { grid-template-columns: 1fr; max-width: 340px; }
    .docs-grid { grid-template-columns: 1fr; gap: 30px; }
    .docs-main-title { font-size: 1.8rem; }
    
    .social-floating-wrapper { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; max-width: 340px; }
    .social-floating-wrapper .button { width: 100% !important; border-radius: 10px; padding: 0 10px; }
    .social-floating-wrapper .button span { opacity: 1; font-size: 14px; }
    
    .footer-top-grid { grid-template-columns: 1fr; gap: 30px; }
    .footer-brand-column { grid-column: span 1; }
    .footer-bottom-bar { flex-direction: column; gap: 15px; text-align: center; }
}

@media (max-width: 480px) {
    .nav-container { width: 95%; }
    .logo { font-size: 1.1rem; }
    .nav-links { gap: 10px; }
    .nav-item { font-size: 0.85rem; }
    
    .preloader-branding strong { font-size: 2rem; letter-spacing: 3px; }
    #preloader-fact { font-size: 0.8rem; }
    
    .social-floating-wrapper { grid-template-columns: 1fr; }
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    /* Clean, high-performance system font stack */
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.container {
    display: flex;
    flex-wrap: wrap;            /* Allows multiple cards to wrap to the next line safely */
    justify-content: center;    /* Centers the cards horizontally on the screen */
    align-items: center;        /* Aligns cards cleanly if they have different content heights */
    gap: 40px 30px;             /* Gives comfortable breathing room between cards (Vertical / Horizontal) */
    width: 100%;
    max-width: 1400px;          /* Prevents cards from spreading out too wide on massive monitors */
    margin: 120px auto 60px auto; /* 120px top margin clears your fixed navbar; 'auto' centers the whole block */
    padding: 0 24px;            /* Prevents cards from touching the screen edges on mobile */
    box-sizing: border-box;
}

/* Card Styling Updates */
.card {
    position: relative;
    width: 320px;
    height: 450px;
    background: #1a1a1a;
    border-radius: 20px;
    overflow: hidden;
    transition: 0.5s;
    cursor: none !important; /* Disables cursor on the card */
    
    /* Comfort Updates */
    zoom: 0.72;                 /* Bumped up from 0.72 so it's less tiny/squashed, but tweak as you like! */
    flex-shrink: 0;             /* Absolutely prevents the cards from squishing on smaller windows */
    
    /* Disables all text selection across the card */
    -webkit-user-select: none;
    -moz-user-select: none;     /* Added for Firefox support */
    -ms-user-select: none;
    user-select: none;
}

/* Circular Background Pop Behind the Shoe */
.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #2867dc; 
    clip-path: circle(150px at 80% 20%);
    transition: 0.3s ease-in-out;
    z-index: 2;
}

.card:hover::before {
    clip-path: circle(600px at 50% -20%);
}
/* Product Image Box Layering */
.imgBx {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 100; /* Keeps shoe floating above the background shapes */
    width: 100%;
    height: 220px;
    /* Cubic-bezier adds a realistic snap/bounce back effect */
    transition: 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275); 
}

.card:hover .imgBx {
    top: 0%;
    transform: translateY(30%) scale(1.07);
}

.imgBx img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 280px;
    filter: drop-shadow(5px 15px 15px rgba(0,0,0,0.6));
    -webkit-user-drag: none;
    -moz-user-drag: none;
    -ms-user-drag: none;
}

.contentBx {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 100px;
    text-align: center;
    transition: 0.5s ease-in-out;
    z-index: 10;
}

.card:hover .contentBx {
    height: 150px;
}

.contentBx h2 {
    position: relative;
    font-weight: 600;
    letter-spacing: 1px;
    color: #fff;
    margin-bottom: 10px;
}

/* Size and Color Options Menu Trigger Animation */
.size, .color {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 8px 20px;
    transition: 0.4s ease;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
}

.card:hover .size {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    transition-delay: 0.25s;
}

.card:hover .color {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    transition-delay: 0.35s;
}

.size h3, .color h3 {
    color: #fff;
    font-weight: 300;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-right: 10px;
}

/* Interactive Utility Badges (Sizes) */
.size span {
    width: 26px;
    height: 26px;
    text-align: center;
    line-height: 26px;
    font-size: 12px;
    background: #fff;
    margin: 0 5px;
    color: #111;
    border-radius: 4px;
    cursor: none !important; /* Disables cursor on these badges */
    transition: 0.2s;
}

.size span:hover {
    background: #9bdc28; 
    color: #fff;
}

/* Interactive Color Swatches */
.color span {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    margin: 0 5px;
    cursor: none !important; /* Disables cursor on color swatches */
    border: 2px solid transparent;
    transition: 0.2s;
}

.color span:hover {
    border: 2px solid #fff;
    transform: scale(1.1);
}

.contentBx a {
    display: inline-block;
    padding: 10px 30px;
    background: #fff;
    border-radius: 30px;
    margin-top: 15px;
    text-decoration: none;
    font-weight: 700;
    color: #111;
    opacity: 0;
    transform: translateY(20px);
    transition: 0.4s ease;
}

.genuine-badge {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 8px 20px;
    transition: 0.4s ease;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
}

.card:hover .genuine-badge {
    opacity: 1;
    visibility: visible;
    transform: translateY(-5px);
    transition-delay: 0.35s;
}

.genuine-badge span {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.15);
    padding: 4px 14px;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    pointer-events: none;
}

.card.genuine-cape {
    position: relative;
}
.card.genuine-cape .imgBx img {
    position: relative;
    z-index: 3; 
}
.sparkle-svg {
    position: absolute;
    pointer-events: none;
    z-index: 1; 
    transform: translate(-50%, -50%); 
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.7));
    /* Using a quick snap cubic-bezier curve to create an initial fast ignition blast */
    animation: diamondSparkleBlast 1.8s cubic-bezier(0.05, 0.85, 0.2, 1) forwards;
}

@keyframes diamondSparkleBlast {
    0% {
        transform: translate(-50%, -50%) scale(0) rotate(0deg);
        opacity: 0;
    }
    /* 1. Fast Explosive Burst: Instantly achieves 15% of its massive journey in a flash */
    6% {
        opacity: 1;
        transform: translate(calc(-50% + var(--tx) * 0.15), calc(-50% + var(--ty) * 0.15)) scale(1.5) rotate(45deg);
    }
    /* 2. Wide Traveling Phase: Remains completely solid and opaque while sailing far out past the cape */
    80% {
        opacity: 1;
        transform: translate(calc(-50% + var(--tx) * 0.85), calc(-50% + var(--ty) * 0.85)) scale(1.1) rotate(120deg);
    }
    /* 3. Delayed Dissolve Phase: Only shrinks and disappears at the very edge of its trajectory path */
    100% {
        transform: translate(calc(-50% + var(--tx)), calc(-50% + var(--ty))) scale(0) rotate(160deg);
        opacity: 0;
    }
}
/* ==========================================================================
   STREAMLINED CCCAPE: EFFORTLESS TEXT & COLOR OVERLAY
   ========================================================================== */

/* 1. Background Shape Animation */
.card.cccape:hover::before {
    clip-path: circle(600px at 50% -20%);
}

/* 2. Image Box Base State (Centered) */
.card.cccape .imgBx {
    top: 50%;
    transform: translateY(-50%);
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1), top 0.6s ease;
}

/* Image Box Hover State (Effortless slight lift) */
.card.cccape:hover .imgBx {
    top: 22%;
    transform: translateY(0) scale(1.1);
}

.card.cccape .imgBx img {
    filter: drop-shadow(5px 15px 15px rgba(0, 0, 0, 0.4)) !important;
    transition: filter 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.card.cccape:hover .imgBx img {
    filter: 
        drop-shadow(0 0 10px var(--glow-color)) 
        drop-shadow(0 0 30px var(--glow-color))
        drop-shadow(5px 15px 20px rgba(0, 0, 0, 0.45)) !important;
}

.card.cccape .contentBx {
    position: absolute;
    bottom: 35px; /* Locked near the bottom, no more changing heights */
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    pointer-events: none; /* Keeps card hover incredibly responsive */
    z-index: 10;
}

/* Title Text Base State (Comfortably centered in its zone) */
.card.cccape .contentBx h2 {
    color: #ffffff !important;
    transform: translateY(-340px); /* Sits slightly lower when not hovered */
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1), color 0.4s ease;
}

.card.cccape:hover .contentBx h2 {
    color: #ffffff !important;
    transform: translateY(-260px);
}

.card.cccape .color {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
    margin-top: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px); /* Rises up from below */
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.4s ease, visibility 0.4s;
}

/* Color Swatches Hover State */
.card.cccape:hover .color {
    opacity: 1;
    visibility: visible;
    transform: translateY(20px);
}

/* Labels Text Color Smooth Transition */
.card.cccape .contentBx h3 {
    color: #ffffff !important;
    transition: color 0.4s ease;
}

.category-wrapper {
    width: min(1300px, 94%);
    margin: -20px auto 40px auto; /* Pulls closer to slider safely */
    display: flex;
    justify-content: center;
}

.category-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
    width: 100%;
}

.category-btn {
    background: #1a1a1a;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    width: 110px;
    height: 110px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: rgba(255, 255, 255, 0.6);
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    cursor: none !important; /* Preserves custom site engine cursor */
}

.category-btn i {
    font-size: 24px;
    transition: transform 0.3s ease;
}

/* Specific 90 degree rotation updates */
.category-btn.rotate-90 i {
    transform: rotate(90deg);
}

.category-btn span {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* Hover States */
.category-btn:hover {
    background: #222222;
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-4px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.category-btn.rotate-90:hover i {
    transform: rotate(90deg) scale(1.1);
}

.category-btn:not(.rotate-90):hover i {
    transform: scale(1.1);
}

/* Active Filter Selection Indicator */
.category-btn.active {
    background: #ffffff;
    color: #111111;
    border-color: #ffffff;
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.1);
}

/* Responsive Scaling down to Mobile screens */
@media (max-width: 768px) {
    .category-wrapper {
        margin-top: 0px;
    }
    .category-grid {
        gap: 12px;
    }
    .category-btn {
        width: 95px;
        height: 95px;
        border-radius: 12px;
        gap: 8px;
    }
    .category-btn i {
        font-size: 20px;
    }
    .category-btn span {
        font-size: 11px;
    }
}