body {
  margin: 0;
  font-family: Arial;
  background: var(--bg);
  color: var(--text);
  height: 100vh;
  overflow: hidden;
}

.desktop {
  position: fixed;
  left: 30px;
  top: 60px;
  display: flex;
  flex-direction: column;
  gap: 25px;
  overflow-y: auto;
  height: 100vh;
}

.clock {
  position: fixed;
  top: 20px;
  right: 30px;
  font-size: 14px;
  opacity: 0.7;
}

.icon {
  width: auto;
  text-align: center;
  cursor: pointer;
}

.icon.active .icon-img {
  background: var(--hov);
}

.icon-img {
  font-size: 22px;
  background: var(--accent);
  padding: 14px;
  border-radius: 14px;
}

.icon:hover .icon-img {
  transform: translateY(-3px);
}

.window {
  position: absolute;
  width: 520px;
  background: var(--window);
  border-radius: 16px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.15);
  display: flex;
  flex-direction: column;

  resize: both;
  overflow: hidden;

  opacity: 0;
  transform: scale(0.97);
  transition: 0.15s ease;

  min-width: 320px;
  min-height: 200px;
  pointer-events: none;
  z-index: 0;
}

.window.show {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}

.window-content {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
  gap: 24px;
  padding: 20px;
}

.title-bar {
  background: var(--tb);
  padding: 10px 14px;
  cursor: move;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  border-radius: 16px 16px 0 0;
  z-index: 2;
}

.title-bar {
  cursor: grab;
  user-select: none;
}

.title-bar:active {
  cursor: grabbing;
}

.title {
  text-align: center;
  font-size: 14px;
}

.close {
  background: none;
  border: none;
  cursor: pointer;
  font-family: monospace;
  color: var(--text);
}

.close:hover {
  opacity: 0.6;
}

.taskbar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 35px;
  background: #111;
  border-top: 1px solid #333;
  display: flex;
  align-items: center;
  padding: 0 10px;
  gap: 10px;
}

.task-item {
  cursor: pointer;
  padding: 3px 8px;
  background: #1a1a1a;
  border: 1px solid #333;
}

.dock {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--tb);
  padding: 10px 18px;
  border-radius: 18px;
  display: flex;
  gap: 18px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.dock span {
  font-size: 22px;
  cursor: pointer;
  position: relative;
  transition: 0.15s;
}

.dock span.active::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 5px;
  height: 5px;
  background: #7a6b5d;
  border-radius: 50%;
}

.dock span.active {
  transform: translateY(-4px);
}

.content {
  padding: 20px;
  color: var(--text);
  flex: 1;
  overflow-y: auto;

  max-height: 400px;   /* adjust if needed */
}


.music-toggle {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 55px;
  height: 55px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
  transition: 0.2s;
}

.music-toggle:hover {
  transform: translateY(-3px);
}

.music-toggle.activate {
  background: var(--hov);
}

.traffic {
  display: flex;
  gap: 6px;
}

.traffic span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: block;
}

