/* =====================================================
   PlayKaz v0.4
   Разработчик: VladPlay
===================================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Segoe UI", Arial, sans-serif;
    color: white;

    background:
        linear-gradient(rgba(7, 10, 20, 0.48), rgba(7, 10, 20, 0.58)),
        url("../images/background.png");

    background-size: cover;
    background-position: center;
    background-attachment: fixed;

    min-height: 100vh;
}

/* ===========================================
                 ШАПКА
=========================================== */

header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;

    height: 80px;

    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 0 60px;

    background: rgba(10, 15, 25, 0.38);
    backdrop-filter: blur(14px);

    border-bottom: 1px solid rgba(255, 255, 255, 0.1);

    z-index: 1000;
}

.logo {
    font-size: 34px;
    font-weight: bold;
    letter-spacing: 2px;

    color: #69d2ff;
    text-shadow: 0 0 18px rgba(78, 197, 255, 0.7);
}

nav {
    display: flex;
    gap: 30px;
}

nav a {
    color: white;
    text-decoration: none;
    font-size: 18px;

    transition: color 0.25s ease, text-shadow 0.25s ease;
}

nav a:hover {
    color: #69d2ff;
    text-shadow: 0 0 12px rgba(105, 210, 255, 0.7);
}

/* ===========================================
              ГЛАВНЫЙ ЭКРАН
=========================================== */

.hero {
    min-height: 100vh;

    display: flex;
    justify-content: center;
    align-items: center;

    text-align: center;
    padding: 120px 20px;

    position: relative;
}

.hero-content {
    max-width: 900px;
}

.hero-small-title {
    color: #a9ddff;
    font-size: 15px;
    font-weight: bold;
    letter-spacing: 5px;

    margin-bottom: 15px;

    text-shadow: 0 0 15px rgba(78, 197, 255, 0.5);
}

.hero h1 {
    font-size: 96px;
    letter-spacing: 8px;

    margin-bottom: 15px;

    text-shadow: 0 0 30px rgba(0, 0, 0, 0.75);
}

.hero h2 {
    font-size: 34px;
    font-weight: 300;

    margin-bottom: 25px;

    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.7);
}

.developer {
    font-size: 20px;
    margin-bottom: 40px;

    color: #e1e1e1;
}

.scroll-down {
    position: absolute;
    bottom: 35px;

    color: white;
    text-decoration: none;

    font-size: 35px;

    animation: floatDown 2s ease-in-out infinite;

    text-shadow: 0 0 15px rgba(105, 210, 255, 0.8);
}

@keyframes floatDown {
    0%, 100% {
        transform: translateY(0);
        opacity: 0.7;
    }

    50% {
        transform: translateY(10px);
        opacity: 1;
    }
}

/* ===========================================
                 КНОПКИ
=========================================== */

button {
    background: linear-gradient(90deg, #3ea6ff, #7c4dff);

    color: white;
    border: none;

    border-radius: 14px;

    padding: 18px 42px;

    font-size: 22px;
    font-weight: bold;

    cursor: pointer;

    transition: transform 0.25s ease, box-shadow 0.25s ease;

    box-shadow: 0 0 30px rgba(62, 166, 255, 0.45);
}

button:hover {
    transform: translateY(-4px) scale(1.03);

    box-shadow: 0 0 45px rgba(124, 77, 255, 0.75);
}

/* ===========================================
                 РАЗДЕЛЫ
=========================================== */

.section {
    padding: 90px 20px;
}

.container {
    width: min(1100px, 95%);
    margin: auto;
}

.section h2 {
    font-size: 42px;
    text-align: center;

    margin-bottom: 40px;

    text-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

/* ===========================================
                 КАРТОЧКИ
=========================================== */

.card {
    background: rgba(15, 20, 35, 0.72);

    backdrop-filter: blur(12px);

    border: 1px solid rgba(255, 255, 255, 0.1);

    border-radius: 18px;

    padding: 30px;

    transition: transform 0.25s ease, border-color 0.25s ease;
}

.card:hover {
    transform: translateY(-6px);
    border-color: #69d2ff;
}

.card h3 {
    margin-bottom: 15px;
}

.card p {
    line-height: 1.8;
    color: #e0e0e0;
}

.card p + p {
    margin-top: 15px;
}

/* ===========================================
                СКРИНШОТЫ
=========================================== */

.screenshots-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.screenshot-placeholder {
    min-height: 220px;

    display: flex;
    justify-content: center;
    align-items: center;

    padding: 20px;

    border-radius: 18px;

    background: rgba(15, 20, 35, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.1);

    color: #c9d1dc;
    text-align: center;

    transition: transform 0.25s ease, border-color 0.25s ease;
}

.screenshot-placeholder:hover {
    transform: translateY(-5px);
    border-color: #69d2ff;
}

/* ===========================================
              ФОРМА ПРОБЛЕМ
=========================================== */

.form-description {
    margin-bottom: 20px;
}

.card input,
.card textarea {
    width: 100%;

    background: rgba(255, 255, 255, 0.07);
    color: white;

    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 10px;

    padding: 14px;
    margin-bottom: 20px;

    font-size: 16px;
    outline: none;

    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.card input:focus,
.card textarea:focus {
    border-color: #69d2ff;
    box-shadow: 0 0 15px rgba(105, 210, 255, 0.2);
}

.card textarea {
    min-height: 220px;
    resize: vertical;
}

.card input::placeholder,
.card textarea::placeholder {
    color: #b9c0ca;
}

/* ===========================================
                 FOOTER
=========================================== */

footer {
    padding: 35px;
    text-align: center;

    background: rgba(0, 0, 0, 0.38);
    backdrop-filter: blur(10px);

    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

footer p {
    margin: 6px 0;
    color: #d0d0d0;
}

/* ===========================================
             МОБИЛЬНАЯ ВЕРСИЯ
=========================================== */

@media (max-width: 900px) {

    header {
        flex-direction: column;
        height: auto;
        padding: 18px 20px;
    }

    nav {
        margin-top: 15px;
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }

    nav a {
        font-size: 16px;
    }

    .hero h1 {
        font-size: 58px;
        letter-spacing: 3px;
    }

    .hero h2 {
        font-size: 26px;
    }

    .section h2 {
        font-size: 32px;
    }

    .screenshots-grid {
        grid-template-columns: 1fr;
    }
}