:root {
  --primary-color: #ff4757;
  --secondary-color: #2f3542;
  --background-color: #f1f2f6;
  --card-bg: #ffffff;
  --text-color: #2f3542;
  --accent-color: #ffa502;
  --glow-shadow: 0 0 15px rgba(255, 71, 87, 0.4);
  --soft-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

@layer base, components, utilities;

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

  body {
    font-family: 'Pretendard', sans-serif;
    background-color: var(--background-color);
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3%3Ffilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.05'/%3E%3C/svg%3E");
    color: var(--text-color);
    line-height: 1.6;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
  }

  .container {
    max-width: 600px;
    width: 100%;
    text-align: center;
  }

  header h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
  }

  header p {
    font-size: 1.1rem;
    color: #57606f;
    margin-bottom: 2rem;
  }

  footer {
    margin-top: 2rem;
    font-size: 0.9rem;
    color: #a4b0be;
  }
}

@layer components {
  /* food-recommender custom element styles will be handled in the component for shadow DOM, 
     but we can define global variables or shared styles if needed. */
}
