* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, #0f0c29, #302b63, #24243e);
    color: #fff;
    padding: 20px;
}

.container {
    max-width: 800px;
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    padding: 50px 40px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
    text-align: center;
    animation: fadeIn 1.2s ease-out;
}

@keyframes fadeIn {
    0% { opacity: 0; transform: translateY(40px); }
    100% { opacity: 1; transform: translateY(0); }
}

.avatar {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f093fb, #f5576c);
    margin: 0 auto 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 60px;
    font-weight: 700;
    color: #fff;
    box-shadow: 0 10px 30px rgba(245, 87, 108, 0.4);
    user-select: none;
}

h1 {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 12px;
    background: linear-gradient(90deg, #f093fb, #f5576c, #4facfe);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientMove 4s ease infinite;
}

@keyframes gradientMove {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 30px;
    letter-spacing: 2px;
}

.divider {
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #f093fb, #f5576c);
    margin: 0 auto 30px;
    border-radius: 10px;
}

.description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 35px;
}

.status {
    display: inline-block;
    padding: 10px 28px;
    border-radius: 50px;
    background: rgba(76, 175, 80, 0.2);
    border: 1px solid rgba(76, 175, 80, 0.3);
    color: #81c784;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 30px;
}

.status-dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    background: #4caf50;
    border-radius: 50%;
    margin-right: 10px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(0.9); }
    100% { opacity: 1; transform: scale(1); }
}

.links {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 10px;
}

.links a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 0.95rem;
    padding: 8px 20px;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.links a:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.project-btn {
    background: linear-gradient(135deg, #f093fb, #f5576c) !important;
    border-color: #f5576c !important;
    color: #fff !important;
    font-weight: 600;
}

.project-btn:hover {
    transform: translateY(-2px) scale(1.05) !important;
    box-shadow: 0 10px 30px rgba(245, 87, 108, 0.3);
}

.footer {
    margin-top: 35px;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.25);
    letter-spacing: 1px;
}

@media (max-width: 600px) {
    .container { padding: 30px 20px; }
    h1 { font-size: 2rem; }
    .avatar { width: 100px; height: 100px; font-size: 40px; }
    .description { font-size: 1rem; }
}
/* ===== УВЕЛИЧЕНИЕ ФИГУР В ШАХМАТАХ ===== */
.square {
    font-size: 6rem !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    line-height: 1 !important;
}

/* Тёмная тема доски */
.square.light {
    background: #d6c8b0 !important;
}
.square.dark {
    background: #4a5d4e !important;
}
/* ===== ШАХМАТЫ — КРУПНЫЕ ФИГУРЫ И ТЁМНАЯ ТЕМА ===== */

/* Размер фигур */
.square {
    font-size: 6.5rem !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    line-height: 1 !important;
}

/* Цвета клеток */
.square.light {
    background: #d6c8b0 !important;
}
.square.dark {
    background: #4a5d4e !important;
}

/* Подсветка выбранной клетки */
.square.selected {
    background: #6a8f6a !important;
    box-shadow: inset 0 0 20px rgba(255, 255, 255, 0.15) !important;
}

/* Подсветка возможных ходов */
.square.valid-move::after {
    content: '';
    position: absolute;
    width: 30%;
    height: 30%;
    background: rgba(255, 255, 255, 0.25) !important;
    border-radius: 50%;
    pointer-events: none;
}

/* Последний ход */
.square.last-move {
    background: rgba(255, 215, 0, 0.15) !important;
}

/* Для мобильных */
@media (max-width: 600px) {
    .square {
        font-size: 4rem !important;
    }
}
