@import url('https://fonts.googleapis.com/css2?family=Amatic+SC:wght@400;700&family=Google+Sans+Code:ital,wght@0,300..800;1,300..800&family=Instrument+Serif:ital@0;1&family=Montserrat:ital,wght@0,100..900;1,100..900&family=Playwrite+NZ+Basic:wght@100..400&display=swap');

h1,
h2,
h3,
.main-heading {
    font-family: 'Google Sans Code', serif !important;
    font-weight: 500 !important;
}

html,
body {
    overflow-x: clip !important;
    width: 100%;
    margin: 0;
    padding: 0;
}

:root {
    --bg-main: #060606;
    --bg-sidebar: #0a0a0a;
    --bg-hover: #161616;
    --text-primary: #ffffff;
    --text-secondary: #a1a1aa;
    --text-muted: #5e5e5e;
    --accent: #00a8ff;
    --accent-glow: rgba(0, 168, 255, 0.3);
    --border: rgba(255, 255, 255, 0.05);
    --sidebar-width: 280px;
    --sidebar-mini-width: 60px;
    --right-sidebar-width: 250px;
}

/* Top Centered Navbar */
.top-navbar {
    position: fixed;
    top: 15px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(15, 15, 15, 0.6);
    backdrop-filter: blur(15px);
    border: 1px solid var(--border, rgba(255, 255, 255, 0.1));
    padding: 8px 12px;
    border-radius: 24px;
    display: flex;
    gap: 8px;
    z-index: 2000;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-logo-link {
    display: flex;
    align-items: center;
    margin-right: 5px;
}

.nav-logo {
    height: 37px;
    width: auto;
    object-fit: contain;
    border-radius: 18px;
    filter: drop-shadow(0 0 5px rgba(0, 168, 255, 0.3));
    transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-logo:hover {
    filter: drop-shadow(0 0 10px rgba(0, 168, 255, 0.6));
    transform: scale(1.05);
}

.top-navbar:hover {
    background: rgba(20, 20, 20, 0.8);
    border-color: rgba(255, 255, 255, 0.1);
}

.top-nav-link {
    color: var(--text-muted);
    font-size: 1rem;
    padding: 10px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    text-decoration: none;
    width: 44px;
    height: 44px;
}

.top-nav-link:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.05);
}

.top-nav-link.active {
    color: var(--accent);
    background: rgba(79, 134, 247, 0.1);
    border: 1px solid rgba(79, 134, 247, 0.2);
}



/* Global Custom Tooltip */
.custom-tooltip {
    position: fixed;
    padding: 8px 14px;
    background: rgba(10, 10, 10, 0.85);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border, rgba(255, 255, 255, 0.1));
    color: #fff;
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: 10px;
    pointer-events: none;
    z-index: 10000;
    opacity: 0;
    transform: translateY(10px) scale(0.95);
    transition: opacity 0.2s, transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6);
    white-space: nowrap;
}

.custom-tooltip.show {
    opacity: 1;
    transform: translateY(0) scale(1);
}

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

body {
    color: var(--text-primary);
    background-color: #060606;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
}


/* Custom Scrollbar Styles */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: var(--border);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--text-muted);
}

.app-container {
    display: flex;
    justify-content: center;
    overflow-x: hidden;
    width: 100%;
}

.content-main {
    flex: 1;
    max-width: 2000px;
    width: 100%;
    overflow-x: hidden;
}

/* Floating Top Right Actions */
.top-right-actions {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 2000;
}

.top-right-actions .action-section {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    background: rgba(15, 15, 15, 0.6);
    backdrop-filter: blur(15px);
    border: 1px solid var(--border, rgba(255, 255, 255, 0.1));
    padding: 8px;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.secondary-btn,
.register-btn,
.profile-btn,
.premium-btn {
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
    min-height: 40px !important;
    border-radius: 12px;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-decoration: none;
    transition: all 0.2s ease;
    padding: 0 !important;
    margin: 0 !important;
    font-size: 1.1rem;
    cursor: pointer;
    box-sizing: border-box;
    overflow: hidden;
    background-clip: padding-box;
}

.avatar-img-sm {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: inherit;
}

.avatar-sm {
    width: 100%;
    height: 100%;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    font-family: 'JetBrains Mono';
    font-weight: 600;
}

/* Unified Corporate Action Buttons */
.secondary-btn,
.register-btn {
    background: rgba(0, 168, 255, 0.08);
    /* Subtle brand background */
    color: var(--accent);
    /* Brand text */
    border: 1px solid rgba(0, 168, 255, 0.2);
    /* Brand border */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 12px !important;
    /* Space between icon and text */
}

/* Specific overrides if needed, but otherwise identical */

.secondary-btn:hover {
    background: rgba(0, 168, 255, 0.15);
    color: #ffffff;

}

.register-btn:hover {
    color: #ffffff;
    border: 1px solid #303030;

}

/* Custom Footer */
.content-footer {
    border-top: 1px solid var(--border);
    margin-top: 80px;
    padding-top: 40px;
}

.footer-layout {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.f-brand {
    display: flex;
    align-items: center;
    gap: 15px;
}

.f-socials {
    display: flex;
    gap: 20px;
    font-size: 1.3rem;
}

.f-socials a {
    color: var(--text-secondary);
    transition: 0.2s;
}

.f-socials a:hover {
    color: var(--accent);
}

/* Language Dropdown Footer */
.lang-dropdown {
    position: relative;
    display: inline-block;
}

.lang-drop-btn {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border, rgba(255, 255, 255, 0.1));
    color: var(--text-muted);
    padding: 8px 15px;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    transition: 0.3s;
}

.lang-drop-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-primary);
}

