* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-body: #f8f6fc;
    --bg-container: #ffffff;
    --bg-input: #fafafa;
    --text-primary: #353148;
    --text-secondary: #5d5a6d;
    --primary: #8c60f3;
    --primary-light: rgba(140, 96, 243, 0.15);
    --error: #ff4757;
    --success: #2ed573;
    --border: #e0dce8;
    --shadow: 0 4px 15px rgba(140, 96, 243, 0.1);
    --shadow-lg: 0 10px 35px rgba(140, 96, 243, 0.15);
    --radius: 16px;
}

body[data-theme="dark"] {
    --bg-body: #1c1b22;
    --bg-container: #282730;
    --bg-input: #35343e;
    --text-primary: #f0f0f5;
    --text-secondary: #a0a0b2;
    --primary: #9a7bf5;
    --primary-light: rgba(154, 123, 245, 0.15);
    --border: #3f3e4a;
    --shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    --shadow-lg: 0 10px 35px rgba(0, 0, 0, 0.25);
}

body {
    font-family: 'Inter', Arial, sans-serif;
    background: var(--bg-body);
    color: var(--text-primary);
    line-height: 1.6;
    transition: background 0.3s, color 0.3s;
}

.hidden {
    display: none !important;
}

.btn-sm-primary {
    background: linear-gradient(135deg, var(--primary), #7a4edb);
    color: white;
    padding: 10px 16px;
    border: none;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-sm-primary:hover:not(:disabled) {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(140, 96, 243, 0.3);
}

.btn-sm-primary:disabled {
    cursor: not-allowed;
    opacity: 0.7;
}

.auth-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.auth-box {
    background: var(--bg-container);
    padding: 48px;
    border-radius: var(--radius);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 450px;
}

.auth-logo {
    text-align: center;
    margin-bottom: 32px;
}

.auth-logo h1 {
    color: var(--primary);
    font-size: 32px;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.auth-logo p {
    color: var(--text-secondary);
    font-size: 14px;
    margin-top: 8px;
    font-weight: 500;
}

.auth-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 32px;
    background: var(--bg-body);
    padding: 4px;
    border-radius: 12px;
}

.auth-tab {
    flex: 1;
    padding: 10px 16px;
    border: none;
    background: transparent;
    color: var(--text-primary);
    border-radius: 10px;
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s;
}

.auth-tab.active {
    background: var(--primary);
    color: white;
    box-shadow: 0 2px 8px rgba(140, 96, 243, 0.3);
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 14px;
    color: var(--text-primary);
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--border);
    border-radius: 10px;
    font-size: 14px;
    font-family: inherit;
    transition: all 0.3s;
    background: var(--bg-input);
    color: var(--text-primary);
}

.form-textarea {
    min-height: 120px;
    resize: vertical;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: var(--bg-container);
    box-shadow: 0 0 0 4px var(--primary-light);
}

.form-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24' 24' fill='none' stroke='%238c60f3' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 20px;
    padding-right: 45px;
}

.password-wrapper {
    position: relative;
}

.password-wrapper .form-input {
    padding-right: 45px;
}

.toggle-password {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    color: var(--primary);
    padding: 8px;
    opacity: 0.7;
    transition: opacity 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.toggle-password .icon {
    width: 20px;
    height: 20px;
}

.toggle-password:hover {
    opacity: 1;
}

.btn {
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    font-family: inherit;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, #7a4edb 100%);
    color: white;
}

.btn-primary:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(140, 96, 243, 0.4);
}

.btn-primary:disabled {
    background: var(--primary-light);
    color: var(--primary);
    cursor: not-allowed;
    opacity: 0.7;
}

.error-message {
    background: #ffe0e0;
    color: var(--error);
    padding: 12px 16px;
    border-radius: 10px;
    margin-bottom: 20px;
    font-size: 14px;
    display: none;
    border-left: 4px solid var(--error);
}

body[data-theme="dark"] .error-message {
    background: #3e2f31;
    color: #ff8f98;
}

.error-message.show {
    display: block;
}

.app-container {
    display: flex;
    min-height: 100vh;
    background: var(--bg-body);
}

.sidebar {
    width: 260px;
    background: var(--bg-container);
    border-right: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    position: fixed;
    height: 100vh;
    left: 0;
    top: 0;
    transition: transform 0.3s, background 0.3s;
    z-index: 1000;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.05);
}

body[data-theme="dark"] .sidebar {
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.2);
}

.sidebar.mobile-hidden {
    transform: translateX(-100%);
}

.sidebar-logo {
    padding: 24px 20px;
    border-bottom: 1px solid var(--border);
}

.sidebar-logo h2 {
    color: var(--primary);
    font-size: 20px;
    font-weight: 700;
}

