/* ==========================================================================
   ASIL STUDIOS — MAIN STYLESHEET
   Modern Dark Gaming & Mobile App Studio
   ========================================================================== */

:root {
  /* Core Dark Gaming Palette */
  --color-bg-primary: #0a0a0f;
  --color-bg-secondary: #12121c;
  --color-bg-tertiary: #1a1a2b;
  --color-bg-card: rgba(22, 22, 36, 0.75);
  --color-bg-glass: rgba(255, 255, 255, 0.04);
  --color-border-glass: rgba(255, 255, 255, 0.08);
  --color-border-active: rgba(108, 92, 231, 0.4);

  /* Neon Gaming Accents */
  --color-accent-primary: #6c5ce7;     /* Cyber Purple */
  --color-accent-secondary: #00cec9;   /* Neon Cyan */
  --color-accent-pink: #fd79a8;        /* Neon Pink */
  --color-accent-gradient: linear-gradient(135deg, #6c5ce7 0%, #00cec9 100%);
  --color-accent-glow: rgba(108, 92, 231, 0.35);
  --color-cyan-glow: rgba(0, 206, 201, 0.35);

  /* Typography Colors */
  --color-text-primary: #f1f2f6;
  --color-text-secondary: #a4b0be;
  --color-text-muted: #747d8c;

  /* Status Colors */
  --color-success: #00b894;
  --color-warning: #fdcb6e;
  --color-error: #ff7675;

  /* Typography Fonts */
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Layout & Spacing */
  --container-max-width: 1240px;
  --header-height: 80px;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-card: 0 12px 32px 0 rgba(0, 0, 0, 0.45);
  --shadow-glow: 0 0 25px var(--color-accent-glow);
  --shadow-cyan: 0 0 25px var(--color-cyan-glow);
  --transition-normal: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Base Reset & Box Sizing */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  background-color: var(--color-bg-primary);
  color: var(--color-text-primary);
}

body {
  font-family: var(--font-body);
  line-height: 1.65;
  background: var(--color-bg-primary);
  background-image: 
    radial-gradient(circle at 15% 15%, rgba(108, 92, 231, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 85% 85%, rgba(0, 206, 201, 0.06) 0%, transparent 40%);
  background-attachment: fixed;
  color: var(--color-text-primary);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Typography Defaults */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--color-text-primary);
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
h3 { font-size: clamp(1.4rem, 2.5vw, 1.8rem); }
h4 { font-size: 1.25rem; }

p {
  margin-bottom: 1.25rem;
  color: var(--color-text-secondary);
}

a {
  color: var(--color-accent-secondary);
  text-decoration: none;
  transition: var(--transition-normal);
}

a:hover {
  color: #fff;
}

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

/* Container */
.asil-container {
  width: 100%;
  max-width: var(--container-max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

/* Section Header Styling */
.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3.5rem auto;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  background: rgba(108, 92, 231, 0.12);
  border: 1px solid rgba(108, 92, 231, 0.3);
  color: var(--color-accent-secondary);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
}

.section-title {
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--color-text-secondary);
}

.gradient-text {
  background: var(--color-accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Header & Sticky Nav */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 1000;
  background: rgba(10, 10, 15, 0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--color-border-glass);
  transition: var(--transition-normal);
}

.site-header.scrolled {
  background: rgba(10, 10, 15, 0.95);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  border-bottom-color: rgba(108, 92, 231, 0.2);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.site-branding {
  display: flex;
  align-items: center;
  gap: 12px;
}

.site-logo-text {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 8px;
}

.site-logo-text .logo-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--color-accent-secondary);
  box-shadow: 0 0 10px var(--color-accent-secondary);
}

/* Primary Navigation */
.main-navigation ul {
  display: flex;
  list-style: none;
  gap: 2rem;
  align-items: center;
}

.main-navigation a {
  color: var(--color-text-secondary);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 8px 0;
  position: relative;
}

.main-navigation a:hover,
.main-navigation .current-menu-item > a {
  color: #fff;
}

.main-navigation a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-accent-gradient);
  transition: var(--transition-normal);
  border-radius: 2px;
}

.main-navigation a:hover::after,
.main-navigation .current-menu-item > a::after {
  width: 100%;
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Mobile Toggle */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: 1px solid var(--color-border-glass);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  color: #fff;
  cursor: pointer;
  font-size: 1.25rem;
}

/* Footer Styles */
.site-footer {
  background: var(--color-bg-secondary);
  border-top: 1px solid var(--color-border-glass);
  margin-top: auto;
  padding-top: 5rem;
  padding-bottom: 2rem;
  position: relative;
  overflow: hidden;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-accent-primary), var(--color-accent-secondary), transparent);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

.footer-widget-title {
  font-size: 1.15rem;
  color: #fff;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-widget-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--color-accent-primary);
}

.footer-widget ul {
  list-style: none;
}

.footer-widget li {
  margin-bottom: 0.75rem;
}

.footer-widget a {
  color: var(--color-text-secondary);
}

.footer-widget a:hover {
  color: #fff;
  padding-left: 4px;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 2rem;
  border-top: 1px solid var(--color-border-glass);
  font-size: 0.88rem;
  color: var(--color-text-muted);
}

.social-links-wrap {
  display: flex;
  gap: 12px;
}

.social-link-item {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--color-bg-glass);
  border: 1px solid var(--color-border-glass);
  color: var(--color-text-secondary);
  transition: var(--transition-normal);
}

.social-link-item:hover {
  background: var(--color-accent-primary);
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 4px 15px var(--color-accent-glow);
}