.lang-drop-menu {
    position: absolute;
    bottom: calc(100% + 15px);
    right: 0;
    background: rgba(15, 15, 15, 0.95);
    backdrop-filter: blur(25px);
    border: 1px solid var(--border, rgba(255, 255, 255, 0.1));
    border-radius: 16px;
    width: 200px;
    padding: 8px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
    z-index: 5000;
}

.lang-drop-menu.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-drop-menu a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.85rem;
    padding: 10px 12px;
    border-radius: 10px;
    transition: 0.2s;
    white-space: nowrap;
}

.lang-drop-menu a:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
}

.lang-drop-menu a.active {
    color: var(--accent);
    background: rgba(0, 168, 255, 0.08);
}

/* Live Activity Feed Styling */
.activity-feed {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 800px;
    margin: 0 auto;
}

.activity-card {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.2rem 2rem;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(15px);
    transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.activity-card:hover {
    transform: scale(1.02);
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.1);
}

.activity-icon {
    width: 45px;
    height: 45px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.reg-icon {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
}

.prem-icon {
    background: rgba(0, 168, 255, 0.1);
    color: var(--accent);
}

.activity-info {
    flex: 1;
}

.activity-text {
    font-size: 0.95rem;
    color: #fff;
    margin-bottom: 4px;
}

.activity-text strong {
    color: var(--accent);
}

.activity-time {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 500;
}

.activity-stat {
    font-size: 0.85rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: 'Outfit';
}

/* Sidebar Mini (Far Left) */
.sidebar-mini {
    width: var(--sidebar-mini-width);
    border: 1px solid var(--border, rgba(255, 255, 255, 0.1));
    margin: 15px 0 15px 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.5rem 0;
    border-radius: 20px;
    transition: all 0.3s ease;
    z-index: 100;
}

.sidebar-mini.collapsed {
    width: 0;
    margin-left: 0;
    padding: 0;
    border: none;
    overflow: hidden;
}

.logo-container-mini {
    margin-bottom: 2rem;
    text-align: center;
}

.mini-logo {
    width: 35px;
    height: 35px;
    object-fit: contain;
}

.mini-socials {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 1rem;
    align-items: center;
}

.mini-socials a {
    color: var(--text-muted);
    font-size: 1.2rem;
    transition: 0.3s;
}

.mini-socials a:hover {
    color: var(--accent);
    transform: scale(1.1);
}

.mini-bottom-links {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 2rem;
}

.link-mini {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.7rem;
    font-weight: 600;
}

.link-mini.active,
.link-mini:hover {
    color: var(--text-primary);
}

/* Sidebar Left removed */

.owner-icon {
    height: 3.5em;
    width: auto;
    vertical-align: middle;
    object-fit: contain;
    margin-left: 5px;
}



/* Dashboard Home */
.dashboard-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

.dash-card {
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 1rem;
    border-radius: 30px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.dash-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent);
    background: rgba(79, 134, 247, 0.05);
    box-shadow: 0 20px 40px rgba(79, 134, 247, 0.1);
}

.dash-icon {
    font-size: 2rem;
    color: var(--accent);
    margin-bottom: 1.5rem;
    opacity: 0.8;
}

.dash-card img {
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.15));
    transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    margin-bottom: 1.5rem;
}

.dash-card:hover img {
    filter: drop-shadow(0 0 15px rgba(0, 168, 255, 0.4));
    transform: scale(1.1) rotate(5deg);
}

.dash-val {
    font-size: 2.5rem;
    font-weight: 600;
    font-family: 'Outfit';
    color: #fff;
    margin-bottom: 0.5rem;
}

.dash-label {
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 700;
}

.welcome-box {
    background: linear-gradient(135deg, rgba(79, 134, 247, 0.05) 0%, rgba(15, 15, 15, 0.8) 100%);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(79, 134, 247, 0.15);
    border-radius: 30px;
    padding: 3rem;
    margin-top: 2rem;
    animation: floating 6s ease-in-out infinite;
    position: relative;
    overflow: hidden;
}

@keyframes floating {
    0% {
        transform: translate(0, 0px);
    }

    50% {
        transform: translate(0, 15px);
    }

    100% {
        transform: translate(0, -0px);
    }
}

.welcome-box::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(79, 134, 247, 0.03) 0%, transparent 70%);
    pointer-events: none;
}

.welcome-box h2 {
    font-family: 'Outfit';
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: #fff;
}

.welcome-box p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 2rem;
    font-size: 1.05rem;
    max-width: 500px;
}

.btn-cta {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    background: transparent;
    color: #ffffff;
    padding: 1rem 2rem;
    border-radius: 14px;
    text-decoration: none;
    border: 1px solid var(--border, rgba(255, 255, 255, 0.1));
    font-weight: 600;
    transition: 0.3s;
}

