
/* ===== S.T.E.A.M TEACHERS - PREMIUM DESIGN ===== */
.steam-teachers-section {
    padding: 80px 0 100px;
    background: #e8e3ff;
    position: relative;
    overflow: hidden;
}

.steam-teachers-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(37, 0, 167, 0.03) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.steam-teachers-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 94, 0, 0.03) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.steam-header {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
}

.steam-header-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.badge-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #FF5E00;
    animation: pulse-dot 2s infinite;
}

.badge-dot:last-child {
    animation-delay: 1s;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 0.4; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.5); }
}

.badge-text {
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: #2500a7;
    background: rgba(37, 0, 167, 0.06);
    padding: 6px 20px;
    border-radius: 30px;
}

.steam-main-title {
    font-family: 'Playfair Display', serif;
    margin-bottom: 16px;
}

.title-line {
    font-size: 2.8rem;
    font-weight: 700;
    color: #1a1a2e;
    display: block;
    line-height: 1.2;
}

.title-sub {
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    font-weight: 400;
    color: #666;
    display: block;
    margin-top: 6px;
    letter-spacing: 2px;
}

.highlight-s { color: #FF5E00; }
.highlight-t { color: #2500a7; }
.highlight-e { color: #00b4d8; }
.highlight-a { color: #f77f00; }
.highlight-m { color: #2a9d8f; }
.highlight-s2 { color: #e63946; }
.highlight-a2 { color: #8338ec; }
.highlight-m2 { color: #ff006e; }
.highlight-last { color: #FF5E00; }

.steam-desc {
    max-width: 680px;
    margin: 10px auto 0;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    line-height: 1.8;
    color: #555;
}

.steam-desc strong {
    color: #2500a7;
    font-weight: 600;
}

.steam-header-line {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #FF5E00, #2500a7);
    margin: 20px auto 0;
    border-radius: 10px;
}

.steam-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    position: relative;
    z-index: 2;
}

.steam-card {
    perspective: 1200px;
    height: 520px;
}

.steam-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.8s cubic-bezier(0.23, 1, 0.32, 1);
    transform-style: preserve-3d;
}

.steam-card:hover .steam-card-inner {
    transform: rotateY(180deg);
}

.steam-card-front,
.steam-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.06);
}

.steam-card-front {
    background: #ffffff;
    border: 1px solid rgba(37, 0, 167, 0.06);
    display: flex;
    flex-direction: column;
}

.steam-image-wrap {
    position: relative;
    padding: 25px 25px 0;
    display: flex;
    justify-content: center;
}

/* GAMBAR PERSEGI/PETAK - TIDAK BULAT, LEBIH BESAR */
.steam-image-square {
    position: relative;
    width: 280px;
    height: 280px;
    border-radius: 12px;
    overflow: hidden;
    border: 4px solid #fff;
    box-shadow: 0 8px 30px rgba(37, 0, 167, 0.12);
    flex-shrink: 0;
    background: #f0f0f0;
}

.steam-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.steam-field-badge {
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #2500a7, #3d1c9c);
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-size: 0.6rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    padding: 4px 16px;
    border-radius: 20px;
    white-space: nowrap;
    box-shadow: 0 4px 15px rgba(37, 0, 167, 0.3);
}

.steam-field-icon {
    position: absolute;
    bottom: 10px;
    right: 15px;
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, #FF5E00, #f77f00);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.2rem;
    box-shadow: 0 4px 20px rgba(255, 94, 0, 0.35);
    border: 3px solid #fff;
}

.steam-card-content {
    padding: 20px 25px 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}

.steam-name {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0 0 4px 0;
}

.steam-title {
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    color: #FF5E00;
    font-weight: 600;
    margin: 0;
    letter-spacing: 0.5px;
}

.steam-card-back {
    transform: rotateY(180deg);
    background: linear-gradient(145deg, #1a1a2e, #2500a7);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
}

.steam-back-content {
    color: #fff;
    text-align: center;
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: center;
}

.steam-quote-mark {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    color: rgba(255, 94, 0, 0.5);
    line-height: 0.8;
    margin-bottom: 8px;
}

.steam-story-text {
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.9);
    margin: 0 0 16px 0;
    font-style: italic;
}

.steam-story-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 0;
}

.steam-story-icon {
    width: 32px;
    height: 32px;
    background: rgba(255, 94, 0, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FF5E00;
    font-size: 0.8rem;
}

.steam-float-elements {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    overflow: hidden;
    z-index: 0;
}

.float-el {
    position: absolute;
    font-family: 'Playfair Display', serif;
    font-size: 8rem;
    font-weight: 700;
    opacity: 0.02;
    color: #2500a7;
}

.float-el:nth-child(1) { top: 5%; left: 3%; }
.float-el:nth-child(2) { top: 15%; right: 5%; }
.float-el:nth-child(3) { bottom: 20%; left: 5%; }
.float-el:nth-child(4) { bottom: 10%; right: 8%; }
.float-el:nth-child(5) { top: 50%; left: 50%; transform: translate(-50%, -50%); font-size: 15rem; }

/* ===== FONT UNIFICATION ===== */
body {
    background: #e8e3ff !important;
    font-family: 'Inter', sans-serif !important;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1200px) {
    .steam-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .steam-teachers-section {
        padding: 50px 0 60px;
    }
    .title-line {
        font-size: 2rem;
    }
    .title-sub {
        font-size: 0.9rem;
    }
    .steam-desc {
        font-size: 0.9rem;
        padding: 0 15px;
    }
    .steam-grid {
        grid-template-columns: 1fr;
        gap: 25px;
        max-width: 380px;
        margin: 0 auto;
    }
    .steam-card {
        height: 460px;
    }
    .steam-image-square {
        width: 220px;
        height: 220px;
    }
    .steam-name {
        font-size: 1.1rem;
    }
    .steam-field-icon {
        width: 38px;
        height: 38px;
        font-size: 1rem;
        bottom: 5px;
        right: 10px;
    }
    .steam-field-badge {
        font-size: 0.5rem;
        padding: 3px 12px;
        bottom: -8px;
    }
    .steam-story-text {
        font-size: 0.8rem;
    }
    .steam-float-elements {
        display: none;
    }
    .steam-card-back {
        padding: 20px;
    }
    .steam-back-content {
        padding: 0;
    }
    .steam-quote-mark {
        font-size: 2.5rem;
    }
    .steam-header {
        margin-bottom: 40px;
    }
}

@media (max-width: 480px) {
    .steam-card {
        height: 420px;
    }
    .steam-image-square {
        width: 180px;
        height: 180px;
    }
    .steam-name {
        font-size: 1rem;
    }
    .steam-title {
        font-size: 0.7rem;
    }
    .steam-card-content {
        padding: 15px 18px 20px;
    }
    .steam-image-wrap {
        padding: 15px 15px 0;
    }
}
