@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
    --primary-pink: #A51D4D;
    --primary-gradient: linear-gradient(135deg, #A51D4D 0%, #8B1E45 100%);
    --bg-dark: #121212;
    --bg-darker: #0a0a0a;
    --text-light: #f1f5f9;
    --text-gray: #cbd5e1;
    --border-color: rgba(255, 255, 255, 0.15);
}

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

body {
    background: var(--bg-dark);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text-light);
    min-height: 100vh;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    width: 100%;
}

/* Global Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    color: #fff;
    margin-bottom: 1rem;
    font-weight: 700;
}

.text-muted {
    color: var(--text-gray) !important;
}

/* Card Styles */
.card,
.main-card,
.link-card,
.tier-card,
.stat-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(165, 29, 77, 0.25);
    border-radius: 12px;
    padding: 1.5rem;
    backdrop-filter: blur(10px);
    transition: 0.3s;
    margin-bottom: 1rem;
}

.card:hover,
.link-card:hover,
.tier-card:hover {
    border-color: rgba(165, 29, 77, 0.5);
    box-shadow: 0 8px 24px rgba(165, 29, 77, 0.2);
    transform: translateY(-2px);
}

/* Button & Link Styles */
.btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 0.7rem 1.25rem;
    font-size: 1rem;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: 0.2s transform, 0.2s box-shadow;
    gap: 8px;
    line-height: 1.2;
}

.btn-sm {
    padding: 0.4rem 0.8rem;
    font-size: 0.85rem;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn-primary {
    background: var(--primary-gradient);
    color: #fff;
    box-shadow: 0 4px 12px rgba(165, 29, 77, 0.3);
}

.btn-primary:hover {
    box-shadow: 0 6px 20px rgba(165, 29, 77, 0.4);
    color: #fff;
}

.btn-outline-primary {
    background: rgba(165, 29, 77, 0.12);
    border: 1px solid rgba(165, 29, 77, 0.3);
    color: #A51D4D;
}

.btn-outline-primary:hover {
    background: rgba(165, 29, 77, 0.2);
    color: #fff;
    border-color: #A51D4D;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text-light);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
}

/* Navbar Styles */
.navbar {
    background: rgba(10, 10, 10, 0.98);
    border-bottom: 1px solid rgba(165, 29, 77, 0.4);
    padding: 1.2rem 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
}

.navbar-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0.75rem;
    width: 100%;
}

.navbar-nav.desktop-nav {
    flex: 1 1 auto;
    justify-content: center;
    min-width: 0;
}

.navbar-end {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    margin-left: auto;
    flex-shrink: 0;
}

.navbar-guest-btns {
    display: flex;
    align-items: center;
    gap: 0.45rem;
}

.navbar-guest-btns .btn {
    height: 40px;
    min-height: 40px;
    padding: 0 1rem;
    font-size: 0.85rem;
    border-radius: 8px;
    box-sizing: border-box;
    line-height: 1;
    white-space: nowrap;
}

.nav-right-actions {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    margin-left: 0;
}

.navbar-brand {
    font-size: 1.35rem;
    font-weight: 800;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.55rem;
    transition: 0.3s;
    flex-shrink: 0;
    max-width: 220px;
}

.navbar-brand img {
    flex-shrink: 0;
    -webkit-text-fill-color: initial;
}

.navbar-nav {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 0.5rem;
    margin: 0;
    padding: 0;
}

.nav-link {
    color: var(--text-gray);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    transition: color 0.2s, background 0.2s, transform 0.15s;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    cursor: pointer;
    position: relative;
}

/* Animated underline bar on hover */
.nav-link::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: calc(100% - 1.6rem);
    height: 2px;
    background: var(--primary-pink);
    border-radius: 2px;
    transition: transform 0.2s ease;
}

.nav-link:hover:not(.active)::after {
    transform: translateX(-50%) scaleX(1);
}

.nav-link:hover:not(.active) {
    color: #fff;
    background: rgba(165, 29, 77, 0.15);
    transform: translateY(-1px);
}

.nav-link.active {
    color: var(--primary-pink);
    background: rgba(165, 29, 77, 0.15);
    font-weight: 700;
}

.nav-link.active::after {
    transform: translateX(-50%) scaleX(1);
}

.navbar-toggler {
    display: none;
    border: 1px solid rgba(165, 29, 77, 0.4);
    padding: 0.5rem;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 6px;
    cursor: pointer;
    flex-direction: column;
    gap: 4px;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
}

.navbar-toggler span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--primary-pink);
    border-radius: 2px;
}

.nav-notify-btn {
    position: relative;
    width: 40px;
    height: 40px;
    border-radius: 6px;
    border: 1px solid rgba(165, 29, 77, 0.4);
    background: rgba(255, 255, 255, 0.04);
    color: #ff4d6d;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.15rem;
    transition: 0.2s ease;
}

.nav-notify-btn:hover,
.nav-notify-btn.is-open {
    background: rgba(165, 29, 77, 0.18);
    border-color: rgba(165, 29, 77, 0.7);
    color: #fff;
}