.btn-cta:hover {
    transform: scale(1.05);
}

/* Landing Sections Expansion */
.landing-section {
    margin-top: 5rem;
    margin-bottom: 5rem;
}

.section-title {
    text-align: center;
    font-size: 1.25rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 3rem;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.step-card {
    background: rgba(15, 15, 15, 0.4);
    backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 2.5rem;
    border-radius: 25px;
    position: relative;
    overflow: hidden;
    transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.step-card:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(0, 168, 255, 0.2);
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.step-num {
    position: absolute;
    top: -10px;
    right: -10px;
    font-size: 5rem;
    font-weight: 800;
    font-family: 'Outfit';
    color: rgba(255, 255, 255, 0.03);
    line-height: 1;
}

.step-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: #fff;
    font-family: 'Google Sans Code' !important;
}

.step-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* FAQ Accordion Styling */
.faq-grid {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    max-width: 850px;
    margin: 0 auto;
}

.faq-item {
    border-radius: 20px;
    background: rgba(15, 15, 15, 0.4);
    backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    cursor: pointer;
}

.faq-header {
    padding: 1.8rem 2.2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.faq-header h3 {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1.1rem;
    color: #fff;
    margin-bottom: 0 !important;
    font-family: 'Google Sans Code' !important;
    font-weight: 500;
}

.faq-chevron {
    color: var(--text-muted);
    font-size: 0.9rem;
    transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-header i {
    color: gray;
}

.faq-body {
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0 2.2rem;
    color: gray;
}

.faq-item.active {
    border-color: rgba(0, 168, 255, 0.3);
    background: rgba(15, 15, 15, 0.6);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.faq-item.active .faq-body {
    max-height: 200px;
    padding-bottom: 2rem;
}

.faq-item.active .faq-chevron {
    transform: rotate(180deg);
    color: var(--accent);
}

/* Hero Claim Wrapper - Redesigned & Centered */
.hero-claim-wrapper {
    padding: 6rem 3rem;
    text-align: center;
    max-width: 1000px;
    margin: 4rem auto 0 auto;
    position: relative;
}

.hero-claim-wrapper h2 {
    font-size: 3rem;
    margin-bottom: 3.5rem;
    font-family: 'Google Sans Code' !important;
    color: #fff;
    letter-spacing: -2px;
    font-weight: 700;
}

.hero-claim-wrapper h2 span {
    color: var(--accent);
    text-shadow: 0 0 20px rgba(0, 168, 255, 0.3);
}

.hero-claim-input-box {
    max-width: 520px;
    margin: 0 auto;
    background: rgba(15, 15, 15, 0.5);
    backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 10px 15px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-claim-prefix {
    color: var(--text-muted);
    font-family: 'Google Sans Code' !important;
    font-weight: 500;
    font-size: 1.1rem;
    padding-left: 15px;
    user-select: none;
}

#landing-claim-input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: #fff;
    font-size: 1.2rem;
    font-family: 'Google Sans Code' !important;
    font-weight: 500;
    min-width: 100px;
}

.hero-claim-btn {
    width: 48px;
    height: 48px;
    background: var(--accent);
    color: #fff;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-claim-btn:hover {
    background: #0088cc;
}

.hero-claim-input-box:focus-within {
    border-color: rgba(0, 168, 255, 0.4);
}

.hero-claim-wrapper p {
    color: var(--text-muted);
    font-size: 0.8rem;
    letter-spacing: 5px;
    text-transform: uppercase;
    font-weight: 700;
    margin-top: 3.5rem;
    opacity: 0.5;
}

/* Content Main adjustments */
.content-main {
    flex: 1;
    overflow-y: auto;
    padding: 1rem 10% 20rem 10%;
}

.prose {
    max-width: 850px;
    margin: 0 auto;
    margin-top: 50px;
}

.content-header {
    margin-bottom: 3rem;
    justify-content: center;
    display: flex;
}

.main-heading-img {
    height: 280px;
    object-fit: contain;
    margin-top: -120px;
    margin-bottom: -50px;
    filter: drop-shadow(0 0 15px rgba(255, 255, 255, 0.1));
    transition: 0.5s ease;
}

.main-heading-img:hover {
    filter: drop-shadow(0 0 25px rgba(0, 168, 255, 0.3));
    transform: scale(1.02);
}

.sub-heading {
    color: var(--text-muted);
    font-size: 1.1rem;
}

.content-section {
    margin-bottom: 3rem;
}

.content-section h2 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.7rem;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 500;

}

.check-list {
    list-style: none;
    margin-bottom: 1.5rem;
}

.check-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.check-item input[type="checkbox"] {
    appearance: none;
    width: 18px;
    height: 18px;
    background-color: transparent;
    border: 1px solid var(--text-muted);
    border-radius: 3px;
    cursor: pointer;
    margin-top: 0.2rem;
    position: relative;
    transition: all 0.2s;
}

.check-item input[type="checkbox"]:checked {
    background-color: var(--accent);
    border-color: var(--accent);
}

.check-item input[type="checkbox"]:checked::after {
    content: "✓";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 0.75rem;
}

.check-item label {
    font-size: 1rem;
    color: var(--text-primary);
}

.inline-link {
    color: var(--accent);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s;
}

.inline-link:hover {
    border-bottom-color: var(--accent);
}

.premium-name-glow {
    color: #00a8ff !important;
    text-shadow: 0 0 10px rgba(0, 168, 255, 0.4), 0 0 20px rgba(0, 168, 255, 0.2);
    font-weight: 500;
    transition: 0.3s;
}

.premium-name-glow:hover {
    text-shadow: 0 0 15px rgba(0, 168, 255, 0.7), 0 0 30px rgba(0, 168, 255, 0.4);
}

.tag {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-left: 0.5rem;
}

/* Code Blocks */
.code-block {
    background-color: var(--code-bg);
    border: 1px solid var(--border, rgba(255, 255, 255, 0.1));
    border-radius: 8px;
    margin: 1.5rem 0;
    padding: 1.25rem;
    overflow-x: auto;
}

code {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.95rem;
}

.cmd {
    color: var(--code-cmd);
}

.comment {
    color: var(--code-comment);
    font-style: italic;
}

/* Sidebar Right */
/* Legacy Sidebar Content Removed */

.secondary-btn:hover {
    color: #fff;
}

.alert-banner {
    position: fixed;
    top: 1rem;
    left: 0.6rem;
    padding: 7px 14px;
    border-radius: 25px;
    font-weight: 800;
    z-index: 3000;
    font-size: 0.85rem;
    border: 1px solid var(--border, rgba(255, 255, 255, 0.1));
    backdrop-filter: blur(10px);
}

.alert-banner.success {
    background: rgba(0, 255, 0, 0.05);
    color: #4caf50;
    border-color: #4caf50;
}

.alert-banner.error {
    background: rgba(255, 0, 0, 0.05);
    color: #f44336;
    border-color: #f44336;
}

/* User Registry Action Section */
.action-section {
    padding-bottom: 0;
    display: flex;
    gap: 10px;
}

.register-btn {
    width: 100%;
    padding: 0.8rem;
    background-color: transparent;
    color: gray;
    border: none;
    border-radius: 8px;
    font-weight: 300;
    font-size: 0.9rem;
    cursor: pointer;
    display: flex;
    text-decoration: none;
    align-items: center;
    font-family: 'Outfit', sans-serif;
    border: 1px solid var(--border, rgba(255, 255, 255, 0.1));
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.2s;
}

.register-btn:hover {
    color: #fff;
}

/* User Table Stylings */
.table-container {
    overflow-x: auto;
    border-radius: 12px;
    margin-top: 1rem;
    background: rgba(10, 10, 10, 0.4);
    backdrop-filter: blur(20px);
}

.feature-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.feat-card {
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s ease;
}

.feat-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent);
    background: rgba(0, 168, 255, 0.05);
}

.feat-card i {
    font-size: 2rem;
    color: var(--accent);
    margin-bottom: 1.5rem;
}

.feat-card h3 {
    margin-bottom: 0.8rem;
    font-family: 'Outfit';
    color: #fff;
}

/* User Table Modernization */
.table-container {
    overflow-x: auto;
    border-radius: 20px;
    margin-top: 1rem;
    background: rgba(10, 10, 10, 0.4);
    backdrop-filter: blur(25px);
}

.user-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.user-table th {
    background: rgba(255, 255, 255, 0.02);
    color: var(--text-muted);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.7rem;
    letter-spacing: 2px;
    padding: 1.25rem 1rem;
    text-align: left;
    border-bottom: 1px solid var(--border);
    font-family: 'Google Sans Code' !important;
}

.user-table td {
    padding: 1.1rem 1rem;
    color: var(--text-secondary);
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    vertical-align: middle;
}

.user-table tr {
    transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    cursor: pointer;
}

.user-table tr:hover td {
    background-color: rgba(255, 255, 255, 0.05);
}

.user-table tr:hover td:first-child {
    border-top-left-radius: 12px;
    border-bottom-left-radius: 12px;
}

.user-table tr:hover td:last-child {
    border-top-right-radius: 12px;
    border-bottom-right-radius: 12px;
}



.user-table td a.inline-link {
    font-weight: 500;
    transition: 0.3s;

}

/* Ranking Table Enhancements */
.ranking-container {
    padding: 0.5rem;
}

.user-meta-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
}

