:root {
    --bg-color: #0d1117;
    --card-bg: #161b22;
    --text-primary: #e6edf3;
    --text-secondary: #8b949e;
    --accent: #58a6ff;
    --success: #238636;
    --danger: #da3633;
    --border: #30363d;
}

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    margin: 0;
    padding: 20px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

header {
    text-align: center;
    margin-bottom: 40px;
}

h1 {
    margin: 0;
    font-size: 2.5rem;
    color: var(--accent);
}

p {
    color: var(--text-secondary);
}

.search-section {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 30px;
}

input {
    padding: 12px 20px;
    border-radius: 6px;
    border: 1px solid var(--border);
    background: var(--card-bg);
    color: var(--text-primary);
    font-size: 1.1rem;
    width: 200px;
    text-transform: uppercase;
}

button {
    padding: 12px 24px;
    border-radius: 6px;
    border: none;
    background: var(--accent);
    color: white;
    font-size: 1.1rem;
    cursor: pointer;
    font-weight: 600;
    transition: opacity 0.2s;
}

button:hover {
    opacity: 0.9;
}

.summary-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 30px;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--border);
    padding-bottom: 10px;
}

.price {
    font-size: 1.5rem;
    font-weight: bold;
}

.recommendation-box {
    padding: 20px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
}

#recAction {
    margin-top: 0;
    font-size: 2rem;
    letter-spacing: 2px;
}

.rec-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 10px;
}

.charts-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

@media (min-width: 900px) {
    .charts-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.chart-container {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 20px;
    min-height: 400px;
}

.hidden {
    display: none;
}

#loading {
    text-align: center;
    font-size: 1.2rem;
    color: var(--accent);
}

