* {
    margin: 0px;
    padding: 0px;
}

html {
    height: 100%;
}

body {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    background: #0a0a0a;
    overflow: hidden;
    height: 100%;
}


.liquid-bg {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: radial-gradient(circle at 100% 50%, rgba(0, 255, 204, 0.5), transparent 45%), radial-gradient(circle at 50% 50%, rgba(255, 0, 132, 0.5), transparent 30%), radial-gradient(circle at 0% 50%, rgba(0, 68, 255, 0.6), transparent 50%);
  background-blend-mode: screen;
  animation: float 1s infinite ease-in-out alternate;
  filter: blur(8px);
  z-index: -1;
}

canvas {
  position: fixed; top: 0; left: 25%;
  width: 50vw; height: 90vh;
  z-index: -1;
  filter: blur(1.5px) brightness(1.2);
  mask-image: linear-gradient(to right,rgba(0,0,0,0) 0%,rgba(0,0,0,1) 5%,rgba(0,0,0,1) 95%,rgba(0,0,0,0) 100%);
  -webkit-mask-image: linear-gradient(to right,rgba(0,0,0,0) 0%,rgba(0,0,0,1) 10%,rgba(0,0,0,1) 90%,rgba(0,0,0,0) 100%);
  mask-mode: alpha;
  -webkit-mask-mode: alpha;
}


.logo {
    display: flex;
    flex-direction: row;
    align-items: center;
    position: absolute;
    top: 0;
    left: 0;
    margin: 1.5%;
    z-index: 10;
}
.logo_image {
    height: 80px;
    border-radius: 8px;
    margin: 10px;
}
.logo_text {
    color: white;
    font-size: 30px;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin: 10px;
}


.greeting {
    position: absolute;
    top: 20%;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 50px;
    font-weight: 500;
    letter-spacing: 0.3px;
    z-index: 10;
}


.menu {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    border-radius: 10px;
    /* gap: 20px; */
    /* list-style: round; */
    padding: 10px;
    margin: 1.5%;
    background-color: rgba(255, 255, 255, 0.1);
    box-shadow: black 1px 1px 20px 3px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transform-style: preserve-3d;
    transition: transform 0.35s cubic-bezier(0.83, 0, 0.17, 1), box-shadow 0.35s cubic-bezier(0.83, 0, 0.17, 1);
    /* background: linear-gradient(135deg, rgba(61, 113, 245, 0.314), rgba(193, 61, 245, 0.207)); */
}

.stocks_container {
    display: flex;
    flex-direction: row;
}
.stocks{
    /* transform-origin: left center; */
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    border-radius: 10px;
    padding: 10px;
    margin: 5px 0;
    max-width: 60px;
    max-height: 60px;
    cursor: pointer;
    border: 0.2px solid rgba(220, 242, 249, 0.215);
    box-shadow: black 1px 1px 10px 1px;
}
.stocks_image{
    height: 50px;
    width: 50px;
    margin: 10px;
    /* border: 2px solid aliceblue; */
    border-radius: 25%;
}
.stocks_text{
    transform-origin: left center;
    left: 110%;
    display: none;
    position: fixed;
    margin: 35px 0 0 10px;
    color: rgba(240, 248, 255, 0.7);
    font-family: rale;
    font-size: 20px;
    font-weight: bold;
    background-color: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    box-shadow: rgba(0, 0, 0, 0.3) 1px 1px 4px 8px;
    border-radius: 5px;
    text-shadow: black 1px 1px 5px;
    font-size: 20px;
}

.news_container {
    display: flex;
    flex-direction: row;
}
.news{
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    border-radius: 10px;
    padding: 10px;
    margin: 5px 0;
    max-width: 60px;
    max-height: 60px;
    cursor: pointer;
    border: 0.2px solid rgba(220, 242, 249, 0.215);
    box-shadow: black 1px 1px 10px 1px;
}
.news_image{
    height: 50px;
    width: 65px;
    margin: 10px;
    /* border: 2px solid aliceblue; */
    border-radius: 25%;
}
.news_text{
    transform-origin: left center;
    left: 110%;
    display: none;
    position: fixed;
    margin: 35px 0 0 10px;
    color: rgba(240, 248, 255, 0.7);
    font-family: rale;
    font-size: 20px;
    font-weight: bold;
    background-color: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    box-shadow: rgba(0, 0, 0, 0.3) 1px 1px 4px 8px;
    border-radius: 5px;
    text-shadow: black 1px 1px 5px;
    font-size: 20px;
}

