@charset "UTF-8";
/* CSS Document */

:root {
    --font-main: 'Inter', sans-serif;
    --bg-overlay: rgba(0, 0, 0, 0.4);
    --capsule-bg: rgba(255, 255, 255, 0.85);
    --capsule-border: rgba(255, 255, 255, 0.4);
    --text-color: #86868b;
    --placeholder-color: #86868b;
    --icon-color: #86868b;
    --button-hover: rgba(0, 0, 0, 0.05);
    /* Dimensions */
    --capsule-width: 540px;
    --capsule-padding: 14px;
    --input-height: 44px;
    --button-size: 44px;
    --button-gap: 12px;
}

#cursorWrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100px;
  height: 100px;
  pointer-events: none; /* Prevents cursor skin from blocking mouse events below */
  z-index: 9999;
  opacity: 0;
  will-change: transform; /* Requests isolated GPU memory chunk ahead of time */
  backface-visibility: hidden; /* Enforces composite layer promotion */
  transition: opacity 0.15s ease-out; /* Keeps activation/deactivation clean */
}

#cursorCircleLayer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  will-change: transform;
  backface-visibility: hidden;
}


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

p {
	vertical-align: middle;
}

body {
    font-family: var(--font-main);
    /* Abstract background to demonstrate translucency */
    background: linear-gradient(135deg, #eeebe5 0%, #a9a9a9 100%);
	/*linear-gradient(135deg, #667eea 0%, #764ba2 100%)*/
	/*linear-gradient(to right, #d3d3d3, #a9a9a9);*/
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
	 margin: 0;
  min-height: 100vh;
  
  /* 1. Base background: Soft neutral gray */
  background-color: #f5f5f5; 
  
  /* 2. Overlaid squares: Barely visible dark tint */
  background-image: conic-gradient(
    rgba(0, 0, 0, 0.03) 0.25turn, 
    transparent 0.25turn 0.5turn, 
    rgba(0, 0, 0, 0.03) 0.5turn 0.75turn, 
    transparent 0.75turn
  );
  
  background-size: 24px 24px;
  background-attachment: fixed;

}

/* Main Capsule Container */ 
.spotlight-container { 
  width: var(--capsule-width); 
  background-color: var(--capsule-bg); 
  backdrop-filter: blur(60px); 
  -webkit-backdrop-filter: blur(60px); 
  border: 1px solid var(--capsule-border); 
  border-radius: 24px; 
  box-shadow: 1 3px 1px rgba(0, 0, 0, 0.2), 0 0 0 1px rgba(155, 155, 155, 0.1) inset; 
  padding: var(--capsule-padding); 
  display: flex; 
  flex-direction: column; 
  gap: 8px; 
  position: relative; 
  overflow: hidden; 
	  transition: filter 2s cubic-bezier(0.1, .1, 0.1, .5);
  will-change: filter;
}



.spotlight-container:hover {
  filter: drop-shadow(0 0 35px rgba(0, 0, 0, 0.25)) 
          drop-shadow(0 0 65px rgba(255, 255, 255, 0.35));
}

/* Search Input Section */
.search-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    height: var(--input-height);
	background-color: rgba(200, 200, 200, 0.2);
	    transition: background-color 0.2s ease;
		margin-top: 20px;	
	border-bottom-left-radius: 8px;
	border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    border-bottom-right-radius: 12px;
}

.search-icon {
    position: relative;
    display: flex 1;
    align-items: center;
    width: 18px;
    height: 18px;
    color: var(--icon-color);
    pointer-events: none;
}

.search-btn { 
  width: 25%; 
  height: var(--button-size); 
  border: 0; 
  border-top-right-radius: 8px !important; 
  border-bottom-right-radius: 12px !important; 
  background-color: rgba(255, 255, 255, .6); 
  transition: background-color 0.2s ease; 
  font-family: 'Inter', sans-serif; 
  font-size: .7rem; 
  color: var(--text-color); 
} 

.search-btn:hover { 
  background-color: rgba(700, 700, 700, 0.2); 
  transition: background-color 0.2s ease; 
  border-top-right-radius: 8px !important; 
  border-bottom-right-radius: 12px !important; 
}

