/* public/css/school-banner.css */
.school-promo-banner {
    background: linear-gradient(135deg, #0b1528 0%, #1c3664 100%);
    border: 2px solid rgba(100, 149, 237, 0.5);
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 24px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5), inset 0 0 30px rgba(59, 130, 246, 0.2);
    position: relative;
    overflow: hidden;
    color: white;
    font-family: var(--font-family, 'Baloo 2', sans-serif);
}

/* Decorative grid background */
.school-promo-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 30px 30px;
    opacity: 0.8;
    pointer-events: none;
}

.spb-header {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    gap: 16px;
    position: relative;
    z-index: 2;
}

.spb-logo-wrap {
    width: 64px;
    height: 64px;
    background: white;
    border-radius: 50%;
    padding: 6px;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.4);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.spb-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.spb-title {
    font-size: 2.2rem;
    font-weight: 900;
    margin: 0;
    background: linear-gradient(to bottom, #aee2ff, #2980b9);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0px 4px 10px rgba(0,0,0,0.5);
    line-height: 1.1;
    text-align: center;
}

.spb-cards {
    display: flex;
    gap: 20px;
    margin-bottom: 24px;
    position: relative;
    z-index: 2;
}

.spb-card {
    flex: 1;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,0.4);
    border: 1px solid rgba(255,255,255,0.15);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.spb-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.6);
}

.spb-card-basic .spb-card-top {
    background: linear-gradient(135deg, #48dbfb, #0abde3);
}

.spb-card-intermediate .spb-card-top {
    background: linear-gradient(135deg, #feca57, #ff9f43);
}

.spb-card-advanced .spb-card-top {
    background: linear-gradient(135deg, #5f27cd, #341f97);
}

.spb-card-top {
    padding: 16px;
    text-align: center;
    position: relative;
    border-bottom: 4px solid rgba(0,0,0,0.2);
}

.spb-card-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 12px;
}

.spb-card-icon {
    width: 54px;
    height: 54px;
    background: radial-gradient(circle, #f5f6fa, #dcdde1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: #2f3640;
    box-shadow: 0 4px 10px rgba(0,0,0,0.4), inset 0 -3px 8px rgba(0,0,0,0.15);
    border: 3px solid rgba(255,255,255,0.8);
    position: relative;
}

/* Subtle glow behind icons */
.spb-card-basic .spb-card-icon::after,
.spb-card-intermediate .spb-card-icon::after,
.spb-card-advanced .spb-card-icon::after {
    content: '';
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    z-index: -1;
    filter: blur(8px);
}
.spb-card-basic .spb-card-icon::after { background: rgba(72, 219, 251, 0.5); }
.spb-card-intermediate .spb-card-icon::after { background: rgba(254, 202, 87, 0.5); }
.spb-card-advanced .spb-card-icon::after { background: rgba(95, 39, 205, 0.5); }


.spb-card-header h3 {
    margin: 0;
    font-size: 1.6rem;
    font-weight: 800;
    color: white;
    text-shadow: 1px 2px 4px rgba(0,0,0,0.4);
    letter-spacing: 1px;
}

.spb-card-elo {
    font-size: 1.5rem;
    font-weight: 800;
    color: white;
    text-shadow: 1px 2px 5px rgba(0,0,0,0.6);
    line-height: 1.1;
}

.spb-card-elo span {
    font-size: 0.85rem;
    font-weight: 600;
    opacity: 0.9;
}

.spb-card-info {
    padding: 16px;
    text-align: center;
    font-size: 0.95rem;
    color: rgba(255,255,255,0.85);
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.spb-card-basic .spb-card-info {
    background: linear-gradient(to bottom, #113f4d, #0b2229);
}
.spb-card-intermediate .spb-card-info {
    background: linear-gradient(to bottom, #593e11, #2f1d03);
}
.spb-card-advanced .spb-card-info {
    background: linear-gradient(to bottom, #161b40, #080a1c);
}

.spb-card-info p {
    margin: 4px 0;
    line-height: 1.4;
}

.spb-price {
    font-weight: 800;
    font-size: 1.1rem;
    color: #f6e58d;
    margin-top: 10px !important;
    text-shadow: 0 1px 3px rgba(0,0,0,0.5);
}

.spb-footer {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    font-size: 0.9rem;
    color: #dcdde1;
    background: rgba(0,0,0,0.35);
    padding: 16px;
    border-radius: 12px;
    margin-bottom: 24px;
    position: relative;
    z-index: 2;
    border: 1px solid rgba(255,255,255,0.05);
}

.spb-footer-text p {
    margin: 6px 0;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
}

.spb-footer-right p:first-child {
    color: #48dbfb;
    font-weight: 800;
    font-size: 0.95rem;
    text-shadow: 0 0 10px rgba(72, 219, 251, 0.3);
}

.spb-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    position: relative;
    z-index: 2;
}

.spb-btn-register {
    background: linear-gradient(135deg, #ff7f50, #ff4757);
    color: white;
    border: none;
    padding: 14px 40px;
    font-size: 1.4rem;
    font-weight: 900;
    border-radius: 40px;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(255, 71, 87, 0.4), inset 0 -3px 0 rgba(0,0,0,0.2);
    transition: transform 0.2s, box-shadow 0.2s;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.spb-btn-register:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 71, 87, 0.6), inset 0 -3px 0 rgba(0,0,0,0.2);
}

.spb-btn-register:active {
    transform: translateY(1px);
    box-shadow: 0 3px 10px rgba(255, 71, 87, 0.4);
}

.spb-contact {
    display: flex;
    flex-direction: column;
    font-size: 1rem;
    color: #f5f6fa;
    background: rgba(0,0,0,0.2);
    padding: 8px 16px;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.1);
}

.spb-hotline {
    font-weight: 800;
    font-size: 1.2rem;
    color: #48dbfb;
    text-shadow: 0 1px 3px rgba(0,0,0,0.5);
}

@media (max-width: 900px) {
    .spb-cards {
        flex-direction: column;
    }
    .spb-footer {
        flex-direction: column;
        gap: 12px;
    }
    .spb-header {
        flex-direction: column;
        text-align: center;
    }
    .spb-cta {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
    .spb-title {
        font-size: 1.8rem;
    }
}