.weather_container {
    display: flex;
    flex-direction: row;
    justify-content: unset;
}
.weather{
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    border-radius: 10px;
    padding: 10px;
    margin: 5px 0;
    max-width: 60px;
    max-height: 60px;
    cursor: pointer;
    border: 0.2px solid rgba(220, 242, 249, 0.215);
    box-shadow: black 1px 1px 10px 1px;
}
.weather_image{
    width: 50px;
    margin: 10px;
    /* border: 2px solid aliceblue; */
    border-radius: 25%;
}
.weather_text{
    transform-origin: left center;
    left: 110%;
    display: none;
    position: absolute;
    margin: 35px 0 0 10px;
    color: rgba(240, 248, 255, 0.7);
    font-family: rale;
    font-size: 20px;
    font-weight: bold;
    background-color: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    box-shadow: rgba(0, 0, 0, 0.3) 1px 1px 4px 8px;
    border-radius: 5px;
    text-shadow: black 1px 1px 5px;
    font-size: 20px;
}

.extensions_container {
    display: flex;
    flex-direction: row;
    justify-content: unset;
}
.extensions{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    padding: 10px;
    margin: 5px 0;
    max-width: 60px;
    max-height: 60px;
    cursor: pointer;
    border: 0.2px solid rgba(220, 242, 249, 0.215);
    box-shadow: black 1px 1px 10px 1px;
}
.extensions_image{
    width: 50px;
    margin: 10px;
    /* border: 2px solid aliceblue; */
    border-radius: 25%;
}
.extensions_text{
    transform-origin: left center;
    left: 110%;
    display: none;
    position: absolute;
    margin: 35px 0 0 10px;
    color: rgba(240, 248, 255, 0.7);
    font-family: rale;
    font-size: 20px;
    font-weight: bold;
    background-color: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    box-shadow: rgba(0, 0, 0, 0.3) 1px 1px 4px 8px;
    border-radius: 5px;
    text-shadow: black 1px 1px 5px;
    font-size: 20px;
}


.profile {
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    padding: 10px;
    margin: 1.5%;
    border-radius: 10px;
    background-color: rgba(255, 255, 255, 0.05);
    box-shadow: black 1px 1px 10px 3px;
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    transform-style: preserve-3d;
    z-index: 10;
    transition: transform 0.35s cubic-bezier(0.83, 0, 0.17, 1), box-shadow 0.35s cubic-bezier(0.83, 0, 0.17, 1);
}
.profile_pic {
    height: 60px;
    width: 60px;
    margin: 5px 0 10px 0;
    border: 0.2px solid rgba(220, 242, 249, 0.215);
    box-shadow: black 1px 1px 5px 1.5px;
    border-radius: 25%;
    cursor: pointer;
    z-index: 11;
}
.profile_pic_text{
    position: absolute;
    top: 42.5%;
    right: 0;
    transform: translateY(-50%);
    padding-left: 5px;
    padding-right: 5px;
    padding-top: 2px;
    padding-bottom: 2px;
    margin-left: 0;
    margin-right: 1.93%;
    margin-top: 0;
    margin-bottom: 0;
    border-radius: 10px;
    z-index: 10;
    display: none;
    color: rgba(240, 248, 255, 0.7);
    font-family: rale;
    font-size: 20px;
    font-weight: bold;
    background-color: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    box-shadow: rgba(0, 0, 0, 0.3) 1px 1px 4px 8px;
    border-radius: 5px;
    text-shadow: black 1px 1px 5px;
}
.profile_logout {
    z-index: 11;
    margin: 10px 0 5px 0;
    padding: 5px 10px;
    border: 0.2px solid rgba(220, 242, 249, 0.215);
    background-color: rgba(201, 45, 60, 0.833);
    box-shadow: black 1px 1px 5px 1.5px;
    color: rgba(220, 242, 249, 0.584);
    font-family: nevera;
    font-size: 12px;
    border-radius: 5px;
    cursor: pointer;
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
}