.sidebar-nav {
    flex: 1;
    padding: 20px 0;
    overflow-y: auto;
}

.nav-item {
    padding: 12px 20px;
    margin: 0 12px;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 14px;
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 14px;
    border-radius: 10px;
}

.nav-item .icon {
    width: 20px;
    height: 20px;
    opacity: 0.8;
    transition: all 0.3s;
}

.nav-item:hover {
    background: var(--bg-body);
    color: var(--text-primary);
}

.nav-item.active {
    background: var(--primary-light);
    color: var(--primary);
    font-weight: 600;
}

.nav-item.active .icon {
    opacity: 1;
    transform: scale(1.05);
}

.sidebar-user {
    padding: 20px;
    border-top: 1px solid var(--border);
}

.nav-item-divider {
    height: 1px;
    background: var(--border);
    margin: 12px 20px;
}

.user-profile {
    display: flex;
    align-items: center;
    gap: 12px;
}

.user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), #7a4edb);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
}

.user-info h4 {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-primary);
}

.user-plan {
    font-size: 12px;
    color: var(--primary);
    font-weight: 600;
}

.main-content {
    flex: 1;
    margin-left: 260px;
    display: flex;
    flex-direction: column;
}

.topbar {
    background: var(--bg-container);
    padding: 16px 24px;
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: background 0.3s;
}

body[data-theme="dark"] .topbar {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.icon-btn {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    border-radius: 8px;
    transition: all 0.3s;
}

.icon-btn .icon {
    width: 24px;
    height: 24px;
}

.icon-btn:hover {
    color: var(--text-primary);
    background: var(--bg-body);
}

/* Notification Bell Styles */
#notificationBell {
    position: relative;
}

.notification-badge {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 8px;
    height: 8px;
    background: var(--error);
    border-radius: 50%;
    border: 2px solid var(--bg-container);
}

.hamburger {
    display: none;
}

.topbar-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.topbar-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.welcome-text h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
}

.welcome-text p {
    font-size: 13px;
    color: var(--text-secondary);
}

.btn-logout {
    padding: 8px 16px;
    background: var(--error);
    border: none;
    border-radius: 8px;
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 14px;
}

.btn-logout:hover {
    background: #e63946;
}

.content-area {
    flex: 1;
    padding: 24px;
    overflow-y: auto;
}

