/* --- Global Reset & Fonts --- */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: #121212; /* Dark minimalist background */
    color: #e0e0e0;
    font-family: 'Zen Old Mincho', serif;
    overflow: hidden; /* Keeps viewport locked */
}

/* --- Main Layout --- */
.app-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 28px;
    height: 100vh;
    height: 100dvh;
    padding: 24px 16px;
    max-width: 600px;
    margin: 0 auto;
}

/* --- Header Section --- */
.header-area {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
}

.personal-logo-img {
    width: 25em; 
    max-width: 90%; 
    height: auto;
    display: block;
}

.subtitle {
    font-family: 'Hanken Grotesk', sans-serif;
    font-weight: 400;
    font-size: 0.9rem;
    color: #8c8c8c;
    margin-top: 16px;
    letter-spacing: 0.5px;
}

/* --- Sitemap Links --- */
.sitemap {
    margin-top: 20px;
    display: flex;
    gap: 16px;
}

.nav-link {
    color: #8c8c8c;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s ease;
}

.nav-link:hover {
    color: #ffffff;
    text-decoration: underline;
}

/* --- Logo Wrapper (Left-aligns subtitle under "NotActually") --- */
.logo-wrapper {
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* Aligns children to the left edge of the wrapper */
    width: fit-content;      /* Keeps the wrapper tight around the logo */
}

/* --- Card Section --- */
.card-area {
    width: 100%;
    display: flex;
    justify-content: center;
}

/* --- Chibi & Container Setup --- */
.notepad-container {
    position: relative;
    width: 100%;
    z-index: 1;
}

.chibi {
    position: absolute;
    width: 80px; /* Adjust size if needed! */
    height: auto;
    z-index: -1; /* Puts them behind the notepad window */
    pointer-events: none; /* Prevents them from blocking mouse clicks */
}

.chibi-top-right {
    top: -45px;
    right: -15px;
}

.chibi-bottom-left {
    bottom: -35px;
    left: -15px;
}

/* --- Windows 11 Notepad (#3d57ff Dark Theme!) --- */
.notepad-window {
    background-color: #121528; 
    border: 1px solid rgb(146 153 197 / 79%); /* Your lavender-slate border! */
    border-radius: 8px;
    width: 100%;
    height: 310px;
    max-height: 42vh; 
    /* Your custom inset box-shadow! */
    box-shadow: inset 1px 20px 32px rgba(61, 87, 255, 0.15); 
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

/* Titlebar */
.notepad-titlebar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 38px;
    padding: 0 12px;
    user-select: none;
    border-bottom: 1px solid rgb(82 90 143 / 31%);
}

.titlebar-left {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #a5b4fc; /* Soft lavender-blue text */
}

.notepad-icon-css {
    color: #3d57ff; /* Your gorgeous electric blue for the star! ★ */
    font-size: 0.95rem;
}

.notepad-title {
    font-family: 'Hanken Grotesk', sans-serif;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.3px;
}

.titlebar-actions {
    display: flex;
    height: 100%;
    margin-right: -12px;
}

.win-btn {
    background: none;
    border: none;
    color: #a5b4fc;
    width: 46px;
    height: 100%;
    font-size: 0.75rem;
    cursor: pointer;
    transition: background-color 0.15s ease;
}

.win-btn:hover {
    background-color: rgba(61, 87, 255, 0.2); /* Tinted hover effect */
}

.btn-close:hover {
    background-color: #e81123 !important; /* Kept the classic Windows red close */
    color: white;
}

/* Text Editor Area */
.notepad-content {
    background-color: #0e0f12; /* Your custom #0e0f12 bg! */
    flex: 1;
    padding: 18px 20px;
    overflow-y: auto;
    text-align: left;
    font-family: 'Zen Old Mincho', serif;
    font-size: 0.9rem;
    line-height: 1.6;
    color: #e0e6ff;
}

/* Normal paragraph layout instead of notepad lines */
.notepad-content p {
    margin-bottom: 12px;
}

/* Statusbar (Top border unified!) */
.notepad-statusbar {
    background-color: #0d1020;
    height: 26px;
    padding: 0 16px;
    border-top: 1px solid rgb(82 90 143 / 31%); /* Unified border */
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 20px;
    font-family: 'Hanken Grotesk', sans-serif;
    font-size: 0.7rem;
    letter-spacing: 0.3px;
    color: #6366f1; 
    user-select: none;
}