.chat_space {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50.85%);
    width: 80%;
    height: 15%;
    margin: 20px;
    /* padding: 10px; */
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    z-index: 10;
    border-radius: 15px;
    background: linear-gradient( 90deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.1) );
    box-shadow: rgba(0, 0, 0, 0.25) 2px 3px 10px 10px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transform-style: preserve-3d;
    transition: transform 0.35s cubic-bezier(0.83, 0, 0.17, 1), box-shadow 0.35s cubic-bezier(0.83, 0, 0.17, 1);
}

.input_mic {
    position: relative;
    bottom: 0;
    left: 0;
    width: 50px;
    margin: 10px;
    align-content: center;
    justify-content: center;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    cursor: pointer;
    z-index: 11;
    box-shadow: rgba(0, 0, 0, 0.25) 1px 1px 5px 3px;
}
.mic_image {
    height:35px;
    width: 25px;
    margin: 5px;
    transform: translate(30%, 5%);
}

.text_box {
    position: relative;
    bottom: 0;
    right: 0;
    margin: 10px;
    padding-top: 10px;
    padding-bottom: 10px;
    padding-left: 20px;
    padding-right: 20px;
    height: 50px;
    max-height: 120px;
    min-width: 60%;
    border-radius: 15px;
    outline: none;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: none;
    box-shadow: rgba(0, 0, 0, 0.25) 1px 1px 10px 5px;
    font-size: 16px;
    z-index: 10;
    resize: none;
    overflow-y: auto;
    line-height: 1.5;
}
.text_box::-webkit-scrollbar {
    width: 8px;
}
.text_box::-webkit-scrollbar-track {
    background: transparent;
    filter: blur(1.5px);
    border-radius: 10px;
}
.text_box::-webkit-scrollbar-thumb {
    background: rgba(250, 242, 242, 0.3);
    border-radius: 10px;
}
.text_box::-webkit-scrollbar-thumb:hover {
    background: rgba(250, 242, 242, 0.5);
}

.send_button {
    position: relative;
    bottom: 0;
    right: 0;
    margin: 10px;
    height: 50px;
    width: 100px;
    background: rgba(255,255,255,0.1);
    border-radius: 15px;
    border: none;
    text-shadow: rgba(0, 0, 0, 0.4) 1px 1px 2px;
    box-shadow: rgba(0, 0, 0, 0.25) 1px 1px 10px 5px;
    color: rgba(250, 242, 242, 0.3);
    font-size: 16px;
    cursor: pointer;
    z-index: 10;
}


@keyframes float {
  0% {
    background-position: 60% 30%, 70% 70%, 50% 50%;
  }
  100% {
    background-position: 0% 0%, 0% 0%, 0% 0%;
  }
}
@keyframes fadeIn {
    from {
        opacity: 0;
        top: 60%;
    }
    to {
        opacity: 1;
        top: 50%;
    }
}
@keyframes fadeOut {
    from {
        opacity: 1;
        top: 50%;
    }
    to {
        opacity: 0;
        top: 60%;
    }
}
@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@font-face {
    font-family: 'mile';
    src: url(Assets/mile.otf);
}
@font-face {
    font-family: 'rale';
    src: url(Assets/rale.ttf);
}
@font-face {
    font-family: 'nevera';
    src: url(Assets/nevera.otf);
}


/* Chat Messages Display Area */
.messages {
    position: absolute;
    bottom: 15%;
    left: 50%;
    transform: translateX(-50%);
    width: 75%;
    max-height: 50vh;
    overflow-y: hidden;
    margin: 10px;
    padding: 20px;
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: rgba(0, 0, 0, 0.25) 2px 3px 10px 10px;
    z-index: 9;
    display: none; /* Hidden by default, shown when messages exist */
}
.messages.active {
    display: block;
    overflow-y: auto;
}
.messages::-webkit-scrollbar {
    height: 90%;
    width: 8px;
}
.messages::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.1);
    filter: blur(5px);
    border-radius: 10px;
}
.messages::-webkit-scrollbar-thumb {
    background: rgba(250, 242, 242, 0.15);
    border-radius: 10px;
    margin-top: 5px;
    margin-bottom: 15px;
    filter: blur(5px);
}
.messages::-webkit-scrollbar-thumb:hover {
    background: rgba(250, 242, 242, 0.3);
}

