/* 
   Main Global Styles
   Core layout, Header, Footer, and Common Components
*/

:root {
    --primary: #002147;
    --secondary: #3f51b5;
    --accent: #ff9800;
    --bg-light: #f8fafc;
    --surface: #ffffff;
    --text-dark: #1e293b;
    --text-muted: #64748b;
    --border: #e2e8f0;
    --shadow: 0 10px 25px -3px rgba(0, 0, 0, 0.1);
    --radius: 12px;


    --header-bg: #ffffff;
    --header-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    --header-height: 80px;
}

html,
body {
    overflow-x: hidden;
    width: 100%;
    margin: 0;
    padding: 0;
}

* {
    box-sizing: border-box;
}

body {
    font-family: 'Inter', 'Noto Sans Devanagari', sans-serif;
    margin: 0;
    background: linear-gradient(135deg, #f1f5f9 0%, #cbd5e1 100%);
    background-attachment: fixed;
    position: relative;
    color: var(--text-dark);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(circle at 20% 50%, rgba(0, 33, 71, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 152, 0, 0.04) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

/* Specific font for Hindi content to look premium (Tiro Devanagari Hindi - Classic/Official Style) */
[lang="hi"] body,
[lang="hi"] p,
[lang="hi"] span,
[lang="hi"] li {
    font-family: 'Tiro Devanagari Hindi', 'Noto Sans Devanagari', serif;
    font-weight: 400;
    line-height: 1.8;
    /* Tiro needs a bit more line height for clarity */
}

[lang="hi"] h1,
[lang="hi"] h2,
[lang="hi"] h3,
[lang="hi"] h4,
[lang="hi"] h5,
[lang="hi"] h6,
[lang="hi"] strong,
[lang="hi"] b {
    font-family: 'Tiro Devanagari Hindi', serif;
    font-weight: 400;
    /* Tiro is naturally bold/serif-like */
}

/* Specific adjusted weights for Tiro */
[lang="hi"] .brand-text h2 {
    font-weight: 400;
    font-size: 20px;
}

[lang="hi"] .nav-link {
    font-weight: 400;
    font-size: 13px;
}

[lang="hi"] .premium-title {
    font-weight: 400;
    font-size: 34px;
}

[lang="hi"] .stat-number {
    font-weight: 400;
    font-size: 48px;
    font-family: 'Inter', sans-serif;
}

/* Keep numbers Inter for better counting */

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    box-sizing: border-box;
}

/* --- PREMIUM HEADER --- */
.top-strip {
    background: #eeeeee;
    color: #444;
    padding: 0;
    font-size: 11px;
    font-weight: 600;
    border-bottom: 1px solid #ddd;
}

.top-strip-flex {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    height: 35px;
}

.top-strip-left {
    display: flex;
    align-items: center;
}

.functional-icons {
    display: flex;
    align-items: stretch;
    height: 100%;
}

.functional-icons a,
.lang-switcher-top {
    display: flex;
    align-items: center;
    padding: 0 15px;
    border-left: 1px solid #ddd;
    color: #333;
    text-decoration: none;
    transition: background 0.2s;
}

.functional-icons a:hover {
    background: #e0e0e0;
}

.functional-icons i {
    font-size: 16px;
}

.top-lang-link {
    color: #333;
    text-decoration: underline;
    font-weight: 700;
}

@media (max-width: 768px) {
    .top-strip-flex {
        height: auto;
        flex-direction: column;
    }

    .top-strip-left {
        padding: 5px 15px;
        justify-content: center;
    }

    .functional-icons {
        justify-content: center;
        border-top: 1px solid #ddd;
    }

    .functional-icons a,
    .lang-switcher-top {
        padding: 8px 12px;
    }
}

.main-header {
    background: #fff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s;
    /* Official Tricolor Strip */
    border-bottom: 4px solid transparent;
    border-image: linear-gradient(to right, #FF9933 33%, #ffffff 33%, #ffffff 66%, #138808 66%) 1;
}

.header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    gap: 20px;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.nav-link i {
    display: none;
}

.mobile-toggle {
    display: none !important;
}

.desktop-admin-link,
.mobile-admin-access {
    display: none !important;
}

.premium-logo-area {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
}

.premium-logo {
    height: 55px;
    width: 55px;
    object-fit: contain;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.1));
    transition: transform 0.3s ease;
}

.brand-text h2 {
    margin: 0;
    font-size: 18px;
    font-weight: 900;
    color: var(--primary);
    line-height: 1.1;
}

.brand-text p {
    margin: 0;
    font-size: 11px;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nav-menu {
    display: flex;
    gap: 25px;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: #334155;
    font-weight: 700;
    font-size: 12.5px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    position: relative;
    padding: 10px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* --- NAVIGATION DROPDOWN --- */
.nav-item-dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #ffffff;
    min-width: 250px;
    max-height: 450px;
    overflow-y: auto;
    box-shadow: 0px 15px 35px rgba(0, 0, 0, 0.15);
    border-radius: 12px;
    z-index: 1000;
    padding: 10px 0;
    top: 100%;
    left: 0;
    border: 1px solid var(--border);
    animation: slideDown 0.3s ease;
}

/* Custom Scrollbar for Dropdown */
.dropdown-content::-webkit-scrollbar {
    width: 6px;
}

.dropdown-content::-webkit-scrollbar-track {
    background: #f1f5f9;
}

.dropdown-content::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 10px;
}

.dropdown-content a {
    color: #1e293b;
    padding: 12px 20px;
    text-decoration: none;
    display: block;
    font-size: 11.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.2s;
    border-bottom: 1px solid rgba(0, 0, 0, 0.03);
}

.dropdown-content a:last-child {
    border-bottom: none;
}

.dropdown-content a:hover {
    background-color: #f8fafc;
    color: var(--primary);
    padding-left: 25px;
}

.nav-item-dropdown:hover .dropdown-content {
    display: block;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 991px) {
    .nav-item-dropdown {
        width: 100%;
        margin-bottom: 10px;
    }

    .dropdown-content {
        position: static;
        display: none;
        box-shadow: none;
        background: rgba(0, 33, 71, 0.04);
        border: none;
        padding-left: 15px;
        margin-top: 10px;
        border-left: 4px solid var(--primary);
        max-height: 400px;
        overflow-y: auto;
        min-width: 100%;
        border-radius: 8px;
    }

    .nav-item-dropdown:hover .dropdown-content {
        display: block;
    }

    .dropdown-content a {
        padding: 14px 20px;
        font-size: 14px;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }
}

.mobile-toggle {
    display: none;
    font-size: 32px;
    color: var(--primary);
    cursor: pointer;
    line-height: 1;
}

@media (max-width: 991px) {
    :root {
        --header-height: 70px;
    }

    .main-header {
        height: var(--header-height);
    }

    .header-flex {
        padding: 0 10px;
    }

    .premium-logo {
        height: 42px;
        width: 42px;
    }

    .brand-text h2 {
        font-size: 14px;
        letter-spacing: -0.5px;
    }

    .brand-text p {
        font-size: 9px;
    }

    .nav-menu {
        position: fixed;
        right: -100%;
        top: 0;
        width: 85%;
        max-width: 300px;
        height: 100vh;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        background: linear-gradient(to bottom, #ffffff, #f8fafc);
        flex-direction: column;
        padding: 0;
        transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
        box-shadow: -10px 0 40px rgba(0, 0, 0, 0.15);
        display: flex !important;
        align-items: stretch !important;
        z-index: 9999;
    }

    .nav-menu.active {
        right: 0;
    }

    .mobile-menu-header {
        display: flex !important;
        padding: 25px !important;
        background: var(--primary);
        color: white;
        margin: 0 !important;
        border: none !important;
    }

    .mobile-menu-header h2 {
        color: white !important;
        font-size: 16px !important;
        letter-spacing: 1px;
    }

    .close-menu i {
        color: white !important;
    }

    .nav-link {
        width: 100%;
        padding: 16px 25px;
        border-bottom: 1px solid rgba(0, 0, 0, 0.03);
        font-size: 14px;
        font-weight: 700;
        color: var(--primary);
        display: flex;
        align-items: center;
        gap: 15px;
        transition: all 0.3s;
    }

    .nav-link:active,
    .nav-link:hover {
        background: #f8fafc;
        padding-left: 30px;
        color: var(--accent);
    }

    .nav-link i {
        font-size: 18px;
        color: #94a3b8;
    }

    .nav-link i {
        display: inline-block !important;
        font-size: 18px;
        color: #94a3b8;
    }

    .mobile-admin-access {
        display: block !important;
        margin-top: auto;
        padding: 25px;
    }

    .mobile-toggle {
        display: flex !important;
        font-size: 28px;
        color: var(--primary);
        cursor: pointer;
    }

    .desktop-admin-link {
        display: none !important;
    }

    .mobile-only-lang {
        display: block !important;
    }

    .desktop-only-lang {
        display: none !important;
    }
}

/* --- NEWS TICKER --- */
.news-ticker-area {
    background: var(--brand-blue);
    color: white;
    display: flex;
    align-items: center;
    border-bottom: 3px solid var(--accent);
}

.ticker-label {
    background: var(--accent);
    color: var(--primary);
    padding: 10px 20px;
    font-weight: 900;
    font-size: 13px;
    text-transform: uppercase;
    white-space: nowrap;
    position: relative;
    z-index: 2;
}

.ticker-label::after {
    content: '';
    position: absolute;
    right: -20px;
    top: 0;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 40px 0 0 20px;
    border-color: transparent transparent transparent var(--accent);
}

.ticker-content {
    flex: 1;
    overflow: hidden;
    padding: 10px 0;
    font-size: 14px;
    font-weight: 600;
}

.ticker-content marquee {
    display: block;
}

/* --- COMMON BUTTONS --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 800;
    font-size: 14px;
    text-transform: uppercase;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: none;
    letter-spacing: 0.5px;
}

.btn-primary {
    background: var(--primary);
    color: white !important;
}

.btn-primary:hover {
    background: var(--secondary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 31, 71, 0.3);
}

.btn-accent {
    background: var(--accent);
    color: var(--primary) !important;
}

.btn-accent:hover {
    background: #e68a00;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 152, 0, 0.3);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary) !important;
}

.btn-outline:hover {
    background: var(--primary);
    color: white !important;
}

.btn-group {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

@media (max-width: 768px) {
    .btn-group {
        flex-direction: column;
        gap: 10px;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }
}

/* --- ERROR PAGES --- */
.error-page-container {
    padding: 120px 20px;
    text-align: center;
    min-height: 60vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 10;
}

.error-visual {
    position: relative;
    margin-bottom: 40px;
}

.error-code {
    font-size: clamp(80px, 15vw, 150px);
    font-weight: 900;
    color: var(--primary);
    line-height: 0.8;
    margin: 0;
    letter-spacing: -5px;
    opacity: 0.1;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
}

.error-icon {
    font-size: 80px;
    position: relative;
    z-index: 2;
    display: block;
    margin-bottom: 20px;
    filter: drop-shadow(0 10px 15px rgba(0, 0, 0, 0.1));
}

.error-content h2 {
    font-size: 32px;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 15px;
}

.error-content p {
    font-size: 16px;
    color: var(--text-muted);
    max-width: 500px;
    margin: 0 auto 40px;
}

.error-btn-group {
    display: flex;
    gap: 15px;
    justify-content: center;
}

@media (max-width: 768px) {
    .error-page-container {
        padding: 80px 20px;
    }

    .error-btn-group {
        flex-direction: column;
        width: 100%;
        max-width: 300px;
    }
}

/* --- SECTION HEADERS --- */
.section-header {
    margin-bottom: 50px;
    position: relative;
    z-index: 2;
}

.text-center {
    text-align: center;
}

.premium-title {
    font-size: 32px;
    font-weight: 900;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.premium-subtitle {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-muted);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.title-accent {
    width: 70px;
    height: 4px;
    background: var(--brand-orange);
    margin: 0 auto;
    border-radius: 10px;
}

@media (max-width: 768px) {
    .section-header {
        margin-bottom: 30px;
    }

    .premium-title {
        font-size: 26px;
    }

    .premium-subtitle {
        font-size: 13px;
        margin-bottom: 15px;
    }

    .title-accent {
        width: 50px;
    }
}

/* --- MISC LAYOUT --- */
.section {
    padding: 80px 0;
}

.dual-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}

.card {
    background: var(--surface);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    overflow: hidden;
    margin-bottom: 30px;
}

.card-header {
    background: #f8fafc;
    padding: 15px 20px;
    border-bottom: 1px solid var(--border);
    font-weight: 800;
    color: var(--primary);
}

.card-body {
    padding: 20px;
}

.page-header-strip {
    background: var(--brand-blue);
    color: white;
    padding: 40px 0;
    text-align: center;
}

.page-header-strip h1 {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 5px;
}

.page-header-strip p {
    font-size: 13px;
    opacity: 0.8;
}

/* --- COMPLAINT BOX --- */
.complaint-section {
    background: linear-gradient(to bottom, #f1f5f9, #e2e8f0);
    padding: 60px 0;
    border-top: 1px solid #cbd5e1;
}

.complaint-container {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    display: flex;
}

.complaint-info-side {
    background: var(--primary);
    color: white;
    padding: 40px;
    width: 35%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.complaint-form-side {
    padding: 40px;
    width: 65%;
}

.form-group-alt {
    margin-bottom: 20px;
}

.form-label-alt {
    display: block;
    margin-bottom: 8px;
    font-size: 12px;
    font-weight: 800;
    color: #64748b;
    text-transform: uppercase;
}

.form-control-alt {
    width: 100%;
    padding: 12px;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    font-size: 14px;
    font-family: inherit;
    transition: border-color 0.2s;
}

.form-control-alt:focus {
    border-color: var(--primary);
    outline: none;
}

.btn-submit {
    background: var(--brand-orange);
    color: white;
    border: none;
    padding: 14px 30px;
    border-radius: 4px;
    font-weight: 800;
    cursor: pointer;
    font-size: 14px;
    width: 100%;
    text-transform: uppercase;
    transition: background 0.2s;
}

.btn-submit:hover {
    background: #e65100;
}

/* --- MAIN FOOTER REDESIGN --- */
.main-footer {
    background: var(--primary-dark);
    /* Dynamic Theme Color */
    color: #f8fafc;
    margin-top: 80px;
    border-top: 5px solid var(--accent);
    position: relative;
    overflow: hidden;
}

.main-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 10% 20%, rgba(30, 64, 175, 0.05) 0%, transparent 40%);
    pointer-events: none;
}

.footer-container {
    padding: 80px 20px 40px;
    position: relative;
    z-index: 1;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 60px;
}

.footer-brand .footer-logo-flex {
    margin-bottom: 25px;
}

.footer-brand .footer-logo-flex img {
    height: 65px;
    width: auto;
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.3));
}

