body {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    background: linear-gradient(135deg, #c8e6c9, #81c784); /* Более тёмный и яркий зелёный градиент */
    font-family: 'Poppins', sans-serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #1b5e20; /* Тёмно-зелёный для контраста */
    overflow-x: hidden;
}

.hero {
    text-align: center;
    padding: 5px;
    max-width: 1200px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

h1 {
    font-size: 2.3rem;
    font-weight: 700;
    color: #43a047; /* Яркий зелёный оттенок */
    text-shadow: 0 0 15px rgba(67, 160, 71, 0.6);
    margin: 0;
    padding-top: 5px;
    text-align: center;
}

.intro, .content p {
    font-size: 1.1rem;
    color: #2e7d32; /* Тёмно-зелёный для текста */
    margin: 3px 0;
    max-width: 600px;
    line-height: 1.6;
    text-align: center;
    animation: fadeIn 2s ease-in-out;
}

.image-container {
    position: relative;
    max-width: 600px;
    margin: 5px 0;
    perspective: 1000px;
}

.profile-img {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    border: 3px solid #66bb6a; /* Яркая зелёная рамка */
    box-shadow: 0 0 15px rgba(102, 187, 106, 0.8);
    transition: transform 0.5s ease;
}

.image-container:hover .profile-img {
    transform: rotateY(10deg) rotateX(10deg);
}

.links {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 5px 0;
    align-items: center;
    width: 100%;
}

.btn {
    display: inline-block;
    width: 300px;
    padding: 6px;
    text-align: center;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 600;
    border-radius: 20px;
    transition: all 0.3s ease;
    background: linear-gradient(90deg, #66bb6a, #388e3c); /* Темнее зелёный градиент */
    color: #fff;
    border: 2px solid #2e7d32; /* Добавлен контур для выделения */
    box-shadow: 0 0 10px rgba(102, 187, 106, 0.8);
}

.btn:hover {
    transform: scale(1.05);
    background: linear-gradient(90deg, #2e7d32, #1b5e20); /* Ещё темнее и ярче при наведении */
    box-shadow: 0 0 15px rgba(46, 125, 50, 0.9);
}

.content {
    font-size: 1.1rem;
    color: #2e7d32;
    margin: 20px 0;
    max-width: 600px;
    line-height: 1.6;
    text-align: left;
    animation: fadeIn 2s ease-in-out;
}

h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #43a047;
    text-shadow: 0 0 10px rgba(67, 160, 71, 0.6);
    margin: 5px 0;
    text-align: center;
}

@keyframes fadeIn {
    0% { opacity: 0; transform: translateY(20px); }
    100% { opacity: 1; transform: translateY(0); }
}

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.modal-content {
    background: #c8e6c9; /* Тёмно-зелёный фон модального окна */
    padding: 25px;
    border-radius: 10px;
    text-align: center;
    max-width: 400px;
    width: 90%;
    box-shadow: 0 0 15px rgba(102, 187, 106, 0.6);
}

.modal-content h2 {
    color: #2e7d32;
    margin-bottom: 15px;
}

.modal-content p {
    color: #1b5e20;
    margin-bottom: 20px;
}

.modal-content button {
    padding: 10px 20px;
    margin: 0 10px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    background: #66bb6a;
    color: #fff;
}

.modal-content button:hover {
    background: #43a047;
}

@media (max-width: 600px) {
    h1 {
        font-size: 1.8rem;
    }
    .btn {
        width: 250px;
        font-size: 1rem;
    }
    .profile-img {
        max-width: 90%;
    }
    .intro, .content {
        font-size: 1rem;
    }
}

footer {
    margin-top: auto;
    padding: 10px;
    text-align: center;
    color: #2e7d32;
    font-size: 0.8rem;
}

footer a {
    color: #66bb6a;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

.privacy-policy {
    text-align: center;
    padding: 20px;
    max-width: 1200px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #1b5e20;
}

.privacy-policy h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #43a047;
    text-shadow: 0 0 10px rgba(67, 160, 71, 0.6);
    margin-bottom: 20px;
}

.privacy-policy p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.privacy-policy a {
    color: #66bb6a;
    text-decoration: none;
}

.privacy-policy a:hover {
    text-decoration: underline;
}