/*
Theme Name: Tappix Aura
Theme URI: https://app.auraxtal.com
Author: WordPress Expert
Author URI: https://app.auraxtal.com
Description: "The Celestial Archive" design system for WordPress. A dark, mystical theme with cosmic elements and quantum resonance aesthetic.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: tappix-aura
Template: storefront
*/

/* ============================================
   THE CELESTIAL ARCHIVE DESIGN SYSTEM
   ============================================ */

/* CSS Variables - Cosmic Spectrum */
:root {
  /* Core Depths */
  --aurora-deep: #131313;
  --aurora-container: #1f1f1f;
  --aurora-deepest: #0e0e0e;
  
  /* The Glow (Accents) */
  --primary: #ffb596;
  --primary-container: #c98060;
  --secondary: #ffb2b6;
  --secondary-container: #8e0d2a;
  
  /* Neutral Tones */
  --on-surface: #e2e2e2;
  --on-primary: #532209;
  --outline-variant: #53433d;
  
  /* Typography */
  --font-heading: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;
}

/* ============================================
   RESET & BASE STYLES
   ============================================ */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: var(--aurora-deep);
  color: var(--on-surface);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
}

body,
p,
li,
address,
small {
  font-family: var(--font-body);
}

/* ============================================
   MAIN LAYOUT
   ============================================ */

.site-main {
  margin-top: 80px;
}

/* ============================================
   NAVIGATION
   ============================================ */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(19, 19, 19, 0.6);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 181, 150, 0.1);
  padding: 1rem 2rem;
  height: 80px;
  display: flex;
  align-items: center;
}

.site-header .container {
  max-width: 1280px;
  margin: 0 auto;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.site-header .header-flex {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.site-header .site-branding {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.5rem;
  text-transform: uppercase;
  letter-spacing: -0.05em;
}

.site-header .site-branding a {
  color: var(--primary);
  text-decoration: none;
  text-shadow: 0 0 8px rgba(255, 181, 150, 0.4);
}

.site-header .main-navigation ul {
  list-style: none;
  display: flex;
  gap: 2rem;
}

.site-header .main-navigation a {
  color: var(--on-surface);
  text-decoration: none;
  font-family: var(--font-heading);
  text-transform: uppercase;
  font-size: 0.875rem;
  letter-spacing: 0.05em;
  padding: 0.5rem;
  transition: color 0.3s;
}

.site-header .main-navigation a:hover,
.site-header .main-navigation a.current-menu-item {
  color: var(--primary);
}

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

/* ============================================
   GLASS CARDS & EFFECTS
   ============================================ */

.glass-card {
  background: rgba(53, 53, 53, 0.6);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero-section {
  position: relative;
  min-height: 921px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8rem 2rem 4rem;
  overflow: hidden;
}

.hero-bg-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 800px;
  background: var(--primary);
  opacity: 0.1;
  border-radius: 50%;
  filter: blur(120px);
}

.hero-bg-secondary {
  position: absolute;
  top: 25%;
  right: 0;
  width: 400px;
  height: 400px;
  background: var(--secondary);
  opacity: 0.1;
  border-radius: 50%;
  filter: blur(100px);
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 80rem;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 768px) {
  .hero-content {
    grid-template-columns: 1fr 1fr;
  }
}

.hero-content-left {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.hero-protocol {
  display: inline-block;
  padding: 0.4rem 1rem;
  border: 1px solid rgba(255, 181, 150, 0.3);
  background: rgba(255, 181, 150, 0.05);
  color: var(--primary);
  font-family: var(--font-heading);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.hero-title {
  font-size: 4rem;
  line-height: 1;
  letter-spacing: -0.05em;
  font-weight: 800;
}

.hero-title span {
  background: linear-gradient(to right, var(--primary), var(--primary-container), var(--secondary));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-description {
  color: var(--on-surface);
  font-size: 1.125rem;
  line-height: 1.6;
  max-width: 32rem;
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .hero-buttons {
    flex-direction: row;
  }
}

.btn-primary {
  display: inline-block;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-container) 100%);
  color: var(--on-primary);
  text-decoration: none;
  padding: 0.75rem 2rem;
  border-radius: 0.5rem;
  font-weight: 700;
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: all 0.3s;
  box-shadow: 0 10px 30px rgba(201, 128, 96, 0.3);
  text-align: center;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 35px rgba(201, 128, 96, 0.4);
}

.btn-secondary {
  display: inline-block;
  background: rgba(35, 35, 35, 0.5);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(160, 141, 133, 0.3);
  color: var(--primary);
  text-decoration: none;
  padding: 0.75rem 2rem;
  border-radius: 0.5rem;
  font-weight: 700;
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: all 0.3s;
  text-align: center;
}

.btn-secondary:hover {
  background: rgba(53, 53, 53, 0.8);
}

.hero-image {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-image img {
  max-width: 100%;
  height: auto;
  display: block;
  drop-shadow: 0 0 50px rgba(255, 181, 150, 0.4);
}

.hero-meta-tag {
  position: absolute;
  top: 10px;
  right: 0;
  padding: 0.75rem;
  border: 1px solid rgba(255, 181, 150, 0.2);
  border-radius: 0.5rem;
}

.hero-meta-tag .meta-label {
  font-size: 0.75rem;
  color: var(--primary);
  font-family: var(--font-heading);
  text-transform: uppercase;
}

.hero-meta-tag .meta-value {
  font-size: 1.25rem;
  font-weight: 700;
  font-family: var(--font-heading);
}

/* ============================================
   AURA DIVIDER
   ============================================ */

.aura-divider {
  height: 1px;
  width: 100%;
  max-width: 64rem;
  margin: 3rem auto;
  background: linear-gradient(to right, transparent, rgba(255, 178, 182, 0.3), transparent);
}

/* ============================================
   COLLECTIONS SECTION
   ============================================ */

.collections-section {
  padding: 8rem 2rem;
  max-width: 80rem;
  margin: 0 auto;
}

.collections-header {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 1rem;
  margin-bottom: 3rem;
}

.collections-title {
  font-size: 3rem;
  line-height: 1;
  letter-spacing: -0.05em;
  font-weight: 800;
}

.collections-subtitle {
  font-family: var(--font-heading);
  font-size: 0.875rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--on-surface);
}

.btn-link {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  color: var(--primary);
  text-decoration: none;
  font-family: var(--font-heading);
  text-transform: uppercase;
  font-size: 0.875rem;
  letter-spacing: 0.05em;
  transition: transform 0.3s;
}

.btn-link:hover {
  transform: translateX(4px);
}

.collections-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.5rem;
}

.collection-item {
  position: relative;
  overflow: hidden;
  background: var(--aurora-container);
  border: 1px solid rgba(160, 141, 133, 0.1);
  border-radius: 0.5rem;
  transition: all 0.7s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  grid-column: span 12;
}

@media (min-width: 768px) {
  .collection-item:nth-child(1) { grid-column: span 8; }
  .collection-item:nth-child(2) { grid-column: span 4; }
  .collection-item:nth-child(3) { grid-column: span 4; }
  .collection-item:nth-child(4) { grid-column: span 8; }
}

.collection-item:hover {
  transform: scale(1.02);
}

.collection-item img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s;
}

.collection-item:hover img {
  transform: scale(1.1);
  opacity: 0.4;
}

.collection-content {
  position: absolute;
  bottom: 0;
  left: 0;
  padding: 2.5rem;
  z-index: 5;
}

.collection-rare {
  background: var(--secondary-container);
  color: var(--on-secondary-container);
  padding: 0.4rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  display: inline-block;
  margin-bottom: 1rem;
}

.collection-title {
  font-size: 2rem;
  font-weight: 700;
  margin: 0.75rem 0;
  color: var(--on-surface);
}

.collection-desc {
  color: var(--on-surface);
  font-size: 1rem;
  max-width: 24rem;
  margin-bottom: 1rem;
  line-height: 1.6;
}

/* ============================================
   INSIGHTS SECTION
   ============================================ */

.insights-section {
  padding: 8rem 2rem;
  background: var(--aurora-deepest);
  position: relative;
}

.insights-content {
  max-width: 80rem;
  margin: 0 auto 6rem;
  text-align: center;
}

.insights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 80rem;
  margin: 0 auto;
}