.table-avatar {
    width: 32px;
    height: 32px;
    border-radius: 10px;
    object-fit: cover;
    background: #111;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.rank-cell {
    width: 80px;
    text-align: center !important;

}



.rank-badge {
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border, rgba(255, 255, 255, 0.1));
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 800;
    font-family: 'Google Sans Code' !important;
    color: var(--text-muted);
}

.rank-row-1 .rank-badge {
    background: linear-gradient(135deg, #ffd700, #b8860b);
    color: #000;
    border: none;
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.3);
}

.rank-row-2 .rank-badge {
    background: linear-gradient(135deg, #c0c0c0, #708090);
    color: #000;
    border: none;
}

.rank-row-3 .rank-badge {
    background: linear-gradient(135deg, #cd7f32, #8b4513);
    color: #000;
    border: none;
}

.badge-verify {
    font-size: 0.75rem;
    color: var(--accent);
    margin-left: 5px;
}

.view-cell {
    color: #fff !important;
    font-weight: 600;
}

.view-cell i {
    color: var(--accent);
    margin-right: 5px;
    font-size: 0.8rem;
}

/* Modal Overlay & Card */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
}

.modal-overlay.active {
    display: flex;
}

.modal-card {
    background-color: var(--bg-sidebar);
    width: 90%;
    max-width: 400px;
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid var(--border, rgba(255, 255, 255, 0.1));
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    animation: modalFadeIn 0.3s ease-out;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.95);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.modal-header h3 {
    margin: 0;
    font-family: 'Outfit', sans-serif;
    font-size: 1.25rem;
}

.close-modal {
    cursor: pointer;
    color: var(--text-muted);
    transition: color 0.2s;
}

.close-modal:hover {
    color: var(--text-primary);
}

.register-form .form-group {
    margin-bottom: 1.5rem;
}

.register-form label {
    display: block;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.register-form input {
    width: 100%;
    padding: 0.8rem;
    background-color: #1a1a1a;
    border: 1px solid var(--border, rgba(255, 255, 255, 0.1));
    border-radius: 8px;
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    outline: none;
    transition: border-color 0.2s;
}

.register-form input:focus {
    border-color: var(--text-muted);
}

.submit-btn {
    width: 100%;
    padding: 1rem;
    background-color: var(--text-primary);
    color: var(--bg-main);
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 1rem;
    transition: opacity 0.2s;
}

.submit-btn:hover {
    opacity: 0.9;
}

.graph-controls {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    display: flex;
    gap: 0.75rem;
    background-color: rgba(15, 15, 15, 0.8);
    padding: 0.4rem 0.6rem;
    border-radius: 6px;
    backdrop-filter: blur(4px);
    border: 1px solid var(--border, rgba(255, 255, 255, 0.1));
    z-index: 10;
}

.graph-controls i {
    font-size: 0.8rem;
    color: var(--text-muted);
    cursor: pointer;
    transition: color 0.2s, transform 0.1s;
}

.graph-controls i:hover {
    color: var(--text-primary);
}

.toc-links {
    list-style: none;
}

.toc-links li {
    margin-bottom: 0.5rem;
}

.toc-links a {
    text-decoration: none;
    font-size: 0.9rem;
    color: var(--text-muted);
    transition: color 0.2s;
}

.toc-links a:hover,
.toc-links a.active {
    color: var(--text-primary);
}

.toc-sub-links {
    list-style: none;
    margin-left: 1rem;
    margin-top: 0.5rem;
}

/* Professional Enhanced Footer */
.content-footer {
    margin-top: 5rem;
    padding-top: 5rem;
    border-top: 1px solid var(--border);
    position: relative;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    padding-bottom: 5rem;
}

.footer-col h4 {
    font-family: 'Google Sans Code' !important;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.8rem;
    color: var(--accent);
    margin-bottom: 2rem;
    font-weight: 700;
}

.brand-col {
    max-width: 400px;
}

.footer-logo {
    height: 38px;
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 0 10px rgba(0, 168, 255, 0.2));
}

.brand-tagline {
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 0.95rem;
    margin-bottom: 2.5rem;
    font-weight: 400;
}

.powered-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
}