.footer-brand .footer-logo-flex h5 {
    font-size: 18px;
    font-weight: 800;
    color: #fff;
    letter-spacing: 0.5px;
}

.footer-brand .footer-logo-flex p {
    color: var(--accent);
    font-weight: 800;
    font-size: 12px;
}

.brand-desc {
    font-size: 14px;
    line-height: 1.8;
    color: #ffffff;
    border: none;
    padding: 0;
    margin-bottom: 25px;
}

.footer-socials {
    display: flex;
    gap: 15px;
}

.social-icon {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.social-icon:hover {
    background: var(--accent);
    color: var(--primary-dark);
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.2);
}

.footer-links-group h5,
.footer-contact-group h5 {
    color: #fff;
    font-size: 15px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 15px;
}

.footer-links-group h5::after,
.footer-contact-group h5::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 4px;
    background: var(--accent);
    border-radius: 10px;
}

.footer-links-group ul {
    list-style: none;
    padding: 0;
}

.footer-links-group li {
    margin-bottom: 12px;
}

.footer-links-group a {
    color: #ffffff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s;
}

.footer-links-group a i {
    font-size: 12px;
    color: var(--accent);
    transition: transform 0.3s;
}

.footer-links-group a:hover {
    color: #fff;
    padding-left: 8px;
}

