/* ========================================= */
/* 0. ЗМІННІ                                 */
/* ========================================= */
:root {
    --site-bg: #0B0C10;       /* Основний фон */
    --card-bg: #15161A;       /* Трохи світліший за фон сайту */
    --accent: #7300ff;        /* Основний акцент */
    --accent-glow: rgba(115, 0, 255, 0.4);
    --text-main: #ffffff;
    --text-muted: #a0a0a0;
}

*, ::after, ::before {
    box-sizing: border-box;
}

/* ========================================= */
/* 1. ЗАГАЛЬНІ СТИЛІ                         */
/* ========================================= */
body {
    margin: 0;
    padding: 0;
    background-color: var(--site-bg);
    color: var(--text-main);
    font-family: 'Neue Machina', sans-serif;
    
    /* Sticky Footer Setup */
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    overflow-x: hidden;
}

/* ====== Типографіка ====== */
h1, h2 {
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-main);
    margin: 0 0 15px 0;
}

p, a {
    font-size: 1.1em;
    color: var(--text-muted);
    line-height: 1.6;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--accent);
}

/* ========================================= */
/* 2. ГОЛОВНИЙ КОНТЕЙНЕР                     */
/* ========================================= */
.main-content {
    flex: 1; /* Штовхає футер вниз */
    display: flex;
    flex-direction: column;
    justify-content: center; /* Центрування по вертикалі */
    align-items: center;     /* Центрування по горизонталі */
    gap: 40px;
    
    width: 100%;
    padding: 120px 20px 60px; /* Більший відступ зверху під хедер */
    background: transparent;
}

/* ========================================= */
/* 3. ДИЗАЙН КАРТОК (IMPROVED)               */
/* ========================================= */
.content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    
    width: 100%;
    max-width: 800px;
    min-height: 280px;
    
    /* 🔥 НОВИЙ СТИЛЬ: Темний + Легкий ефект глибини */
    background: linear-gradient(145deg, #1a1b20, #121317);
    border-radius: 20px; /* Більш скруглені кути */
    padding: 40px;
    
    /* Тінь і Рамка */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.05);
    
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Декоративний блік зверху */
.content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
}

/* Ефект при наведенні */
.content:hover {
    transform: translateY(-8px); /* Піднімається вище */
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
    border-color: rgba(115, 0, 255, 0.3); /* Фіолетова рамка */
}

/* ========================================= */
/* 4. КНОПКА (ГРАДІЄНТ + СВІТІННЯ)           */
/* ========================================= */
.button {
    margin-top: 25px;
    padding: 14px 32px;
    
    font-family: 'Neue Machina', sans-serif;
    font-size: 16px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: white;
    
    background: linear-gradient(135deg, #7300ff, #5d00ff);
    border: none;
    border-radius: 12px;
    cursor: pointer;
    
    box-shadow: 0 4px 15px rgba(115, 0, 255, 0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.button:hover {
    background: linear-gradient(135deg, #8522ff, #6a00ff);
    box-shadow: 0 6px 25px rgba(115, 0, 255, 0.6);
    transform: translateY(-2px);
}

.button:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(115, 0, 255, 0.3);
}

/* ========================================= */
/* 6. АДАПТИВНІСТЬ                           */
/* ========================================= */
@media (max-width: 768px) {
    .main-content {
        padding: 100px 20px 40px; /* Менше відступів */
        gap: 20px;
    }

    .content {
        max-width: 100%;
        padding: 30px 20px;
        border-radius: 16px;
    }

    h1, h2 {
        font-size: 24px; /* Менший шрифт */
    }

    .button {
        width: 100%; /* Кнопка на всю ширину */
        padding: 16px;
    }
}