.search-input {
    width: 100%;
    height: 100%;
    border: none;
    background: rgba(200, 200, 200, 0.2);
    font-family: var(--font-main);
    font-size: 17px;
    font-weight: 400;
    color: var(--text-color);
    padding-left: 8px; /* Space for icon */
    outline: none;	border-bottom-left-radius: 12px;
	border-top-left-radius: 4px;
}

.search-input::placeholder, #promptInput {
    color: var(--placeholder-color);
    font-weight: 400;
	text-align: left;
}


/* Action Buttons Row */
.actions-row {
    display: flex;
    justify-content: left;
    gap: var(--button-gap);
    padding-top: 4px;
    padding-bottom: 2px;
	background-blend-mode: soft-light;
}

.action-btn {
    width: var(--button-size);
    height: var(--button-size);
	box-sizing: border-box;
	padding: 0px, 2px;
    border: none;
    border-radius: 8px;
    background-color: transparent;
    transition: background-color 0.2s ease;
	font-family: 'Inter', sans-serif;
	font-size: .7rem;
	color: var(--text-color);
	margin-right: 15px;
	margin-left: 5px;
}
/* Action Buttons Row */
.actions-row {
    display: flex;
    justify-content: left;
    gap: var(--button-gap);
    padding-top: 4px;
    padding-bottom: 2px;
	background-blend-mode: soft-light;}

.title {
	font-style: normal;
	display: inline-block;
    width: var(--button-size);
    height: var(--button-size);
    border-radius: 1rem; 
  
    /* Totally clean container background */
    background-color: rgba(255, 255, 255, 0.0); 
  
     font-family: "Bricolage Grotesque", sans-serif;
    font-size: 3.3rem;
    font-variant-caps: unicase;
    font-weight: 800;
    text-align: left;
  
    /* Static State: Sharp, transparent inner text stroke outline */
    -webkit-text-stroke: .15rem var(--text-color); 
    text-stroke: .15rem var(--text-color); 
    color: transparent; 

    /* Static State: Shadow is fully flat and hidden so nothing is filled yet */
    text-shadow: 
      10px 05px 10px transparent,
      4px 4px 4px transparent,
      10px 07px 30px transparent;

    /* Stack handling and layout layout locks */

    z-index: 1;         
    margin-bottom: 4px;
    vertical-align: text-top;
    position: inherit;
    /* Will change tells the hardware layer to isolate this paint task */
    will-change: text-shadow; 
    transition: background-color .2s ease, text-shadow 13s cubic-bezier(0.5, 2, 1, 1); 
	/* anim position: absolute; */
	/*pointer-events: auto; anim*/
	margin-top: -11px;
}

/* Hover State: Diagonal 3D pop-out fill animation occurs without moving parent element frame */
.title:hover {
    z-index: 10; 
    	
	opacity: 1.1;
	background-blend-mode: soft-light;
    text-shadow: 
      .3rem .3rem 0px var(--text-color),
      .9rem .31rem 1px var(--text-color),
      .29rem .29rem 1px var(--text-color);
}

.action-btn:hover {
    background-color: var(--button-hover);
}

.action-btn:focus {
    background-color: rgba(0, 0, 0, 0.08);
    outline: none;
}


.text-fill-xy {
  font-size: 5rem;
  font-weight: 700;
  font-family: sans-serif;
  
  /* Static State: Transparent text with a sharp outline */
  color: transparent;
  -webkit-text-stroke: 0px #333;
  
  /* Prepare the fill color using a linear gradient */
  background: linear-gradient(to top, #ff4757 50%, transparent 50%);
  background-size: 100% 200%;
  background-position: 0 0;
  -webkit-background-clip: text;
  background-clip: text;
  
  /* Smooth transition for the hover movement */
 transition: background-color 0.2s ease, text-shadow 0.2s cubic-bezier(0.25, .5, 0.5, .5), opacity 0.2s ease;
	
}

/* Hover State: Fills up on the Y-axis and changes outline color optional */
.text-fill-xy:hover {
  background-position: 0 100%;
}


/* Responsive adjustments */
@media (max-width: 600px) {
    :root {
        --capsule-width: 90%;
    }
}   