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

body {
    background-color: #111111;
    font-family: "Inter", sans-serif;
    color: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
}

/* Настройки для ПК (экраны шире 768px) */
@media (min-width: 769px) {
    body {
        overflow: hidden;
        height: 100vh;
    }
}

@media (max-width: 768px) {
    body {
        overflow-y: auto;
        align-items: flex-start;
        padding: 20px 0;
        height: auto;
    }

    .card {
        height: auto !important;
        min-height: 100vh;
        border-radius: 24px;
    }
}

.card {
    width: 100%;
    max-width: 750px;
    background-color: #1a1a1a;
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.top-nav {
    position: absolute;
    top: 30px;
    left: 30px;
    z-index: 10;
}

.hero {
    position: relative;
    height: 45%;
    flex-shrink: 0;
    overflow: hidden;
}

.hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 15%;
}

.hero-text {
    position: absolute;
    bottom: 70px;
    width: 100%;
    text-align: center;
}

.hero-text h1 {
    font-size: 3rem;
    font-weight: 900;
}

/* КОНТЕНТ */
.content {
    background-color: #1f1f1f;
    padding: 60px 50px 40px 50px;
    margin-top: -60px;
    clip-path: polygon(0 60px, 100% 0, 100% 100%, 0 100%);
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

/* ТАЙМЛАЙН */
.timeline-container {
    display: flex;
    margin-bottom: 20px;
}

.sidebar-line {
    position: relative;
    width: 35px;
}

.sidebar-line .line {
    position: absolute;
    left: 4px;
    top: 22px;
    height: 138px;
    width: 1px;
    background: rgba(255, 255, 255, 0.15);
}

.dot {
    position: absolute;
    left: 2px;
    width: 5px;
    height: 5px;
    background: #ffb800;
    border-radius: 50%;
    z-index: 2;
}

.d1 {
    top: 20px;
}
.d2 {
    top: 92px;
}
.d3 {
    top: 160px;
}

.date-block {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
}

.date-block .day {
    font-size: 3.8rem;
    font-weight: 900;
    margin-right: 20px;
    line-height: 1;
}

.time-meta .time {
    font-size: 1rem;
    font-weight: 700;
    border-bottom: 2px solid #fff;
    padding-bottom: 2px;
    margin-bottom: 4px;
    display: inline-block;
}

.info-list .item .txt {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.info-list .item .txt span {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.75rem;
}

.info-list .item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 22px;
}

.info-list .item i {
    color: #555;
    margin-right: 20px;
    margin-top: 5px;
}

/* ТЕКСТ С ПЛАВНЫМ РАСКРЫТИЕМ */
.about-section h3 {
    font-size: 0.85rem;
    font-weight: 800;
    margin-bottom: 12px;
    color: #fff;
}

.desc-wrapper {
    max-height: 60px;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.desc-wrapper.expanded {
    max-height: 400px;
}

.desc-wrapper p {
    font-size: 0.75rem;
    line-height: 1.6;
    color: #999;
}

.toggle-btn {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
    cursor: pointer;
    font-weight: 700;
    font-size: 0.9rem;
}

.toggle-btn i {
    color: #ffb800;
}

/* КНОПКА */
.button-wrapper {
    margin-top: auto;
    padding-top: 20px;
}

.btn-main {
    display: block;
    width: 100%;
    background: #ffb800;
    color: #000;
    text-align: center;
    padding: 22px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 900;
    text-transform: uppercase;
    font-size: 1rem;
    transition: transform 0.2s ease;
}

.btn-main:active {
    transform: scale(0.98);
}