.footer-links-group a:hover i {
    transform: translateX(3px);
}

.footer-contact-info {
    margin-bottom: 20px;
}

.footer-contact-info strong {
    display: block;
    color: #fff;
    font-size: 14px;
    margin-bottom: 8px;
}

.footer-contact-info p {
    font-size: 14px;
    color: #ffffff;
    line-height: 1.6;
    margin: 0;
}

.footer-contact-icons div {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 14px;
    color: #ffffff;
    font-weight: 600;
}

.footer-contact-icons i {
    color: var(--accent);
    font-size: 16px;
}

.footer-bottom-bar {
    background: #020617;
    padding: 25px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-bottom-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #ffffff;
    font-size: 13px;
    font-weight: 600;
}

.developer-credit {
    background: rgba(255, 255, 255, 0.03);
    padding: 8px 18px;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #ffffff;
    transition: all 0.3s;
}

.developer-credit:hover {
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
    transform: translateY(-2px);
}

.heart-blink {
    color: #ef4444;
    /* RED-500 */
    animation: heart-pulse 1.5s ease-in-out infinite;
    font-size: 14px;
}

@keyframes heart-pulse {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }

    50% {
        transform: scale(1.3);
        opacity: 1;
        text-shadow: 0 0 10px rgba(239, 68, 68, 0.5);
    }

    100% {
        transform: scale(1);
        opacity: 0.8;
    }
}

