:root {
    --primary: #6366f1;
    --primary-dark: #4338ca;
    --secondary: #f59e0b;
    --dark: #0f172a;
    --light: #f8fafc;
    --glass: rgba(255, 255, 255, 0.7);
    --shadow-premium: 0 20px 40px rgba(99, 102, 241, 0.12);
}

body {
    font-family: 'Outfit', 'Hind Siliguri', sans-serif;
    background-color: #fdfdff;
    color: var(--dark);
    overflow-x: hidden;
    padding-top: 80px;
}

/* Mesh Background */
.mesh-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background-color: #fdfdff;
    background-image:
        radial-gradient(at 0% 0%, rgba(99, 102, 241, 0.05) 0px, transparent 50%),
        radial-gradient(at 100% 0%, rgba(129, 140, 248, 0.05) 0px, transparent 50%),
        radial-gradient(at 100% 100%, rgba(99, 102, 241, 0.05) 0px, transparent 50%),
        radial-gradient(at 0% 100%, rgba(129, 140, 248, 0.05) 0px, transparent 50%);
}

/* Premium Navbar Styles */
.navbar {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding: 12px 0;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.03);
    transition: all 0.3s ease;
}

.navbar-scrolled {
    padding: 8px 0;
    background: rgba(255, 255, 255, 0.98) !important;
}

.navbar-brand {
        display: flex;
    align-items: center;
    text-align: center;
    font-weight: 800;
    font-size: 1.6rem;
    background: linear-gradient(135deg, #0297a1 0%, #016871 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-link {
    font-weight: 600;
    color: #475569 !important;
    margin-left: 15px;
    transition: 0.3s;
}

.nav-link:hover {
    color: #0297a1 !important;
}

/* Premium Buttons */
.btn-premium-login {
    background: linear-gradient(135deg, #0297a1 0%, #016871 100%);
    color: white !important;
    padding: 10px 25px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
    border: none;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 4px 15px rgba(10, 107, 10, 0.3);
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.btn-premium-login:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 25px rgba(10, 107, 10, 0.5);
}

.btn-user-dash-premium {
    background: #f0fdf4;
    color: #0297a1 !important;
    border: 1px solid #dcfce7;
    padding: 8px 20px;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: 0.3s;
}

.btn-user-dash-premium:hover {
    background: #0297a1;
    color: white !important;
    transform: translateY(-2px);
}

/* Frame Cards */
.frame-card {
    background: white;
    border-radius: 0;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.03);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    height: 100%;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
}

.frame-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(99, 102, 241, 0.1);
    border-color: var(--primary);
}

.frame-img-container {
    position: relative;
    aspect-ratio: 1/1;
    overflow: hidden;
    background: #f1f5f9;
}

.frame-img-container img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: 0.5s;
}

.frame-card:hover .frame-img-container img {
    transform: scale(1.05);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h5 {
    color: var(--primary);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
}

.section-header h2 span {
    color: var(--primary);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border: none;
    box-shadow: 0 10px 20px rgba(99, 102, 241, 0.2);
}

.btn-primary:hover {
    box-shadow: 0 15px 30px rgba(99, 102, 241, 0.3);
    transform: translateY(-2px);
}

/* Card Text Truncation */
.frame-card .fw-bold.text-truncate,
.frame-card .small.text-muted {
    display: block;
    width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Pagination Styling */
.pagination .page-link {
    border: none;
    color: var(--dark);
    padding: 10px 18px;
    font-weight: 600;
    transition: 0.3s;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    background: white;
}

.pagination .page-item.active .page-link {
    background: var(--primary);
    color: white;
    box-shadow: 0 10px 20px rgba(99, 102, 241, 0.2);
}

.pagination .page-link:hover:not(.active) {
    background: #f0fdf4;
    color: var(--primary);
    transform: translateY(-2px);
}
