/**
 * Bith Ultimate Icon Box Widget - 38 Premium Skins
 * @package Bith_Core
 * @since 1.0.0
 */

/* ============================================
   ROOT VARIABLES
   ============================================ */
:root {
    --bith-ib-primary: var(--bith-widget-primary, #6366f1);
    --bith-ib-secondary: var(--bith-widget-secondary, #a855f7);
    --bith-ib-accent: var(--bith-widget-accent, #06b6d4);
    --bith-ib-bg: var(--bith-widget-surface, #ffffff);
    --bith-ib-text: var(--bith-widget-text-heading, #1e293b);
    --bith-ib-text-sub: var(--bith-widget-text-secondary, #64748b);
    --bith-ib-border: var(--bith-widget-border, #e2e8f0);
    --bith-ib-radius: var(--bith-widget-radius-xl, 20px);
    --bith-ib-shadow: var(--bith-widget-shadow-md);
    --bith-ib-transition: var(--bith-widget-duration-normal, 0.4s) var(--bith-widget-ease-out, ease);
}

/* ============================================
   BASE STYLES
   ============================================ */
.bith-icon-box {
    position: relative;
    background: var(--bith-ib-bg);
    border-radius: var(--bith-ib-radius);
    padding: 2rem;
    transition: all var(--bith-ib-transition);
    min-height: 320px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%;
    box-sizing: border-box;
}

/* Icon Base Styles - Common for .ib-icon and .ib-icon-wrap */
.bith-icon-box .ib-icon,
.bith-icon-box .ib-icon-wrap {
    font-size: 2rem;
    color: var(--bith-ib-primary);
    margin-bottom: 1.25rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all var(--bith-ib-transition);
    line-height: 1;
}

/* SVG Icons from Elementor */
.bith-icon-box .ib-icon svg,
.bith-icon-box .ib-icon-wrap svg {
    width: 1em;
    height: 1em;
    fill: currentColor;
}

/* Font Awesome icons inside containers */
.bith-icon-box .ib-icon i,
.bith-icon-box .ib-icon-wrap i {
    font-size: inherit;
    color: inherit;
    line-height: inherit;
}

.bith-icon-box .ib-title {
    font-weight: 600;
    font-size: 1.25rem;
    color: var(--bith-ib-text);
    margin: 0 0 0.5rem;
}

.bith-icon-box .ib-desc {
    font-size: 0.95rem;
    color: var(--bith-ib-text-sub);
    line-height: 1.5;
    margin: 0;
}

.bith-icon-box .ib-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
    color: var(--bith-ib-primary);
    font-weight: 500;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.2s;
}

.bith-icon-box .ib-link:hover {
    gap: 0.8rem;
    opacity: 1;
}

/* Content wrapper */
.bith-icon-box .ib-content {
    position: relative;
    z-index: 2;
}

/* Additional Icon Containers */
.bith-icon-box .ib-badge-icon,
.bith-icon-box .ib-glitch-item {
    font-size: 2rem;
    color: var(--bith-ib-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.bith-icon-box .ib-badge-icon svg,
.bith-icon-box .ib-glitch-item svg {
    width: 1em;
    height: 1em;
    fill: currentColor;
}

.bith-icon-box .ib-badge-icon i,
.bith-icon-box .ib-glitch-item i {
    font-size: inherit;
    color: inherit;
}

/* ============================================
   SKIN 1: MINIMALIST
   ============================================ */
.bith-icon-box.skin-minimalist {
    border: 1px solid var(--bith-ib-border);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.bith-icon-box.skin-minimalist:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
    border-color: rgba(99, 102, 241, 0.3);
}

.bith-icon-box.skin-minimalist .ib-icon {
    background: rgba(99, 102, 241, 0.1);
    width: 60px;
    height: 60px;
    border-radius: 12px;
}

/* ============================================
   SKIN 2: CIRCLE
   ============================================ */
.bith-icon-box.skin-circle {
    border-radius: 50%;
    width: 320px;
    height: 320px;
    padding: 0;
    overflow: hidden;
    margin: 0 auto;
}

.bith-icon-box.skin-circle .ib-canvas {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    background: radial-gradient(circle at center, var(--bith-ib-bg) 0%, #f1f5f9 100%);
}

.bith-icon-box.skin-circle .ib-icon {
    font-size: 3rem;
    margin: 0;
}

.bith-icon-box.skin-circle .ib-reveal-content {
    max-height: 0;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease;
    padding: 0 2rem;
}

.bith-icon-box.skin-circle:hover .ib-canvas {
    background: linear-gradient(135deg, var(--bith-ib-primary), var(--bith-ib-secondary));
}

.bith-icon-box.skin-circle:hover .ib-icon {
    transform: translateY(-10px) scale(0.8);
    color: white;
}

.bith-icon-box.skin-circle:hover .ib-reveal-content {
    max-height: 150px;
    opacity: 1;
    transform: translateY(0);
}

.bith-icon-box.skin-circle:hover .ib-title,
.bith-icon-box.skin-circle:hover .ib-desc {
    color: white;
}

/* ============================================
   SKIN 3: SLIDER REVEAL
   ============================================ */
.bith-icon-box.skin-slider {
    overflow: hidden;
}

.bith-icon-box.skin-slider .ib-bg-overlay {
    position: absolute;
    bottom: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--bith-ib-secondary), var(--bith-ib-primary));
    transition: 0.5s ease;
    border-radius: 50% 50% 0 0;
    transform: scaleX(1.5);
}

.bith-icon-box.skin-slider:hover .ib-bg-overlay {
    bottom: -20%;
}

.bith-icon-box.skin-slider .ib-icon-wrap {
    font-size: 3rem;
    color: var(--bith-ib-primary);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    transition: all 0.4s;
}

.bith-icon-box.skin-slider:hover .ib-icon-wrap {
    transform: translate(-50%, -120%);
    color: white;
}

.bith-icon-box.skin-slider .ib-content {
    position: relative;
    z-index: 2;
}

.bith-icon-box.skin-slider .ib-title {
    margin-top: 120px;
}

.bith-icon-box.skin-slider:hover .ib-title {
    color: white;
}

.bith-icon-box.skin-slider .ib-hidden-text {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: 0.5s;
}

.bith-icon-box.skin-slider:hover .ib-hidden-text {
    max-height: 100px;
    opacity: 1;
    color: rgba(255, 255, 255, 0.9);
}

.bith-icon-box.skin-slider .ib-btn-hidden {
    position: absolute;
    right: 20px;
    background: white;
    color: var(--bith-ib-primary);
    padding: 8px 15px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.8rem;
    opacity: 0;
    transform: translateY(20px);
    transition: 0.4s;
}

.bith-icon-box.skin-slider:hover .ib-btn-hidden {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   SKIN 4: BLOB
   ============================================ */
.bith-icon-box.skin-blob {
    background: transparent;
    box-shadow: none;
    overflow: hidden;
    color: white;
}

.bith-icon-box.skin-blob .ib-blob-shape {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 350px;
    height: 350px;
    background: linear-gradient(135deg, var(--bith-ib-primary), var(--bith-ib-secondary));
    transform: translate(-50%, -50%);
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    z-index: 1;
    animation: blobWobble 8s ease-in-out infinite;
}

.bith-icon-box.skin-blob:hover .ib-blob-shape {
    border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%;
    width: 380px;
    height: 380px;
}

.bith-icon-box.skin-blob .ib-content {
    position: relative;
    z-index: 2;
}

.bith-icon-box.skin-blob .ib-icon,
.bith-icon-box.skin-blob .ib-title,
.bith-icon-box.skin-blob .ib-desc {
    color: white;
}

@keyframes blobWobble {

    0%,
    100% {
        border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    }

    50% {
        border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%;
    }
}

/* ============================================
   SKIN 5: GLASSMORPHISM
   ============================================ */
.bith-icon-box.skin-glass {
    background: url('https://images.unsplash.com/photo-1579546929518-9e396f3cc809?w=800') no-repeat center/cover;
    padding: 0;
    overflow: hidden;
}

.bith-icon-box.skin-glass .ib-glass-bg {
    position: absolute;
    inset: 15px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: var(--bith-ib-radius);
    z-index: 1;
    transition: all 0.4s;
}

.bith-icon-box.skin-glass .ib-content {
    position: relative;
    padding: 3rem 2rem;
    z-index: 2;
}

.bith-icon-box.skin-glass:hover .ib-glass-bg {
    inset: 0;
    background: rgba(255, 255, 255, 0.4);
}

/* ============================================
   SKIN 6: NEUMORPHISM
   ============================================ */
.bith-icon-box.skin-neumorphism {
    background: #eef2f6;
    border-radius: 30px;
    box-shadow: 10px 10px 20px #bebebe, -10px -10px 20px #ffffff;
}

.bith-icon-box.skin-neumorphism .ib-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #eef2f6;
    box-shadow: 5px 5px 10px #bebebe, -5px -5px 10px #ffffff;
    color: var(--bith-ib-secondary);
}

.bith-icon-box.skin-neumorphism:hover .ib-icon {
    box-shadow: inset 5px 5px 10px #bebebe, inset -5px -5px 10px #ffffff;
    transform: scale(0.95);
}

/* ============================================
   SKIN 7: SIDEBAR ROTATE
   ============================================ */
.bith-icon-box.skin-sidebar-rotate {
    display: flex;
    flex-direction: row;
    align-items: center;
    text-align: left;
    gap: 20px;
    justify-content: flex-start;
    overflow: hidden;
}

.bith-icon-box.skin-sidebar-rotate .ib-side-bar {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 30%;
    background: var(--bith-ib-primary);
    transition: 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    border-radius: 0 4px 4px 0;
}

.bith-icon-box.skin-sidebar-rotate:hover .ib-side-bar {
    height: 100%;
    width: 6px;
}

.bith-icon-box.skin-sidebar-rotate .ib-icon-container {
    min-width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bith-icon-box.skin-sidebar-rotate .ib-icon-wrap {
    font-size: 2.5rem;
    color: var(--bith-ib-text-sub);
    transition: 0.6s ease;
}

.bith-icon-box.skin-sidebar-rotate:hover .ib-icon-wrap {
    color: var(--bith-ib-primary);
    transform: rotate(360deg) scale(1.1);
}

/* ============================================
   SKIN 8: BORDER DRAW
   ============================================ */
.bith-icon-box.skin-border-draw {
    background: transparent;
    box-shadow: none;
}

.bith-icon-box.skin-border-draw .ib-border-svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.bith-icon-box.skin-border-draw .ib-border-svg rect {
    fill: var(--bith-ib-bg);
    stroke: var(--bith-ib-primary);
    stroke-width: 3;
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    transition: stroke-dashoffset 1s ease-in-out;
}

.bith-icon-box.skin-border-draw:hover .ib-border-svg rect {
    stroke-dashoffset: 0;
}

.bith-icon-box.skin-border-draw .ib-content {
    position: relative;
    z-index: 1;
}

/* ============================================
   SKIN 9: GRID SPLIT
   ============================================ */
.bith-icon-box.skin-mini-grid {
    background: transparent;
    border: 1px solid var(--bith-ib-border);
    box-shadow: none;
    overflow: hidden;
}

.bith-icon-box.skin-mini-grid:hover {
    border-color: var(--bith-ib-primary);
    background: white;
    box-shadow: 0 15px 40px -10px rgba(99, 102, 241, 0.15);
    transform: translateY(-3px);
}

.bith-icon-box.skin-mini-grid .ib-grid-lines {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(var(--bith-ib-border) 1px, transparent 1px), linear-gradient(90deg, var(--bith-ib-border) 1px, transparent 1px);
    background-size: 20px 20px;
    opacity: 0.3;
    pointer-events: none;
}

.bith-icon-box.skin-mini-grid .ib-icon-wrap {
    color: var(--bith-ib-text);
    background: #f1f5f9;
    width: 80px;
    height: 80px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    transition: 0.4s;
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
}

.bith-icon-box.skin-mini-grid:hover .ib-icon-wrap {
    background: var(--bith-ib-primary);
    color: white;
    animation: shake 0.5s ease-in-out;
}

@keyframes shake {

    0%,
    100% {
        transform: rotate(0deg);
    }

    25% {
        transform: rotate(-10deg);
    }

    50% {
        transform: rotate(10deg);
    }

    75% {
        transform: rotate(-5deg);
    }
}

/* ============================================
   SKIN 10: MAGNETIC
   ============================================ */
.bith-icon-box.skin-magnetic {
    box-shadow: var(--bith-ib-shadow);
    border: 1px solid transparent;
    cursor: pointer;
}

.bith-icon-box.skin-magnetic:hover {
    border-color: rgba(99, 102, 241, 0.2);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 0 0 4px rgba(99, 102, 241, 0.1);
}

.bith-icon-box.skin-magnetic .ib-icon {
    font-size: 2.5rem;
}

.bith-icon-box.skin-magnetic .magnetic-item {
    transition: transform 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ============================================
   SKIN 11: ELASTIC EXPAND
   ============================================ */
.bith-icon-box.skin-elastic {
    overflow: hidden;
    padding: 0;
}

.bith-icon-box.skin-elastic .ib-content {
    padding: 2rem;
    height: 100%;
}

.bith-icon-box.skin-elastic .ib-top {
    padding-bottom: 1rem;
}

.bith-icon-box.skin-elastic .ib-drawer {
    max-height: 0;
    opacity: 0;
    transform: scaleY(0.8);
    transform-origin: top;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.bith-icon-box.skin-elastic:hover .ib-drawer {
    max-height: 100px;
    opacity: 1;
    transform: scaleY(1);
}

.bith-icon-box.skin-elastic .read-more {
    margin-top: 1rem;
    padding: 0.5rem 1.25rem;
    background: linear-gradient(135deg, var(--bith-ib-primary), var(--bith-ib-secondary));
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
    text-decoration: none;
    display: inline-block;
}

/* ============================================
   SKIN 12: HEXAGON
   ============================================ */
.bith-icon-box.skin-hexagon {
    background: transparent;
    box-shadow: none;
    filter: drop-shadow(0 10px 10px rgba(0, 0, 0, 0.1));
    padding: 1rem;
}

.bith-icon-box.skin-hexagon .ib-hex-shape {
    background: var(--bith-ib-bg);
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    padding: 4rem 2rem;
    transition: all 0.4s;
}

.bith-icon-box.skin-hexagon:hover .ib-hex-shape {
    background: var(--bith-ib-primary);
    transform: translateY(-5px);
}

.bith-icon-box.skin-hexagon:hover .ib-icon,
.bith-icon-box.skin-hexagon:hover .ib-title,
.bith-icon-box.skin-hexagon:hover .ib-desc {
    color: white;
}

/* ============================================
   SKIN 13: TICKET
   ============================================ */
.bith-icon-box.skin-ticket {
    display: flex;
    flex-direction: row;
    background: transparent;
    box-shadow: none;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.05));
    border-radius: 0;
    padding: 0;
}

.bith-icon-box.skin-ticket .ib-ticket-stub {
    width: 35%;
    background: var(--bith-ib-primary);
    color: white;
    padding: 2rem 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    -webkit-mask: radial-gradient(circle at 0 50%, transparent 10px, black 11px);
    mask: radial-gradient(circle at 0 50%, transparent 10px, black 11px);
}

.bith-icon-box.skin-ticket .ib-ticket-stub .ib-icon,
.bith-icon-box.skin-ticket .ib-ticket-stub .ib-title {
    color: white;
    margin-bottom: 0.5rem;
}

.bith-icon-box.skin-ticket .ib-ticket-body {
    flex: 1;
    background: var(--bith-ib-bg);
    padding: 2rem;
    border-left: 2px dashed #cbd5e1;
    display: flex;
    align-items: center;
    -webkit-mask: radial-gradient(circle at 100% 50%, transparent 10px, black 11px);
    mask: radial-gradient(circle at 100% 50%, transparent 10px, black 11px);
}

.bith-icon-box.skin-ticket:hover {
    transform: scale(1.02);
}

/* ============================================
   SKIN 14: SLIDE ACTION
   ============================================ */
.bith-icon-box.skin-slide {
    overflow: hidden;
    padding: 0;
    display: flex;
    flex-direction: row;
}

.bith-icon-box.skin-slide .ib-slide-icon {
    width: 60px;
    background: rgba(99, 102, 241, 0.1);
    color: var(--bith-ib-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: width 0.3s;
}

.bith-icon-box.skin-slide .ib-content {
    flex: 1;
    padding: 2rem;
    transition: transform 0.3s;
}

.bith-icon-box.skin-slide:hover .ib-slide-icon {
    width: 0;
    overflow: hidden;
}

.bith-icon-box.skin-slide:hover .ib-content {
    transform: translateX(-30px);
    padding-left: 3rem;
}

/* ============================================
   SKIN 15: PULSE
   ============================================ */
.bith-icon-box.skin-pulse {
    overflow: visible;
}

.bith-icon-box.skin-pulse .ib-pulse-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 100px;
    border: 2px solid var(--bith-ib-primary);
    border-radius: 50%;
    opacity: 0;
}

.bith-icon-box.skin-pulse:hover .ib-pulse-ring {
    animation: pulseEffect 2s infinite;
}

.bith-icon-box.skin-pulse:hover .ib-pulse-ring.delay {
    animation-delay: 0.5s;
}

@keyframes pulseEffect {
    0% {
        width: 80px;
        height: 80px;
        opacity: 0.8;
    }

    100% {
        width: 300px;
        height: 300px;
        opacity: 0;
    }
}

.bith-icon-box.skin-pulse .ib-icon-wrap {
    position: relative;
    z-index: 2;
    font-size: 2.5rem;
    color: var(--bith-ib-primary);
    margin-bottom: 20px;
}

/* ============================================
   SKIN 16: SPOTLIGHT
   ============================================ */
.bith-icon-box.skin-spotlight-new {
    background: #1e1e1e;
    overflow: hidden;
    color: #e2e8f0;
}

.bith-icon-box.skin-spotlight-new .ib-spotlight-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at var(--x, 50%) var(--y, 50%), rgba(255, 255, 255, 0.15) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
}

.bith-icon-box.skin-spotlight-new:hover .ib-spotlight-overlay {
    opacity: 1;
}

.bith-icon-box.skin-spotlight-new .ib-icon-wrap {
    color: #555;
    font-size: 2.5rem;
    margin-bottom: 20px;
    transition: 0.3s;
}

.bith-icon-box.skin-spotlight-new:hover .ib-icon-wrap {
    color: #ffd700;
    text-shadow: 0 0 20px #ffd700;
}

.bith-icon-box.skin-spotlight-new .ib-title,
.bith-icon-box.skin-spotlight-new .ib-desc {
    color: #aaa;
}

.bith-icon-box.skin-spotlight-new:hover .ib-title {
    color: white;
}

/* ============================================
   SKIN 17: STACK
   ============================================ */
.bith-icon-box.skin-stack {
    background: transparent;
    box-shadow: none;
    padding: 0;
}

.bith-icon-box.skin-stack .ib-stack-card {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: var(--bith-ib-radius);
    border: 1px solid var(--bith-ib-border);
    background: var(--bith-ib-bg);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.bith-icon-box.skin-stack .card-3 {
    z-index: 3;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.bith-icon-box.skin-stack .card-2 {
    z-index: 2;
}

.bith-icon-box.skin-stack .card-1 {
    z-index: 1;
}

.bith-icon-box.skin-stack:hover .card-3 {
    transform: translateY(-10px);
}

.bith-icon-box.skin-stack:hover .card-2 {
    transform: rotate(5deg) translateX(10px);
}

.bith-icon-box.skin-stack:hover .card-1 {
    transform: rotate(-5deg) translateX(-10px);
}

/* ============================================
   SKIN 18: SCANNER
   ============================================ */
.bith-icon-box.skin-scanner {
    overflow: hidden;
    border: 1px solid rgba(99, 102, 241, 0.2);
}

.bith-icon-box.skin-scanner .ib-scan-line {
    position: absolute;
    top: -20%;
    left: 0;
    width: 100%;
    height: 10px;
    background: linear-gradient(to bottom, transparent, var(--bith-ib-primary), transparent);
    opacity: 0.5;
}

.bith-icon-box.skin-scanner:hover .ib-scan-line {
    animation: scanDown 2s ease-in-out infinite;
}

@keyframes scanDown {
    0% {
        top: -20%;
    }

    50% {
        top: 120%;
    }

    100% {
        top: -20%;
    }
}

.bith-icon-box.skin-scanner .ib-content {
    position: relative;
    z-index: 1;
}

/* ============================================
   SKIN 19: GRADIENT BORDER
   ============================================ */
.bith-icon-box.skin-gradient-border {
    padding: 3px;
    overflow: hidden;
}

.bith-icon-box.skin-gradient-border::before {
    content: '';
    position: absolute;
    inset: -50%;
    background: conic-gradient(from 0deg, transparent 0deg, var(--bith-ib-primary) 90deg, transparent 180deg);
    animation: rotateBorder 3s linear infinite;
    opacity: 0;
    transition: opacity 0.3s;
}

.bith-icon-box.skin-gradient-border:hover::before {
    opacity: 1;
}

.bith-icon-box.skin-gradient-border .ib-content {
    background: var(--bith-ib-bg);
    border-radius: calc(var(--bith-ib-radius) - 3px);
    height: 100%;
    padding: 2rem;
    position: relative;
    z-index: 1;
}

@keyframes rotateBorder {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* ============================================
   SKIN 20: MORPH BUTTON
   ============================================ */
.bith-icon-box.skin-morph-btn {
    background: transparent;
    box-shadow: none;
    padding: 0;
}

.bith-icon-box.skin-morph-btn .ib-clickable-area {
    width: 60px;
    height: 60px;
    border-radius: 50px;
    background: var(--bith-ib-secondary);
    color: white;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.bith-icon-box.skin-morph-btn .ib-icon {
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    color: white;
    margin: 0;
}

.bith-icon-box.skin-morph-btn .ib-expanded-info {
    opacity: 0;
    width: 250px;
    text-align: center;
    padding: 0 1rem 2rem;
}

.bith-icon-box.skin-morph-btn:hover .ib-clickable-area {
    width: 100%;
    height: 100%;
    border-radius: var(--bith-ib-radius);
}

.bith-icon-box.skin-morph-btn:hover .ib-expanded-info {
    opacity: 1;
    transition-delay: 0.2s;
}

.bith-icon-box.skin-morph-btn .ib-title,
.bith-icon-box.skin-morph-btn .ib-desc {
    color: white;
}

/* ============================================
   SKIN 21: STAGGERED STEPS
   ============================================ */
.bith-icon-box.skin-step .ib-step-1,
.bith-icon-box.skin-step .ib-step-2,
.bith-icon-box.skin-step .ib-step-3 {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--bith-ib-primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s;
}

.bith-icon-box.skin-step .ib-step-2 {
    top: 45px;
    transition-delay: 0.1s;
    background: var(--bith-ib-secondary);
}

.bith-icon-box.skin-step .ib-step-3 {
    top: 80px;
    transition-delay: 0.2s;
    background: var(--bith-ib-accent);
}

.bith-icon-box.skin-step:hover .ib-step-1,
.bith-icon-box.skin-step:hover .ib-step-2,
.bith-icon-box.skin-step:hover .ib-step-3 {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   SKIN 22: GLITCH
   ============================================ */
.bith-icon-box.skin-glitch {
    background: #0f172a;
    color: white;
}

.bith-icon-box.skin-glitch .ib-title,
.bith-icon-box.skin-glitch .ib-desc {
    color: white;
}

.bith-icon-box.skin-glitch .ib-glitch-layers {
    position: relative;
    width: 60px;
    height: 60px;
    margin-bottom: 1.5rem;
}

.bith-icon-box.skin-glitch .ib-glitch-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--bith-ib-accent);
    background: #0f172a;
}

.bith-icon-box.skin-glitch:hover .ib-glitch-layers {
    animation: glitchAnim 0.3s infinite;
}

.bith-icon-box.skin-glitch:hover .ib-glitch-item:nth-child(2) {
    color: var(--bith-ib-primary);
    transform: translate(-2px, 2px);
    clip-path: inset(10% 0 60% 0);
}

.bith-icon-box.skin-glitch:hover .ib-glitch-item:nth-child(3) {
    color: var(--bith-ib-secondary);
    transform: translate(2px, -2px);
    clip-path: inset(50% 0 10% 0);
}

@keyframes glitchAnim {
    0% {
        transform: translate(0);
    }

    20% {
        transform: translate(-2px, 2px);
    }

    40% {
        transform: translate(-2px, -2px);
    }

    60% {
        transform: translate(2px, 2px);
    }

    80% {
        transform: translate(2px, -2px);
    }

    100% {
        transform: translate(0);
    }
}

/* ============================================
   SKIN 23: BADGE
   ============================================ */
.bith-icon-box.skin-badge {
    padding-top: 3rem;
    overflow: visible;
}

.bith-icon-box.skin-badge .ib-badge-icon {
    position: absolute;
    top: -20px;
    right: 20px;
    width: 60px;
    height: 80px;
    background: var(--bith-ib-secondary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0 0 30px 30px;
    font-size: 1.5rem;
    box-shadow: var(--bith-ib-shadow);
    transition: all 0.3s;
}

.bith-icon-box.skin-badge:hover .ib-badge-icon {
    height: 100px;
    padding-bottom: 10px;
}

/* ============================================
   SKIN 25: WATERMARK
   ============================================ */
.bith-icon-box.skin-watermark {
    overflow: hidden;
}

.bith-icon-box.skin-watermark .ib-big-letter {
    position: absolute;
    right: -20px;
    bottom: -40px;
    font-size: 10rem;
    font-weight: 800;
    color: rgba(0, 0, 0, 0.03);
    line-height: 1;
    pointer-events: none;
    transition: transform 0.4s;
}

.bith-icon-box.skin-watermark:hover .ib-big-letter {
    transform: translateY(-20px) rotate(-10deg);
    color: rgba(99, 102, 241, 0.1);
}

/* ============================================
   SKIN 25: CORNER ACCENT
   ============================================ */
.bith-icon-box.skin-corner-accent {
    overflow: hidden;
}

.bith-icon-box.skin-corner-accent .ib-corner-shape {
    position: absolute;
    top: -30px;
    left: -30px;
    width: 60px;
    height: 60px;
    background: var(--bith-ib-accent);
    transform: rotate(45deg);
    transition: all 0.4s;
    z-index: 0;
}

.bith-icon-box.skin-corner-accent:hover .ib-corner-shape {
    transform: rotate(45deg) scale(2);
}

.bith-icon-box.skin-corner-accent .ib-content {
    position: relative;
    z-index: 2;
}

/* ============================================
   SKIN 27: RIPPLE
   ============================================ */
.bith-icon-box.skin-ripple {
    overflow: hidden;
}

.bith-icon-box.skin-ripple::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(99, 102, 241, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.bith-icon-box.skin-ripple:hover::after {
    width: 300%;
    height: 300%;
}

.bith-icon-box.skin-ripple .ib-content {
    position: relative;
    z-index: 1;
}

/* ============================================
   SKIN 28: BLINDS
   ============================================ */
.bith-icon-box.skin-blinds {
    background: transparent;
    padding: 0;
    overflow: hidden;
}

.bith-icon-box.skin-blinds .ib-blind-bg {
    position: absolute;
    inset: 0;
    display: flex;
    z-index: 1;
}

.bith-icon-box.skin-blinds .ib-blind-bg span {
    flex: 1;
    background: var(--bith-ib-bg);
    border-left: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.4s ease-in-out;
}

.bith-icon-box.skin-blinds .ib-content {
    position: relative;
    z-index: 2;
    padding: 2rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: 0.4s;
}

.bith-icon-box.skin-blinds:hover .ib-content {
    background: transparent;
}

.bith-icon-box.skin-blinds:hover .ib-blind-bg span:nth-child(odd) {
    background: var(--bith-ib-primary);
}

.bith-icon-box.skin-blinds:hover .ib-blind-bg span:nth-child(even) {
    background: var(--bith-ib-secondary);
}

.bith-icon-box.skin-blinds:hover .ib-blind-bg span:nth-child(1) {
    transition-delay: 0s;
}

.bith-icon-box.skin-blinds:hover .ib-blind-bg span:nth-child(2) {
    transition-delay: 0.05s;
}

.bith-icon-box.skin-blinds:hover .ib-blind-bg span:nth-child(3) {
    transition-delay: 0.1s;
}

.bith-icon-box.skin-blinds:hover .ib-blind-bg span:nth-child(4) {
    transition-delay: 0.15s;
}

.bith-icon-box.skin-blinds:hover .ib-blind-bg span:nth-child(5) {
    transition-delay: 0.2s;
}

.bith-icon-box.skin-blinds:hover .ib-title,
.bith-icon-box.skin-blinds:hover .ib-desc,
.bith-icon-box.skin-blinds:hover .ib-icon {
    color: white;
}

/* ============================================
   SKIN 29: 8-BIT PIXEL
   ============================================ */
.bith-icon-box.skin-pixel {
    font-family: 'VT323', monospace;
    border: 4px solid var(--bith-ib-text);
    box-shadow: 4px 4px 0px var(--bith-ib-text);
    border-radius: 0;
}

.bith-icon-box.skin-pixel .ib-title {
    font-size: 1.5rem;
    letter-spacing: 1px;
}

.bith-icon-box.skin-pixel:hover {
    transform: translate(2px, 2px);
    box-shadow: 2px 2px 0px var(--bith-ib-text);
}

.bith-icon-box.skin-pixel .ib-icon {
    font-size: 2.5rem;
    color: var(--bith-ib-text);
}

/* ============================================
   SKIN 30: DIAMOND
   ============================================ */
.bith-icon-box.skin-diamond {
    background: transparent;
    box-shadow: none;
    padding: 3rem;
}

.bith-icon-box.skin-diamond .ib-rotator {
    width: 200px;
    height: 200px;
    background: var(--bith-ib-bg);
    transform: rotate(45deg);
    box-shadow: var(--bith-ib-shadow);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.5s;
    overflow: hidden;
}

.bith-icon-box.skin-diamond .ib-content-rotate {
    transform: rotate(-45deg);
    text-align: center;
    width: 250px;
}

.bith-icon-box.skin-diamond:hover .ib-rotator {
    transform: rotate(225deg) scale(1.1);
    border: 5px solid var(--bith-ib-primary);
}

.bith-icon-box.skin-diamond:hover .ib-content-rotate {
    transform: rotate(-225deg);
}

/* ============================================
   SKIN 31: FOLDER
   ============================================ */
.bith-icon-box.skin-folder {
    border-radius: 0 4px 4px 4px;
    border-top: 4px solid var(--bith-ib-secondary);
    margin-top: 10px;
}

.bith-icon-box.skin-folder .ib-tab {
    position: absolute;
    top: -14px;
    left: 0;
    width: 80px;
    height: 14px;
    background: var(--bith-ib-secondary);
    border-radius: 4px 10px 0 0;
}

.bith-icon-box.skin-folder:hover {
    transform: translateY(-5px);
}

/* ============================================
   SKIN 32: CRYSTAL GLASS
   ============================================ */
.bith-icon-box.skin-glass-2 {
    background: #f0f4f8;
    overflow: hidden;
    padding: 0;
}

.bith-icon-box.skin-glass-2 .ib-floating-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(40px);
    z-index: 0;
    transition: 1s;
}

.bith-icon-box.skin-glass-2 .b1 {
    width: 150px;
    height: 150px;
    background: var(--bith-ib-primary);
    top: -20px;
    left: -20px;
}

.bith-icon-box.skin-glass-2 .b2 {
    width: 120px;
    height: 120px;
    background: var(--bith-ib-secondary);
    bottom: -20px;
    right: -20px;
}

.bith-icon-box.skin-glass-2:hover .b1 {
    transform: translate(50px, 50px) scale(1.2);
}

.bith-icon-box.skin-glass-2:hover .b2 {
    transform: translate(-50px, -50px) scale(1.2);
}

.bith-icon-box.skin-glass-2 .ib-glass-surface {
    position: relative;
    width: 100%;
    height: 100%;
    backdrop-filter: blur(10px);
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px;
}

.bith-icon-box.skin-glass-2 .ib-icon-wrap {
    font-size: 2.5rem;
    color: var(--bith-ib-primary);
    margin-bottom: 20px;
}

/* ============================================
   SKIN 33: NEON
   ============================================ */
.bith-icon-box.skin-neon {
    background: #111;
    color: #fff;
    border: 2px solid var(--bith-ib-primary);
    box-shadow: 0 0 10px var(--bith-ib-primary), inset 0 0 10px var(--bith-ib-primary);
}

.bith-icon-box.skin-neon .ib-title,
.bith-icon-box.skin-neon .ib-desc,
.bith-icon-box.skin-neon .ib-icon {
    color: white;
    text-shadow: 0 0 5px var(--bith-ib-primary);
}

.bith-icon-box.skin-neon:hover {
    box-shadow: 0 0 30px var(--bith-ib-primary), inset 0 0 20px var(--bith-ib-primary);
    background: #000;
}

/* ============================================
   SKIN 34: RIBBON
   ============================================ */
.bith-icon-box.skin-ribbon {
    overflow: hidden;
}

.bith-icon-box.skin-ribbon .ib-ribbon-wrap {
    position: absolute;
    top: 20px;
    right: -35px;
    background: var(--bith-ib-accent);
    color: white;
    width: 120px;
    text-align: center;
    transform: rotate(45deg);
    font-size: 0.8rem;
    font-weight: bold;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* ============================================
   SKIN 35: SPLIT/DUAL TONE
   ============================================ */
.bith-icon-box.skin-split {
    background: linear-gradient(90deg, var(--bith-ib-bg) 50%, #f1f5f9 50%);
    background-size: 200% 100%;
    transition: background-position 0.4s ease;
}

.bith-icon-box.skin-split:hover {
    background-position: 100% 0;
}

/* ============================================
   SKIN 36: BRACKETS
   ============================================ */
.bith-icon-box.skin-brackets .ib-bracket {
    position: absolute;
    width: 20px;
    height: 20px;
    border: 2px solid var(--bith-ib-text);
    transition: all 0.3s;
    opacity: 0;
}

.bith-icon-box.skin-brackets .ib-bracket.top-left {
    top: 10px;
    left: 10px;
    border-right: 0;
    border-bottom: 0;
}

.bith-icon-box.skin-brackets .ib-bracket.bottom-right {
    bottom: 10px;
    right: 10px;
    border-left: 0;
    border-top: 0;
}

.bith-icon-box.skin-brackets:hover .ib-bracket {
    width: 40px;
    height: 40px;
    opacity: 1;
}

/* ============================================
   SKIN 37: MARQUEE
   ============================================ */
.bith-icon-box.skin-marquee {
    box-shadow: none;
    background-image: linear-gradient(90deg, var(--bith-ib-primary) 50%, transparent 50%),
        linear-gradient(90deg, var(--bith-ib-primary) 50%, transparent 50%),
        linear-gradient(0deg, var(--bith-ib-primary) 50%, transparent 50%),
        linear-gradient(0deg, var(--bith-ib-primary) 50%, transparent 50%);
    background-repeat: repeat-x, repeat-x, repeat-y, repeat-y;
    background-size: 15px 2px, 15px 2px, 2px 15px, 2px 15px;
    background-position: 0px 0px, 200px 100%, 0px 100%, 100% 0px;
    animation: borderDance 4s infinite linear;
    animation-play-state: paused;
}

.bith-icon-box.skin-marquee:hover {
    animation-play-state: running;
}

@keyframes borderDance {
    0% {
        background-position: 0px 0px, 300px 100%, 0px 300px, 100% 0px;
    }

    100% {
        background-position: 300px 0px, 0px 100%, 0px 0px, 100% 300px;
    }
}

/* ============================================
   SKIN 38: DUST PARTICLES
   ============================================ */
.bith-icon-box.skin-dust {
    overflow: hidden;
    background: #0f172a;
    color: white;
}

.bith-icon-box.skin-dust .ib-title,
.bith-icon-box.skin-dust .ib-desc {
    color: white;
}

.bith-icon-box.skin-dust .ib-icon {
    color: var(--bith-ib-accent);
}

.bith-icon-box.skin-dust .ib-dust-container {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 10;
}

.bith-icon-box.skin-dust .ib-dust-particle {
    position: absolute;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    pointer-events: none;
    animation: dustRise 2s linear forwards;
}

@keyframes dustRise {
    0% {
        transform: translateY(0) scale(1);
        opacity: 1;
    }

    100% {
        transform: translateY(-100px) scale(0);
        opacity: 0;
    }
}

/* ============================================
   SKIN 39: SKEUOMORPHIC
   ============================================ */
.bith-icon-box.skin-skeuo {
    background: linear-gradient(145deg, #e6e6e6, #ffffff);
    box-shadow: 20px 20px 60px #d9d9d9, -20px -20px 60px #ffffff;
    border: 1px solid #d1d5db;
}

.bith-icon-box.skin-skeuo .ib-screw {
    position: absolute;
    font-size: 0.8rem;
    color: #94a3b8;
}

.bith-icon-box.skin-skeuo .ib-screw.tl {
    top: 10px;
    left: 10px;
}

.bith-icon-box.skin-skeuo .ib-screw.tr {
    top: 10px;
    right: 10px;
}

.bith-icon-box.skin-skeuo .ib-screw.bl {
    bottom: 10px;
    left: 10px;
}

.bith-icon-box.skin-skeuo .ib-screw.br {
    bottom: 10px;
    right: 10px;
}