@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;800&family=Roboto+Mono:wght@400;700&display=swap');

:root {
  /* Reversed to the original #9FB4FF requested by user */
  --bg-color: #9FB4FF;
  --terminal-bg: #1C1C1C;
  --terminal-input: #151515;
  --terminal-text: #ECF0F1;
  --accent-color: #fbbf24;
  --shadow: 0 15px 35px rgba(0,0,0,0.3);
}

html { box-sizing: border-box; }
*, *:before, *:after { box-sizing: inherit; }
 
body{
  font-family: 'Inter', sans-serif;
  background-color: var(--bg-color);
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  position: relative;
}
 
/* Add some original floating aesthetics to the background for polish */
body::before {
  content: '';
  position: absolute;
  top: -100px; right: -50px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(255,255,255,0.2) 0%, transparent 60%);
  z-index: -1; pointer-events: none;
}
body::after {
  content: '';
  position: absolute;
  bottom: -100px; left: -150px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.15) 0%, transparent 60%);
  z-index: -1; pointer-events: none;
}
 
body, h1,h2,h3, p{ margin:0; padding:0; }
 
.pierdolonygradient{ width:100%; height: 300px; }
 
.mainCont{
	width:1000px;
	margin: 0 auto;
}
 
.mainCont h2{
	display: inline-block;
	width: 100%;
	text-align: center;
	font-weight: 800;
	font-size: 56px;
	margin: 50px 0 0 0;
	color: #fff;
    text-shadow: 0 4px 10px rgba(0,0,0,0.1);
	opacity: 0;
	animation: fadeInAnimation 1s ease-in-out 0s forwards;
}
 
.mainCont h3{
	text-align: center;
	font-weight: 400;
	font-size: 18px;
	color: rgba(255,255,255,0.9);
	margin: 5px 0 50px 0;
	opacity: 0;
	animation: fadeInAnimation 1s ease-in-out 0.5s forwards;
}
 
.terminalCont{
	background: var(--terminal-bg);
	width: 100%;
	border-radius: 12px;
	padding: 0;
	margin-top: -20px;
	font-family: 'Roboto Mono', monospace;
	box-shadow: var(--shadow);
	opacity: 0;
	animation: slideDownAnimation 1s ease-in-out 1s forwards, fadeInAnimation 0.8s ease-in-out 1s forwards;
	position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

/* KDE Plasma Header */
.plasma-header {
    background: #31363b; /* Breeze Dark header */
    height: 38px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 10px 0 15px;
    flex-shrink: 0;
}

.plasma-title {
    color: #eff0f1;
    font-family: 'Noto Sans', 'Inter', sans-serif;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 8px;
    opacity: 0.9;
}

.plasma-controls {
    display: flex;
    gap: 2px;
}

.plasma-btn {
    color: #eff0f1;
    cursor: pointer;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: background 0.2s;
    opacity: 0.8;
}

.plasma-btn:hover {
    background: rgba(255,255,255,0.1);
    opacity: 1;
}

.plasma-btn.close:hover {
    background: #da4453;
}
 
.userEnteredText{
  color: #fbbf24;
  margin: 0;
  padding: 0;
  display: inline-block;
}
 
#terminalResultsCont{
	width:100%;
	height: 450px;
	padding: 20px;
	overflow-y: auto;
	resize: none;
	border: none;
	font-size: 14px;
	line-height: 28px;
	display: block;
	color: var(--terminal-text);
}

/* Custom Scrollbar for Terminal */
#terminalResultsCont::-webkit-scrollbar { width: 8px; }
#terminalResultsCont::-webkit-scrollbar-track { background: var(--terminal-bg); }
#terminalResultsCont::-webkit-scrollbar-thumb { background: #333; border-radius: 4px; }
#terminalResultsCont::-webkit-scrollbar-thumb:hover { background: #555; }
 
#terminalResultsCont a{
  color: #3b82f6;
  text-decoration: none;
  font-weight: bold;
}
 
#terminalResultsCont a:hover{
  text-decoration: underline;
}
 
#terminalTextInput{
	background: var(--terminal-input);
	display: block;
	border: none;
	border-top: 1px solid rgba(255,255,255,0.05);
	border-radius: 0 0 12px 12px;
	width: 100%;
	color: #fff;
	padding: 18px 20px;
	font-size: 15px;
	outline: none;
	font-family: 'Roboto Mono', monospace;
	transition: background 0.3s;
}

#terminalTextInput:focus {
  background: #222;
}

.gui {
  position: fixed;
  bottom: 30px;
  right: 30px;
  border: none;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: fadeInAnimation 3s ease-in-out 0s forwards;
  z-index: 100;
}

.gui-text {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #fff;
  padding: 10px 24px;
  border-radius: 12px;
  font-size: 14px;
  margin-bottom: 15px;
  border: 1px solid rgba(255,255,255,0.3);
  box-shadow: 0 8px 32px rgba(0,0,0,0.1);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.gui:hover .gui-text {
  background: rgba(255, 255, 255, 0.3);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.15);
  border: 1px solid rgba(255,255,255,0.5);
}

.gui img {
  filter: drop-shadow(0 4px 6px rgba(0,0,0,0.1));
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.gui:hover img {
  transform: scale(1.08) translateY(-5px);
  filter: drop-shadow(0 15px 25px rgba(0,0,0,0.2));
}

.gui:active img {
  transform: scale(.95);
}
 
@keyframes fadeInAnimation {
  0%   { opacity: 0; }
  100% { opacity: 1; }
}
 
@keyframes slideDownAnimation {
  0%   { margin-top: -20px;}
  100% { margin-top: 0;}
}
 
@media screen and (max-width: 1000px){
  .gradientCont{ height: 220px; }
  .mainCont{ width: 100%; padding: 0 16px; }
  .mainCont h2{ font-size: 36px; margin: 40px 0 0 0; }
  .mainCont h3{ font-size: 16px; margin: 5px 0 30px 0; }
  #terminalResultsCont{ height: 350px; }
}