.red { background: #ff5f57; }
.yellow { background: #febc2e; }
.green { background: #28c840; }

.red {
  background: #ff5f57;
}

.yellow {
  background: #febc2e;
}

.green {
  background: #28c840;
}

.about {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.about-header {
  display: flex;
  align-items: center;
  gap: 16px;
}

.profile {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.subtitle {
  font-size: 13px;
  opacity: 0.7;
}

.links-box {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.link-item {
  display: flex;
  align-items: center;
  gap: 12px;

  padding: 14px;
  border-radius: 12px;
  background: var(--button);
  border: 1px solid #e2d6c9;

  text-decoration: none;
  color: var(--text);

  transition: 0.15s;
}

.link-item:hover {
  transform: translateY(-2px);
  background: var(--hov);
}

.project-card {
  background: var(--button);
  border: 1px solid #e2d6c9;
  border-radius: 16px;
  padding: 18px;
  margin-bottom: 20px;
}

.project-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.project-top h3 {
  margin: 0;
}

.btn {
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 10px;
  border: 1px solid #c9b8a6;
  cursor: pointer;
  text-decoration: none;
  color: #4a4036;
}

.meta {
  display: flex;
  gap: 8px;
  margin: 8px 0;
  align-items: center;
}

.tag {
  font-size: 11px;
  padding: 4px 8px;
  background: var(--tag);
  border-radius: 8px;
}

.date {
  font-size: 12px;
  opacity: 0.6;
}

.tags {
  display: flex;
  gap: 8px;
  margin-top: 10px;
}

.tags span {
  font-size: 11px;
  padding: 4px 8px;
  background: var(--tag);
  border-radius: 8px;
}

/* Container override for this specific window style */
#brand .content {
  text-align: center;
  padding: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Avatar Circle */
.brand-avatar {
  width: 90px;
  height: 90px;
  background: #f2d5d5;
  border-radius: 50%;
  margin: 0 auto 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden; /* This crops the image into a circle */
  box-shadow: inset 0 0 15px rgba(0,0,0,0.05);
}

.profile-img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* This makes sure the image fills the circle without stretching */
}

/* Optional: Add a slight hover effect to the CTA link wrapper */
.brand-cta-wrapper {
  display: block;
  width: 100%;
  text-decoration: none;
}

.brand-name {
  font-size: 28px;
  margin: 10px 0 5px 0;
  letter-spacing: 1px;
  color: var(--text);
}

.brand-tagline {
  font-size: 11px;
  font-weight: bold;
  letter-spacing: 1.5px;
  color: #8b6243; /* Bronze/Brown color */
  margin-bottom: 20px;
}

.brand-bio {
  font-size: 14px;
  line-height: 1.6;
  max-width: 90%;
  margin: 0 auto 25px;
  color: var(--text2);
}

/* Horizontal Link Buttons */
.brand-links {
  display: flex;
  gap: 10px;
  width: 100%;
  justify-content: center;
  margin-bottom: 20px;
}

.brand-link-btn {
  flex: 1;
  padding: 12px;
  border: 1px solid #e2d6c9;
  border-radius: 12px;
  background: var(--button);
  text-decoration: none;
  color: var(--text);
  font-size: 13px;
  transition: all 0.2s;
}

.brand-link-btn:hover {
  background: var(--hov);
  border-color: #d9cbbd;
}

.brand-hr {
  width: 100%;
  border: 0;
  border-top: 1px solid #e2d6c9;
  margin: 20px 0;
}

/* Story Section */
.brand-story {
  text-align: left;
  width: 100%;
}

.brand-section-title {
  font-size: 11px;
  letter-spacing: 1px;
  color: #8b6243;
  margin-bottom: 12px;
}

.brand-story p {
  font-size: 13.5px;
  line-height: 1.6;
  margin-bottom: 25px;
}

/* Footer CTA */
.brand-cta {
  width: 100%;
  background: #8b6243;
  color: white;
  border: none;
  padding: 15px;
  border-radius: 30px;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.2s;
}

.brand-cta:hover {
  background: #724f35;
}

:root {
  --bg: #d9cbbd;
  --window: #f3e9df;
  --text: #3a2f2a;
  --accent: #efe6db;
  --tb: #e9ded3;
  --button: #efe6db;
  --tag: #e2d6c9;
  --text2: #4a4036;
  --hov: #e8d2d2;
}

.dark {
  --bg: #2a1e12;
  --window: #2a1e12;
  --text: #e1d1be;
  --accent: #3d2a19;
  --tb:#24190f;
  --button: #3d2a19;
  --tag: #4b3621;
  --text2: #e1d1be;
  --hov: #302115;
}

.dark-toggle {
  position: fixed;
  right: 80px;
  bottom: 20px;
  width: 55px;
  height: 55px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

body, .window, .icon-img {
  transition: 0.2s;
}

.bg-svg {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: auto;
  z-index: 0;
  pointer-events: none;
}

.bg-svg svg {
  width: 100%;
  height: auto;
  display: block;
  transition: 0.3s;
}

.dark .bg-svg svg {
  filter: brightness(0.4);
}

#lockscreen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--bg);
  z-index: 999;

  display: flex;
  justify-content: center;
  align-items: center;
}

.lock-box {
  text-align: center;
}

.lock-time {
  font-size: 32px;
  margin-bottom: 10px;
}

.postit {
  position: absolute;
  top: 20px;
  right: 20px;
  background: #fff8b0;
  padding: 10px;
  transform: rotate(-5deg);
}

/* Chrome, Edge, Safari */
.desktop::-webkit-scrollbar {
  display: none;
}

/* Firefox */
.desktop {
  scrollbar-width: none;
}

/* IE (just in case) */
.desktop {
  -ms-overflow-style: none;
}