/* --- classic.css --- */

/* GLITCH / CYBERPUNK THEME VARIABLES */
:root {
	--Background: #000000;
	--Window: #020005; /* Neredeyse siyah, çok hafif mor */
	--WindowText: #e0ccff; /* Soluk mor metin, okunabilirlik için */
	--ButtonFace: #000000; /* Buton yüzeyleri siyah */
	--ButtonText: #ffffff; /* Buton yazıları beyaz */
	--ButtonHilight: #502060; /* Parlak kısımlar koyu mor */
	--ButtonLight: #200530;
	--ButtonShadow: #2d004d; /* Gölgeler derin mor */
	--ButtonDkShadow: #10001a;
	--Hilight: #9d00ff; /* Seçim rengi NEON MOR */
	--HilightText: #ffffff; /* Seçilen yazı beyaz */
    --TitleBarBg: #4b0082; /* Başlık çubuğu İndigo/Mor */
    --TitleBarText: #ffffff;
}

.desktop {
	background: var(--Background);
    /* Glitch benzeri dijital gürültü deseni */
    background-image: 
        linear-gradient(45deg, #05000a 25%, transparent 25%, transparent 75%, #05000a 75%, #05000a), 
        linear-gradient(45deg, #05000a 25%, transparent 25%, transparent 75%, #05000a 75%, #05000a);
    background-size: 4px 4px;
    background-position: 0 0, 2px 2px;
}

.taskbar {
	outline: 1px solid var(--ButtonLight);
	border-top: 1px solid var(--ButtonHilight);
	background: var(--ButtonFace);
	color: var(--ButtonText);
    /* Gölgeyi mor/mavi karışımı yapalım */
    box-shadow: 0 -2px 10px rgba(157, 0, 255, 0.2);
}

.taskbar-divider {
	border-left: 1px solid var(--ButtonShadow);
	border-right: 1px solid var(--ButtonHilight);
}

.taskbar-time {
	font-family: "Courier New", monospace;
	font-size: 12px;
    color: #d000ff; /* Neon Mor saat */
    font-weight: bold;
    text-shadow: 0 0 5px #d000ff, 0 0 10px #00ffff; /* Çift renkli neon parlama */
}

.start-menu {
    border: 2px solid #333;
    border-top-color: #502060;
    border-left-color: #502060;
    background: #000;
}

.start-menu-titlebar {
	/* Görseldeki gibi siyah -> mor gradient */
	background-image: linear-gradient(to bottom, #000000, #3e005b);
	background-color: #000000;
    display: flex;
    align-items: end;
    justify-content: center;
}

.start-menu-titlebar::after {
    content: "SYSTEM FAILURE"; /* Bu metin konseptle harika uyuyor, kalsın */
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    color: #e0ccff;
    font-family: monospace;
    font-size: 14px;
    padding-bottom: 10px;
    letter-spacing: 2px;
    text-shadow: 0 0 2px #9d00ff;
}

.start-menu li a,
.start-menu .back-link {
	display: block;
	padding: 5px 0;
	color: #bd66ff !important; /* Linkler açık mor */
    text-decoration: none;
    font-family: monospace;
    text-transform: uppercase;
}
.start-menu li a:hover,
.start-menu .back-link:hover {
    background: #9d00ff; /* Hover arka planı neon mor */
    color: #fff !important;
    box-shadow: 0 0 10px #9d00ff; /* Parlama efekti */
}

.start-menu li a:before,
.start-menu .back-link:before,
.the-thing-heading:before {
	content: "†";
	text-decoration: none;
	display: inline-block;
	margin-right: 5px;
    color: #00ffff; /* İkonlar Cyan/Mavi olsun (contrast için) */
}

.start-menu .back-link:before {
	content: "«"
}

.windows-cant-do-it-you-can {
	margin-top: 2em;
}

/* Taskbar'daki aktif pencereler */
.task {
    background: #000;
    color: #d8baff;
    border: 2px solid;
    border-color: #fff #333 #333 #fff;
}
.task.selected {
	font-weight: bold;
    background: #1a0029; /* Aktif pencere çok koyu mor */
    color: #fff;
    border-color: #502060 #fff #fff #502060;
    box-shadow: inset 0 0 5px #b000ff; /* İç parlama */
}

/* Desktop İkonları */
.desktop-icon {
	position: absolute;
	outline: none;
	-webkit-tap-highlight-color: rgba(0,0,0,0);
}
.folder-view:focus {
	outline: none;
}

.folder-view:not([data-view-mode="DESKTOP"]):not([data-view-mode="LARGE_ICONS"]) .desktop-icon {
	display: flex;
	flex-direction: row;
	width: 150px;
	height: 17px;
    align-items: center;
}

.folder-view[data-view-mode="DESKTOP"] .desktop-icon,
.folder-view[data-view-mode="LARGE_ICONS"] .desktop-icon {
	width: 75px;
	height: 75px;
}

.desktop-icon .title {
	font-family: "MS Sans Serif", "Segoe UI", sans-serif;
	font-size: 8pt;
	background: transparent;
	color: #dcc0ff; /* İkon yazıları soluk mor */
	position: relative;
	box-sizing: border-box;
	display: flex;
    justify-content: center;
    text-shadow: 1px 1px 0 #000;
}

.folder-view[data-view-mode="DESKTOP"] .desktop-icon .title,
.folder-view[data-view-mode="LARGE_ICONS"] .desktop-icon .title {
	margin-top: 5px;
}
.folder-view:not([data-view-mode="DESKTOP"]):not([data-view-mode="LARGE_ICONS"]) .desktop-icon .title {
	text-align: start;
    justify-content: start;
	white-space: nowrap;
	height: 17px;
	line-height: 17px;
	padding-right: 2px;
	padding-left: 3px;
}

/* Seçili İkonlar */
.folder-view:focus-within .desktop-icon.selected:not(.renaming) .title {
	background: var(--Hilight);
	color: var(--HilightText);
    box-shadow: 0 0 8px #9d00ff; /* Seçilince mor parlama */
}

.folder-view:focus-within .desktop-icon.focused:not(.renaming) .title::after {
	content: "";
	position: absolute;
	left: 0;
	top: 0;
	bottom: 0;
	right: 0;
	border: 1px dotted #00ffff; /* Odaklanma çizgisi Cyan */
	mix-blend-mode: normal;
}

.desktop-icon.renaming .title {
	border: 1px solid var(--ButtonText);
    background: #000;
}
.desktop-icon .title input {
	font: inherit;
	outline: none;
	border: 1px solid #9d00ff;
	height: 17px;
	line-height: 13px;
	box-sizing: border-box;
	background: #000;
	color: #d000ff;
	text-align: inherit;
	padding: 0;
	align-self: center;
}

/* İkon Seçim Efekti (Mor Glitch) */
.desktop-icon .icon-wrapper .selection-effect {
	display: none;
	position: absolute;
	left: 0;
	top: 0;
	mask-image: var(--icon-image);
	-webkit-mask-image: var(--icon-image);
	background: var(--Hilight);
	opacity: 0.7;
    filter: drop-shadow(0 0 2px #00ffff); /* Cyan gölge ile kontrast yarat */
}
.folder-view:focus-within .desktop-icon.selected .icon-wrapper .selection-effect {
	display: block;
}
.desktop-icon .icon-wrapper {
	position: relative;
}
.desktop-icon.shortcut .icon-wrapper:after {
	content: var(--shortcut-icon, url("images/icons/shortcut-32x32.png"));
	position: absolute;
	left: 0;
	top: 0;
    filter: invert(1);
}

/* Marquee (Seçim kutusu) */
.folder-view .marquee {
	border: 1px dotted #9d00ff;
	box-sizing: border-box;
    background: rgba(157, 0, 255, 0.2);
	z-index: 1;
}

/* Pencereler ve Başlıklar */
.window-titlebar {
    /* Mor -> Siyah Gradient */
    background: linear-gradient(90deg, #600090, #000000);
    color: #fff;
    font-weight: bold;
    padding: 2px;
}
.window-titlebar.inactive {
    background: #200030;
    color: #888;
}

/* Yardım Penceresi Linkleri */
.help-window .item {
	font-family: 'Segoe UI', sans-serif;
	font-size: 12px;
	padding: 0 2px;
	position: relative;
    color: #e0ccff;
}
.help-window .item:hover {
	text-decoration: underline;
	color: #00ffff; /* Hover cyan */
	cursor: pointer;
    text-shadow: 0 0 3px #00ffff;
}
.help-window li:before {
	background-image: url("../../images/help-icons.png");
    filter: invert(1);
}
.help-window:not(.focused) .item.selected {
	background-color: var(--ButtonFace);
	color: var(--ButtonText);
}
.help-window.focused .item.selected {
	background-color: var(--Hilight);
	color: var(--HilightText);
	outline: 1px dotted #00ffff;
	outline-offset: -1px;
}

/* Window Switcher (Alt+Tab Menüsü) */
.window-switcher {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	display: flex;
	flex-direction: column;
	align-items: center;
	width: 350px;
	z-index: 1000;
	user-select: none;
    background: #000;
    border: 2px solid #fff;
    box-shadow: 10px 10px 0 #200030; /* Mor gölge */
}
.window-switcher * {
	pointer-events: none;
}
.window-switcher-list {
	display: flex;
    margin: 0;
    padding: 0;
	flex-direction: row;
	flex-wrap: wrap;
    justify-content: start;
	max-width: calc(43px * 7);
	margin-top: 17px;
	margin-bottom: 10px;
	margin-left: auto;
	margin-right: auto;
}
.window-switcher-item {
	display: flex;
	width: 43px;
	height: 43px;
	box-sizing: border-box;
	border: 2px solid transparent;
	padding: 0;
	outline: none;
}
.window-switcher-item.active {
	border: 2px solid var(--Hilight);
    background: #111;
}
.window-switcher-item img {
	margin: 3px;
    filter: invert(1);
}
.window-switcher-window-name {
    align-self: stretch;
	font-family: "MS Sans Serif", "Segoe UI", sans-serif;
	font-size: 10pt;
	line-height: 16px;
	font-weight: bold;
	height: 24px;
	box-sizing: border-box;
	padding: 2px;
	margin: 8px 12px;
	margin-top: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #fff;
    background: #300050;
    border: 1px inset #500080;
}

* {
	image-rendering: crisp-edges;
	image-rendering: pixelated;
}

.menu-hotkey {
	text-decoration-skip: none;
    text-decoration-skip-ink: none;
    color: #00ffff; /* Kısayol harfleri Cyan olsun, dikkat çeksin */
}