.insight-card {
  background: rgba(53, 53, 53, 0.6);
  backdrop-filter: blur(20px);
  padding: 2rem;
  border: 1px solid rgba(160, 141, 133, 0.1);
  border-radius: 0.5rem;
}

.insight-icon {
  width: 3rem;
  height: 3rem;
  background: var(--aurora-container);
  border: 1px solid rgba(255, 181, 150, 0.2);
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.insight-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
  font-family: var(--font-heading);
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.insight-desc {
  color: var(--on-surface);
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

/* ============================================
   FOOTER
   ============================================ */

.site-footer {
  border-top: 1px solid rgba(160, 141, 133, 0.1);
  padding: 5rem 2rem;
  background: rgba(19, 19, 19, 0.8);
  backdrop-filter: blur(20px);
}

.site-footer .container {
  max-width: 80rem;
  margin: 0 auto;
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
  margin-bottom: 5rem;
}

.footer-brand h3 {
  font-size: 2rem;
  font-weight: 800;
  font-family: var(--font-heading);
  color: var(--primary);
  letter-spacing: -0.05em;
  margin-bottom: 1rem;
}

.footer-links h4 {
  font-size: 0.75rem;
  font-family: var(--font-heading);
  color: var(--primary);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

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

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

.footer-links a {
  color: var(--on-surface);
  text-decoration: none;
  font-size: 1rem;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: var(--primary);
}

.footer-legal {
  text-align: center;
  padding-top: 3rem;
  border-top: 1px solid rgba(160, 141, 133, 0.1);
}

.footer-legal .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.system-status {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 1rem;
}

.system-stat {
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(226, 226, 226, 0.6);
}

/* ============================================
   WOOCOMMERCE
   ============================================ */

.woocommerce .products .product {
  background: var(--aurora-container);
  border: 1px solid rgba(160, 141, 133, 0.1);
  border-radius: 0.5rem;
  transition: all 0.3s;
}

.woocommerce .products .product:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.woocommerce a.button {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-container) 100%);
  color: var(--on-primary);
  border: none;
  border-radius: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

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

@media (max-width: 768px) {
  .site-header {
    padding: 1rem;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .collections-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .collection-item { grid-column: span 2 !important; }

  .insights-grid {
    grid-template-columns: 1fr;
  }

  .footer-content {
    grid-template-columns: 1fr;
  }
}
