/*
Theme Name: Grok Image Generator
Theme URI: https://klifgen.app
Author: Klifgen
Author URI: https://klifgen.app
Description: A professional AI image generation tool powered by Grok AI. Dark, stunning interface for creating stunning AI images with advanced controls.
Version: 2.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: grok-image-generator
Tags: dark, ai, image-generator, custom-background, full-width-template
*/

/* ============================================
   DESIGN TOKENS
   ============================================ */
:root {
  --bg-base: #0A0A0F;
  --bg-surface: #111118;
  --bg-elevated: #16161F;
  --bg-card: rgba(22, 22, 31, 0.85);

  --accent-primary: #7C3AED;
  --accent-bright: #8B5CF6;
  --accent-light: #A78BFA;
  --accent-glow: rgba(124, 58, 237, 0.35);
  --accent-deep: #1E1B4B;

  --text-primary: #F8F7FF;
  --text-secondary: #A9A8C0;
  --text-muted: #5C5C7A;
  --text-label: #C4B5FD;

  --border-subtle: rgba(124, 58, 237, 0.15);
  --border-active: rgba(124, 58, 237, 0.5);
  --border-card: rgba(255, 255, 255, 0.06);

  --success: #10B981;
  --error: #EF4444;
  --warning: #F59E0B;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  --shadow-card: 0 24px 64px rgba(0,0,0,0.6), 0 4px 16px rgba(0,0,0,0.4);
  --shadow-glow: 0 0 40px rgba(124, 58, 237, 0.2);
  --shadow-button: 0 8px 24px rgba(124, 58, 237, 0.4);

  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;

  --transition-fast: 0.15s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============================================
   RESET & BASE
   ============================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  background-color: var(--bg-base);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body::before {
  content: '';
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(124, 58, 237, 0.12) 0%, transparent 60%),
    radial-gradient(ellipse 40% 30% at 80% 80%, rgba(124, 58, 237, 0.06) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--accent-light);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--text-primary);
}

/* ============================================
   TYPOGRAPHY
   ============================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-primary);
}

/* ============================================
   LAYOUT WRAPPER
   ============================================ */
.site-wrapper {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.site-main {
  flex: 1;
}

/* ============================================
   ADMIN BAR COMPENSATION
   ============================================ */
.admin-bar .site-header {
  top: 32px;
}

@media (max-width: 782px) {
  .admin-bar .site-header {
    top: 46px;
  }
}
