/* --- PREMIUM RESPONSIVE STYLES --- */
@media (max-width: 767.98px) {
    .premium-hero {
        min-height: 60vh !important;
        padding-top: 2.5rem !important;
        padding-bottom: 2.5rem !important;
    }
    .premium-hero h1,
    .premium-hero .display-2 {
        font-size: 2.1rem !important;
        line-height: 1.2;
    }
    .premium-hero p.lead {
        font-size: 1.1rem !important;
    }
    .premium-hero img {
        height: 44px !important;
        margin-bottom: 1rem !important;
    }
    .premium-hero .btn,
    .premium-hero .btn-gradient {
        width: 100%;
        margin-bottom: 0.5rem;
        font-size: 1.1rem;
        padding: 0.75rem 1rem;
    }
    .premium-hero form {
        flex-direction: column !important;
        gap: 0.5rem;
    }
    .premium-hero input.form-control {
        width: 100% !important;
        margin-right: 0 !important;
        margin-bottom: 0.5rem;
        font-size: 1rem;
        padding: 0.75rem 1rem;
    }
    .premium-carousel {
        gap: 1rem !important;
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }
    .premium-carousel .glass-card,
    .premium-carousel .card {
        width: 90vw !important;
        min-width: 85vw !important;
        max-width: 95vw !important;
    }
    .glass-card,
    .card {
        padding: 1rem !important;
        font-size: 1rem !important;
    }
    .display-4, .display-5 {
        font-size: 2rem !important;
    }
    .display-6 {
        font-size: 1.5rem !important;
    }
    .btn,
    .btn-gradient,
    .btn-lg {
        font-size: 1.1rem !important;
        padding: 0.75rem 1.25rem !important;
        width: 100%;
        margin-bottom: 0.5rem;
    }
    .row.g-4 > [class^="col-"],
    .row.g-4 > [class*=" col-"] {
        margin-bottom: 1.5rem;
    }
    .newsletter-section .form-control {
        width: 100% !important;
        margin-bottom: 0.5rem;
    }
    .newsletter-section .btn {
        width: 100%;
    }
    .glass-card img.card-img-top,
    .card img.card-img-top {
        height: 160px !important;
        border-radius: 1.5rem 1.5rem 0 0 !important;
    }
    .premium-bg-shapes svg {
        height: 200px !important;
    }
}

