* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Georgia', serif;
    background-color: #0f0f0f;
    color: #c0c0c0;
    line-height: 1.7;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}
.container { max-width: 1000px; margin: 0 auto; padding: 0 20px; width: 100%; }
header { background: rgba(15, 15, 15, 0.95); padding: 20px 0; position: sticky; top: 0; z-index: 100; border-bottom: 1px solid #2a2a2a; }
nav { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; }
.logo { font-size: 1.5em; font-weight: bold; color: #7a8b99; text-decoration: none; letter-spacing: 1px; }
nav ul { display: flex; list-style: none; gap: 25px; }
nav a { color: #888; text-decoration: none; transition: color 0.3s; font-size: 0.95em; text-transform: uppercase; letter-spacing: 1px; }
nav a:hover, nav a.active { color: #e0e0e0; }
.hero { text-align: center; padding: 100px 20px; background: radial-gradient(circle at center, #1a1a1a 0%, #0f0f0f 70%); }
.hero h1 { font-size: 3.5em; color: #e0e0e0; margin-bottom: 15px; font-weight: normal; }
.slogan { font-size: 1.4em; color: #555; font-style: italic; margin-top: 10px; display: block; }
section { padding: 40px 20px; max-width: 1000px; margin: 0 auto; }
h2 { font-size: 2em; color: #7a8b99; border-bottom: 1px solid #333; padding-bottom: 15px; margin-bottom: 30px; font-weight: normal; }
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.tile { background: #161616; padding: 30px 25px; border-radius: 4px; text-decoration: none; color: #aaa; border: 1px solid #2a2a2a; transition: all 0.3s ease; }
.tile:hover { background: #1f1f1f; border-color: #444; color: #e0e0e0; transform: translateY(-3px); }
.tile h3 { color: #ccc; margin-bottom: 10px; font-weight: normal; font-size: 1.3em; }
.about-content { display: flex; gap: 40px; align-items: center; flex-wrap: wrap; }
.avatar { width: 150px; height: 150px; background: #1a1a1a; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 3em; color: #555; border: 1px solid #333; }
.hobby-card { background: #161616; padding: 25px; margin-bottom: 20px; border-left: 3px solid #333; }
.quote { font-style: italic; color: #666; margin: 15px 0; padding-left: 15px; border-left: 1px solid #444; }
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 15px; }
.gallery-item { position: relative; overflow: hidden; border-radius: 4px; aspect-ratio: 4/3; background: #1a1a1a; border: 1px solid #2a2a2a; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: opacity 0.3s; filter: grayscale(80%); }
.gallery-item:hover img { opacity: 0.8; filter: grayscale(0%); }
.caption { position: absolute; bottom: 0; left: 0; right: 0; background: rgba(0,0,0,0.9); color: #ccc; padding: 10px; font-size: 0.9em; transform: translateY(100%); transition: transform 0.3s; }
.gallery-item:hover .caption { transform: translateY(0); }
.stories-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.story-card { background: #161616; padding: 25px; border: 1px solid #2a2a2a; border-radius: 4px; }
.story-card h3 { color: #ccc; font-weight: normal; margin-bottom: 5px; }
.date { color: #555; font-size: 0.85em; margin-bottom: 15px; display: block; }
.contacts-list { display: flex; gap: 20px; flex-wrap: wrap; }
.contact-item { background: #161616; padding: 25px; border-radius: 4px; min-width: 200px; text-align: center; border: 1px solid #2a2a2a; }
.contact-item a { color: #aaa; text-decoration: none; transition: color 0.3s; }
.contact-item a:hover { color: #e0e0e0; }
.page-nav { max-width: 1000px; margin: 20px auto; padding: 0 20px 60px; display: flex; justify-content: space-between; }
.btn { padding: 10px 25px; border: 1px solid #333; color: #777; text-decoration: none; border-radius: 4px; transition: all 0.3s; }
.btn:hover { border-color: #555; color: #ccc; background: #1a1a1a; }
footer { background: #0a0a0a; text-align: center; padding: 30px; color: #444; margin-top: auto; border-top: 1px solid #1a1a1a; font-size: 0.9em; }