.nav-notify-btn.has-alerts {
    animation: notifyWiggle 1.8s ease-in-out infinite;
}

.nav-notify-count {
    position: absolute;
    top: 2px;
    right: 2px;
    min-width: 16px;
    height: 16px;
    padding: 0 4px;
    border-radius: 50px;
    background: #f59e0b;
    color: #111;
    font-size: 0.65rem;
    font-weight: 800;
    line-height: 16px;
    text-align: center;
    box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.6);
    animation: notifyPulse 1.6s infinite;
}

@keyframes notifyWiggle {
    0%, 70%, 100% { transform: rotate(0deg); }
    75% { transform: rotate(14deg); }
    80% { transform: rotate(-12deg); }
    85% { transform: rotate(10deg); }
    90% { transform: rotate(-6deg); }
    95% { transform: rotate(3deg); }
}

@keyframes notifyPulse {
    0% { box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.55); }
    70% { box-shadow: 0 0 0 8px rgba(245, 158, 11, 0); }
    100% { box-shadow: 0 0 0 0 rgba(245, 158, 11, 0); }
}

.notify-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: 1100;
    opacity: 0;
    visibility: hidden;
    transition: 0.25s ease;
}

.notify-overlay.active {
    opacity: 1;
    visibility: visible;
}

.notify-panel {
    position: fixed;
    top: 0;
    right: 0;
    width: min(360px, 92vw);
    height: 100%;
    background: #121212;
    border-left: 1px solid rgba(165, 29, 77, 0.35);
    box-shadow: -12px 0 40px rgba(0, 0, 0, 0.55);
    z-index: 1101;
    transform: translateX(105%);
    transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
    display: flex;
    flex-direction: column;
}

.notify-panel.active {
    transform: translateX(0);
}

.notify-panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.4rem 1.25rem;
    border-bottom: 1px solid rgba(165, 29, 77, 0.25);
    background: rgba(165, 29, 77, 0.08);
    min-height: 88px;
    box-sizing: border-box;
    flex-shrink: 0;
}

.notify-panel-header strong {
    display: block;
    color: #fff;
    font-size: 1.05rem;
    font-weight: 800;
}

.notify-panel-header span {
    display: block;
    margin-top: 0.2rem;
    color: #94a3b8;
    font-size: 0.78rem;
}

.notify-close {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.04);
    color: #cbd5e1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.notify-close:hover {
    color: #fff;
    border-color: rgba(165, 29, 77, 0.4);
}

.notify-panel-body {
    flex: 1;
    overflow-y: auto;
    padding: 0.75rem;
}

.notify-item {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    padding: 0.85rem 0.75rem;
    border-radius: 12px;
    border: 1px solid rgba(165, 29, 77, 0.18);
    background: rgba(255, 255, 255, 0.02);
    margin-bottom: 0.55rem;
}

.notify-item-icon {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(165, 29, 77, 0.15);
    color: #ff4d6d;
}

.notify-item-text {
    font-size: 0.84rem;
    color: #cbd5e1;
    line-height: 1.45;
}

.notify-item-text strong {
    color: #fff;
}

.notify-price {
    color: #10b981;
    font-weight: 700;
}

.notify-empty {
    text-align: center;
    padding: 2.5rem 1rem;
    color: #94a3b8;
}

.notify-empty i {
    font-size: 1.6rem;
    color: #A51D4D;
    display: block;
    margin-bottom: 0.5rem;
}

.notify-empty strong {
    color: #fff;
}

.notify-view-all {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    margin-top: 0.75rem;
    padding: 0.75rem;
    border-radius: 10px;
    text-decoration: none;
    color: #fff;
    font-weight: 700;
    font-size: 0.85rem;
    background: rgba(165, 29, 77, 0.2);
    border: 1px solid rgba(165, 29, 77, 0.35);
}

.notify-view-all:hover {
    background: rgba(165, 29, 77, 0.35);
    color: #fff;
}

.notify-panel-footer {
    padding: 0.9rem 1rem 1.15rem;
    border-top: 1px solid rgba(165, 29, 77, 0.25);
    background: rgba(165, 29, 77, 0.06);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
}

.notify-buy-btn {
    display: inline-flex !important;
    width: auto !important;
    min-width: 180px !important;
    justify-content: center;
    padding: 0.7rem 1.75rem !important;
    white-space: nowrap;
    text-decoration: none;
}

.notify-buy-note {
    font-size: 0.72rem;
    color: #64748b;
    font-weight: 500;
}

/* Mobile Sidebar */
.mobile-sidebar {
    position: fixed;
    top: 0;
    left: -100%;
    width: 280px;
    height: 100vh;
    height: 100dvh;
    background: var(--bg-darker);
    z-index: 9999;
    transition: 0.3s;
    display: flex;
    flex-direction: column;
    border-right: 1px solid rgba(165, 29, 77, 0.25);
    box-shadow: 2px 0 20px rgba(0, 0, 0, 0.5);
}

