/**
 * ==============================================================================
 * GOLD365 SITE (gold365sites.com.in) — UNIFIED MASTER STYLESHEET
 * Framework: WordPress + Astra Pro + Elementor Pro + Yoast SEO
 * Primary Keywords: Gold365 Site, Gold 365 Site, Gold365 Site Login, Gold 365 com login
 * ==============================================================================
 */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&family=Montserrat:wght@700;800;900&display=swap');

:root {
  /* Brand Palette */
  --g365-gold-primary: #F5A800;
  --g365-gold-light: #FCD34D;
  --g365-gold-dark: #D97706;
  --g365-gold-gradient: linear-gradient(135deg, #E5A93C 0%, #FCD34D 50%, #D49826 100%);
  --g365-gold-glow: 0 0 20px rgba(245, 168, 0, 0.45);

  /* Emerald & WhatsApp */
  --g365-green-primary: #10B981;
  --g365-green-dark: #059669;
  --g365-green-bg: #ECFDF5;
  --g365-whatsapp: #25D366;

  /* Dark Canvas */
  --g365-bg-header: #000000;
  --g365-bg-page: #0B0E14;
  --g365-bg-footer: #080B11;
  --g365-border-dark: rgba(255, 255, 255, 0.08);

  /* Light Card / Auth */
  --g365-card-bg: #FFFFFF;
  --g365-card-text: #111827;
  --g365-card-border: #CBD5E1;
  --g365-card-shadow: 0 16px 45px rgba(0, 0, 0, 0.45);

  /* Typography */
  --g365-font-main: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --g365-font-brand: 'Montserrat', 'Inter', sans-serif;
}

/* ==============================================================================
   1. GLOBAL RESETS & LOGO
   ============================================================================== */
.g365-header-hook,
.g365-footer-hook,
.g365-auth-hook-wrapper {
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-family: var(--g365-font-main);
}

.g365-header-hook *,
.g365-footer-hook *,
.g365-auth-hook-wrapper * {
  box-sizing: border-box;
}

.g365-brand-logo {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px;
  text-decoration: none !important;
  user-select: none;
}

.g365-logo-badge {
  font-family: var(--g365-font-brand);
  font-size: 32px;
  font-weight: 900;
  letter-spacing: -0.5px;
  line-height: 1;
  text-transform: uppercase;
  color: #FFC400;
  text-shadow: 
    0 1px 0 #E09600,
    0 2px 0 #BD7600,
    0 3px 0 #0E5A50,
    0 4.5px 0 #074139,
    0 6px 1px rgba(0, 0, 0, 0.45);
  transition: transform 0.2s ease;
}

.g365-brand-logo:hover .g365-logo-badge {
  transform: translateY(-1px);
}

.g365-logo-gold { color: #FFC400; }
.g365-logo-num { color: #FFD54F; }

.g365-logo-domain-tag {
  background: #10B981;
  color: #064E3B;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.8px;
  padding: 2px 5px;
  border-radius: 3px;
  align-self: flex-start;
  margin-top: 4px;
}

/* ==============================================================================
   2. HEADER STYLES
   ============================================================================== */
.g365-header-hook {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  height: 72px;
  background-color: #000000 !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  z-index: 99999;
}

.g365-header-container {
  max-width: 1320px;
  height: 100%;
  margin: 0 auto;
  padding: 0 24px;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
}

.g365-desktop-nav {
  display: flex !important;
  align-items: center !important;
  margin-left: auto;
  margin-right: 36px;
}

.g365-nav-menu {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 32px !important;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.g365-nav-item {
  position: relative;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.g365-nav-link {
  display: inline-block;
  padding: 8px 0;
  color: #FFFFFF !important;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none !important;
  transition: color 0.2s ease;
  position: relative;
}

.g365-nav-link:hover {
  color: #F5A800 !important;
}

.g365-nav-link.is-active,
.g365-nav-item.current-menu-item .g365-nav-link {
  color: #F5A800 !important;
  font-weight: 600;
}

.g365-nav-link.is-active::after,
.g365-nav-item.current-menu-item .g365-nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2.5px;
  background-color: #F5A800;
  border-radius: 2px;
}

.g365-header-cta-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: var(--g365-gold-gradient);
  color: #111111 !important;
  font-family: var(--g365-font-brand);
  font-size: 13.5px;
  font-weight: 800;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  text-decoration: none !important;
  padding: 13px 28px;
  border-radius: 9999px;
  box-shadow: var(--g365-gold-glow);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
}

.g365-header-cta-btn:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 0 28px rgba(245, 168, 0, 0.7);
  color: #000000 !important;
}

.g365-mobile-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 20px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 100000;
}

.g365-mobile-toggle .g365-bar {
  display: block;
  width: 100%;
  height: 2.5px;
  background: #FFFFFF;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.g365-mobile-toggle.is-open .g365-bar:nth-child(1) {
  transform: translateY(8.5px) rotate(45deg);
}

.g365-mobile-toggle.is-open .g365-bar:nth-child(2) {
  opacity: 0;
}

.g365-mobile-toggle.is-open .g365-bar:nth-child(3) {
  transform: translateY(-8.5px) rotate(-45deg);
}

.g365-mobile-drawer {
  display: none !important;
  position: fixed;
  top: 72px;
  left: 0;
  width: 100%;
  background: #080B11;
  border-bottom: 2px solid #F5A800;
  padding: 24px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
  transform: translateY(-10px);
  opacity: 0;
  transition: all 0.25s ease;
  pointer-events: none;
}

.g365-mobile-drawer.is-active {
  display: block !important;
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.g365-mobile-nav-list {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 0 20px 0 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 16px;
}

.g365-mobile-nav-list a {
  color: #FFFFFF !important;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none !important;
  display: block;
  padding: 6px 0;
}

.g365-mobile-nav-list a.is-active,
.g365-mobile-nav-list a:hover {
  color: #F5A800 !important;
}

.g365-mobile-btn {
  width: 100%;
  text-align: center;
  padding: 14px 20px;
}

@media (max-width: 991px) {
  .g365-desktop-nav { display: none !important; }
  .g365-mobile-toggle { display: flex !important; margin-left: 16px; }
  .g365-header-cta-wrap { margin-left: auto; }
  .g365-header-cta-btn { font-size: 12px; padding: 10px 18px; }
}

@media (max-width: 540px) {
  .g365-header-hook { height: 64px; }
  .g365-logo-badge { font-size: 26px; }
  .g365-header-cta-btn { display: none !important; }
  .g365-mobile-drawer { top: 64px; }
}

/* ==============================================================================
   3. FOOTER STYLES (TELEGRAM EXCLUDED)
   ============================================================================== */
.g365-footer-hook {
  background-color: var(--g365-bg-footer) !important;
  color: #E2E8F0;
  border-top: 1px solid var(--g365-border-dark);
  position: relative;
  width: 100%;
}

.g365-ft-main-wrap { padding: 64px 0 48px 0; }

.g365-ft-container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 24px;
}

.g365-ft-grid {
  display: grid;
  grid-template-columns: 2.2fr 1.2fr 1.2fr 1.2fr;
  gap: 48px;
}

.g365-ft-brand-col { display: flex; flex-direction: column; }

.g365-ft-bio {
  color: #94A3B8;
  font-size: 14.5px;
  line-height: 1.7;
  margin: 20px 0 24px 0;
  max-width: 440px;
}

.g365-ft-bio strong { color: #FFFFFF; font-weight: 600; }

.g365-ft-support-chips { display: flex; flex-wrap: wrap; gap: 12px; }

.g365-support-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #F8FAFC !important;
  padding: 10px 18px;
  border-radius: 8px;
  font-size: 13.5px;
  font-weight: 600;
  text-decoration: none !important;
  transition: all 0.25s ease;
}

.g365-support-chip:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #F5A800;
  color: #F5A800 !important;
  transform: translateY(-2px);
}

