/* ==========================================================================
   VSTEPOWL DESIGN SYSTEM & CLONE FOR GDTG.VN
   ========================================================================== */

/* Background Hero */
.vstep-bg-grid {
    position: relative;
    background: radial-gradient(circle at 50% 0%, #e0f2fe 0%, #f8fafc 55%, #ffffff 100%);
    overflow: hidden;
}

.light-theme .vstep-bg-grid {
    background: radial-gradient(circle at 50% 0%, #e0f2fe 0%, #f8fafc 55%, #ffffff 100%);
}

/* Floating 3D Stickers - Disabled */
.vstep-floating-element {
    display: none !important;
}

/* Announcement Top Bar */
.vstep-announcement-bar {
    position: relative;
    display: flex;
    height: 42px;
    align-items: center;
    justify-content: center;
    background: #020617;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    color: #ffffff;
    font-size: 0.8125rem;
    font-weight: 600;
    padding: 0 16px;
    text-align: center;
    z-index: 40;
}

.vstep-tag-yellow {
    display: inline-block;
    background: #f59e0b;
    color: #000000;
    font-weight: 800;
    font-size: 0.7rem;
    padding: 2px 8px;
    border-radius: 4px;
    margin-right: 8px;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

/* Gradient Pill Badge */
.vstep-badge-pill {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 18px;
    border-radius: 9999px;
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid rgba(168, 85, 247, 0.4);
    box-shadow: inset 0 -4px 8px rgba(168, 85, 247, 0.15);
    transition: all 0.3s ease;
}

.light-theme .vstep-badge-pill {
    background: #ffffff;
    border: 1px solid rgba(168, 85, 247, 0.3);
    box-shadow: 0 2px 8px rgba(168, 85, 247, 0.1);
}

.vstep-badge-pill-text {
    font-size: 0.875rem;
    font-weight: 700;
    background: linear-gradient(90deg, #ffaa40, #9c40ff, #ffaa40);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientShift 4s ease infinite;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Neobrutalism 3D Vertical Cards */
.vstep-vertical-card {
    position: relative;
    display: block;
    height: 310px;
    overflow: hidden;
    border-radius: 10px;
    border: 4px solid var(--card-border, #0a3e4b);
    background: #0f172a;
    box-shadow: 6px 6px 0 var(--card-border, #0a3e4b);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    text-decoration: none;
    cursor: pointer;
}

.vstep-vertical-card:hover {
    transform: translateY(-6px);
    box-shadow: 9px 9px 0 var(--card-border, #0a3e4b);
    text-decoration: none;
}

.vstep-vertical-card-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: bottom;
    transition: transform 0.4s ease;
}

.vstep-vertical-card:hover .vstep-vertical-card-img {
    transform: scale(1.04);
}

.vstep-vertical-card-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    padding: 14px;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.7) 0%, rgba(15, 23, 42, 0.2) 40%, rgba(15, 23, 42, 0.8) 100%);
}

.vstep-card-icon {
    display: flex;
    width: 38px;
    height: 38px;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: var(--card-bg, #689e8e);
    color: #ffffff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
    margin-bottom: 8px;
}

.vstep-card-title {
    font-size: 1.15rem;
    font-weight: 800;
    color: #ffffff;
    margin: 4px 0 6px 0;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.vstep-card-desc {
    font-size: 0.78rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.35;
    margin: 0;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

/* Horizontal Tool Cards */
.vstep-tool-card {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 24px;
    border-radius: 20px;
    border: 3px solid var(--tool-border, #0E86D4);
    box-shadow: 0 4px 0 var(--tool-border, #0E86D4), 0 12px 28px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    text-align: center;
    text-decoration: none;
    transition: all 0.25s ease;
    min-height: 180px;
}

.vstep-tool-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 7px 0 var(--tool-border, #0E86D4), 0 16px 32px rgba(0, 0, 0, 0.3);
    text-decoration: none;
}

.vstep-tool-card-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.vstep-tool-card-content {
    position: relative;
    z-index: 10;
}

.vstep-tool-icon-box {
    display: flex;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    margin: 0 auto 12px auto;
    color: #ffffff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
}

/* Quick Action Tool Pills (Hero Section) */
.quick-action-group {
    display: inline-flex;
    align-items: center;
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 9999px;
    padding: 3px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.quick-tool-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 9999px;
    font-size: 13px;
    font-weight: 700;
    color: #1e293b;
    text-decoration: none;
    transition: all 0.2s ease;
}

.quick-tool-btn:hover {
    background: #f1f5f9;
    color: #0891b2;
    transform: translateY(-1px);
}

.tool-badge {
    background: linear-gradient(135deg, #f59e0b, #ef4444);
    color: #ffffff;
    font-size: 10px;
    font-weight: 800;
    padding: 1px 6px;
    border-radius: 9999px;
}

.quick-action-pill {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 16px;
    border-radius: 9999px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    border: 1.5px solid transparent;
}

.quick-action-pill:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}

.pill-warning {
    background: #fffbeb;
    border-color: #fde68a;
    color: #d97706;
}

.pill-warning:hover {
    background: #fef3c7;
    border-color: #f59e0b;
}

.pill-danger {
    background: #fef2f2;
    border-color: #fecaca;
    color: #dc2626;
}

.pill-danger:hover {
    background: #fee2e2;
    border-color: #ef4444;
}

.pill-success {
    background: #ecfdf5;
    border-color: #a7f3d0;
    color: #059669;
}

.pill-success:hover {
    background: #d1fae5;
    border-color: #10b981;
}

/* Dark Notebook Card ("Hướng dẫn cùng GDTG") */
.vstep-notebook-section {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    padding: 32px;
    border: 3px solid #0f172a;
    background: #0f172a;
    color: #ffffff;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.vstep-notebook-grid-overlay {
    pointer-events: none;
    position: absolute;
    inset: 0;
    opacity: 0.08;
    background-image: radial-gradient(#ffffff 2px, transparent 2px);
    background-size: 24px 24px;
}
