/* ==========================================================================
   1. VARIABLES & DESIGN TOKENS
   ========================================================================== */
:root {
  /* Colors */
  --clr-bg: #000000;           /* Pitch Black background */
  --clr-surface: #121212;      /* Deep Charcoal for cards/containers */
  --clr-border: #2d2d2d;       /* Dark gray for subtle dividers */
  
  --clr-primary: #b388ff;      /* Bright Pastel Violet (Passes 4.5:1 against #000000) */
  --clr-secondary: #69f0ae;    /* Vibrant Mint Green for contrast/accents */
  
  --clr-text: #f3f4f6;         /* Off-White for high-readability body text */
  --clr-text-light: #9ca3af;   /* Muted Gray for captions and secondary text */
}


  /* Typography */
  --ff-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --ff-mono: SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  
  /* Layout & Spacing */
  --max-width: 1200px;
  --radius: 6px;
  --transition: all 0.2s ease-in-out;
}

/* ==========================================================================
   2. MODERN CSS RESET
   ========================================================================== */
/* Box sizing rules */
*, *::before, *::after {
  box-sizing: border-box;
}

/* Remove default margins and paddings */
body, h1, h2, h3, h4, p, figure, blockquote, dl, dd {
  margin: 0;
  padding: 0;
}

/* Set core root defaults */
html {
  scroll-behavior: smooth;
}

/* Set core body defaults */
body {
  min-height: 100vh;
  text-rendering: optimizeSpeed;
  line-height: 1.6;
  font-family: var(--ff-sans);
  color: var(--ff-text);
  background-color: var(--clr-bg);
  -webkit-font-smoothing: antialiased;
}

/* Inherit fonts for inputs and buttons */
input, button, textarea, select {
  font: inherit;
}

/* Make images easier to work with */
img, picture {
  max-width: 100%;
  display: block;
}

/* ==========================================================================
   3. BASE TYPOGRAPHY
   ========================================================================== */
h1, h2, h3, h4 {
  color: var(--clr-secondary);
  line-height: 1.2;
  font-weight: 700;
  margin-bottom: 1rem;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; margin-top: 2rem; }
h3 { font-size: 1.5rem; margin-top: 1.5rem; }

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

a {
  color: var(--clr-primary);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

code {
  font-family: var(--ff-mono);
  background: var(--clr-border);
  padding: 0.2rem 0.4rem;
  border-radius: 4px;
  font-size: 0.9em;
}

/* ==========================================================================
   4. LAYOUT COMPONENTS
   ========================================================================== */
.container {
  width: 90%;
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: 1rem;
}

.instax-frame {
  display: inline-block;
  width: 250px; 
  
  padding: 12px 12px 40px 12px; 
  background-color: #fbfbfb;    
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  border-radius: 2px;
  box-sizing: border-box;
  transform: rotate(-3deg);
  transition: transform 0.2s ease;
}

.instax-frame img {
  display: block;
  width: 100%; 
  height: auto;
}

.instax-frame:hover {
  transform: rotate(0deg) scale(1.02);
}


/* ==========================================================================
   5. BASIC INTERACTIVE ELEMENTS (Buttons & Forms)
   ========================================================================== */
.btn {
  display: inline-block;
  cursor: pointer;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: var(--radius);
  background-color: var(--clr-primary);
  color: white;
  font-weight: 600;
  text-align: center;
  transition: var(--transition);
}

.btn:hover {
  background-color: #0052a3;
  text-decoration: none;
}

input[type="text"],
input[type="email"],
textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--clr-border);
  border-radius: var(--radius);
  background-color: var(--clr-surface);
  margin-bottom: 1rem;
  transition: var(--transition);
}

input:focus,
textarea:focus {
  outline: 2px solid var(--clr-primary);
  outline-offset: -1px;
}

/* ==========================================================================
   6. UTILITY CLASSES
   ========================================================================== */
.text-center { text-align: center; }
.text-muted { color: var(--clr-text-light); }
.mt-4 { margin-top: 2rem; }
.mb-4 { margin-bottom: 2rem; }