.mobile-sidebar.active {
    left: 0;
}

.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
}

.sidebar-overlay.active {
    opacity: 1;
    visibility: visible;
}

.sidebar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.4rem 1.25rem;
    border-bottom: 1px solid rgba(165, 29, 77, 0.25);
    background: rgba(165, 29, 77, 0.08);
    min-height: 88px;
    box-sizing: border-box;
    flex-shrink: 0;
}

.sidebar-brand-link {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    text-decoration: none;
    color: #fff;
    min-width: 0;
}

.sidebar-brand-link img {
    height: 36px;
    width: auto;
    object-fit: contain;
    flex-shrink: 0;
}

.sidebar-brand-text strong {
    display: block;
    color: #fff;
    font-size: 1.05rem;
    font-weight: 800;
    line-height: 1.25;
}

.sidebar-brand-text span {
    display: block;
    margin-top: 0.25rem;
    color: #94a3b8;
    font-size: 0.78rem;
}

.sidebar-close {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.04);
    color: #cbd5e1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: 0.2s;
    flex-shrink: 0;
}

.sidebar-close:hover {
    color: #fff;
    border-color: rgba(165, 29, 77, 0.4);
    background: rgba(165, 29, 77, 0.15);
}

.sidebar-menu {
    padding: 1rem 0;
    overflow-y: auto;
}

.sidebar-menu .nav-link {
    padding: 0.95rem 1.35rem;
    border-radius: 0;
    border-left: 3px solid transparent;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    cursor: pointer;
    transition: color 0.2s, background 0.2s, border-color 0.2s, padding-left 0.2s;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1rem;
}

/* Right arrow indicator */
.sidebar-menu .nav-link::before {
    content: '';
}

.sidebar-menu .nav-link::after {
    content: '›';
    font-size: 1.2rem;
    line-height: 1;
    color: rgba(165, 29, 77, 0.5);
    margin-left: auto;
    transform: translateX(0);
    transition: transform 0.2s, color 0.2s;
    /* override desktop underline */
    position: static;
    width: auto;
    height: auto;
    background: none;
    border-radius: 0;
    bottom: auto;
    left: auto;
}

.sidebar-menu .nav-link:hover:not(.active) {
    padding-left: 1.6rem;
    border-left-color: rgba(165, 29, 77, 0.5);
    background: rgba(165, 29, 77, 0.1);
    color: #fff;
    transform: none;
}

.sidebar-menu .nav-link:hover:not(.active)::after {
    color: var(--primary-pink);
    transform: translateX(3px);
}

.sidebar-menu .nav-link.active {
    border-left-color: var(--primary-pink);
    background: rgba(165, 29, 77, 0.15);
    color: var(--primary-pink);
}

.sidebar-menu .nav-link.active::after {
    color: var(--primary-pink);
}

/* Dropdown Styles */
.nav-dropdown,
.user-dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    margin-top: 0.5rem;
    background: rgba(10, 10, 10, 0.99);
    border: 1px solid rgba(165, 29, 77, 0.25);
    border-radius: 8px;
    min-width: 200px;
    padding: 0.5rem 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: 0.3s;
    z-index: 1001;
    backdrop-filter: blur(10px);
}

.dropdown-item {
    color: var(--text-light);
    padding: 0.7rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.7rem;
    text-decoration: none;
    transition: 0.2s;
    font-size: 0.9rem;
}

.dropdown-item:hover {
    background: rgba(165, 29, 77, 0.15);
    color: #fff;
}

.dropdown-divider {
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin: 0.5rem 0;
}

.nav-dropdown.active .dropdown-menu,
.user-dropdown.active .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item-text {
    display: block;
    padding: 0.4rem 1.5rem;
    color: var(--text-gray);
    font-size: 0.85rem;
}

/* Sidebar Specifics */
.sidebar-user {
    margin-top: auto;
    padding: 1.15rem 1.15rem 1.25rem;
    border-top: 1px solid rgba(165, 29, 77, 0.25);
    background: rgba(165, 29, 77, 0.08);
}