.footer-bottom-flex strong {
    color: #ffffff;
}

.footer-meta span {
    color: #ffffff;
}

@media (max-width: 1200px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .footer-container {
        padding: 50px 15px 30px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }

    .footer-brand,
    .footer-contact-group {
        grid-column: 1 / span 2;
        text-align: center;
    }

    .footer-links-group {
        text-align: left;
    }

    .footer-brand .footer-logo-flex,
    .footer-socials {
        justify-content: center;
    }

    .footer-links-group h5::after {
        left: 0;
        transform: none;
    }

    /* Keep contact center */
    .footer-contact-group h5::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-links-group a {
        justify-content: flex-start;
    }

    .footer-contact-icons div {
        justify-content: center;
    }

    .footer-bottom-flex {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}

/* --- GLOBAL EMERGENCY SOS BUTTON --- */
/* --- GLOBAL EMERGENCY SOS BUTTON --- */
/* --- GLOBAL EMERGENCY SOS BUTTON (PREMIUM REDESIGN) --- */
.sos-float-btn {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 70px;
    height: 70px;
    background: radial-gradient(circle at 30% 30%, #ef4444, #991b1b);
    color: white;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow:
        0 4px 6px rgba(0, 0, 0, 0.1),
        0 10px 15px -3px rgba(220, 38, 38, 0.4),
        0 0 0 6px rgba(239, 68, 68, 0.2);
    z-index: 1000;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    animation: sos-heartbeat 2s infinite;
    border: 2px solid rgba(255, 255, 255, 0.2);
    overflow: hidden;
}

.sos-float-btn i {
    font-size: 26px;
    margin-bottom: 2px;
    filter: drop-shadow(0 2px 2px rgba(0, 0, 0, 0.2));
}

.sos-text {
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0.5px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.sos-float-btn::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.4) 0%, transparent 60%);
    opacity: 0;
    transform: scale(0.5);
    transition: all 0.5s;
}

@keyframes sos-heartbeat {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7);
    }

    70% {
        transform: scale(1.05);
        box-shadow: 0 0 0 20px rgba(239, 68, 68, 0);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(239, 68, 68, 0);
    }
}

.sos-float-btn:hover {
    transform: translateY(-5px) scale(1.1);
    background: radial-gradient(circle at 30% 30%, #dc2626, #7f1d1d);
    box-shadow: 0 20px 25px -5px rgba(220, 38, 38, 0.5), 0 0 0 10px rgba(239, 68, 68, 0.2);
}

.sos-float-btn:hover::before {
    opacity: 1;
    transform: scale(1);
}

@media (max-width: 768px) {
    .sos-float-btn {
        bottom: 20px;
        left: 20px;
        width: 60px;
        height: 60px;
    }

    .sos-float-btn i {
        font-size: 22px;
    }

    .sos-text {
        font-size: 9px;
    }
}