/* Main cursor */
* { cursor: url('cursor1_32.png'), auto !important; }

/* Clickable stuff - DEFAULT cursor3 */
button, 
a, 
.icon, 
.openWindow, 
.window span[class], 
.window-buttons *,
#crtToggle {
    cursor: url('cursor3_32.png') 0 0, pointer !important;
}

/* ============================= */
/*        GLOBAL FONT            */
/* ============================= */
@font-face {
  font-family: "Awake";
  src: url("Awake.woff2") format("woff2");
  font-weight: normal;
  font-style: normal;
}

html,body,div,span,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,abbr,address,cite,code,del,dfn,em,img,ins,kbd,q,samp,small,strong,sub,sup,var,b,i,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,figcaption,figure,footer,header,hgroup,menu,nav,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;outline:0;font-size:100%;vertical-align:baseline;background:transparent}
body{line-height:1;font-family: "Awake", sans-serif;}

/* ============================= */
/* DESKTOP BACKGROUND            */
/* ============================= */
#desktop {
    font-family: "Awake", sans-serif;
    position: fixed;
    height: 100%;
    width: 100%;
    background: url('Cnightsky.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    overflow: hidden;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
}

/* ============================= */
/* WINDOWS                       */
/* ============================= */
.window {
    position: absolute;
    border: 2px solid #000;
    background: #fff9ed;
    border-radius: 5px;
    z-index: 1000;
    box-shadow: 0 0 20px 6px rgba(199, 73, 149, 0.45);
}
.window.closed { display: none; }
.window.minimizedWindow { display: none; }

.window.fullSizeWindow {
    top: 0 !important;
    right: 0 !important;
    left: 0 !important;
    border-radius: 0;
    bottom: 32px !important;
}
.fullSizeWindow .ui-resizable-handle { display: none; }

/* ============================= */
/* WINDOW TITLE BARS             */
/* ============================= */
.windowHeader {
    background-color: #3d4699;
    text-align: right;
    border-bottom: 2px solid #000;
    padding: 2px;
    cursor: move;
    height: 28px;
    color: #fff9ed;
}
.activeWindow .windowHeader {
    background-color: #c74995;
    color: #fff9ed;
}

.windowHeader > span {
    display: inline-block;
    cursor: pointer;
    border: 2px solid #1c1852;
    background: #fff9ed;
    margin-left: 4px;
    font-size: 22px;
    padding: 2px 10px;
    border-radius: 5px;
    line-height: 20px;
    width: 12px;
    height: 20px;
    position: relative;
    overflow: hidden;
    color: #1c1852;
}
.windowHeader > span:hover {
    background: #68a9d1;
    color: #1c1852;
}
.windowHeader > span.winclose:hover {
    background: #f15454;
    color: #fff;
}

.windowHeader > span > span {
    display: inline-block;
    height: 8px;
    width: 10px;
    position: absolute;
    top: 6px;
    left: 10px;
}

.winminimize > span { border-bottom: 3px solid #000; }
.winmaximize > span {
    border: 2px solid #000;
    border-top: 3px solid #000;
}
.winmaximize > span:nth-child(2) { display: none; }

.fullSizeWindow .winmaximize > span:nth-child(1) {
    margin: 2px 0 0 -4px;
}
.fullSizeWindow .winmaximize > span:nth-child(2) {
    display: inline-block;
    top: 3px;
    left: 12px;
}

/* ============================= */
/* WINDOW CONTENT                */
/* ============================= */
.wincontent {
    padding: 10px;
    min-width: 400px;
    min-height: 265px;
    border: 2px solid #000;
    margin: 2px;
    background: #fff9ed;
    color: #1c1852;
    border-radius: 0 0 5px 5px;
}

/* ============================= */
/* TASKBAR                       */
/* ============================= */
#taskbar {
    position: absolute;
    height: 32px;
    border-top: 2px solid #000;
    bottom: 0;
    left: 0;
    right: 0;
    background: #68a9d1;
}

.taskbarPanel {
    display: inline-block;
    border: 2px solid #000;
    border-radius: 5px;
    line-height: 24px;
    margin: 2px 0 0 10px;
    font-size: 20px;
    padding: 0 10px;
    background: #3d4699;
    font-weight: bold;
    color: #fff9ed;
    cursor: pointer;
}
.taskbarPanel.activeTab {
    background: #c74995;
    color: #fff9ed;
}
.taskbarPanel.minimizedTab {
    background: #1c1852;
    color: #fff9ed;
}
.taskbarPanel.minimizedTab:hover { background: #68a9d1; }
.taskbarPanel.closed { display: none; }

/* ============================= */
/* DESKTOP ICONS                 */
/* ============================= */
#icons {
    position: absolute;
    top: 50%;
    left: 20px;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    z-index: 10;
}

.icon {
    width: 64px;
    text-align: center;
    user-select: none;
    filter: drop-shadow(0 0 6px rgba(104,169,209,0.55));
}

.icon img {
    width: 64px;
    height: 64px;
    margin-bottom: 4px;
    image-rendering: pixelated;
}

.icon span {
    color: #fff9ed;
    font-size: 20px;
    text-shadow: 1px 1px 0px #000;
}

