body {
    background-color: #1a4b84;
    background: linear-gradient(135deg, #1a4b84, #2c7873);
    margin: 0;
    padding: 0;
    min-height: 100vh;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 10px;
    padding: 20px;
    background-color: #eef5ff;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
    margin: 0 20px 80px 20px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.thumbnail {
    width: 100%;
    height: 150px;
    object-fit: cover;
    cursor: pointer;
    transition: transform 0.2s;
    border-radius: 4px;
}

.thumbnail:hover {
    transform: scale(1.05);
}

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 1000;
    cursor: pointer;
}

.modal-content {
    max-width: 90%;
    max-height: 90%;
    margin: auto;
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.modal-buttons {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 1001;
}

.modal-btn {
    padding: 10px 20px;
    background-color: #1a4b84;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.modal-btn:hover {
    background-color: #2c7873;
    transform: scale(1.05);
}

.footer {
    text-align: center;
    padding: 15px;
    color: #ffffff;
    font-family: Arial, sans-serif;
    position: fixed;
    bottom: 0;
    width: 100%;
    background-color: rgba(26, 75, 132, 0.3);
    backdrop-filter: blur(5px);
}

.footer-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    max-width: 800px;
    margin: 0 auto;
    padding: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.4);
}

.footer-content p {
    margin: 0;
    font-size: 0.95rem;
}

.footer-logo {
    width: 32px;
    height: 32px;
    vertical-align: middle;
}

.header {
    text-align: center;
    color: #ffffff;
    padding: 30px 20px;
    margin-bottom: 20px;
    font-family: Arial, sans-serif;
    background-color: rgba(26, 75, 132, 0.3);
    backdrop-filter: blur(5px);
}

.header h1 {
    margin: 0 0 15px 0;
    font-size: 28px;
}

.header p {
    margin: 5px 0;
    font-size: 16px;
    line-height: 1.4;
}

.header .tip {
    color: #ffffff;
    font-style: italic;
    max-width: 800px;
    margin: 1rem auto 0;
    font-size: 0.95rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.4);
    padding: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 5px;
}

.social-icons {
    display: flex;
    gap: 12px;
    align-items: center;
}

.social-icon {
    width: 24px;
    height: 24px;
    transition: transform 0.2s ease;
}

a:last-child .social-icon {
    width: 36px;
    height: 36px;
}

.social-icon:hover {
    transform: scale(1.1);
}

.back-button {
    display: inline-block;
    padding: 0.5rem 1rem;
    margin: 1rem 0;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.back-button:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.back-button:active {
    background-color: rgba(255, 255, 255, 0.3);
} 