/* Premium Gradient Button */
.btn-gradient {
    background: linear-gradient(90deg, #6a11cb 0%, #2575fc 100%) !important;
    color: #fff !important;
    border: none !important;
    box-shadow: 0 4px 24px rgba(106,17,203,0.10);
    transition: background 0.2s, box-shadow 0.2s;
}
.btn-gradient:hover {
    background: linear-gradient(90deg, #2575fc 0%, #6a11cb 100%) !important;
    box-shadow: 0 8px 32px rgba(37,117,252,0.18);
}
body {
    font-family: 'Inter', Arial, sans-serif;
    background: linear-gradient(135deg, #edf3ff 0%, #f8faff 100%);
    color: #1e2430;
}
.card, .glass-card {
    border-radius: 1.5rem;
    background: rgba(255,255,255,0.7) !important;
    box-shadow: 0 8px 32px 0 rgba(31,38,135,0.10);
    backdrop-filter: blur(8px) saturate(120%);
    -webkit-backdrop-filter: blur(8px) saturate(120%);
    border: 1px solid rgba(0,123,255,0.08);
    color: #222;
}
.btn-primary, .btn-success {
    border-radius: 2rem;
    font-weight: 600;
    transition: background 0.2s, box-shadow 0.2s;
}
.btn-primary:hover, .btn-success:hover {
    box-shadow: 0 4px 24px rgba(0,123,255,0.12);
}
.navbar-brand {
    font-size: 2rem;
    letter-spacing: -1px;
    background: linear-gradient(90deg, #0d6efd 0%, #00c6ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.dashboard-action-bar {
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(148, 163, 184, 0.25);
    border-radius: 1.5rem;
    padding: 1rem;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
}

.dashboard-action-wrap {
    align-items: center;
}

.dashboard-action-btn {
    border-radius: 999px;
    padding: 0.8rem 1.2rem;
    font-weight: 700;
    min-width: 160px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.dashboard-action-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(37, 99, 235, 0.14);
}

.dashboard-title {
    letter-spacing: -0.03em;
}

.dashboard-stat-panel {
    border-radius: 1.4rem;
}

.dashboard-metric-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.7rem 0.35rem;
    border-bottom: 1px solid rgba(148, 163, 184, 0.2);
    color: #334155;
}

.dashboard-metric-row:last-child {
    border-bottom: none;
}

.dashboard-metric-row span {
    color: #475569;
}

.dashboard-metric-row strong {
    color: #0f172a;
}

.site-footer {
    background: linear-gradient(135deg, #081426 0%, #0f172a 40%, #1d4ed8 100%);
    color: #e2e8f0;
}

.footer-title {
    color: #ffffff;
    letter-spacing: 0.02em;
}

.footer-copy,
.footer-meta {
    color: rgba(226, 232, 240, 0.9);
}

.footer-poster-carousel {
    display: grid;
    justify-items: center;
    gap: 0.75rem;
    padding: 1rem 1rem 1.25rem;
    background: radial-gradient(ellipse at 50% 55%, rgba(190, 18, 42, 0.18), transparent 56%), #070b14;
}

.footer-poster-stage {
    display: grid;
    place-items: center;
    width: min(100%, 1440px);
    height: min(78vh, 900px);
    min-height: 360px;
    overflow: hidden;
}

.footer-poster-stage img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    opacity: 1;
    transition: opacity 180ms ease;
}

.footer-poster-stage img.footer-poster-fading {
    opacity: 0.25;
}

.footer-poster-controls {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: #fff;
    font-size: 0.82rem;
    font-variant-numeric: tabular-nums;
}

.footer-poster-controls button {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    color: #fff;
    background: #171d2a;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
}

.footer-poster-controls button:hover,
.footer-poster-controls button:focus-visible {
    color: #fff;
    background: #b91c32;
    outline: 2px solid #f2c85b;
    outline-offset: 2px;
}

@media (max-width: 576px) {
    .footer-poster-carousel { padding: 0.5rem 0.5rem 1rem; }
    .footer-poster-stage { height: min(72vh, 720px); min-height: 300px; }
}

@media (prefers-reduced-motion: reduce) {
    .footer-poster-stage img { transition: none; }
}

.footer-links {
    display: grid;
    gap: 0.55rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.2s ease, opacity 0.2s ease;
}

.footer-links a:hover {
    color: #ffffff;
    text-decoration: underline;
}

.footer-divider {
    border-color: rgba(255, 255, 255, 0.18);
}

.auth-shell {
    padding: 2rem 0;
}

.auth-panel {
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 2rem;
    overflow: hidden;
    max-width: 1100px;
    margin: 0 auto;
}

.auth-copy {
    background: linear-gradient(180deg, #0f172a 0%, #1d4ed8 100%);
    color: #fff;
}

.auth-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.15rem;
    font-weight: 700;
}

.auth-brand-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.2rem;
    height: 2.2rem;
    border-radius: 0.8rem;
    background: rgba(255,255,255,0.16);
    border: 1px solid rgba(255,255,255,0.28);
    font-weight: 800;
}

.auth-copy h1 {
    font-size: clamp(2rem, 3vw, 3rem);
    font-weight: 800;
    letter-spacing: -0.04em;
}

.auth-feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 0.8rem;
    color: rgba(255,255,255,0.9);
}

.auth-feature-list li {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.auth-feature-list li::before {
    content: "✓";
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.4rem;
    height: 1.4rem;
    border-radius: 50%;
    background: rgba(255,255,255,0.12);
    font-size: 0.8rem;
    font-weight: 700;
}

.auth-form-wrap {
    background: rgba(255,255,255,0.35);
    padding: 1.25rem;
}

.auth-form-card {
    background: rgba(255,255,255,0.88);
    border-radius: 1.5rem;
    padding: 2rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.eyebrow {
    margin: 0 0 0.35rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.72rem;
    color: #64748b;
    font-weight: 700;
}

.auth-field,
.form-control,
input[type="text"],
input[type="email"],
input[type="password"],
input[type="tel"],
input[type="file"],
textarea,
select {
    min-height: 52px;
    border-radius: 0.9rem !important;
    background: #f8fafc !important;
    border: 1px solid #dfe7f3 !important;
    padding: 0.8rem 1rem !important;
    box-shadow: none !important;
}

.auth-field:focus,
.form-control:focus,
input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
input[type="tel"]:focus,
input[type="file"]:focus,
textarea:focus,
select:focus {
    border-color: #3b82f6 !important;
    box-shadow: 0 0 0 0.15rem rgba(59,130,246,0.18) !important;
}

.form-check-input {
    width: 1.1rem;
    height: 1.1rem;
    border-radius: 0.35rem;
    margin-top: 0.15rem;
}

.auth-btn {
    min-height: 52px;
    border-radius: 0.9rem !important;
    font-size: 1rem;
}

.auth-check {
    display: flex;
    align-items: flex-start;
    padding: 0.8rem 1rem;
    border-radius: 0.9rem;
    background: linear-gradient(135deg, #f8fafc 0%, #eef4ff 100%);
    border: 1px solid #dfeaf8;
    color: #334155;
    margin: 0;
}

.auth-check-accepted {
    background: #effaf2;
    border-color: #4caf70;
}

.auth-check .form-check-label {
    display: flex;
    align-items: flex-start;
    gap: 0.7rem;
    width: 100%;
    cursor: pointer;
    line-height: 1.5;
}

.terms-acceptance-status {
    flex: 0 0 auto;
    padding: 0.25rem 0.55rem;
    color: #64748b;
    background: #e2e8f0;
    border-radius: 999px;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
}

.auth-check-accepted .terms-acceptance-status {
    color: #166534;
    background: #bbf7d0;
}

.auth-check .form-check-input {
    appearance: auto !important;
    -webkit-appearance: checkbox !important;
    accent-color: #16833b;
    float: none;
    flex: 0 0 1.25rem;
    margin-top: 0.2rem;
    margin-left: 0 !important;
    width: 1.25rem;
    height: 1.25rem;
    cursor: pointer;
}

.premium-register-form {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.premium-register-form .row {
    margin: 0;
}

.premium-register-form .col-md-6,
.premium-register-form .col-12 {
    padding-left: 0;
    padding-right: 0;
}

.register-cta-wrap {
    margin-top: 0.5rem;
}

.register-cta {
    background: linear-gradient(135deg, #10b981 0%, #14b8a6 100%);
    border: none;
    box-shadow: 0 14px 28px rgba(16, 185, 129, 0.22);
}

.register-cta:hover {
    background: linear-gradient(135deg, #059669 0%, #0f766e 100%);
    box-shadow: 0 18px 30px rgba(16, 185, 129, 0.28);
}

.auth-divider {
    position: relative;
    text-align: center;
    margin: 1.25rem 0;
}

.auth-divider::before {
    content: "";
    position: absolute;
    inset: 50% 0 auto 0;
    height: 1px;
    background: #e2e8f0;
}

.auth-divider span {
    position: relative;
    background: #fff;
    padding: 0 0.9rem;
    color: #64748b;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

@media (max-width: 991.98px) {
    .auth-panel {
        margin: 0 0.5rem;
    }
    .auth-copy {
        min-height: 220px;
    }
    .auth-form-card {
        padding: 1.5rem;
    }
}

/* Glassmorphism Card */
.glass-card {
    background: rgba(255,255,255,0.35); /* Lower opacity for more glass effect */
    box-shadow: 0 8px 32px 0 rgba(31,38,135,0.18);
    backdrop-filter: blur(18px) saturate(180%); /* Stronger blur and saturation */
    -webkit-backdrop-filter: blur(18px) saturate(180%);
    border-radius: 1.5rem;
    border: 1px solid rgba(255,255,255,0.25);
    transition: box-shadow 0.3s, transform 0.3s;
}
.glass-card.glass-hover {
    box-shadow: 0 12px 48px 0 rgba(31,38,135,0.22);
    transform: translateY(-4px) scale(1.03);
}

/* Skeleton Loader */
.skeleton-loader {
    position: relative;
    overflow: hidden;
    background: #e9ecef;
}
.skeleton-animate::after {
    content: '';
    display: block;
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.3) 50%, rgba(255,255,255,0) 100%);
    animation: skeleton-shine 1.2s infinite linear;
}
@keyframes skeleton-shine {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* Dark Mode */
.dark-mode {
    background: #181a1b !important;
    color: #f8fafc !important;
}
.dark-mode .card, .dark-mode .glass-card {
    background: rgba(24,26,27,0.85) !important;
    color: #f8fafc !important;
}
.dark-mode .navbar, .dark-mode .footer {
    background: #222 !important;
    color: #fff !important;
}
.dark-mode .bg-light {
    background: #23272b !important;
}
.dark-mode .bg-gradient {
    background: linear-gradient(90deg, #23272b 0%, #181a1b 100%) !important;
}

/* Animation Classes (using animate.css style names for demo) */
.animate__animated { animation-duration: 1s; animation-fill-mode: both; }
.animate__fadeIn { animation-name: fadeIn; }
.animate__fadeInDown { animation-name: fadeInDown; }
.animate__fadeInUp { animation-name: fadeInUp; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes fadeInDown { from { opacity: 0; transform: translateY(-30px);} to { opacity: 1; transform: none; } }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(30px);} to { opacity: 1; transform: none; } }

/* Input/Textarea Styles */
input, textarea, select {
    background: #fff !important;
    color: #222 !important;
    border: 1px solid #b6c6e3 !important;
}

/* Button Styles */
.btn, .btn-primary, .btn-light, .btn-outline-light, .btn-info, .btn-outline-warning, .btn-outline-danger {
    background: #1877f2 !important; /* Facebook blue */
    color: #fff !important;
    border: 1px solid #1877f2 !important;
}