/* ============================= */
/* CRT FILTER                    */
/* ============================= */
.crt-mode {
    position: relative;
    filter:
        drop-shadow(2px 0 0 rgba(255, 0, 0, 0.6))
        drop-shadow(-2px 0 0 rgba(0, 255, 255, 0.6))
        drop-shadow(0 0 12px #68a9d1)
        drop-shadow(0 0 22px #c74995)
        drop-shadow(0 0 32px #c74995);
}

.crt-mode::before {
    content: "";
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.22) 0,
        rgba(0, 0, 0, 0.22) 2px,
        transparent 2px,
        transparent 5px
    );
    mix-blend-mode: multiply;
}

.crt-mode::after {
    content: "";
    position: absolute;
    inset: 0;
    background: url("data:image/png;base64,iVBORw0KGgo...");
    opacity: 0.22;
    mix-blend-mode: overlay;
}

#desktop:not(.crt-mode)::before,
#desktop:not(.crt-mode)::after {
    content: none !important;
}

.crt-mode::before,
.crt-mode::after {
    pointer-events: none;
}

#crtOverlayText {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 48px;
    font-weight: bold;
    color: #ffc8ef;
    text-shadow:
        0 0 8px #ff9adb,
        0 0 14px #ff9adb,
        0 0 30px #c74995;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
    z-index: 9999999;
    font-family: "Awake", sans-serif;
}

#desktop.crt-mode #crtOverlayText {
    opacity: 1;
}

/* ============================================================
   DREAMY CRT EFFECT — toned down for a softer, cleaner look
   ============================================================ */

#desktop.crt-mode {
    filter:
        blur(0.6px)
        brightness(1.12)
        contrast(1.03)
        drop-shadow(1.5px 0 2px rgba(255, 150, 220, 0.30))
        drop-shadow(-1.5px 0 2px rgba(150, 200, 255, 0.30))
        drop-shadow(0 0 12px rgba(200, 160, 255, 0.22));
}

/* Softer dreamy overlay */
#desktop.crt-mode::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;

    background: radial-gradient(
        circle at 50% 40%,
        rgba(255, 220, 255, 0.15),
        rgba(190, 160, 255, 0.10),
        rgba(0, 0, 0, 0)
    );

    opacity: 0;
    animation: dreamy-fade-subtle 0.8s ease forwards;
    z-index: 9999997;
}

@keyframes dreamy-fade-subtle {
    0%   { opacity: 0; }
    100% { opacity: 0.35; }
}



/* ============================= */
/* CRT TOGGLE BUTTON             */
/* ============================= */
#crtToggle {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 3px;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    border: 2px solid #4a4a4a;
    background: radial-gradient(circle at 30% 30%, #c7e8ff, #53a4e0);
    box-shadow: 0 2px 0 #3a3a3a;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: bold;
    color: #ffffff;
}

#crtToggle.on {
    background: radial-gradient(circle at 30% 30%, #ffc8ef, #ff9adb);
    box-shadow: 0 0 10px #ff9adb, 0 0 20px #ff9adb;
    border-color: #c74995;
}

/* ============================= */
/* WINDOW POSITIONS              */
/* ============================= */
#window0 { top: 20px; left: 240px; }
#window1 { top: 400px; left: 120px; }
#window2 { top: 250px; left: 300px; }
#window3 { top: 225px; left: 350px; }
#window4 { top: 225px; left: 300px; }
#window5 { top: 20px; left: 500px; }
#window6 { top: 300px; left: 600px; }


/* ============================================================
   🌸 COTTON-CANDY IPOD — BIGGER VERSION + PROGRESS BAR
   ============================================================ */

:root{
  --cotton-body: #ffe1f2;
  --cotton-bezel: #ffbde6;
  --ipod-text: #7a3a7b;
  --blue-btn: #bde7ff;
  --blue-outline: #7cc6f5;
}

/* move iPod higher */
#ipodPlayer {
  position: fixed;
  bottom: 80px;
  right: 16px;
  z-index: 999999;
  width: 190px;              /* bigger iPod */
  font-family: "Awake", Arial, sans-serif;
}

/* cute pastel shell */
.ipod-shell {
  background: linear-gradient(180deg, var(--cotton-body), #fff5fb);
  padding: 12px;
  border-radius: 26px;
  box-shadow: 0 10px 22px rgba(215,106,201,0.25);
  border: 1px solid rgba(255,255,255,0.65);
}

/* bezel */
.ipod-bezel {
  background: linear-gradient(180deg, var(--cotton-bezel), #ffdff4);
  padding: 12px;
  border-radius: 20px;
  text-align: center;
  box-shadow: inset 0 -6px 18px rgba(255,255,255,0.3);
}

/* screen */
.ipod-screen {
  width: 100%;
  height: 110px;               /* bigger screen */
  border-radius: 14px;
  background: #000;
  overflow: hidden;
  margin-bottom: 8px;
  box-shadow: inset 0 -12px 26px rgba(0,0,0,0.35);
}
.ipod-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ipod-title {
  font-size: 24px;             
  font-weight: bold;
  color: var(--ipod-text);
  margin-bottom: 8px;
  padding: 6px 8px;            
  background: rgba(255,255,255,0.75);
  border-radius: 10px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  text-shadow: 0 1px 2px rgba(255,255,255,0.8);
}

/* -----Volume Slider---------- */

.ipod-volume-wrapper {
  display: flex;
  justify-content: center;   /* centers the slider */
  margin: 8px 0 4px 0;
  padding: 0 12px;
}

.cute-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100px;
  height: 10px;
  background: #ffdff4;
  outline: none;
  border: 2px solid #ffbde6;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: inset 0 0 4px rgba(0,0,0,0.15);
}

.cute-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 16px;
  height: 16px;
  background: #bde7ff;
  border: 2px solid #7cc6f5;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 0 8px rgba(124,198,245,0.6);
}