.message {
    margin-bottom: 15px;
    padding: 12px 16px;
    border-radius: 12px;
    max-width: 80%;
    word-wrap: break-word;
    line-height: 1.5;
    animation: fadeIn 0.3s ease-in;
}
.message.user {
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(5px);
    color: rgba(220, 242, 249, 0.8);
    margin-left: auto;
    text-align: right;
    font-family: rale;
}
.message.bot {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    color: rgba(220, 242, 249, 0.9);
    margin-right: auto;
    text-align: left;
    font-family: rale;
    border-left: 3px solid rgba(100, 200, 255, 0.5);
}
.message.loading {
    background: rgba(255, 255, 255, 0.08);
    color: rgba(220, 242, 249, 0.6);
    margin-right: auto;
    font-family: rale;
    font-style: italic;
}
.message.error {
    background: rgba(255, 100, 100, 0.2);
    color: rgba(255, 150, 150, 0.9);
    margin-right: auto;
    font-family: rale;
    border-left: 3px solid rgba(255, 100, 100, 0.5);
}


.no-scrollbar::-webkit-scrollbar {
    display: block;
    padding-top: 2px;
    padding-bottom: 5px;
    margin-top: 5px;
}


/* News Modal */
.news_panel {
    display: none;
    position: fixed;
    z-index: 100;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-40%);
    width: 75%;
    height: 45%;
    background-color: transparent;
    backdrop-filter: blur(10px);
    box-shadow: rgba(0,0,0,0.25) 2px 2px 10px 5x;
}
.news_panel.active {
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.3s ease-in;
}

.news_panel_content {
    background: transparent;
    border-radius: 20px;
    padding: 10px;
    width: 100%;
    height: 100%;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: rgba(0, 0, 0, 0.25) 1px 1px 5px 2px;
    animation: slideUp 0.4s ease-out;
}


.news_panel_header {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    margin: 10px;
    padding: 15px;
    /* border-bottom: 2px solid rgba(100, 150, 255, 0.3); */
    background: rgba(255,255,255,0.03);
    /* filter: blur(10px); */
    border-radius: 8px;
    box-shadow: rgba(0,0,0,0.25) 1px 1x 5px 2x;
}
.news_panel_header h2 {
    font-family: 'rale';
    color: rgba(220, 242, 249, 0.9);
    font-size: 18px;
    margin: 5px;
}

.tech {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: transparent;
    box-shadow: rgba(0,0,0,0.25) 1px 1px 5px 2px;
    padding: 5px;
    border-radius: 5px;
    cursor: pointer;
}
.tech:hover {
    opacity: 0.8;
}
.tech img {
    height: 25px;
    margin: 5px;
}

.apple {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: transparent;
    box-shadow: rgba(0,0,0,0) 1px 1px 5px 2px;
    padding: 5px;
    border-radius: 5px;
    cursor: pointer;
}
.apple:hover {
    opacity: 0.8;
}
.apple img {
    height: 25px;
    margin: 5px;
}

.tesla {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: transparent;
    box-shadow: rgba(0,0,0,0) 1px 1px 5px 2px;
    padding: 5px;
    border-radius: 5px;
    cursor: pointer;
}
.tesla:hover {
    opacity: 0.8;
}
.tesla img {
    height: 25px;
    margin: 5px;
}

.business {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: transparent;
    box-shadow: rgba(0,0,0,0) 1px 1px 5px 2px;
    padding: 5px;
    border-radius: 5px;
    cursor: pointer;
}
.business:hover {
    opacity: 0.8;
}
.business img {
    height: 25px;
    margin: 5px;
}

