/* ================= GLOBAL & LAYOUT ================= */
html,
body {
  margin: 0;
  padding: 0;
  font-family: "Plus Jakarta Sans", sans-serif;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  box-sizing: border-box;
  overflow-x: hidden;
  background-color: #fbfbfb;
  background: linear-gradient(135deg, #0f172a 60%, #4c1d95 100%);

}

*, *::before, *::after {
  box-sizing: inherit;
}

a {
  text-decoration: none;
}

/* ================= NAVBAR (CLEAN & COMPACT) ================= */
.site-navbar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  padding: 10px 2%;
  background-color: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 0;
  z-index: 1000;
  gap: 15px;
  min-height: 60px;
}

/* --- Logo & Brand --- */
.logo-container {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

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

.brand-name {
  font-size: clamp(16px, 1.5vw, 20px);
  font-weight: 700;
  color: #1a1a1a;
  font-family: "Poppins", sans-serif;
  white-space: nowrap;
}

/* --- Navigation Links --- */
.nav-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: clamp(10px, 1.5vw, 18px);
  justify-content: center;
}

.nav-links a {
  color: #444;
  font-weight: 500;
  font-size: 0.9rem;
  position: relative;
  white-space: nowrap;
  transition: color 0.3s;
  padding: 5px 2px;
}

.nav-links a:hover,
.nav-links a.active {
  color: #1a73e8;
}

.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 2px;
  background-color: #1a73e8;
  border-radius: 2px;
}

/* ================= PREMIUM AUTH SECTION ================= */
.auth-section {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-left: auto;
    flex-wrap: nowrap;
}

.login-btn-creative, .join-btn-creative {
    padding: 8px 22px;
    font-size: 13px;
    font-weight: 700;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 100px;
    text-decoration: none;
    white-space: nowrap;
}

.login-btn-creative {
    background: white;
    color: orangered;
    border: 2px solid orangered;
}

.login-btn-creative:hover {
    background: rgba(255, 69, 0, 0.05);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 69, 0, 0.1);
}

.join-btn-creative {
    background: linear-gradient(135deg, rgb(255, 255, 255), #ff8c00);
    color: white;
    border: 2px solid orangered;
    box-shadow: 0 4px 15px rgba(255, 69, 0, 0.2);
}

.join-btn-creative:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 69, 0, 0.3);
    filter: brightness(1.1);
}

