* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.container {
    max-width: 900px;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 20px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.25);
    overflow: hidden;
    margin-bottom: 30px;
}

h1 {
    text-align: center;
    color: #2c3e50;
    margin: 30px 0;
    font-size: 2.8rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
}

.current-time {
    text-align: center;
    font-size: 1.5rem;
    color: #3498db;
    margin-bottom: 20px;
    font-weight: bold;
}

.gallery-table {
    width: 100%;
    border-collapse: collapse;
    padding: 20px;
    display: table;
}

.gallery-table tr {
    display: table-row;
}

.gallery-table td {
    padding: 15px;
    text-align: center;
    vertical-align: middle;
    border: 1px solid rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    display: table-cell;
}

.gallery-table td:hover {
    background-color: rgba(52, 152, 219, 0.1);
    transform: translateY(-5px);
}

.image-link {
    display: inline-block;
    text-decoration: none;
    color: #3498db;
    font-weight: 600;
    transition: all 0.3s ease;
}

.image-link:hover {
    color: #e74c3c;
    transform: scale(1.05);
}

.image-container {
    width: 180px;
    height: 180px;
    margin: 0 auto 15px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.4s ease;
    border: 3px solid white;
}

.image-container:hover {
    transform: rotate(5deg) scale(1.1);
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.3);
}

.image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.image-container:hover img {
    transform: scale(1.15);
}

.copyright {
    text-align: center;
    color: white;
    padding: 25px;
    font-size: 1.1rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
    background: rgba(0, 0, 0, 0.2);
    border-radius: 15px;
    width: 100%;
    max-width: 900px;
}

.copyright a {
    color: #f1c40f;
    text-decoration: none;
    transition: all 0.3s ease;
}

.copyright a:hover {
    color: #e74c3c;
    text-decoration: underline;
}

/* Мобильная адаптация */
@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
        margin: 20px 0;
    }
    
    .current-time {
        font-size: 1.2rem;
    }
    
    .gallery-table {
        display: block;
        padding: 10px;
    }
    
    .gallery-table tr {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .gallery-table td {
        display: block;
        width: 50%;
        padding: 10px;
        border: none;
    }
    
    .image-container {
        width: 140px;
        height: 140px;
    }
}

@media (max-width: 480px) {
    body {
        padding: 10px;
    }
    
    h1 {
        font-size: 1.8rem;
    }
    
    .gallery-table td {
        width: 100%;
        max-width: 250px;
    }
    
    .image-container {
        width: 160px;
        height: 160px;
    }
}