.powered-wrap span {
    font-size: 0.7rem;
    color: #444;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.owner-badge {
    height: 40px;
    opacity: 0.6;
    transition: 0.3s;
}

.owner-badge:hover {
    opacity: 1;
}

.footer-col a {
    display: block;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    margin-bottom: 1.2rem;
    transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 500;
}

.footer-col a:hover {
    color: #fff;
    transform: translateX(8px);
}

.social-links-footer {
    display: flex;
    gap: 12px;
    margin-top: 2rem;
}

.social-f-link {
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border, rgba(255, 255, 255, 0.1));
    border-radius: 12px;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: var(--text-secondary) !important;
    font-size: 1.2rem;
    transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
    line-height: 1 !important;
    padding: 0 !important;
}

.social-f-link i {
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1 !important;
    display: block !important;
}

.social-f-link:hover {
    background: rgba(0, 168, 255, 0.1) !important;
    border-color: rgba(0, 168, 255, 0.4) !important;
    color: var(--accent) !important;
    transform: translateY(-8px) scale(1.1) !important;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(0, 168, 255, 0.2);
}

.footer-bottom {
    padding: 3rem 0;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #444;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

/* Lang Dropdown Enhancements for Footer */
.footer-col .lang-dropdown {
    width: 100%;
}

.footer-col .lang-drop-btn {
    width: 100%;
    background: rgba(15, 15, 15, 0.5);
    backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 14px 20px;
    border-radius: 15px;
    color: #fff;
    font-family: 'Google Sans Code' !important;
    font-weight: 600;
}

.footer-col .lang-drop-menu {
    bottom: calc(100% + 15px);
    right: 0;
    background: rgba(10, 10, 10, 0.98);
    backdrop-filter: blur(30px);
    border-radius: 20px;
    border: 1px solid var(--border, rgba(255, 255, 255, 0.1));
    box-shadow: 0 -20px 50px rgba(0, 0, 0, 0.8);
    width: 260px;
}

/* Responsive */
@media (max-width: 1200px) {
    .sidebar-right {
        display: none;
    }
}

@media (max-width: 768px) {
    .sidebar-left {
        width: 100%;
        position: fixed;
        left: -100%;
        z-index: 100;
        transition: left 0.3s;
    }

    .sidebar-left.open {
        left: 0;
    }

    .content-main {
        padding: 2rem 5%;
    }
}

.central-toggles {
    position: fixed;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    z-index: 5000;
    background: rgba(15, 15, 15, 0.8);
    backdrop-filter: blur(10px);
    padding: 10px 20px;
    border-radius: 50px;
    border: 1px solid var(--border, rgba(255, 255, 255, 0.1));
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.toggle-btn {
    background: transparent;
    border: 1px solid transparent;
    color: var(--text-muted);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 1.1rem;
}

.toggle-btn:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    border-color: var(--border);
}

.toggle-btn i {
    transition: transform 0.3s;
}

/* Language Switcher in Sidebar Mini */
.mini-lang-switcher {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 2rem;
}

.mini-lang-link {
    width: 32px;
    height: 32px;
    border-radius: 10px;
    overflow: hidden;
    opacity: 0.5;
    transition: 0.3s;
    border: 1px solid var(--border, rgba(255, 255, 255, 0.1));
}

.mini-lang-link:hover,
.mini-lang-link.active {
    opacity: 1;
    transform: scale(1.1);
    border-color: var(--accent);
}

/* Language Switcher (Old - Hide it) */
.lang-switcher {
    display: none;
}

.lang-link {
    width: 28px;
    height: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 2px solid transparent;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0.4;
    cursor: pointer;
    padding: 0;
    border-radius: 11px;
}

.lang-link:hover {
    opacity: 1;
    transform: scale(1.15) translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.lang-link.active {
    opacity: 1;
    transform: scale(1.1);
}

.flag-svg {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Responsive adjustment for lang switcher */
@media (max-width: 768px) {
    .lang-switcher {
        top: auto;
        bottom: 20px;
        flex-direction: row;
    }
}

/* User Profile Dropdown Styles */
.user-profile-dropdown {
    position: relative;
    width: 100%;
}

.profile-btn {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.6rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border, rgba(255, 255, 255, 0.1));
    border-radius: 15px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    color: var(--text-primary);
}

.profile-btn:hover {
    background: rgba(255, 255, 255, 0.07);
    border-color: var(--text-muted);
    transform: translateY(-1px);
}

.avatar-sm {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.8rem;
    color: white;
}

.username-text {
    flex: 1;
    text-align: left;
    font-size: 0.9rem;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.profile-btn i {
    font-size: 0.7rem;
    color: var(--text-muted);
    transition: transform 0.3s ease;
}

.profile-btn.active i {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    width: 220px;
    background: rgba(15, 15, 15, 0.95);
    backdrop-filter: blur(16px);
    border: 1px solid var(--border, rgba(255, 255, 255, 0.1));
    border-radius: 12px;
    padding: 0.5rem;
    display: none;
    flex-direction: column;
    gap: 2px;
    z-index: 1000;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    animation: dropdownFade 0.2s ease-out;
}

.dropdown-menu.show {
    display: flex;
}

@keyframes dropdownFade {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0.75rem 1rem;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.85rem;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.dropdown-item:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
}

.dropdown-item.logout-link:hover {
    background: rgba(244, 67, 54, 0.1);
    color: #f44336;
}

.dropdown-item i {
    width: 16px;
    font-size: 0.9rem;
}

.divider {
    height: 1px;
    background: var(--border);
    margin: 4px 0;
}

.form-error {
    color: #f44336;
    font-size: 0.75rem;
    margin-top: -0.75rem;
    margin-bottom: 1rem;
    text-align: left;
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Premium Elements */
.premium-btn {
    border: 1px solid #00a8ff;
    color: #fff;
    border-radius: 12px;
    font-size: 0.85rem;
    background-color: #0085c7;
    font-weight: 700;
    width: auto;
    margin-top: 0;
    padding: 1rem;
    font-family: 'Outfit';
    display: flex;
    align-items: center;
    gap: 0.6rem;
    cursor: pointer;
    transition: 0.3s;
    justify-content: center;
}

.premium-btn:hover {
    background-color: #00a8ff;
    border-color: #abe3ff;
}

.premium-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.premium-modal-overlay.active {
    display: flex;
}

.premium-modal {
    background: #0f0f0f;
    border: 1px solid #1a1a1a;
    width: 100%;
    max-width: 800px;
    border-radius: 30px;
    padding: 3rem;
    position: relative;
    box-shadow: 0 30px 100px rgba(0, 0, 0, 0.8);
}

.modal-header {
    margin-bottom: 3rem;
    text-align: center;
}

.modal-header h2 {
    font-family: 'Outfit';
    font-size: 2rem;
    color: #fff;
}

.modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: none;
    border: none;
    font-size: 2rem;
    color: #444;
    cursor: pointer;
}

.modal-close:hover {
    color: #fff;
}

/* Premium Page View Styles */
.premium-page-container .plans-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    max-width: 1000px;
    margin: 40px auto;
}

.premium-page-container .plan-card {
    background: rgba(10, 10, 10, 0.4);
    backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 3rem 2rem;
    border-radius: 30px;
    text-align: center;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
}

.premium-page-container .plan-card.featured {
    border-color: rgba(0, 168, 255, 0.3);
    background: linear-gradient(135deg, rgba(0, 168, 255, 0.05) 0%, rgba(10, 10, 10, 0.4) 100%);
}

.secondary-plan-btn {
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid var(--border, rgba(255, 255, 255, 0.1)) !important;
}

.secondary-plan-btn:hover {
    background: rgba(255, 255, 255, 0.1) !important;
}

.plan-badge.plain {
    background: rgba(255, 255, 255, 0.1);
}

.premium-page-container .plan-card:hover {
    border-color: var(--accent);
    box-shadow: 0 30px 60px rgba(0, 168, 255, 0.1);
}

.plan-badge {
    display: inline-block;
    background: var(--accent);
    color: #fff;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.65rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    letter-spacing: 1px;
}

.plan-price {
    font-size: 3rem;
    font-family: 'Outfit';
    color: #fff;
    margin-bottom: 2rem;
}

.plan-price span {
    font-size: 1rem;
    color: var(--text-muted);
}

.plan-features {
    list-style: none;
    padding: 0;
    margin-bottom: 3rem;
    text-align: left;
}

.plan-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 1rem;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.plan-features li i {
    color: var(--accent);
    font-size: 0.9rem;
}

.plan-btn {
    display: block;
    width: 100%;
    background: transparent;
    border: 1px solid #4c85ff;
    background-color: #4c85ff23;
    color: #fff;
    text-decoration: none;
    padding: 1.2rem;
    border-radius: 15px;
    font-family: 'Outfit';
    font-weight: 600;
    transition: 0.3s;
}



.premium-dropdown {
    position: relative;
    z-index: 1001;
}

.premium-menu {
    width: 220px;
    top: calc(100% + 15px) !important;
}

.dropdown-header {
    padding: 0.8rem 1rem;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #444;
    font-family: 'Outfit';
}

.premium-btn.active-prem {
    background: transparent !important;
    border: 1px solid #00a8ff !important;
    color: #00a8ff !important;
    box-shadow: 0 0 15px rgba(0, 168, 255, 0.2);
}

.premium-btn.show+.premium-menu {
    display: flex;
}

/* Utility Classes for index.php Cleanup */
.alert-link {
    color: inherit;
    text-decoration: underline;
}

.user-action-flex {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
}

.profile-dropdown-wrapper {
    flex: 1;
}

.crown-icon {
    color: #ffb900;
}

.nav-claim-container {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 40px;
    padding: 2px 2px 2px 15px;
    margin-left: 15px;
    transition: 0.3s;
}

.nav-claim-container:focus-within {
    border-color: var(--accent);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 0 10px rgba(0, 168, 255, 0.1);
}

.nav-claim-prefix {
    color: #555;
    font-size: 0.9rem;
    font-weight: 600;
    user-select: none;
}

.nav-claim-container input {
    background: transparent;
    border: none;
    color: #fff;
    font-family: 'Amatic SC', cursive;
    margin-bottom: 3px;
    font-weight: 1000;
    font-size: 1.4rem;
    width: 130px;
    outline: none;
}

.nav-claim-btn {
    background: var(--accent);
    color: #fff;
    border: none;
    width: 28px;
    height: 28px;
    margin-right: 5px;
    border-radius: 12px;
    cursor: pointer;
    font-size: 0.7rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.2s;
}

.nav-claim-btn:hover {
    transform: scale(1.1);
}

/* Features View */
.features-container {
    padding: 1rem;
}

.feature-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.feat-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border, rgba(255, 255, 255, 0.1));
    padding: 2rem;
    border-radius: 20px;
    transition: 0.3s;
    text-align: center;
}