.user-profile-compact {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.profile-main {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.profile-avatar {
    font-size: 2.2rem;
    color: var(--primary-pink);
    opacity: 0.9;
}

.profile-info {
    display: flex;
    flex-direction: column;
}

.profile-name {
    font-weight: 800;
    font-size: 0.95rem;
    color: #fff;
    line-height: 1.2;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.profile-tier-badge {
    font-size: 0.65rem;
    font-weight: 700;
    color: #f59e0b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: rgba(245, 158, 11, 0.1);
    padding: 2px 6px;
    border-radius: 4px;
    border: 1px solid rgba(245, 158, 11, 0.2);
}

.profile-stats-row {
    display: flex;
    gap: 0.5rem;
}

.stat-pill {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(165, 29, 77, 0.15);
    padding: 0.4rem 0.75rem;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.8rem;
    color: var(--text-gray);
    font-weight: 600;
}

.stat-pill i {
    color: var(--primary-pink);
}

.sidebar-logout-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #ef4444;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 700;
    transition: 0.2s;
    padding: 0.5rem 0;
    width: fit-content;
}

.sidebar-logout-btn:hover {
    color: #f87171;
    transform: translateX(3px);
}

.nav-link i,
.dropdown-item i {
    font-size: 1.1rem;
}

/* Responsive Overrides */
@media (max-width: 991px) {
    .desktop-nav {
        display: none !important;
    }

    .navbar-toggler {
        display: flex;
    }
}

@media (min-width: 992px) {

    .mobile-sidebar,
    .sidebar-overlay {
        display: none !important;
    }
}

/* Dashboard & Component Consolidation - Anti-FOUC */
.dashboard-wrapper {
    max-width: 850px;
    margin: 0.7rem auto 2rem auto;
    padding: 0 1rem 6rem 1rem;
}

.purchase-signboard {
    max-width: 850px;
    margin: 1rem auto 0 auto;
    padding: 0 1rem;
}

@keyframes shineEffect {
    0% { left: -100%; }
    20% { left: 200%; }
    100% { left: 200%; }
}

.purchase-signboard a {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: linear-gradient(90deg, rgba(165, 29, 77, 0.15), rgba(0, 0, 0, 0.4));
    backdrop-filter: blur(12px);
    border: 1px solid rgba(165, 29, 77, 0.4);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3), inset 0 0 10px rgba(165, 29, 77, 0.1);
    padding: 0.85rem 1.25rem;
    border-radius: 12px;
    text-decoration: none;
    color: #fff;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.purchase-signboard a::before {
    content: '';
    position: absolute;
    top: 0; left: -100%; width: 50%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transform: skewX(-20deg);
    animation: shineEffect 3s infinite;
}

.purchase-signboard a:hover {
    background: linear-gradient(90deg, rgba(165, 29, 77, 0.25), rgba(0, 0, 0, 0.5));
    border-color: rgba(165, 29, 77, 0.8);
    box-shadow: 0 6px 20px rgba(165, 29, 77, 0.3), inset 0 0 15px rgba(165, 29, 77, 0.2);
    transform: translateY(-3px);
}

.purchase-signboard i.bi-cart-check-fill {
    color: #ff4d6d;
    font-size: 1.2rem;
    filter: drop-shadow(0 0 5px rgba(255, 77, 109, 0.5));
}

.purchase-signboard strong {
    color: #f59e0b;
    text-shadow: 0 0 8px rgba(245, 158, 11, 0.3);
}

.action-buttons-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: clamp(0.4rem, 2vw, 0.75rem);
    margin-bottom: 1.2rem;
}

.action-buttons-primary {
    margin-top: 0.35rem;
    margin-bottom: 0.5rem;
}

.action-buttons-grid .btn-neo {
    gap: clamp(0.3rem, 1.2vw, 0.5rem);
    padding: clamp(0.6rem, 2.4vw, 0.85rem) clamp(0.4rem, 1.6vw, 0.65rem);
    border-radius: clamp(8px, 2vw, 10px);
    font-size: clamp(0.78rem, 2.9vw, 0.95rem);
    white-space: nowrap;
}

.action-buttons-grid .btn-neo i {
    font-size: clamp(0.88rem, 3.1vw, 1.05rem);
    flex-shrink: 0;
}

.btn-neo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 0.5rem;
    background: var(--primary-gradient);
    border: none;
    border-radius: 10px;
    color: #fff;
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none;
    transition: 0.3s;
    box-shadow: 0 4px 10px rgba(165, 29, 77, 0.25);
}

.btn-neo:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(165, 29, 77, 0.5);
    color: #fff;
    opacity: 0.95;
}

/* Banner Styles */
.telegram-minimal-banner {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.03);
    padding: 0.8rem 1rem;
    border-radius: 10px;
    color: #fff;
    text-decoration: none;
    border: 1px solid rgba(165, 29, 77, 0.2);
    transition: 0.2s;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.telegram-minimal-banner:hover {
    background: rgba(165, 29, 77, 0.08);
    border-color: var(--primary-pink);
    color: #fff;
    transform: translateY(-2px);
}

.tg-min-icon {
    font-size: 1.4rem;
    margin-right: 0.8rem;
    color: #A51D4D;
    display: flex;
    align-items: center;
}

.tg-min-content {
    flex: 1;
    display: flex;
    align-items: center;
}

.tg-min-content strong {
    font-size: 0.95rem;
    font-weight: 500;
    color: #f1f5f9;
    letter-spacing: 0.2px;
}

.tg-min-arrow {
    font-size: 1.1rem;
    color: var(--primary-pink);
    opacity: 0.8;
    display: flex;
    align-items: center;
}




/* Purchase History Page */
.history-page {
    max-width: 850px;
    margin: 0.7rem auto 2rem auto;
    padding: 0 1rem 4rem 1rem;
}

.history-back {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 0.85rem;
}