/* --- Profile Container --- */
.profile-nav {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    padding: 2px 16px;
    border-radius: 50px;
    background: linear-gradient(135deg, #00d2ff 0%, #92fe9d 100%);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    user-select: none;
    flex-shrink: 0;
}

.profile-nav:hover {
    background: rgba(0, 0, 0, 0.05);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    border-color: #00d2ff;
}

.avatar {
    width: 34px;
    height: 34px;
    background: linear-gradient(135deg, #ff4500 0%, #ff8c00 100%); /* Orange Gradient */
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 14px;
    border: 2px solid #fff;
    box-shadow: 0 4px 10px rgba(255, 69, 0, 0.3);
    flex-shrink: 0;
}

/* .avatar {
    width: 34px;
    height: 34px;
    padding: 13px;
    background: linear-gradient(135deg, #00d2ff 0%, #92fe9d 100%);
    color: #000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 15px;
    border: 2px solid #fff;
    box-shadow: 0 0 15px rgba(0, 210, 255, 0.3);
    flex-shrink: 0;
} */

.profile-nav span {
    font-weight: 600;
    font-size: 0.9rem;
    color: #333;
    white-space: nowrap;
    display: inline-block; /* मोबाईलवर नाव कायम दिसण्यासाठी बदलले */
}

.dropdown-content {
    display: none;
    position: absolute;
    top: calc(100% + 15px);
    right: 0;
    width: 220px;
    background: #ffffff;
    border-radius: 16px;
    padding: 8px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transform-origin: top right;
}

.profile-nav.active .dropdown-content {
    display: block;
    animation: slideIn 0.3s ease forwards;
}

.dropdown-content a {
    color: black;
    padding: 12px 15px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    font-weight: 500;
    border-radius: 10px;
    transition: all 0.2s;
}

.dropdown-content a:hover {
    background: #f0f7ff;
    color: #3a7bd5;
    padding-left: 20px;
}

/* ================= FOOTER (PREMIUM DARK) ================= */
.site-footer {
  background-color: #0f172a;
  color: white;
  padding: 40px 2%;
  border-top: 4px solid #bf03ed;
  width: 100%;
  margin-top: auto;
  font-family: "Segoe UI", sans-serif;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 30px;
}

.footer-brand h2 {
  font-size: 1.4rem;
  margin: 0;
  letter-spacing: 1px;
}

.footer-brand span {
  color: #bf03ed;
}

.tagline {
  font-size: 0.75rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #bf03ed;
  margin-top: 8px;
  font-weight: 600;
}

.footer-center {
  flex: 1;
  min-width: 250px;
  padding-left: 40px;
  border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-links {
  margin-bottom: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}

.footer-links a {
  color: #cbd5e1;
  font-size: 0.85rem;
  transition: 0.3s;
}

.footer-links a:hover {
  color: #bf03ed;
}

.copyright {
  font-size: 0.8rem;
  color: #64748b;
  margin: 0;
}

.footer-social {
  text-align: right;
  min-width: 150px;
}

.icons {
  display: flex;
  justify-content: flex-end;
  gap: 15px;
  margin-bottom: 10px;
}

.icons a {
  color: white;
  font-size: 1.1rem;
  transition: 0.3s ease;
}

.icons a:hover {
  color: #bf03ed;
}

.support-email {
  font-size: 0.8rem;
  color: #94a3b8;
}

/* ================= RESPONSIVE ADJUSTMENTS ================= */

@media (max-width: 992px) {
    .site-navbar {
        justify-content: space-around;
    }
    .footer-center {
        padding-left: 20px;
    }
}

@media (max-width: 768px) {
    /* Navbar Adjustment */
    .site-navbar {
        padding: 15px;
        flex-direction: column;
        gap: 20px;
    }

    .auth-section {
        margin-left: 0;
        width: 100%;
        justify-content: center;
        gap: 10px;
        order: 2; /* Logo नंतर दिसेल */
    }

    .nav-links {
        width: 100%;
        order: 3; /* सर्वात शेवटी दिसेल */
        justify-content: center;
    }

    .login-btn-creative, .join-btn-creative {
        padding: 6px 15px;
        font-size: 11px;
        min-width: 80px;
    }

    .profile-nav {
        padding: 4px 10px; /* थोडी स्पेसिंग कमी केली */
        background: rgba(0, 0, 0, 0.05); /* मोबाईलवर स्पष्ट दिसण्यासाठी */
        border: 1px solid rgba(0, 0, 0, 0.05);
    }

    .profile-nav span {
        display: inline-block; /* फिक्स: मोबाईलवर नाव दाखवण्यासाठी */
        font-size: 12px;
    }

    /* Footer Adjustment */
    .site-footer {
        padding: 40px 20px;
    }

    .footer-inner {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    .footer-center {
        border-left: none;
        padding-left: 0;
        width: 100%;
    }

    .footer-links {
        justify-content: center;
    }

    .footer-social {
        text-align: center;
        width: 100%;
    }

    .icons {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .brand-name {
        font-size: 16px;
    }
    
    .nav-links {
        gap: 8px;
    }

    .nav-links a {
        font-size: 0.8rem;
    }

    .login-btn-creative, .join-btn-creative {
        padding: 5px 10px;
        font-size: 10px;
        min-width: 70px;
    }
}

/* Animations */
@keyframes slideIn {
    from { opacity: 0; transform: scale(0.9) translateY(-10px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}