.jane {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: transparent;
    box-shadow: rgba(0,0,0,0) 1px 1px 5px 2px;
    padding: 5px;
    border-radius: 5px;
    cursor: pointer;
}
.jane:hover {
    opacity: 0.8;
}
.jane img {
    height: 25px;
    margin: 5px;
}

.news_close {
    background: none;
    border: none;
    color: rgba(220, 242, 249, 0.6);
    font-size: 40px;
    cursor: pointer;
    transition: all 0.3s;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    border-radius: 50%;
}
.news_close:hover {
    color: #ff4444;
    background: rgba(255, 68, 68, 0.1);
    transform: rotate(90deg);
    box-shadow: rgba(0,0,0,0.25) 1px 1px 5px 2px;
}

.news_articles {
    overflow-y: auto;
    flex: 1;
    padding: 10px;
    border-radius: 10px;
    background: rgba(255,255,255,0.03);
    box-shadow: rgba(0,0,0,0.25) 1px 1x 5px 2x;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(45%, 1fr));
    gap: 15px;
    align-content: start;
}

.news_loading {
    text-align: center;
    padding: 50px;
    color: rgba(220, 242, 249, 0.6);
    font-family: 'rale';
    font-size: 18px;
}

.news_article {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 10px;
    margin-bottom: 20px;
    border-left: 4px solid rgba(100, 150, 255, 0.5);
    transition: all 0.3s;
    cursor: pointer;
}
.news_article:hover {
    background: rgba(255, 255, 255, 0.08);
    border-left-color: rgba(100, 200, 255, 0.8);
    scale: 0.98;
    box-shadow: 0 5px 20px rgba(100, 150, 255, 0.2);
}
.news_article_image {
    display: flex;
    flex-direction: column;
    object-fit: cover;
    width: 320px;
    height: auto;
    flex-shrink: 0;
    margin-bottom: 15px;
}
.news_article_image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}
.news_article_text {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.news_article_title {
    font-family: 'rale';
    color: rgba(220, 242, 249, 0.95);
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
    line-height: 1.4;
}
.news_article_description {
    font-family: 'rale';
    color: rgba(220, 242, 249, 0.7);
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 10px;
}
.news_article_meta {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    font-family: 'rale', sans-serif;
    color: rgba(220, 242, 249, 0.5);
    font-size: 13px;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.news_article_author {
    font-style: italic;
    word-wrap: break-word;
}
.news_article_date {
    opacity: 0.7;
    word-wrap: break-word;
}

/* Scrollbar for news articles */
.news_articles::-webkit-scrollbar {
    width: 10px;
}
.news_articles::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
}
.news_articles::-webkit-scrollbar-thumb {
    background: rgba(100, 150, 255, 0.3);
    border-radius: 10px;
}
.news_articles::-webkit-scrollbar-thumb:hover {
    background: rgba(100, 150, 255, 0.5);
}


/* Weather Panel */
.weather_panel {
    display: none;
    position: fixed;
    z-index: 100;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-40%);
    width: 600px;
    max-width: 90%;
    background-color: transparent;
    backdrop-filter: blur(10px);
    box-shadow: rgba(0,0,0,0.25) 2px 2px 10px 5px;
}
.weather_panel.active {
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.3s ease-in;
}

.weather_panel_content {
    background: transparent;
    border-radius: 20px;
    padding: 20px;
    width: 100%;
    box-shadow: rgba(0, 0, 0, 0.25) 1px 1px 5px 2px;
    animation: slideUp 0.4s ease-out;
}

.weather_panel_header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding: 15px;
    background: rgba(255,255,255,0.05);
    border-radius: 8px;
    box-shadow: rgba(0,0,0,0.25) 1px 1px 5px 2px;
}
.weather_panel_header h2 {
    font-family: 'rale';
    color: rgba(220, 242, 249, 0.9);
    font-size: 24px;
    margin: 0;
}

.weather_close {
    background: none;
    border: none;
    color: rgba(220, 242, 249, 0.6);
    font-size: 40px;
    cursor: pointer;
    transition: all 0.3s;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}
.weather_close:hover {
    color: #ff4444;
    background: rgba(255, 68, 68, 0.1);
    transform: rotate(90deg);
    box-shadow: rgba(0,0,0,0.25) 1px 1px 5px 2px;
}