.history-back:hover {
    color: #fff;
}

.history-page-header {
    text-align: center;
    margin: 0 0 1.15rem 0;
}

.history-page-header h1 {
    margin: 0 0 0.25rem 0;
    font-size: 1.25rem;
    font-weight: 800;
    color: #fff;
}

.history-page-header p {
    margin: 0;
    font-size: 0.85rem;
    color: #94a3b8;
}

.history-buy-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
    margin-bottom: 1.25rem;
}

.history-buy-btn {
    display: inline-flex !important;
    width: auto !important;
    min-width: 180px !important;
    justify-content: center;
    padding: 0.75rem 2rem !important;
    white-space: nowrap;
}

.history-buy-note {
    font-size: 0.72rem;
    color: #64748b;
    font-weight: 500;
}

.history-card {
    margin-bottom: 0;
}

.history-row {
    gap: 0.75rem;
}

.history-row-icon {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(165, 29, 77, 0.15);
    color: #ff4d6d;
    font-size: 0.95rem;
}

.history-meta {
    margin-top: 0.2rem;
    font-size: 0.8rem;
    color: #94a3b8;
    line-height: 1.4;
}

.history-plan {
    color: #f59e0b;
    font-weight: 700;
}

.history-price {
    color: #10b981;
    font-weight: 700;
}

.history-time {
    flex-shrink: 0;
    font-size: 0.72rem;
    color: #64748b;
    white-space: nowrap;
}

.history-empty {
    padding: 2.5rem 1rem;
    text-align: center;
    color: #94a3b8;
}

.history-empty i {
    display: block;
    font-size: 1.6rem;
    color: #A51D4D;
    margin-bottom: 0.5rem;
}

.history-empty strong {
    color: #fff;
}

@media (max-width: 480px) {
    .history-page {
        padding-left: 0.4rem;
        padding-right: 0.4rem;
    }

    .history-row {
        align-items: flex-start;
    }

    .history-time {
        align-self: flex-start;
        margin-top: 0.15rem;
    }
}

/* Tiers Page (minimal list) */
.tiers-page {
    max-width: 850px;
    margin: 0.9rem auto 2rem auto;
    padding: 0 1rem 4.5rem 1rem;
}

.tiers-page-header {
    text-align: center;
    margin: 1rem 0 1.25rem 0;
}

.tiers-page-header h1 {
    margin: 0 0 0.35rem 0;
    font-size: 1.35rem;
    font-weight: 800;
    color: #fff;
}

.tiers-page-header p {
    margin: 0;
    font-size: 0.9rem;
    color: #94a3b8;
}

.tiers-status {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.5rem 0.75rem;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 50px;
    padding: 0.65rem 1.25rem;
    width: fit-content;
    max-width: 100%;
    margin: 0 auto 1.4rem auto;
    font-size: 0.9rem;
    color: #cbd5e1;
    font-weight: 600;
}

.tiers-status strong {
    color: #ff4d6d;
}

.tiers-status-sep {
    width: 1px;
    height: 0.9rem;
    background: rgba(255, 255, 255, 0.15);
}

.tiers-page .tier-main-card {
    margin-bottom: 0;
}

.tiers-page .link-item {
    padding: 1.35rem 1.35rem;
}

.tiers-page .link-title {
    font-size: 1.1rem;
    flex-wrap: nowrap;
    gap: 0.5rem;
}

.tiers-page .link-title .tiers-pill {
    flex-shrink: 0;
}

.tiers-req {
    font-size: 0.82rem;
    color: #94a3b8;
    margin-top: 0.3rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem;
    line-height: 1.35;
}

.tiers-req strong {
    color: #f59e0b;
}

.tiers-videos {
    color: var(--primary-pink);
    font-weight: 700;
}

.tiers-req-dot {
    color: #64748b;
    font-weight: 700;
}

.tiers-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.22rem 0.55rem;
    border-radius: 6px;
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.tiers-pill-open {
    background: rgba(16, 185, 129, 0.12);
    color: #34d399;
    border: 1px solid rgba(16, 185, 129, 0.25);
}

.tiers-pill-lock {
    background: rgba(255, 255, 255, 0.05);
    color: #94a3b8;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.tiers-buy-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 1.4rem;
    gap: 0.4rem;
}

.tiers-buy-btn {
    display: inline-flex !important;
    width: auto !important;
    min-width: 180px !important;
    max-width: none;
    justify-content: center;
    text-decoration: none;
    box-sizing: border-box;
    padding: 0.75rem 2rem !important;
    white-space: nowrap;
}

.tiers-buy-note {
    font-size: 0.72rem;
    font-weight: 500;
    color: #64748b;
    letter-spacing: 0.2px;
}

@media (max-width: 480px) {
    .tiers-page {
        padding-left: 0.4rem;
        padding-right: 0.4rem;
    }

    .tiers-status {
        border-radius: 12px;
        justify-content: flex-start;
    }

    .tiers-page .link-item {
        padding: 1.15rem 1rem;
    }
}