.page-content {
    animation: fadeIn 0.4s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.card {
    background: var(--bg-container);
    padding: 24px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    margin-bottom: 20px;
    transition: background 0.3s, box-shadow 0.3s;
}

.card h3 {
    font-size: 18px;
    margin-bottom: 16px;
    color: var(--text-primary);
    font-weight: 700;
}

.filter-bar {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.search-input {
    flex: 1;
    min-width: 250px;
    padding: 12px 16px;
    border: 2px solid var(--border);
    border-radius: 10px;
    font-size: 14px;
    transition: all 0.3s;
    background: var(--bg-input);
    color: var(--text-primary);
}

.search-input:focus {
    outline: none;
    border-color: var(--primary);
    background: var(--bg-container);
    box-shadow: 0 0 0 4px var(--primary-light);
}

.filter-btn {
    padding: 10px 20px;
    background: var(--bg-container);
    border: 2px solid var(--border);
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
    color: var(--text-primary);
    transition: all 0.3s;
}

.filter-btn.active {
    background: linear-gradient(135deg, var(--primary), #7a4edb);
    color: white;
    border-color: var(--primary);
    box-shadow: 0 4px 12px rgba(140, 96, 243, 0.3);
}

.filter-btn:not(.active):hover {
    border-color: var(--primary);
    color: var(--primary);
}

.prompt-grid,
.bot-grid,
.course-grid,
.resources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    justify-items: center;
}

.prompt-card,
.bot-card,
.course-card,
.resource-card {
    background: var(--bg-container);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: all 0.3s;
    width: 100%;
    max-width: 400px;
}

.prompt-card:not(.locked):hover,
.bot-card:not(.locked):hover,
.course-card:not(.locked):hover,
.resource-card:not(.locked):hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.prompt-card.locked,
.bot-card.locked,
.course-card.locked,
.resource-card.locked {
    opacity: 0.6;
    filter: grayscale(50%);
    cursor: pointer;
}

.prompt-card.locked:hover,
.bot-card.locked:hover,
.course-card.locked:hover,
.resource-card.locked:hover {
    opacity: 0.7;
}

.prompt-image,
.course-image,
.resource-image {
    width: 100%;
    aspect-ratio: 16 / 9;
    background: var(--bg-body);
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    color: white;
}

.prompt-image .icon,
.course-image .icon,
.resource-image .icon {
    width: 56px;
    height: 56px;
}

.prompt-image.video {
    background-image: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.prompt-image.image {
    background-image: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.prompt-image.llm {
    background-image: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
}

.course-image {
    background-image: linear-gradient(135deg, var(--primary) 0%, #7a4edb 100%);
}

.resource-image {
    background-image: linear-gradient(135deg, #ff9a9e 0%, #fecfef 100%);
}

.card-content {
    padding: 20px;
}

.card-header {
    display: inline-block;
    background: var(--primary-light);
    color: var(--primary);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    margin-bottom: 12px;
    text-transform: uppercase;
}

.card h4 {
    font-size: 16px;
    margin-bottom: 10px;
    color: var(--text-primary);
    font-weight: 700;
}

.card-description {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 16px;
    line-height: 1.5;
    min-height: 40px;
}

.card-actions {
    display: flex;
    gap: 8px;
}

.btn-sm {
    flex: 1;
    padding: 10px 12px;
    border: none;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-sm-secondary {
    background: var(--bg-body);
    color: var(--primary);
    font-weight: 700;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

@media (min-width: 992px) {
    .dashboard-grid {
        grid-template-columns: 2fr 1fr;
    }
}

.announcement-card {
    background: linear-gradient(135deg, var(--primary) 0%, #7a4edb 100%);
    color: white;
    padding: 24px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
}

.announcement-card h3 {
    font-size: 18px;
    margin-bottom: 12px;
    color: white;
    font-weight: 700;
}

.announcement-card p {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 16px;
    opacity: 0.9;
}

.latest-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
}

.latest-item:last-child {
    border-bottom: none;
}

.latest-item-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.latest-item-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: var(--primary-light);
    color: var(--primary);
}

.latest-item-icon .icon {
    width: 18px;
    height: 18px;
}

.latest-item-info h5 {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
}

.latest-item-info span {
    font-size: 12px;
    color: var(--text-secondary);
    font-weight: 500;
}

.benefit-card-total {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 2px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.benefit-card-total h4 {
    font-size: 16px;
    color: var(--text-primary);
    margin: 0;
}

.benefit-card-total .total-value {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary);
}

.btn-upgrade {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, var(--primary), #7a4edb);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-upgrade:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(140, 96, 243, 0.4);
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    padding: 20px;
}

.modal {
    background: var(--bg-container);
    border-radius: var(--radius);
    padding: 32px;
    max-width: 500px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: var(--shadow-lg);
}

.modal.modal-lg {
    max-width: 700px;
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-secondary);
    padding: 8px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.modal-close .icon {
    width: 24px;
    height: 24px;
}

.modal-close:hover {
    background: var(--bg-body);
    color: var(--text-primary);
}

.modal h3 {
    font-size: 22px;
    margin-bottom: 20px;
    font-weight: 700;
    color: var(--text-primary);
}

.prompt-full-content {
    background: var(--bg-body);
    border: 1px solid var(--border);
    padding: 16px;
    border-radius: 10px;
    margin-bottom: 20px;
    font-size: 14px;
    line-height: 1.6;
    white-space: pre-wrap;
    word-break: break-word;
    color: var(--text-secondary);
}

.modal-footer {
    display: flex;
    gap: 12px;
    margin-top: 24px;
    justify-content: flex-end;
    border-top: 1px solid var(--border);
    padding-top: 20px;
}

.btn-secondary {
    background: var(--bg-body);
    color: var(--text-secondary);
    font-weight: 600;
    padding: 10px 20px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-secondary:hover {
    background: var(--border);
    color: var(--text-primary);
}

.modal-center {
    text-align: center;
}

.modal-center .icon {
    width: 48px;
    height: 48px;
    color: var(--error);
    margin-bottom: 16px;
}

.modal-center p {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.modal-center .modal-footer {
    justify-content: center;
    border-top: none;
    padding-top: 0;
}

.btn-danger {
    background: var(--error);
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-danger:hover {
    background: #e63946;
}

.toast {
    position: fixed;
    bottom: 24px;
    right: 24px;
    background: #333;
    color: white;
    padding: 16px 24px;
    border-radius: 10px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    z-index: 3000;
    animation: slideIn 0.3s;
    font-weight: 600;
}

.toast.success {
    background: var(--success);
    color: white;
}

.toast.error {
    background: var(--error);
    color: white;
}

@keyframes slideIn {
    from {
        transform: translateX(400px);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@media (max-width: 768px) {
    .sidebar {
        transform: translateX(-100%);
        box-shadow: none;
    }

    .sidebar.mobile-visible {
        transform: translateX(0);
        box-shadow: 2px 0 10px rgba(0, 0, 0, 0.05);
    }

    .main-content {
        margin-left: 0;
    }

    .hamburger {
        display: flex;
    }

    .prompt-grid,
    .bot-grid,
    .course-grid,
    .resources-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .content-area {
        padding: 16px;
    }

    .card {
        padding: 16px;
    }

    .modal {
        padding: 24px;
    }

    .auth-box {
        padding: 24px;
    }

    .topbar-right {
        gap: 4px;
    }

    .btn-logout {
        font-size: 12px;
        padding: 8px 10px;
    }
}

.nav-item.policy-link {
    display: flex;
    align-items: center;
    margin: 0 12px;
    font-size: 10px;
    color: #999;
    opacity: 0.7;
    cursor: pointer;
    gap: 8px;
    padding: 2px 0;
}

.nav-item.policy-link .icon {
    width: 14px;
    height: 14px;
    fill: #999;
}

.nav-item.policy-link span {
    font-size: inherit;
    color: inherit;
}

.admin-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 24px;
    border-bottom: 2px solid var(--border);
    flex-wrap: wrap;
}

.admin-tab {
    padding: 12px 20px;
    cursor: pointer;
    font-weight: 600;
    color: var(--text-secondary);
    border-bottom: 3px solid transparent;
    transition: all 0.3s;
    flex-grow: 1;
    text-align: center;
}

.admin-tab:hover {
    color: var(--text-primary);
}

.admin-tab.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
}

.admin-table-wrapper {
    width: 100%;
    overflow-x: auto;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.admin-table th,
.admin-table td {
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid var(--border);
    vertical-align: middle;
}

.admin-table th {
    background: var(--bg-body);
    font-size: 12px;
    font-weight: 700;
    color: var(--text-secondary);
    text-transform: uppercase;
}

.admin-table td {
    font-size: 14px;
}

.admin-table .title-column {
    font-weight: 600;
    color: var(--text-primary);
    white-space: nowrap;
}

.admin-table .actions-column {
    white-space: nowrap;
    width: 1%;
}

.admin-table .badge {
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
}

.badge-free {
    background: var(--bg-body);
    color: var(--text-secondary);
}

.badge-vip {
    background: var(--primary-light);
    color: var(--primary);
}

.badge-admin {
    background: rgba(255, 71, 87, 0.1);
    color: var(--error);
}

.btn-icon {
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    margin-left: 4px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
}

.btn-icon .icon {
    width: 18px;
    height: 18px;
}

.btn-edit {
    color: var(--primary);
}

.btn-edit:hover {
    background: var(--primary-light);
}

.btn-delete {
    color: var(--error);
}

.btn-delete:hover {
    background: rgba(255, 71, 87, 0.1);
}

/* ========================================
   STYLES FOR ANNOUNCEMENT SLIDER
   ======================================== */
.announcement-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
    margin-bottom: 24px;
}

.announcement-wrapper {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.announcement-slide {
    min-width: 100%;
    box-sizing: border-box;
}

/* Memastikan kad di dalam slider tidak mempunyai margin bawah tambahan */
.announcement-slide .announcement-card {
    margin-bottom: 0;
}

.announcement-dots {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
}

.announcement-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.4);
    border: none;
    cursor: pointer;
    transition: background-color 0.3s;
}

.announcement-dot.active {
    background-color: white;
}


/* ========================================
   STYLE BARU UNTUK PAUTAN "READ MORE" 10nov2025
   ======================================== */
.read-more-link {
    font-size: 13px;
    font-weight: 600;
    color: var(--primary);
    text-decoration: none;
    transition: opacity 0.3s;
}

.read-more-link:hover {
    opacity: 0.8;
}

/* Memastikan kad-deskripsi mempunyai ruang yang cukup sebelum pautan */
.card-description+.read-more-link {
    margin-top: -10px;
    display: inline-block;
    margin-bottom: 16px;
}

/* Modal Image */
.modal-image {
    width: 100%;
    max-height: 300px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 16px;
    display: block;
}

/* ========================================
   UPGRADE BANNER CARD
   ======================================== */
.upgrade-banner-card {
    grid-column: 1 / -1;
    background: linear-gradient(135deg, var(--primary), #7a4edb);
    color: white;
    padding: 32px;
    border-radius: var(--radius);
    text-align: center;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
    margin-top: 20px;
    box-shadow: var(--shadow-lg);
}

.upgrade-banner-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 40px rgba(140, 96, 243, 0.4);
}

.upgrade-content h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 8px;
    color: white;
}

.upgrade-content p {
    font-size: 16px;
    opacity: 0.9;
    margin-bottom: 20px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.upgrade-content .btn-sm-primary {
    background: white;
    color: var(--primary);
    width: auto;
    padding: 12px 32px;
    font-size: 16px;
}

.upgrade-content .btn-sm-primary:hover {
    background: #f0f0f0;
    transform: scale(1.05);
}