.weather_content {
    background: rgba(255,255,255,0.05);
    border-radius: 12px;
    padding: 20px;
    box-shadow: rgba(0,0,0,0.25) 1px 1px 5px 2px;
}

.weather_main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.weather_temp_section {
    display: flex;
    align-items: center;
    gap: 20px;
}

.weather_icon {
    width: 100px;
    height: 100px;
    filter: drop-shadow(0 0 10px rgba(100, 150, 255, 0.3));
}

.weather_temp {
    font-family: 'mile';
    font-size: 72px;
    color: rgba(220, 242, 249, 0.95);
    font-weight: 300;
    line-height: 1;
}

.weather_condition {
    font-family: 'rale';
    font-size: 24px;
    color: rgba(220, 242, 249, 0.8);
    margin-top: 10px;
}

.weather_location {
    text-align: right;
}

.weather_location_name {
    font-family: 'rale';
    font-size: 28px;
    color: rgba(220, 242, 249, 0.9);
    margin-bottom: 5px;
}

.weather_location_region {
    font-family: 'rale';
    font-size: 16px;
    color: rgba(220, 242, 249, 0.6);
}

.weather_location_time {
    font-family: 'rale';
    font-size: 14px;
    color: rgba(220, 242, 249, 0.5);
    margin-top: 5px;
}

.weather_details {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.weather_detail_item {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-left: 3px solid rgba(100, 150, 255, 0.4);
}

.weather_detail_label {
    font-family: 'rale';
    font-size: 14px;
    color: rgba(220, 242, 249, 0.6);
}

.weather_detail_value {
    font-family: 'rale';
    font-size: 18px;
    color: rgba(220, 242, 249, 0.9);
    font-weight: 500;
}

.weather_loading {
    text-align: center;
    padding: 50px;
    color: rgba(220, 242, 249, 0.6);
    font-family: 'rale';
    font-size: 18px;
}



.stocks_panel {
    display: none;
    position: fixed;
    z-index: 100;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-40%);
    width: 75%;
    height: 45%;
    background-color: transparent;
    backdrop-filter: blur(10px);
    box-shadow: rgba(0,0,0,0.25) 2px 2px 10px 5x;
}
.stocks_panel.active {
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.3s ease-in;
}

.stocks_panel_content {
    background: transparent;
    border-radius: 20px;
    padding: 10px;
    width: 100%;
    height: 100%;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: rgba(0, 0, 0, 0.25) 1px 1px 5px 2px;
    backdrop-filter: blur(5px);
    animation: slideUp 0.4s ease-out;
}
.stocks_panel_header {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    margin: 10px;
    padding: 15px;
    /* border-bottom: 2px solid rgba(100, 150, 255, 0.3); */
    background: rgba(255,255,255,0.03);
    /* filter: blur(10px); */
    border-radius: 8px;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    box-shadow: rgba(0,0,0,0.25) 1px 1x 5px 2x;
}
.stocks_panel_header h1 {
    font-family: 'rale';
    color: rgba(220, 242, 249, 0.9);
    font-size: 28px;
    margin: 5px;
}
.stocks_content {
    padding: 10px;
    border-radius: 10px;
    background: rgba(255,255,255,0.03);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    box-shadow: rgba(0,0,0,0.25) 1px 1x 5px 2x;
}
.stocks_content h1 {
    font-family: 'rale';
    color: rgba(220, 242, 249, 0.9);
    font-size: 28px;
    margin: 5px;
}
.stocks_close {
    background: none;
    border: none;
    color: rgba(220, 242, 249, 0.6);
    font-size: 40px;
    cursor: pointer;
    transition: all 0.3s;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    border-radius: 50%;
}
.stocks_close:hover {
    color: #ff4444;
    background: rgba(255, 68, 68, 0.1);
    transform: rotate(90deg);
    box-shadow: rgba(0,0,0,0.25) 1px 1px 5px 2px;
}



@media (max-width: 768px) {
  .news_articles {
    grid-template-columns: 1fr;
  }
}