/* Preview Page */
.preview-page {
    max-width: 1080px;
    margin: 0.5rem auto 2rem auto;
    padding: 0 1rem 3rem 1rem;
}

.preview-page-top {
    margin: 0.35rem 0 0.85rem 0;
}

.preview-back {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 700;
    padding: 0.35rem 0.55rem 0.35rem 0;
}

.preview-back:hover {
    color: #fff;
}

.preview-page-header {
    text-align: center;
    margin: 0 0 1.35rem 0;
}

.preview-page-header h1 {
    margin: 0 0 0.3rem 0;
    font-size: 1.3rem;
    font-weight: 800;
    color: #fff;
}

.preview-page-header p {
    margin: 0;
    font-size: 0.85rem;
    color: #94a3b8;
}

.preview-video-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

@media (min-width: 700px) {
    .preview-video-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1.15rem;
    }
}

@media (min-width: 1000px) {
    .preview-video-list {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.preview-video-card {
    position: relative;
    aspect-ratio: 9 / 16;
    background: #0a0a0a;
    border: 1px solid rgba(165, 29, 77, 0.35);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.45);
}

.preview-video-meta {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 3;
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    padding: 0.85rem 1rem;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0) 100%);
    pointer-events: none;
}

.preview-video-label {
    font-size: 0.68rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--primary-pink);
}

.preview-video-meta strong {
    font-size: 0.92rem;
    color: #fff;
}

.preview-video-frame {
    position: absolute;
    inset: 0;
    background: #000;
}

.preview-video-frame iframe,
.preview-video-frame video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
    background: #000;
    object-fit: contain;
    opacity: 0;
    pointer-events: none;
}

.preview-video-card.is-playing .preview-video-frame iframe,
.preview-video-card.is-playing .preview-video-frame video {
    opacity: 1;
    pointer-events: auto;
}

.preview-play-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    margin: 0;
    padding: 1rem;
    border: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
    color: #fff;
    background: rgba(0, 0, 0, 0.78);
}

.preview-play-overlay[hidden] {
    display: none !important;
}

.preview-play-btn {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-pink, #A51D4D);
}

.preview-play-btn i {
    font-size: 1.85rem;
    margin-left: 3px;
    line-height: 1;
}

.preview-play-text {
    font-size: 0.82rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.9);
}

@media (max-width: 480px) {
    .preview-play-btn {
        width: 56px;
        height: 56px;
    }
}

.preview-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.55rem;
    text-align: center;
    padding: 2rem 1.25rem 1.75rem;
    border-radius: 16px;
    border: 1px solid rgba(165, 29, 77, 0.35);
    background: rgba(165, 29, 77, 0.04);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
    color: #94a3b8;
}

.preview-empty-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(165, 29, 77, 0.15);
    border: 1px solid rgba(165, 29, 77, 0.35);
    margin-bottom: 0.25rem;
}

.preview-empty-icon i {
    font-size: 1.4rem;
    color: #ff4d6d;
    margin: 0;
}

.preview-empty strong {
    color: #fff;
    font-size: 1.05rem;
    font-weight: 800;
}

.preview-empty-hr {
    width: 56%;
    max-width: 180px;
    margin: 0.35rem auto 0.55rem auto;
    border: none;
    border-top: 1px solid rgba(165, 29, 77, 0.35);
    opacity: 1;
}

.preview-empty span {
    font-size: 0.82rem;
    line-height: 1.45;
    max-width: 280px;
    margin-bottom: 0.55rem;
}

.preview-empty .btn-premium {
    display: inline-flex;
    justify-content: center;
}

.preview-page-cta {
    margin-top: 1.75rem;
    text-align: center;
}

.preview-page-cta p {
    margin: 0 0 0.75rem 0;
    color: #94a3b8;
    font-size: 0.85rem;
}

.preview-page-cta .btn-premium {
    display: inline-flex;
    justify-content: center;
}

@media (max-width: 480px) {
    .preview-page {
        padding-left: 0.4rem;
        padding-right: 0.4rem;
    }

    .preview-page-header h1 {
        font-size: 1.15rem;
    }

    .preview-empty {
        padding: 1.65rem 1rem 1.4rem;
    }
}

/* Free Access Section (Dashboard) */
.free-access-section {
    margin: 0 0 1.75rem 0;
}

.preview-card {
    position: relative;
    display: block;
    margin: 1.55rem 0 1.65rem 0;
    text-decoration: none;
    color: #fff;
    background: rgba(165, 29, 77, 0.04);
    border: 1px solid rgba(165, 29, 77, 0.35);
    border-radius: 16px;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(15px);
    transition: border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
    overflow: visible;
}

.preview-card:hover {
    border-color: rgba(165, 29, 77, 0.6);
    background: rgba(165, 29, 77, 0.07);
    color: #fff;
    box-shadow: 0 10px 32px rgba(0, 0, 0, 0.5);
}