/* ========================================= */
/* PROGRESS BAR                              */
/* ========================================= */

.ipod-progress-wrapper {
  width: 100%;
  height: 10px;
  background: #ffdff4;
  border: 2px solid #ffbde6;
  border-radius: 6px;
  margin: 6px 0 10px 0;
  overflow: hidden;
  box-shadow:
    inset 0 0 4px rgba(0,0,0,0.15),
    0 0 6px rgba(255,189,230,0.4);
  cursor: pointer;
}

.ipod-progress {
  height: 100%;
  width: 0%;
  background: #bde7ff; /* pastel blue */
  box-shadow:
    inset 0 0 4px rgba(255,255,255,0.7),
    0 0 8px rgba(124,198,245,0.55);
  transition: width 0.08s linear;
}

/* ========================================= */
/* BUTTONS                                   */
/* ========================================= */

.ipod-buttons {
  display: flex;
  justify-content: center;
  gap: 8px;           /* wider spacing */
  margin-top: 6px;
}

.cute-btn {
  background: var(--blue-btn);
  border: 2px solid var(--blue-outline);
  padding: 6px 10px;             /* bigger controls */
  border-radius: 6px;
  font-size: 14px;
  color: #2b4f73;
  font-weight: bold;
  min-width: 32px;
  line-height: 1;
  image-rendering: pixelated;
  transition: 0.15s ease;
  box-shadow:
      0 0 0 3px #ffffff inset,
      0 3px 0 var(--blue-outline),
      0 0 10px rgba(124,198,245,0.4);
}

/* hover glow */
.cute-btn:hover {
  background: #d3f2ff;
  box-shadow:
      0 0 0 3px #ffffff inset,
      0 3px 0 var(--blue-outline),
      0 0 16px rgba(124,198,245,0.75);
}

/* pressed effect */
.cute-btn:active {
  transform: scale(0.92);
  box-shadow:
      0 0 0 3px #ffffff inset,
      0 1px 0 var(--blue-outline),
      0 0 6px rgba(124,198,245,0.4);
}

/* subtle glow when playing */
#ipodPlayer.playing .ipod-shell {
  box-shadow: 0 10px 28px rgba(255,159,220,0.35);
}

/* ------------------------Sticker Sheet Club Styling----------------------------------------------
    http://www.stickersheetclub.neocities.org 
    */
    
    /* Table Styling */
    table {
      background-color: #fdc2ce; 
      border: 1px solid #fdc2ce;
      width: 250px;
    }
		/* Space between the stickers */
		td img {
      padding:0px 15px;
		}
	
    /* Black shadow around stickers
    You can change or remove this if you want */
		.stickersimg img {
    filter: drop-shadow(1px 1px 1px rgba(0, 0, 0, 0.5));
		}
			
    /* To customize mulitple sets of tables:
    Each sticker sheet has 3 tables: ssclubheader_#, ssclubstickers_#, and #ssclubfooter_#. 
    Give each set of tables a different number.
    */
	    
    #ssclubheader_1 {
    /* You can use the background header image code here and remove it from the HTML.
     background-image:url('https://stickersheetclub.neocities.org/images/stickersheetheader.png'); 
    background-repeat: no-repeat; 
    background-position: top center;
    */
    }
			
  	#ssclubstickers_1 {
    /* You can add a different background color or image here too! */
    }
			
    #ssclubfooter_1 {
    /* Here too! */
    }
			#window5 .wincontent {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* ============================================================
   PICTURES WINDOW GRID — NEW!
   ============================================================ */

.pictures-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 16px;
    padding: 10px;
    justify-items: center;
}

.pictures-grid img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    border: 2px solid #000;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    image-rendering: pixelated; /* keeps pixel art crisp */
    transition: transform 0.2s ease;
}

.pictures-grid img:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 16px rgba(199, 73, 149, 0.4);
}

/* Super Simple Photo Zoom */
.simple-zoom {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    max-width: 90%;
    max-height: 90vh;
    border: 6px solid #c74995;
    border-radius: 12px;
    box-shadow: 0 0 40px rgba(199, 73, 149, 0.7);
    z-index: 999999;
    transition: transform 0.3s ease;
    image-rendering: pixelated;
    cursor: pointer;
}

.simple-zoom.active {
    transform: translate(-50%, -50%) scale(1);
}