#error {
    text-align: center;
    color: var(--danger);
    padding: 20px;
    background: rgba(218, 54, 51, 0.1);
    border-radius: 8px;
    margin-bottom: 20px;
}
. e x c l u d e d - d a t e s   {  
         m a r g i n - t o p :   1 5 p x ;  
         f o n t - s i z e :   0 . 9 r e m ;  
         c o l o r :   v a r ( - - t e x t - s e c o n d a r y ) ;  
         f o n t - s t y l e :   i t a l i c ;  
         p a d d i n g :   1 0 p x ;  
         b a c k g r o u n d :   r g b a ( 2 5 5 ,   2 5 5 ,   2 5 5 ,   0 . 0 3 ) ;  
         b o r d e r - r a d i u s :   6 p x ;  
 }  
 . c h a r t s - s e c t i o n   {  
         d i s p l a y :   f l e x ;  
         f l e x - d i r e c t i o n :   c o l u m n ;  
         g a p :   3 0 p x ;  
 }  
  
 . c h a r t - r o w   {  
         w i d t h :   1 0 0 % ;  
 }  
  
 . f u l l - w i d t h   . c h a r t - c o n t a i n e r   {  
         w i d t h :   1 0 0 % ;  
         / *   E n s u r e   t i t l e   a n d   p a d d i n g   d o n ' t   b r e a k   w i d t h   * /  
         b o x - s i z i n g :   b o r d e r - b o x ;  
         m i n - h e i g h t :   5 0 0 p x ;  
 }  
  
 . g r i d - h a l f   {  
         d i s p l a y :   g r i d ;  
         g r i d - t e m p l a t e - c o l u m n s :   1 f r ;  
         g a p :   3 0 p x ;  
 }  
  
 @ m e d i a   ( m i n - w i d t h :   9 0 0 p x )   {  
         . g r i d - h a l f   {  
                 g r i d - t e m p l a t e - c o l u m n s :   1 f r   1 f r ;  
         }  
 }  
 . w a r n i n g - b a n n e r   {  
         b a c k g r o u n d - c o l o r :   r g b a ( 2 1 8 ,   5 4 ,   5 1 ,   0 . 1 5 ) ;  
         b o r d e r :   1 p x   s o l i d   v a r ( - - d a n g e r ) ;  
         c o l o r :   # f f 7 b 7 2 ;  
         p a d d i n g :   1 5 p x ;  
         b o r d e r - r a d i u s :   8 p x ;  
         m a r g i n - b o t t o m :   2 0 p x ;  
         d i s p l a y :   f l e x ;  
         a l i g n - i t e m s :   c e n t e r ;  
         g a p :   1 0 p x ;  
 }  
  
 . w a r n i n g - i c o n   {  
         f o n t - s i z e :   1 . 5 r e m ;  
 }  
 . w a r n i n g - b a n n e r   {  
         b a c k g r o u n d :   r g b a ( 2 5 5 ,   2 5 5 ,   2 5 5 ,   0 . 0 5 ) ;  
         / *   M a t c h   r e c   b o x   b a s e   * /  
         b o r d e r :   n o n e ;  
         / *   R e s e t   p r e v i o u s   b o r d e r   * /  
         b o r d e r - l e f t :   5 p x   s o l i d   # d a 3 6 3 3 ;  
         / *   S i m i l a r   t o   S E L L   b a n n e r   * /  
         c o l o r :   # d a 3 6 3 3 ;  
         / *   R e d   t e x t   * /  
         p a d d i n g :   2 0 p x ;  
         / *   B i g g e r   p a d d i n g   * /  
         b o r d e r - r a d i u s :   8 p x ;  
         m a r g i n - b o t t o m :   2 0 p x ;  
         d i s p l a y :   f l e x ;  
         a l i g n - i t e m s :   c e n t e r ;  
         g a p :   1 5 p x ;  
         f o n t - s i z e :   1 . 3 r e m ;  
         / *   B i g g e r   f o n t   * /  
         f o n t - w e i g h t :   b o l d ;  
         b o x - s h a d o w :   0   4 p x   6 p x   r g b a ( 0 ,   0 ,   0 ,   0 . 1 ) ;  
 }  
  
 . w a r n i n g - i c o n   {  
         f o n t - s i z e :   2 r e m ;  
         / *   B i g g e r   i c o n   * /  
 }  
 @ k e y f r a m e s   p u l s e - r e d   {  
         0 %   {  
                 b o x - s h a d o w :   0   0   0   0   r g b a ( 2 1 8 ,   5 4 ,   5 1 ,   0 . 4 ) ;  
         }  
  
         7 0 %   {  
                 b o x - s h a d o w :   0   0   0   1 0 p x   r g b a ( 2 1 8 ,   5 4 ,   5 1 ,   0 ) ;  
         }  
  
         1 0 0 %   {  
                 b o x - s h a d o w :   0   0   0   0   r g b a ( 2 1 8 ,   5 4 ,   5 1 ,   0 ) ;  
         }  
 }  
  
 . w a r n i n g - b a n n e r   {  
         b a c k g r o u n d :   r g b a ( 2 1 8 ,   5 4 ,   5 1 ,   0 . 2 )   ! i m p o r t a n t ;  
         / *   S t r o n g e r   r e d   b g   * /  
         b o r d e r :   2 p x   s o l i d   # d a 3 6 3 3   ! i m p o r t a n t ;  
         / *   F u l l   b o r d e r   * /  
         b o r d e r - l e f t :   1 0 p x   s o l i d   # d a 3 6 3 3   ! i m p o r t a n t ;  
         / *   T h i c k e r   a c c e n t   * /  
         c o l o r :   # f f 7 b 7 2   ! i m p o r t a n t ;  
         p a d d i n g :   2 5 p x   ! i m p o r t a n t ;  
         f o n t - s i z e :   1 . 5 r e m   ! i m p o r t a n t ;  
         / *   V e r y   l a r g e   t e x t   * /  
         t e x t - t r a n s f o r m :   u p p e r c a s e ;  
         a n i m a t i o n :   p u l s e - r e d   2 s   i n f i n i t e ;  
         m a r g i n - b o t t o m :   4 0 p x   ! i m p o r t a n t ;  
         / *   M o r e   s p a c e   a r o u n d   i t   * /  
 }  
  
 . w a r n i n g - i c o n   {  
         f o n t - s i z e :   3 r e m   ! i m p o r t a n t ;  
         / *   H u g e   i c o n   * /  
         a n i m a t i o n :   n o n e ;  
         / *   I c o n   s t e a d y   * /  
 }  
 / *   N e w s   &   A I   S e c t i o n   * /  
 . n e w s - s e c t i o n   {  
         m a r g i n - t o p :   3 0 p x ;  
 }  
  
 . a i - c o n t r o l s   {  
         m a r g i n - b o t t o m :   2 0 p x ;  
         d i s p l a y :   f l e x ;  
         a l i g n - i t e m s :   c e n t e r ;  
         g a p :   1 5 p x ;  
 }  
  
 . a i - b t n   {  
         b a c k g r o u n d :   l i n e a r - g r a d i e n t ( 4 5 d e g ,   # 6 e 4 0 c 9 ,   # a c 5 6 f 5 ) ;  
         b o r d e r :   n o n e ;  
         p a d d i n g :   1 2 p x   2 4 p x ;  
         c o l o r :   w h i t e ;  
         b o r d e r - r a d i u s :   6 p x ;  
         c u r s o r :   p o i n t e r ;  
         f o n t - w e i g h t :   b o l d ;  
         f o n t - s i z e :   1 r e m ;  
         t r a n s i t i o n :   t r a n s f o r m   0 . 2 s ;  
 }  
  
 . a i - b t n : h o v e r   {  
         t r a n s f o r m :   s c a l e ( 1 . 0 5 ) ;  
 }  
  
 . a n a l y s i s - g r i d   {  
         d i s p l a y :   g r i d ;  
         g r i d - t e m p l a t e - c o l u m n s :   1 f r ;  
         g a p :   3 0 p x ;  
 }  
  
 @ m e d i a   ( m i n - w i d t h :   9 0 0 p x )   {  
         . a n a l y s i s - g r i d   {  
                 g r i d - t e m p l a t e - c o l u m n s :   2 f r   1 f r ;  
         }  
 }  
  
 . a i - r e s u l t - b o x ,  
 . n e w s - f e e d   {  
         b a c k g r o u n d :   r g b a ( 2 5 5 ,   2 5 5 ,   2 5 5 ,   0 . 0 3 ) ;  
         p a d d i n g :   2 0 p x ;  
         b o r d e r - r a d i u s :   8 p x ;  
         b o r d e r :   1 p x   s o l i d   v a r ( - - b o r d e r ) ;  
 }  
  
 . a i - r e s u l t - b o x   h 3 ,  
 . n e w s - f e e d   h 3   {  
         m a r g i n - t o p :   0 ;  
         c o l o r :   v a r ( - - a c c e n t ) ;  
         b o r d e r - b o t t o m :   1 p x   s o l i d   v a r ( - - b o r d e r ) ;  
         p a d d i n g - b o t t o m :   1 0 p x ;  
 }  
  
 . p r o m p t - d i s p l a y   {  
         m a r g i n - t o p :   2 0 p x ;  
         f o n t - s i z e :   0 . 8 5 r e m ;  
         c o l o r :   v a r ( - - t e x t - s e c o n d a r y ) ;  
         b a c k g r o u n d :   r g b a ( 0 ,   0 ,   0 ,   0 . 2 ) ;  
         p a d d i n g :   1 0 p x ;  
         b o r d e r - r a d i u s :   4 p x ;  
         f o n t - f a m i l y :   m o n o s p a c e ;  
 }  
  
 . n e w s - i t e m   {  
         m a r g i n - b o t t o m :   1 5 p x ;  
         p a d d i n g - b o t t o m :   1 5 p x ;  
         b o r d e r - b o t t o m :   1 p x   s o l i d   r g b a ( 2 5 5 ,   2 5 5 ,   2 5 5 ,   0 . 0 5 ) ;  
 }  
  
 . n e w s - i t e m : l a s t - c h i l d   {  
         b o r d e r - b o t t o m :   n o n e ;  
 }  
  
 . n e w s - t i t l e   {  
         d i s p l a y :   b l o c k ;  
         c o l o r :   v a r ( - - t e x t - p r i m a r y ) ;  
         t e x t - d e c o r a t i o n :   n o n e ;  
         f o n t - w e i g h t :   5 0 0 ;  
         m a r g i n - b o t t o m :   5 p x ;  
 }  
  
 . n e w s - t i t l e : h o v e r   {  
         c o l o r :   v a r ( - - a c c e n t ) ;  
 }  
  
 . n e w s - m e t a   {  
         f o n t - s i z e :   0 . 8 r e m ;  
         c o l o r :   v a r ( - - t e x t - s e c o n d a r y ) ;  
 }  
  
 # a i C o n t e n t   {  
         l i n e - h e i g h t :   1 . 6 ;  
         w h i t e - s p a c e :   p r e - w r a p ;  
         / *   F o r   n o w ,   t o   h a n d l e   t e x t   n e w l i n e s   * /  
 }  
 / *   S c r e e n e r   S t y l e s   * /  
 # s c r e e n e r S e c t i o n   {  
         b o r d e r - l e f t :   5 p x   s o l i d   v a r ( - - a c c e n t ) ;  
 }  
  
 . t a b l e - c o n t a i n e r   {  
         o v e r f l o w - x :   a u t o ;  
         m a r g i n - t o p :   1 5 p x ;  
 }  
  
 t a b l e   {  
         w i d t h :   1 0 0 % ;  
         b o r d e r - c o l l a p s e :   c o l l a p s e ;  
         f o n t - s i z e :   0 . 9 5 r e m ;  
 }  
  
 t h ,  
 t d   {  
         p a d d i n g :   1 2 p x   1 5 p x ;  
         t e x t - a l i g n :   l e f t ;  
         b o r d e r - b o t t o m :   1 p x   s o l i d   v a r ( - - b o r d e r ) ;  
 }  
  
 t h   {  
         b a c k g r o u n d - c o l o r :   r g b a ( 2 5 5 ,   2 5 5 ,   2 5 5 ,   0 . 0 5 ) ;  
         c o l o r :   v a r ( - - t e x t - s e c o n d a r y ) ;  
         f o n t - w e i g h t :   6 0 0 ;  
 }  
  
 t r : h o v e r   {  
         b a c k g r o u n d - c o l o r :   r g b a ( 2 5 5 ,   2 5 5 ,   2 5 5 ,   0 . 0 2 ) ;  
 }  
  
 . s e c o n d a r y - b t n   {  
         b a c k g r o u n d - c o l o r :   t r a n s p a r e n t ;  
         b o r d e r :   1 p x   s o l i d   v a r ( - - a c c e n t ) ;  
         c o l o r :   v a r ( - - a c c e n t ) ;  
 }  
  
 . s e c o n d a r y - b t n : h o v e r   {  
         b a c k g r o u n d - c o l o r :   r g b a ( 8 8 ,   1 6 6 ,   2 5 5 ,   0 . 1 ) ;  
         o p a c i t y :   1 ;  
 }  
  
 . a c t i o n - b t n   {  
         p a d d i n g :   6 p x   1 2 p x ;  
         f o n t - s i z e :   0 . 8 r e m ;  
         b a c k g r o u n d - c o l o r :   v a r ( - - s u c c e s s ) ;  
 }  
 