﻿/* 🌐 Загальна обгортка */
.page-wrapper {
    display: flex;
    justify-content: center;
    padding: 2rem;
}

.content-box {
    max-width: 960px;
    width: 100%;
    padding: 2rem 2rem 1rem 2rem; /* нижній padding зменшено */
    background-color: transparent; /* 🔍 Прозорий фон */
    border-radius: 12px;
    box-shadow: none; /* 🔍 Без тіні */
}

/* 🏷️ Заголовки */
.page-title,
.page-subtitle,
.hero h1 {
    text-align: center;
}

.page-title {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.page-subtitle {
    font-size: 1.2rem;
    color: #007bff;
    margin-bottom: 2rem;
}

/* 📖 Основний текст */
.hero p {
    text-align: justify;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    background-color: transparent;
}

/* 🎮 Режими гри */
.mode-selection {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.card-option {
    padding: 1rem 2rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    text-align: center;
    box-shadow: 0 0 6px rgba(0,0,0,0.1);
    transition: all 0.2s ease;
    border: 2px solid transparent;
}

    .card-option.blue {
        background-color: #e0f0ff;
        color: #007bff;
    }

    .card-option.green {
        background-color: #e0ffe0;
        color: #28a745;
    }

    .card-option.yellow {
        background-color: #fffbe0;
        color: #ffc107;
    }

    .card-option.selected {
        border: 2px solid red; /* 🔴 Червоний обідок при виборі */
    }
/* 🎫 Кнопка */
.continue {
    text-align: center;
    margin: 2rem 0;
    background-color: transparent;
}

.btn-primary {
    padding: 12px 24px;
    font-size: 1rem;
    font-weight: bold;
    border-radius: 6px;
    background-color: #007bff;
    color: white;
    border: none;
    transition: background-color 0.3s ease;
}

    .btn-primary:hover {
        background-color: #0056b3;
    }

/* 🌳 Інфоблок */
.info-block {
    margin-top: 2rem;
    text-align: center;
    background-color: transparent;
}

    .info-block p {
        font-weight: bold;
        margin-bottom: 1rem;
        background-color: transparent;
    }

.info-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    justify-content: center;
    background-color: transparent;
}

.tree-icon {
    width: 32px;
    height: auto;
}

#loginModal .modal-content {
    /*background-image: url('/images/modal-texture.webp');*/ /* заміни на свій шлях */
    background-image: radial-gradient(circle at top left, #ffffff, #f5f5f5);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    background-blend-mode: lighten;
    background-color: #fdfdfd; /* світлий базовий фон */
    border-radius: 12px;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(4px);
}

.btn-light-primary {
    background-color: #6fbfff; /* світліший варіант синього */
    color: #fff;
    border: none;
    padding: 10px 20px;
    font-weight: bold;
    border-radius: 6px;
    text-decoration: none;
    display: inline-block;
    transition: background-color 0.3s ease;
}

    .btn-light-primary:hover {
        background-color: #5aaee6; /* трохи темніший при наведенні */
        text-decoration: none;


        }

    /* Стилі для зображення-кнопки (додайте їх у ваш index.css або у тег <style>) */
.btn-image-link {
    /* Приберіть стандартне підкреслення, якщо потрібно */
    text-decoration: none;
    display: block;
    margin: 10px; /* Відступ, щоб не зливалося з іншими елементами */
    border: none; /* Прибрати стандартну рамку посилання */
    padding: 0;
}

    .drewo-button-img {
        /* Зробіть зображення клікабельним, як кнопка */
        display: block;
        max-width: 100%; /* Забезпечує адаптивність */
        height: auto;
        border-radius: 8px; /* Невелике заокруглення кутів */
        transition: transform 0.2s ease-in-out, opacity 0.2s;
        cursor: pointer;
        /* Опціонально: додайте тінь чи рамку, якщо потрібно */
         box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); 
    }

    .drewo-button-img:hover {
        /* Ефект при наведенні */
        opacity: 0.9;
        transform: scale(1.05);
    }
.center-container {
    display: flex;
    justify-content: center;
    align-items: center;
}
        /* 📱 Адаптація */
        @media (max-width: 768px) {
            .content-box {
                padding: 1rem;
            }

            .mode-selection {
                flex-direction: column;
                align-items: center;
            }

            .card-option {
                width: 100%;
                max-width: 300px;
            }

            .info-link {
                flex-direction: column;
            }

            .tree-icon {
                margin-bottom: 8px;
            }
        }