.feat-card:hover {
    border-color: var(--accent);
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.03);
}

.feat-card i {
    font-size: 2rem;
    color: var(--accent);
    margin-bottom: 1rem;
}

.home-nav-link {
    color: #444;
    margin-top: 1rem;
    justify-content: center;
    font-size: 0.8rem;
}

/* Language Dropdown Customizations */
.lang-drop-menu {
    max-height: 200px !important;
    overflow-y: auto !important;
}

.lang-drop-menu::-webkit-scrollbar {
    width: 6px;
}

.lang-drop-menu::-webkit-scrollbar-thumb {
    background: #333;
    border-radius: 4px;
}

.lang-drop-menu a {
    font-size: 0.85rem !important;
    padding: 8px 15px !important;
}

@keyframes floating {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-15px);
    }

    100% {
        transform: translateY(0px);
    }
}

/* --- MOBILE RESPONSIVENESS --- */
@media (max-width: 768px) {
    .top-navbar {
        top: auto;
        bottom: 20px;
        width: 90%;
        max-width: 400px;
        padding: 5px;
        gap: 2px;
        border-radius: 20px;
        justify-content: space-around;
        left: 50%;
        transform: translateX(-50%);
    }

    .top-nav-link {
        width: 40px;
        height: 40px;
        font-size: 0.9rem;
    }

    .nav-claim-container {
        display: none;
    }

    .top-right-actions {
        top: 15px;
        right: 15px;
        left: auto;
        width: auto;
        position: fixed;
    }

    .top-right-actions .action-section {
        justify-content: flex-end !important;
        width: auto;
        padding: 5px;
        border-radius: 18px;
        gap: 8px;
    }

    .user-action-flex {
        gap: 10px !important;
    }

    .main-heading {
        font-size: 2.5rem !important;
        text-align: center;
    }

    .dashboard-grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem;
        padding: 0 10px;
    }

    .steps-grid {
        grid-template-columns: 1fr !important;
    }

    .welcome-box {
        padding: 2rem 1.5rem;
        text-align: center;
    }

    .welcome-box h2 {
        font-size: 1.5rem;
    }

    .welcome-box p {
        margin: 0 auto 2rem;
    }

    .landing-section {
        margin-top: 3rem;
        margin-bottom: 3rem;
    }

    .hero-claim-input-box {
        flex-direction: column !important;
        gap: 10px;
        background: transparent !important;
        border: none !important;
        padding: 0 !important;
        width: 100% !important;
    }

    .hero-claim-prefix {
        display: none !important;
    }

    .hero-claim-input-box input {
        background: rgba(255,255,255,0.05) !important;
        border: 1px solid var(--border, rgba(255, 255, 255, 0.1)) !important;
        border-radius: 12px !important;
        padding: 15px !important;
        text-align: center;
        width: 100% !important;
    }

    .hero-claim-btn {
        width: 100% !important;
        height: 50px !important;
        border-radius: 12px !important;
        justify-content: center !important;
    }

    .top-right-actions {
        top: 12px;
        right: 12px;
        left: auto;
        width: auto;
        position: fixed;
    }

    .top-right-actions .action-section {
        justify-content: flex-end;
        width: auto;
        padding: 4px;
        border-radius: 15px;
        gap: 6px;
        background: rgba(10, 10, 10, 0.7);
        border: 1px solid var(--border, rgba(255, 255, 255, 0.1));
    }

    .user-action-flex {
        gap: 8px !important;
    }

    .content-footer {
        padding: 60px 15px 120px 15px; /* Added more bottom padding for the bottom bar */
        margin-top: 40px;
        text-align: center;
        background: linear-gradient(to bottom, transparent, rgba(0,0,0,0.5));
    }

    .footer-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 40px !important;
        align-items: center;
    }

    .footer-col {
        width: 100%;
        max-width: 300px;
        border-bottom: 1px solid rgba(255,255,255,0.03);
        padding-bottom: 25px;
    }

    .footer-col:last-child {
        border-bottom: none;
    }

    .footer-col h4 {
        margin-bottom: 15px;
        font-size: 0.9rem;
        letter-spacing: 1px;
    }

    .footer-col a {
        display: block;
        padding: 5px 0;
        font-size: 0.85rem;
    }

    .brand-col .footer-logo {
        margin: 0 auto 15px;
        height: 40px;
    }

    .brand-tagline {
        font-size: 0.8rem;
        color: var(--text-muted);
        line-height: 1.5;
    }

    .powered-wrap {
        justify-content: center;
        margin-top: 15px;
    }

    .social-links-footer {
        justify-content: center;
        gap: 20px;
    }

    .lang-dropdown {
        width: 100%;
    }

    .lang-drop-btn {
        width: 100%;
        justify-content: center;
    }

    .lang-drop-menu {
        width: 100% !important;
        right: 0 !important;
        left: 0 !important;
    }

    .activity-card {
        padding: 1rem;
        gap: 1rem;
    }

    .activity-stat {
        display: none;
    }

    .plans-grid {
        grid-template-columns: 1fr !important;
        gap: 20px;
        padding: 0 10px;
    }

    .plan-card {
        padding: 20px !important;
    }

    .feature-list {
        grid-template-columns: 1fr !important;
        gap: 20px;
        padding: 0 10px;
    }

    .user-table {
        min-width: 700px !important;
    }
    
    .ranking-container {
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch;
        margin-top: 20px;
        border-radius: 15px;
    }

    .content-main {
        padding: 80px 10px 100px 10px !important;
    }

    .top-preview-container {
        min-height: 40vh !important;
        padding: 0 5px 20px 5px !important;
    }

    .top-preview-container > div {
        height: 50vh !important;
        min-height: 350px !important;
        border-radius: 15px !important;
    }
}

@media (max-width: 480px) {
    .main-heading {
        font-size: 2rem !important;
    }

    .dash-val {
        font-size: 1.8rem;
    }

    .btn-cta {
        width: 100%;
        justify-content: center;
        padding: 12px;
    }
    
    .dash-card img {
        width: 60px !important;
    }

    .feature-list {
        grid-template-columns: 1fr !important;
    }

    .top-navbar {
        justify-content: center !important;
        padding: 5px 10px !important;
    }

    .top-right-actions {
        right: 10px;
        top: 10px;
    }
}