/* Attractive Modern CSS for Shortcode Boxes */
.shortcode-box {
    border-radius: 20px;
    padding: 35px 40px;
    margin: 35px 0;
    position: relative;
    overflow: hidden;
    border: none;
    background: white;
    box-shadow:
        0 10px 40px rgba(0, 0, 0, 0.08),
        0 1px 3px rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.1);
    transform-style: preserve-3d;
    perspective: 1000px;
}

.shortcode-box:hover {
    transform: translateY(-8px) scale(1.005);
    box-shadow:
        0 25px 50px rgba(0, 0, 0, 0.15),
        0 10px 20px rgba(0, 0, 0, 0.1);
}

.shortcode-box .d-flex {
    align-items: center;
    gap: 30px;
    position: relative;
    z-index: 2;
}

/* Large Attractive Icons */
.shortcode-box i.fa {
    font-size: 34px;
    width: 85px;
    height: 85px;
    border-radius: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
    box-shadow:
        0 10px 25px rgba(0, 0, 0, 0.2),
        inset 0 2px 4px rgba(255, 255, 255, 0.3);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.shortcode-box i.fa::before {
    position: relative;
    z-index: 2;
}

.shortcode-box i.fa::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        to bottom right,
        rgba(255, 255, 255, 0.4) 0%,
        rgba(255, 255, 255, 0) 50%
    );
    transform: rotate(45deg);
}

.shortcode-box:hover i.fa {
    transform: rotate(5deg) scale(1.1);
    box-shadow:
        0 15px 35px rgba(0, 0, 0, 0.25),
        inset 0 3px 8px rgba(255, 255, 255, 0.4);
}

/* Prominent Title */
.shortcode-box span {
    font-weight: 800;
    font-size: 28px;
    margin-bottom: 15px;
    display: block;
    line-height: 1.2;
    letter-spacing: -0.3px;
    text-transform: uppercase;
    background: linear-gradient(135deg, currentColor 0%, currentColor 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    padding-bottom: 12px;
}

.shortcode-box span::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    border-radius: 2px;
    background: currentColor;
    opacity: 0.7;
}

/* Clear Description */
.shortcode-box p {
    margin: 0;
    font-size: 18px;
    line-height: 1.7;
    color: #2c3e50;
    font-weight: 400;
    opacity: 0.9;
    padding-left: 3px;
}

/* Text Container */
.shortcode-box .info-text,
.shortcode-box .positive-text,
.shortcode-box .warn-text,
.shortcode-box .note-text,
.shortcode-box .promo-text {
    flex: 1;
}

/* ========== INFO BOX ========== */
.info-u {
    background: linear-gradient(145deg, #f8fbff 0%, #ffffff 100%);
    border-top: 5px solid #3498db;
}

.info-u i.fa-info {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
}

.info-u .info-title {
    color: #3498db;
}

.info-u::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(52, 152, 219, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(30%, -30%);
}

/* ========== POSITIVE BOX ========== */
.positive-u {
    background: linear-gradient(145deg, #f8fff9 0%, #ffffff 100%);
    border-top: 5px solid #2ecc71;
}

.positive-u i.fa-check {
    background: linear-gradient(135deg, #2ecc71 0%, #27ae60 100%);
}

.positive-u .positive-title {
    color: #2ecc71;
}

.positive-u::after {
    content: '✓';
    position: absolute;
    top: 20px;
    right: 25px;
    font-size: 120px;
    font-weight: 900;
    color: rgba(46, 204, 113, 0.05);
    line-height: 1;
}

/* ========== WARNING BOX ========== */
.warn-u {
    background: linear-gradient(145deg, #fffbf8 0%, #ffffff 100%);
    border-top: 5px solid #e67e22;
}

.warn-u i.fa-times {
    background: linear-gradient(135deg, #e67e22 0%, #d35400 100%);
}

.warn-u .warn-title {
    color: #e67e22;
}

.warn-u::before {
    content: '⚠';
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 110px;
    font-weight: 900;
    color: rgba(230, 126, 34, 0.05);
    line-height: 1;
}

/* ========== NOTE BOX ========== */
.note-u {
    background: linear-gradient(145deg, #fcf8ff 0%, #ffffff 100%);
    border-top: 5px solid #9b59b6;
}

.note-u i.fa-quote-right {
    background: linear-gradient(135deg, #9b59b6 0%, #8e44ad 100%);
}

.note-u .note-title {
    color: #9b59b6;
}

.note-u::after {
    content: '"';
    position: absolute;
    top: 10px;
    right: 25px;
    font-size: 130px;
    font-family: Georgia, serif;
    color: rgba(155, 89, 182, 0.05);
    font-weight: 900;
    line-height: 1;
}

/* ========== PROMO BOX ========== */
.promo-u {
    background: linear-gradient(145deg, #fff8fc 0%, #ffffff 100%);
    border-top: 5px solid #e74c3c;
}

.promo-u i.fa-gift {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
}

.promo-u .promo-title {
    color: #e74c3c;
}

.promo-u::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg,
        #ff6b6b,
        #ffa726,
        #ff6b6b
    );
    background-size: 200% 100%;
    animation: promoShine 3s infinite linear;
}

@keyframes promoShine {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

/* Decorative Elements */
.shortcode-box::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 15% 15%, rgba(255,255,255,0.9) 1px, transparent 1px),
        radial-gradient(circle at 85% 85%, rgba(255,255,255,0.7) 1px, transparent 1px);
    background-size: 40px 40px;
    opacity: 0.4;
    z-index: 1;
}

/* Responsive Design */
@media (max-width: 768px) {
    .shortcode-box {
        padding: 25px;
        margin: 25px 0;
        border-radius: 18px;
    }

    .shortcode-box .d-flex {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .shortcode-box i.fa {
        width: 75px;
        height: 75px;
        font-size: 28px;
    }

    .shortcode-box span {
        font-size: 24px;
        text-align: center;
        padding-bottom: 8px;
    }

    .shortcode-box span::after {
        left: 50%;
        transform: translateX(-50%);
        width: 40px;
    }

    .shortcode-box p {
        font-size: 16px;
        text-align: center;
        padding-left: 0;
    }

    .positive-u::after,
    .warn-u::before,
    .note-u::after {
        font-size: 80px;
    }
}

/* For large screens */
@media (min-width: 1200px) {
    .shortcode-box {
        padding: 40px 45px;
        margin: 40px 0;
    }

    .shortcode-box i.fa {
        width: 95px;
        height: 95px;
        font-size: 40px;
        border-radius: 25px;
    }

    .shortcode-box span {
        font-size: 32px;
    }

    .shortcode-box p {
        font-size: 20px;
    }
}

/* Animation on load */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.shortcode-box {
    animation: fadeInUp 0.6s ease-out;
}
