@import url('https://fonts.googleapis.com/css2?family=Comfortaa:wght@400;700&family=JetBrains+Mono:wght@400;700&display=swap');

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'JetBrains+Mono', 'Comfortaa', monospace, sans-serif;
    background-color: #050409;
    color: #f0e6f2;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

/* Главный контейнер-карточка */
.page-wrapper {
    width: 100%;
    max-width: 800px;
    background-color: #07050d;
    border: 2px solid #5a1d6d;
    box-shadow: 0 0 30px rgba(255, 0, 170, 0.15);
    padding: 40px 30px;
    position: relative;
    overflow: hidden;
}

/* Пасхалки и милые элементы по бокам */
.deco-cat-topleft {
    position: absolute;
    top: 25px;
    left: 25px;
    color: #ff52cc;
    font-size: 14px;
    opacity: 0.8;
}

.deco-cat-topright {
    position: absolute;
    top: 25px;
    right: 35px;
    color: #ff52cc;
    font-size: 15px;
    text-align: right;
    line-height: 1.2;
    opacity: 0.8;
}



/* Верхняя секция (Аватар + Приветствие) */
.header-section {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 30px;
    margin-top: 20px;
}

/* Аватарка */
.avatar-container {
    width: 42%;
    position: relative;
}

.avatar-frame {
    width: 100%;
    height: auto;
    border-radius: 20px;
    border: 2px solid #ff52cc;
    box-shadow: 0 0 15px rgba(255, 52, 204, 0.3);
    display: block;
}

.feature-sticker {
    position: absolute;
    left: -15px;
    bottom: 40px;
    background: #0d091a;
    border: 1px solid #ff52cc;
    padding: 5px 10px;
    font-size: 11px;
    color: #ff52cc;
    border-radius: 8px;
    transform: rotate(-5deg);
}

/* Окно терминала приветствия */
.welcome-container {
    width: 53%;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.window-header {
    border: 1px solid #ff52cc;
    border-radius: 8px;
    padding: 15px;
    background: rgba(13, 9, 26, 0.7);
    position: relative;
    text-align: center;
    box-shadow: 0 0 15px rgba(255, 52, 204, 0.1);
}

.window-controls {
    position: absolute;
    top: 8px;
    right: 10px;
    display: flex;
    gap: 5px;
}

.win-btn {
    width: 14px;
    height: 14px;
    border: 1px solid #ff52cc;
    font-size: 9px;
    line-height: 12px;
    text-align: center;
    color: #ff52cc;
    cursor: pointer;
}

.window-title-prompt {
    position: absolute;
    top: 6px;
    left: 12px;
    color: #ff52cc;
    font-size: 12px;
}

.main-welcome-title {
    font-family: 'Comfortaa', sans-serif;
    font-size: 32px;
    font-weight: bold;
    color: #ff52cc;
    text-shadow: 0 0 10px rgba(255, 52, 204, 0.6);
    margin: 15px 0 5px 0;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.sub-welcome-title {
    font-size: 14px;
    color: #f0e6f2;
    margin-bottom: 5px;
}

/* Логи консоли */
.console-box {
    background: #090612;
    border-left: 3px solid #ff52cc;
    padding: 10px 15px;
    font-size: 12px;
    color: #a39cb0;
    line-height: 1.5;
}

.console-box .keyword {
    color: #ff52cc;
}

.console-box .success {
    color: #26f7a7;
    font-weight: bold;
}

/* Розовая записка-стикер */
.sticky-note {
    align-self: flex-end;
    background: #25122b;
    border: 1px dashed #ff52cc;
    padding: 10px 15px;
    font-size: 12px;
    color: #ff7ad9;
    transform: rotate(3deg);
    border-radius: 4px;
    max-width: 180px;
    text-align: center;
    box-shadow: 3px 3px 10px rgba(0,0,0,0.5);
}

/* Таблица */
.table-container {
    border: 2px solid #4a1559;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 35px;
    background: rgba(11, 8, 20, 0.8);
    box-shadow: 0 0 20px rgba(114, 30, 153, 0.1);
}

.cyber-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
    text-align: left;
}

.cyber-table th, .cyber-table td {
    padding: 15px 18px;
    border-bottom: 1px solid #20132e;
    vertical-align: top;
    font-size: 12.5px;
    line-height: 1.6;
}

.cyber-table tr:last-child th, .cyber-table tr:last-child td {
    border-bottom: none;
}

.table-header-row th {
    background: #140d24;
    color: #b18fff;
    font-size: 14px;
    font-weight: bold;
    border-bottom: 2px solid #4a1559 !important;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.col-block { width: 25%; }
.col-content { width: 75%; }

.row-label {
    color: #ff7ad9;
    font-weight: bold;
    display: table-cell;
    white-space: nowrap;
}

.cyber-table td {
    color: #e2d9f3;
}

.cyber-table tr:hover td {
    color: #ffffff;
    background: rgba(255, 82, 204, 0.03);
}

.keyword {
    color: #ff52cc;
}

/* Галерея */
.gallery-section {
    margin-top: 20px;
}

.gallery-title {
    font-family: 'Comfortaa', sans-serif;
    font-size: 18px;
    color: #ff52cc;
    margin-bottom: 18px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.hobby-card {
    background: #0f0b1a;
    border: 1px solid #3d1b4a;
    border-radius: 12px;
    padding: 8px;
    text-align: center;
    transition: transform 0.2s, border-color 0.2s;
}

.hobby-card:hover {
    transform: translateY(-4px);
    border-color: #ff52cc;
    box-shadow: 0 5px 15px rgba(255, 52, 204, 0.2);
}

.hobby-card .img-wrapper {
    width: 100%;
    height: 120px;
    border-radius: 8px;
    overflow: hidden;
    background: #171226;
}

.hobby-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.85;
}

.hobby-card p {
    margin: 8px 0 4px 0;
    font-size: 11px;
    color: #bfaecf;
}

/* Дропзона для загрузки фото */
.upload-card {
    border: 1px dashed #ff52cc;
    background: rgba(255, 82, 204, 0.02);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    padding: 10px;
}

.upload-card:hover {
    background: rgba(255, 82, 204, 0.05);
}

.upload-icon {
    font-size: 24px;
    color: #ff52cc;
    margin-bottom: 8px;
}

.upload-text {
    font-size: 9px !important;
    color: #ff7ad9 !important;
    line-height: 1.3;
}

.footer-section {
    text-align: center;
    margin-top: 40px;
    font-size: 11px;
    color: #564f66;
}