.preview-badge,
.free-content-badge {
    position: absolute;
    top: -13px;
    left: 18px;
    background: linear-gradient(135deg, #A51D4D 0%, #8b1e45 100%);
    color: #fff;
    padding: 0.32rem 1.05rem;
    border-radius: 50px;
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    box-shadow: 0 4px 12px rgba(165, 29, 77, 0.4);
    z-index: 10;
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    line-height: 1.2;
}

.preview-badge i,
.free-content-badge i {
    color: #ff4d6d;
    font-size: 0.78rem;
}

.preview-card-body {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.65rem 1.25rem 1.2rem 1.25rem;
}

.preview-card-text {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    min-width: 0;
}

.preview-card-text strong {
    font-size: 1.05rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.1px;
}

.preview-card-text span {
    font-size: 0.78rem;
    font-weight: 600;
    color: #94a3b8;
}

.preview-card-cta {
    flex-shrink: 0;
    pointer-events: none;
}

.preview-card:hover .preview-card-cta {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(165, 29, 77, 0.5);
}

.tier-main-card.free-highlight {
    border: 1px solid rgba(165, 29, 77, 0.35);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.45);
    background: rgba(165, 29, 77, 0.04);
    margin-bottom: 0;
}

.free-tier-wrap {
    position: relative;
    margin-top: 1.15rem;
    margin-bottom: 0;
    scroll-margin-top: 6.5rem;
}

.card-header.free-card-header {
    padding: 1.65rem 1.25rem 1rem 1.25rem;
}

.card-header-left {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    min-width: 0;
}

.free-video-count {
    font-size: 0.85rem;
    color: var(--primary-pink);
    font-weight: 700;
}

.premium-alert-in-card {
    margin: 0;
    border-radius: 0;
    border: none;
    border-bottom: 1px solid rgba(165, 29, 77, 0.18);
    background: rgba(165, 29, 77, 0.05);
    padding: 0.65rem 1.25rem;
}

/* Tier Component Styles */
.tier-main-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(165, 29, 77, 0.2);
    border-radius: 16px;
    overflow: hidden;
    backdrop-filter: blur(15px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    margin-bottom: 1.5rem;
}

.card-header {
    background: rgba(165, 29, 77, 0.15);
    padding: 0.75rem 1rem;
    border-bottom: 1px solid rgba(81, 50, 61, 0.2);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.card-header h3 {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 800;
    color: #fff;
}

.premium-alert {
    background: rgba(165, 29, 77, 0.08);
    border: 1px solid rgba(81, 50, 61, 0.25);
    border-radius: 8px;
    padding: 0.7rem 0.75rem;
    margin-bottom: 0.6rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: #f1f5f9;
    backdrop-filter: blur(10px);
    font-size: 0.82rem;
}

.premium-alert i {
    font-size: 0.85rem;
    opacity: 0.8;
    flex-shrink: 0;
}

.premium-alert-text {
    line-height: 1.4;
}

.link-item {
    padding: 1.5rem;
    border-bottom: 1px solid rgba(165, 29, 77, 0.1);
    transition: 0.3s;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.link-item:hover {
    background: rgba(165, 29, 77, 0.05);
}

.link-title {
    font-weight: 700;
    font-size: 1.05rem;
    color: #fff;
    margin-bottom: 0.4rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.v-badge {
    background: rgba(165, 29, 77, 0.15);
    color: var(--primary-pink);
    padding: 0.25rem 0.6rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 700;
    border: 1px solid rgba(165, 29, 77, 0.2);
}

.pw-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.05);
    padding: 0.4rem 0.75rem;
    border-radius: 8px;
    font-size: 0.8rem;
    color: #cbd5e1;
    margin-top: 0.5rem;
    width: fit-content;
    cursor: pointer;
    transition: 0.2s;
    border: 1px solid rgba(165, 29, 77, 0.1);
}

.pw-info:hover {
    background: rgba(165, 29, 77, 0.1);
    border-color: rgba(165, 29, 77, 0.3);
    color: #fff;
}

.btn-premium {
    background: var(--primary-gradient);
    color: #fff;
    padding: 0.65rem 1.4rem;
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.9rem;
    border: none;
    cursor: pointer;
    transition: 0.3s;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(165, 29, 77, 0.3);
}

.btn-premium:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(165, 29, 77, 0.5);
    color: #fff;
}

