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

body {
    font-family: 'Montserrat', sans-serif;
    color: #f4ebd8; 
    background-color: #000;
    overflow: hidden; /* Без скроллов, как полноэкранное приложение */
}

/* Фон на весь экран. Используем чистую картинку без текста */
.background-container {
    width: 100vw;
    height: 100vh;
    /* Картинка автоматически обрезает края, чтобы заполнить любой экран без искажений! */
    background-image: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('bg_clean.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    position: relative;
}

/* Типографика как на оригинале */
h1, h2, .logo-text h1, .main-title h2, .quote, .footer-quote {
    font-family: 'Cormorant Garamond', serif;
}

a {
    text-decoration: none;
    color: inherit;
    display: inline-block;
    transition: all 0.3s ease;
    cursor: pointer;
}

/* Все фразы - это кнопки */
.button-hover {
    padding: 8px 12px;
    border-radius: 8px;
    border: 1px solid transparent;
}

.button-hover:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 4rem;
    height: 15vh;
}

.logo-group {
    display: flex;
    align-items: center;
}

.logo-text h1 {
    font-size: 1.5rem;
    letter-spacing: 2px;
    font-weight: 600;
    color: #e8d0a9; /* Золотистый оттенок */
}

.logo-text p {
    font-size: 0.75rem;
    letter-spacing: 1px;
    opacity: 0.8;
}

.main-nav {
    display: flex;
    gap: 2rem;
    font-size: 0.85rem;
    letter-spacing: 1.5px;
}

.login-btn {
    border: 1px solid rgba(244, 235, 216, 0.6);
    padding: 8px 24px;
    border-radius: 30px;
    font-size: 0.85rem;
    letter-spacing: 1.5px;
}

.login-btn:hover {
    background-color: rgba(244, 235, 216, 0.2);
}

.main-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-grow: 1;
    padding: 0 4rem;
}

.left-sidebar {
    width: 25%;
}

.quote {
    font-style: italic;
    font-size: 1.4rem;
    line-height: 1.4;
    opacity: 0.9;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.8);
}

.center-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1rem;
    width: 50%;
}

.main-title {
    font-size: 3rem;
    letter-spacing: 6px;
    line-height: 1.2;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.9);
    color: #fff8eb;
}

.ornament {
    color: #dcb68a;
    font-size: 1.5rem;
}

.subtitle {
    font-size: 1.2rem;
    line-height: 1.5;
    opacity: 0.9;
    letter-spacing: 1px;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.9);
}

.start-btn {
    background-color: #dcb68a;
    color: #3e2723;
    padding: 15px 40px;
    border-radius: 30px;
    font-weight: 500;
    font-size: 1rem;
    letter-spacing: 1.5px;
    margin-top: 20px;
    border: none;
    box-shadow: 0 4px 15px rgba(0,0,0,0.4);
}

.start-btn:hover {
    background-color: #eed0a7;
    transform: scale(1.05);
}

.right-sidebar {
    width: 25%;
    display: flex;
    justify-content: flex-end;
}

.side-nav {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 1.2rem;
    font-size: 0.85rem;
    letter-spacing: 2px;
}

.ornament-small {
    font-size: 1.2rem;
    color: #dcb68a;
    opacity: 0.7;
    text-align: center;
    margin-top: 10px;
}

.footer {
    position: absolute;
    bottom: 3rem;
    right: 5rem;
    text-align: right;
}

.footer-quote {
    font-style: italic;
    font-size: 1.4rem;
    line-height: 1.3;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.8);
}
