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

body {
    /* Подключаем ваш идеальный фон */
    background-image: url('bg.webp'); 
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    
    overflow: hidden;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

/* Контейнер по центру экрана */
.page-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    z-index: 10;
    margin-top: -50px; /* Чуть приподнимаем весь блок */
}

/* Главный заголовок (Металлический стиль) */
.creed-title {
    font-family: 'Rajdhani', sans-serif;
    font-weight: 800;
    font-size: 6rem; /* Очень крупный */
    line-height: 0.85;
    text-transform: uppercase;
    letter-spacing: 2px;
    
    /* Эффект темного металла */
    background: linear-gradient(180deg, #8a9ea8 0%, #2d3748 40%, #1a202c 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    
    /* Тень для объема и белое свечение вокруг */
    filter: drop-shadow(0px 8px 10px rgba(0, 0, 0, 0.2)) drop-shadow(0px 0px 30px rgba(255, 255, 255, 1));
    margin-bottom: 25px;
}

/* Ваше имя */
.creed-subtitle {
    font-family: 'Rajdhani', sans-serif;
    color: #1a202c;
    font-size: 3rem; /* Увеличили с 2.2rem до 3rem для большей значимости */
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 8px; /* Немного увеличили для баланса с новым размером */
    text-shadow: 0px 0px 15px rgba(255,255,255,1), 0px 0px 30px rgba(255,255,255,0.8);
}

/* Стеклянная кнопка */
.start-container {
    margin-top: 50px;
}

.start-btn {
    background: linear-gradient(135deg, rgba(255,255,255,0.85) 0%, rgba(240,245,250,0.6) 100%);
    color: #2d3748;
    border: 2px solid rgba(255,255,255,1);
    border-radius: 50px;
    padding: 16px 45px;
    font-family: 'Jura', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    backdrop-filter: blur(8px); /* Эффект размытия фона под кнопкой */
    box-shadow: 0 10px 20px rgba(0,0,0,0.05), 0 0 25px rgba(255,255,255,0.8), inset 0 0 10px rgba(255,255,255,1);
    transition: all 0.3s ease;
}

.start-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1), 0 0 40px rgba(255,255,255,1), inset 0 0 20px rgba(255,255,255,1);
    background: #ffffff;
}

.start-btn:active {
    transform: translateY(1px);
}

/* Полоса загрузки в левом нижнем углу */
.loading-bar-overlay {
    position: absolute;
    bottom: 30px;
    left: 40px;
    width: 280px;
    height: 4px;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 2px;
    overflow: visible;
}

.loading-text {
    position: absolute;
    top: -24px;
    left: 0;
    color: #2d3748;
    font-family: 'Jura', sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1px;
    white-space: nowrap;
    text-transform: uppercase;
    text-shadow: 0 0 10px rgba(255,255,255,1); /* Чтобы текст не сливался с линиями фона */
}

.loading-progress {
    height: 100%;
    width: 0%;
    background: linear-gradient(to right, #3182ce, #63b3ed);
    box-shadow: 0 0 10px #63b3ed;
    border-radius: 2px;
}
/* === МОБИЛЬНАЯ ВЕРСИЯ ДЛЯ СТАРТА === */
@media (max-width: 768px) {
    body {
        overflow-y: auto; /* Разрешаем скролл на мобильных, если что-то не влезает */
    }
    .creed-title {
        font-size: 3.5rem; /* Уменьшаем размер букв, чтобы заголовок красиво влез в экран телефона */
        line-height: 0.9;
        margin-bottom: 15px;
    }
    .creed-subtitle {
        font-size: 1.8rem; /* Пропорционально уменьшаем имя */
        letter-spacing: 4px;
    }
    .start-container {
        margin-top: 40px;
    }
    .start-btn {
        padding: 14px 35px; /* Чуть уменьшаем кнопку, чтобы её было удобно нажимать пальцем */
        font-size: 1rem;
    }
    .loading-bar-overlay {
        left: 50%;
        transform: translateX(-50%); /* Центрируем полосу загрузки по центру экрана смартфона */
        width: 80%;
        bottom: 20px;
    }
}