/* Стили для страницы просмотра события */

.container {
    max-width: 800px;
    margin: 40px auto;
    padding: 0 20px;
}

.game-header {
    margin-bottom: 30px;
}

.event-header-layout {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 30px;
    margin-bottom: 30px;
    align-items: start;
}

@media (max-width: 768px) {
    .event-header-layout {
        grid-template-columns: 1fr;
    }
}

.game-title {
    font-family: 'EB Garamond', serif;
    font-size: 32px;
    color: #fff;
    margin: 0 0 10px;
}

.game-master {
    font-size: 18px;
    color: #ff3333;
    margin-bottom: 20px;
}

.game-details {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.detail-card {
    background: #1a1a1a;
    padding: 15px;
    border-radius: 5px;
    border: 1px solid #2a2a2a;
    transition: border-color 0.3s;
}

.detail-card:hover {
    border-color: #ff3333;
}

.detail-label {
    color: #a0a0a0;
    font-size: 14px;
    margin-bottom: 5px;
    font-family: 'Roboto Mono', monospace;
}

.detail-value {
    font-size: 16px;
    color: #d4d4d4;
}

.event-image-container {
    position: sticky;
    top: 20px;
    margin-bottom: 0;
}

.event-main-image {
    width: 100%;
    height: auto;
    min-height: 300px;
    border-radius: 5px;
    border: 1px solid #2a2a2a;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    object-fit: cover;
    background: #1a1a1a;
}

.event-image-placeholder {
    width: 100%;
    min-height: 300px;
    border-radius: 5px;
    border: 1px solid #2a2a2a;
    background: #1a1a1a;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.event-info-container {
    flex: 1;
}

.game-section {
    margin-bottom: 30px;
    padding: 20px;
    background: #1a1a1a;
    border-radius: 5px;
    border-left: 3px solid #ff3333;
}

.section-subtitle {
    font-family: 'EB Garamond', serif;
    font-size: 20px;
    color: #fff;
    margin: 0 0 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #2a2a2a;
}

.game-text {
    line-height: 1.8;
    color: #d4d4d4;
}

.game-description {
    margin-bottom: 40px;
    padding: 20px;
    background: #1a1a1a;
    border-radius: 5px;
    border-left: 3px solid #ff3333;
}

.game-description p {
    margin: 0;
}

.section-title {
    font-family: 'EB Garamond', serif;
    font-size: 24px;
    color: #fff;
    margin: 40px 0 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #2a2a2a;
}

.registration-status {
    margin-top: 20px;
}

.registration-status p {
    font-size: 16px;
}

@media (max-width: 768px) {
    .event-header-layout {
        grid-template-columns: 1fr;
    }
    
    .event-image-container {
        position: static;
        margin-bottom: 20px;
    }
    
    .game-details {
        grid-template-columns: 1fr;
    }
    
    .game-title {
        font-size: 24px;
    }
    
    .game-master {
        font-size: 16px;
    }
}