.btn-tutorial {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(165, 29, 77, 0.3);
    color: #fff;
    padding: 0.35rem 0.75rem;
    border-radius: 8px;
    font-size: 0.78rem;
    font-weight: 700;
    cursor: pointer;
    transition: 0.2s;
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.btn-tutorial:hover {
    background: rgba(165, 29, 77, 0.15);
    border-color: var(--primary-pink);
}

.spinner-custom {
    width: 1.25rem;
    height: 1.25rem;
    border: 2px solid rgba(165, 29, 77, 0.2);
    border-top: 2px solid var(--primary-pink);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Locked States */
.locked-view {
    text-align: center;
    padding: 3rem 2rem;
}

.locked-icon {
    font-size: 3.5rem;
    color: #4b5563;
    margin-bottom: 1.25rem;
    opacity: 0.4;
}

.locked-title {
    font-size: 1.3rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 0.5rem;
}

.locked-text {
    color: #9ca3af;
    margin-bottom: 2rem;
    font-size: 0.95rem;
}

.progress-box {
    background: rgba(165, 29, 77, 0.1);
    border: 1px solid rgba(165, 29, 77, 0.2);
    padding: 1.25rem;
    border-radius: 16px;
    display: inline-block;
    min-width: 200px;
}

.progress-count {
    font-size: 1.75rem;
    font-weight: 800;
    color: #fff;
}

.progress-label {
    font-size: 0.8rem;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 0.2rem;
}

/* Modals */
.custom-video-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 9999;
    backdrop-filter: blur(8px);
    justify-content: center;
    align-items: center;
    padding: 1rem;
}

.custom-video-modal.show {
    display: flex;
}

.custom-modal-content {
    background: #0f0f15;
    border: 1px solid rgba(165, 29, 77, 0.3);
    border-radius: 20px;
    width: 100%;
    max-width: 320px;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.8);
}

.custom-modal-header {
    padding: 1.25rem;
    background: rgba(165, 29, 77, 0.05);
    border-bottom: 1px solid rgba(165, 29, 77, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.custom-close-btn {
    background: none;
    border: none;
    color: #6b7280;
    font-size: 1.5rem;
    cursor: pointer;
    transition: 0.2s;
}

.custom-close-btn:hover {
    color: #fff;
    transform: rotate(90deg);
}

.video-wrapper {
    position: relative;
    padding-top: 177.78%;
    background: #000;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Responsive Adjustments */
@media (max-width: 600px) {
    .link-item {
        flex-direction: row;
        align-items: center;
        padding: 1.25rem;
    }

    .btn-premium {
        width: auto;
        justify-content: center;
    }
}

.history-link {
    color: var(--text-gray);
    font-size: 0.85rem;
    text-decoration: none;
    transition: 0.2s;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding-bottom: 2px;
}

.history-link:hover {
    color: var(--primary-pink);
    border-bottom-color: var(--primary-pink);
}

@media (max-width: 480px) {
    .dashboard-wrapper {
        padding-left: 0.4rem;
        padding-right: 0.4rem;
    }

    .preview-card-body,
    .card-header.free-card-header {
        padding: 1.45rem 0.85rem 0.95rem 0.85rem;
        gap: 0.65rem;
    }

    .premium-alert-in-card {
        padding: 0.55rem 0.85rem;
        font-size: 0.75rem;
    }

    .preview-card-text strong,
    .link-title {
        font-size: 0.95rem;
    }

    .preview-card-text span {
        font-size: 0.72rem;
    }

    .preview-badge,
    .free-content-badge {
        left: 14px;
        padding: 0.28rem 0.9rem;
        font-size: 0.72rem;
    }

    .link-item {
        padding: 1rem 0.85rem;
        gap: 0.65rem;
    }

    .v-badge {
        padding: 0.2rem 0.45rem;
        font-size: 0.68rem;
    }

    .btn-premium {
        padding: 0.55rem 1rem;
        font-size: 0.82rem;
        white-space: nowrap;
    }

    .btn-tutorial {
        padding: 0.3rem 0.6rem;
        font-size: 0.72rem;
        white-space: nowrap;
        flex-shrink: 0;
    }

    .free-video-count {
        font-size: 0.78rem;
    }
}

/* Ultra-narrow: keep same row structure, just compress */
@media (max-width: 360px) {
    .dashboard-wrapper {
        padding-left: 0.3rem;
        padding-right: 0.3rem;
    }

    .preview-card-body,
    .card-header.free-card-header,
    .link-item {
        flex-direction: row;
        align-items: center;
        gap: 0.5rem;
    }

    .preview-card-body,
    .card-header.free-card-header {
        padding: 1.35rem 0.7rem 0.85rem 0.7rem;
    }

    .premium-alert-in-card {
        padding: 0.5rem 0.7rem;
        font-size: 0.7rem;
    }

    .link-item {
        padding: 0.9rem 0.7rem;
    }

    .link-info {
        min-width: 0;
        flex: 1;
    }

    .link-title {
        flex-wrap: wrap;
        gap: 0.4rem;
        margin-bottom: 0.25rem;
        font-size: 0.9rem;
    }

    .preview-card-text strong {
        font-size: 0.9rem;
    }

    .btn-premium {
        padding: 0.48rem 0.85rem;
        font-size: 0.78rem;
        width: auto;
        flex-shrink: 0;
    }

    .btn-tutorial {
        width: auto;
        justify-content: center;
    }

    .link-status-container {
        width: auto;
        flex-shrink: 0;
    }

    .link-status-container .btn-premium {
        width: auto !important;
    }

    .preview-badge,
    .free-content-badge {
        left: 12px;
        letter-spacing: 0.5px;
    }
}