.g365-ft-col { display: flex; flex-direction: column; }

.g365-ft-col-title {
  color: #FFFFFF;
  font-size: 17px;
  font-weight: 700;
  margin: 0 0 20px 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.g365-title-line {
  display: block;
  width: 32px;
  height: 2.5px;
  background-color: #F5A800;
  border-radius: 2px;
}

.g365-ft-nav-list {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.g365-ft-nav-list a {
  color: #94A3B8 !important;
  font-size: 14px;
  line-height: 1.4;
  text-decoration: none !important;
  display: inline-flex;
  align-items: center;
  transition: all 0.2s ease;
}

.g365-ft-nav-list a::before {
  content: '›';
  color: #F5A800;
  font-size: 16px;
  font-weight: 700;
  margin-right: 8px;
  opacity: 0.8;
}

.g365-ft-nav-list a:hover {
  color: #FFFFFF !important;
  transform: translateX(3px);
}

.g365-ft-seo-matrix {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 24px 0;
  background: rgba(0, 0, 0, 0.3);
}

.g365-seo-pills-wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.g365-seo-tag-head {
  color: #F5A800;
  font-size: 12.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-right: 6px;
}

.g365-seo-pill {
  color: #64748B !important;
  font-size: 12px;
  background: rgba(255, 255, 255, 0.03);
  padding: 4px 10px;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  text-decoration: none !important;
  transition: all 0.2s ease;
}

.g365-seo-pill:hover {
  color: #E2E8F0 !important;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(245, 168, 0, 0.4);
}

.g365-ft-bottom-bar {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 20px 0;
  font-size: 13px;
  color: #64748B;
}

.g365-ft-bottom-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.g365-ft-copyright strong { color: #CBD5E1; }
.g365-ft-copyright a { color: #F5A800 !important; text-decoration: none; }
.g365-ft-disclaimer { margin: 0; font-size: 12px; color: #94A3B8; }

@media (max-width: 1100px) {
  .g365-ft-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}

@media (max-width: 680px) {
  .g365-ft-main-wrap { padding: 48px 0 36px 0; }
  .g365-ft-grid { grid-template-columns: 1fr; gap: 36px; }
  .g365-ft-bottom-flex { flex-direction: column; text-align: center; }
}

/* ==============================================================================
   4. AUTH CARDS (LOGIN & REGISTRATION)
   ============================================================================== */
.g365-auth-hook-wrapper {
  width: 100%;
  min-height: 480px;
  background-color: var(--g365-bg-page);
  padding: 50px 16px;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.g365-auth-canvas-inner {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
}

.g365-auth-card {
  width: 100%;
  max-width: 380px;
  background: var(--g365-card-bg) !important;
  border-radius: 14px;
  box-shadow: var(--g365-card-shadow);
  padding: 34px 28px 24px 28px;
  text-align: center;
  position: relative;
}

.g365-reg-card { max-width: 400px; }

.g365-auth-title {
  font-family: var(--g365-font-main);
  font-size: 24px !important;
  font-weight: 700 !important;
  color: var(--g365-card-text) !important;
  -webkit-text-fill-color: var(--g365-card-text) !important;
  margin: 0 0 20px 0 !important;
  line-height: 1.25 !important;
  text-align: center;
}

.g365-auth-form {
  display: flex !important;
  flex-direction: column !important;
  gap: 13px !important;
  margin: 0 !important;
}

.g365-form-control {
  width: 100% !important;
  height: 44px !important;
  padding: 10px 14px !important;
  background: #FFFFFF !important;
  color: #111827 !important;
  -webkit-text-fill-color: #111827 !important;
  border: 1.5px solid var(--g365-card-border) !important;
  border-radius: 6px !important;
  font-size: 14px !important;
  outline: none !important;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.g365-form-control::placeholder { color: #94A3B8 !important; }

.g365-form-control:focus {
  border-color: #3B82F6 !important;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15) !important;
}

.g365-btn-auth-primary {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  height: 42px !important;
  background: #000000 !important;
  color: #FFFFFF !important;
  -webkit-text-fill-color: #FFFFFF !important;
  border: none !important;
  border-radius: 6px !important;
  font-size: 13.5px !important;
  font-weight: 700 !important;
  letter-spacing: 0.8px !important;
  text-transform: uppercase !important;
  cursor: pointer !important;
  transition: background 0.2s ease, transform 0.15s ease;
}

.g365-btn-auth-primary:hover {
  background: #1F2937 !important;
  transform: translateY(-1px);
}

.g365-btn-auth-secondary {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  height: 38px !important;
  background: #71717A !important;
  color: #FFFFFF !important;
  -webkit-text-fill-color: #FFFFFF !important;
  border: none !important;
  border-radius: 6px !important;
  font-size: 12.5px !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  transition: background 0.2s ease;
}

.g365-btn-auth-secondary:hover { background: #52525B !important; color: #FFFFFF !important; }

.g365-fast-wa-banner {
  background: #ECFDF5;
  border: 1.5px solid #86EFAC;
  border-radius: 8px;
  padding: 8px 12px;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 8px;
  margin-bottom: 16px;
}

.g365-fast-wa-text {
  font-size: 12px;
  font-weight: 600;
  color: #166534 !important;
  display: flex !important;
  align-items: center !important;
  gap: 4px;
}

.g365-bolt { color: #F59E0B; font-size: 14px; }

.g365-fast-wa-btn {
  background: #10B981 !important;
  color: #FFFFFF !important;
  font-size: 11.5px !important;
  font-weight: 700 !important;
  padding: 6px 12px !important;
  border-radius: 5px !important;
  text-decoration: none !important;
}

.g365-terms-checkbox-wrap { text-align: left; margin: 2px 0 4px 2px; }

.g365-checkbox-label {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px;
  font-size: 12px;
  color: #334155 !important;
  cursor: pointer;
}

.g365-auth-meta-nav { margin-top: 16px; font-size: 13px; }
.g365-reg-prompt { color: #334155 !important; margin: 0 !important; }
.g365-link-highlight, .g365-link-blue {
  color: #2563EB !important;
  font-weight: 600 !important;
  text-decoration: underline !important;
}

.g365-recaptcha-notice {
  font-size: 10.5px;
  color: #64748B !important;
  line-height: 1.45;
  margin: 14px 0 0 0;
}

.g365-recaptcha-notice a { color: #2563EB !important; text-decoration: underline !important; }
.g365-auth-copyright { font-size: 11.5px; color: #64748B !important; margin-top: 12px; }
