:root {
    --primary-purple: #6610f2;
    --primary-pink: #d63384;
    --gradient-main: linear-gradient(135deg, var(--primary-purple), var(--primary-pink));
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: 1px solid rgba(255, 255, 255, 0.1);
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background-color: #0b0a10 !important;
    /* Deeper dark than BS default */
}

h1,
h2,
h3,
h4,
h5,
h6,
.navbar-brand {
    font-family: 'Outfit', sans-serif;
}

/* Custom Glass Card */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: var(--glass-border);
    border-radius: 16px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.text-gradient {
    background: var(--gradient-main);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Navbar */
.navbar {
    background: rgba(11, 10, 16, 0.8) !important;
    backdrop-filter: blur(10px);
    border-bottom: var(--glass-border);
    z-index: 2000 !important;
    /* Forces the entire nav bar above article content */
}

.nav-link {
    font-weight: 500;
    transition: color 0.2s;
}

.nav-link:hover {
    color: #fff !important;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

/* Tools */
.tool-display {
    font-size: 3rem;
    min-height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin: 20px 0;
}

/* Buttons */
.btn-primary-gradient {
    background: var(--gradient-main);
    border: none;
    color: white;
    font-weight: 600;
}

.btn-primary-gradient:hover {
    background: linear-gradient(135deg, #520dc2, #b02a6c);
    color: white;
    box-shadow: 0 0 20px rgba(102, 16, 242, 0.5);
}

/* Hero Sections with Background */
.hero-bg {
    background: linear-gradient(rgba(11, 10, 16, 0.8), rgba(11, 10, 16, 0.8)), url('../img/hero-bg.png');
    background-size: cover;
    background-position: center;
    border-radius: 20px;
    padding: 100px 20px;
}

/* Blog Featured Images */
.blog-featured-img {
    width: 100%;
    aspect-ratio: 3 / 2;
    object-fit: cover;
    border-radius: 16px;
    margin-bottom: 2rem;
    border: var(--glass-border);
}

.card-img-top {
    height: 180px;
    object-fit: cover;
}

/* Footer */
footer {
    border-top: var(--glass-border);
    background: #0f0e14;
}

/* Language Switcher */
.lang-switcher {
    border-radius: 50px !important;
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    padding: 0.5rem 1.25rem !important;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.lang-switcher:hover {
    background: rgba(255, 255, 255, 0.1) !important;
    border-color: rgba(255, 255, 255, 0.4) !important;
    transform: translateY(-1px);
}

.lang-switcher::after {
    margin-left: 0.75rem;
    vertical-align: middle;
}

.dropdown-item:active {
    background-color: var(--primary-purple) !important;
}

/* Headless Google Translate Cleanup */
.goog-te-banner-frame.skiptranslate,
.goog-te-gadget-icon,
#goog-gt-tt,
.goog-te-balloon-frame {
    display: none !important;
}

body {
    top: 0px !important;
}

#google_translate_element {
    display: none !important;
}

.goog-text-highlight {
    background: none !important;
    box-shadow: none !important;
}

/* Headless Google Translate - Specific Iframe Hide */
.goog-te-banner-frame,
.goog-te-menu-frame,
iframe[id*=".translate"] {
    display: none !important;
}

/* Dropdown Opacity & Premium Styling */
.dropdown-menu-dark {
    background-color: #15141b !important;
    /* Slightly lighter than header for depth */
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5) !important;
    z-index: 9999 !important;
    /* Ensure it stays above all other content */
}

.lang-opt img {
    width: 20px;
    height: auto;
    border-radius: 2px;
}

/* Ensure language switcher button also sizes its image if one is injected */
.lang-switcher img {
    width: 20px;
    height: auto;
    margin-right: 8px;
    vertical-align: middle;
}

iframe {
    /*display: none;*/
}