/*
Theme Name: OneKash Landing
Theme URI: https://github.com/AsOne08/1Kash-Landing-page
Author: OneKash
Description: One-page landing theme powered by the compiled OneKash Vite build (globe, dot grid, carousel, theme toggle).
Version: 1.0.1
License: GPL-2.0-or-later
Text Domain: onekash-landing
*/

/* This file keeps the required theme header. Primary styling lives in assets/index-*.css produced by the build. */

/* OneKash Privacy page custom classes */

.gradient-bg {
    background:
        radial-gradient(circle at top left, #162447 0, #050914 45%),
        radial-gradient(circle at bottom right, #0b1220 0, #050914 55%);
}

.glass-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.07);
    backdrop-filter: blur(18px);
}
/* Fix for Vite reset overriding page backgrounds */
.gradient-bg { background: radial-gradient(circle at top left, #162447 0, #050914 45%), radial-gradient(circle at bottom right, #0b1220 0, #050914 55%) !important; }

.glass-card {
    background: rgba(255, 255, 255, 0.04) !important;
    border: 1px solid rgba(255, 255, 255, 0.07) !important;
    backdrop-filter: blur(18px) !important;
}
/* Landing background override (keep animations, adjust base backdrop + centered glow) */
body,
.page-shell,
.page {
  background: #050914 !important;
}

.bg-layer::before {
  background: radial-gradient(circle at 50% 40%, #162447 0%, #050914 55%) !important;
  opacity: 0.9 !important;
}

/* Light mode text overrides for hero/register */
body:not(.dark) .hero .leading-relaxed {
  color: #3366FF !important;
}
body:not(.dark) .register .text-base {
  color: #3366FF !important;
}

/* Logo and globe sizing for above-the-fold fit */
.hero img {
  max-height: clamp(140px, 25vw, 220px);
  width: auto !important;
}
.hero .globe {
  height: clamp(260px, 40vw, 420px) !important;
}

/* Logo resizing */
img[src*="logo"], img[src*="LOGO"], img[src*="SECONDARY-LOGO"] {
  max-width: 180px !important;
  height: auto !important;
}

/* Mobile responsiveness */
@media (max-width: 600px) {
  img[src*="logo"], img[src*="LOGO"], img[src*="SECONDARY-LOGO"] {
    max-width: 140px !important;
  }
}

/* Remove glow */
.logo, img[src*="logo"], img[src*="LOGO"], img[src*="SECONDARY-LOGO"], .hero {
  filter: none !important;
  box-shadow: none !important;
  text-shadow: none !important;
}

/* Light theme text fix */
.light-theme h2, 
.light-theme p,
.light-theme .hero-text {
  color: #111 !important;
}
/* Fix hero text color in LIGHT MODE ONLY */
:root:not(.dark) .text-lg.mx-auto.max-w-2xl,
:root:not(.dark) .text-base.mx-auto.max-w-2xl {
    color: #111 !important;
    text-shadow: none !important; /* remove glow */
}
