* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

@font-face {
    font-family: 'Kreadon-Bold';
    src: url('../font/Kreadon-Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'Kreadon-Light';
    src: url('../font/Kreadon-Light.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'LEMONMILK-Regular';
    src: url('../font/LEMONMILK-Regular.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

canvas {
    display: block;
    vertical-align: bottom;
}

#particles-js {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1; /* Чтобы частицы были на фоне */
    overflow: hidden; /* На случай, если что-то выходит за границы */
}

html {
    margin: 0;
    height: 100%;
}

p {
    font-family: Montserrat;
}

h2 {
    font-family: monospace;
    font-size: 15px;
    text-align: center;
}

body {
    font-family: Arial, sans-serif;
    background-color: #16484b;
    background-image: linear-gradient(0deg, #191924 0%, #18181B 46%, #111111 100%);
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    color: #cccccc;
    margin: 0px;
    min-height: 100%;
    width: 100%;
}

header {
    font-family: Kreadon-Bold;
    background-color: #1c1c20;
    padding: 20px;
    text-align: center;
    border-bottom: 1px solid #00eeff8e;
}

header a {
    font-family: Kreadon-Light;
    font-weight: 800;
}

@keyframes moveGradient {
    50% {
        background-position: 100% 50%;
    }
}

/*???*/
.main-logo {
    width: 128px;
    height: 128px;
    object-fit: cover;
    margin: 0 auto;
    padding: 5px;
}

nav ul {
    list-style-type: none;
    display: flex;
    justify-content: center;
    gap: 20px;
    padding-top: 10px;
}

nav ul li a {
    color: #cccccc;
    text-decoration: none;
    padding: 5px 10px;
    font-size: 18px;
    transition: color 300ms ease-in-out;
}

nav ul li a:hover {
    color: #a7fcff;
}

section {
    padding: 20px;
    text-align: center;
    max-width: 1050px;
    margin: 0 auto;
}

section #home {
    z-index: -1;
}

#products .product-list {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 20px;
}

.product {
    position: relative;
    width: 220px;
    height: 300px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    transition: transform 300ms ease, top 0.3s ease-in-out;
}

.product:hover {
    transform: scale(1.05);
}

.product-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    transition: all 300ms ease-in-out;
}

.product:hover .product-bg {
    opacity: 0.35;
}

.game-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: all 300ms ease-in-out;
    z-index: 2;
}

.product:hover .game-icon {
    opacity: 1;
}

.game-icon img {
    width: 128px;
    height: 128px;
    border-radius: 50%;
    object-fit: cover;
}

/* Get Now Button */
.get-now {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(0, 146, 139, 0.9);
    color: white;
    padding: 8px 16px;
    border-radius: 5px;
    opacity: 0;
    z-index: 2;
    transition: all 300ms ease;
    text-decoration: none;
    font-family: Montserrat;
    font-weight: 500;
}

.get-now:hover {
    background-color: rgb(16, 185, 177);
}

.product:hover .get-now {
    opacity: 1;
}

.coming-soon {
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgb(0, 31, 46);
    color: white;
    padding: 8px 16px;
    border-radius: 5px;
    opacity: 0;
    z-index: 2;
    transition: opacity 300ms ease;
    font-family: Montserrat;
    font-weight: 500;
}

.product:hover .coming-soon {
    opacity: 1;
}

/* Team Page */
#team {
    padding: 40px;
    text-align: center;
}

.team-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.team-member {
    text-align: center;
}

.smaller {
    transform: scale(0.8);
}

.team-member img {
    width: 256px;
    height: 256px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #cccccc;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.team-member img:hover {
    transform: scale(1.1);
    border-color: #ffffff;
    cursor: pointer;
}

.nickname {
    margin-top: 10px;
    font-weight: 800;
    font-size: 18px;
    color: #cccccc;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
}

.role {
    margin-top: 5px;
    font-size: 15px;
    color: #999999;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
}

.single-member {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

/* Buy/FAQ/Features */
.items {
    margin-top: 50px;
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 15px;
    flex-wrap: wrap;
}

.single-item {
    width: 100%;
    max-width: 500px;
    flex: 1 1 400px;
    padding: 15px;
    text-decoration: none;
    box-sizing: border-box;
}

.item-box {
    padding: 30px;
    width: 100%;
    height: 180px;
    text-align: center;
    position: relative;
    appearance: none;
    box-sizing: border-box;
    color: #cccccc;
    position: relative;
    vertical-align: middle;
    outline: none;
    border-radius: 35px;
    border: 1px solid rgb(16, 185, 177);
    background: linear-gradient(#0e2c303b) padding-box, radial-gradient(#00c9a7b4, #5e60c260) border-box;
    transition: all 300ms ease-in-out;
    max-width: 500px;
    text-decoration: none;
}

.item-box h3 {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 20px;
}

.item-box p {
    font-size: 20px;
}

.item-box:hover {
    cursor: pointer;
    box-shadow: inset 32em 0 0 0 #191924;
}

.icon-area {
    font-size: 40px;
    color: #fff;
    transition: all .3s ease-in-out;
}

.single-item:hover .item-box .icon-area {
    color: deepskyblue;
    font-size: 50px;
}

.background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    filter: blur(5px);
    z-index: -1;
}

/* Features Page */
.text-wrapper {
    max-width: 1100px;
    margin: 0 auto;
    padding: 20px;
    background-image: linear-gradient(0deg, #191924 0%, #18181B 46%, #111111 100%);
    border: 1px solid #00eeff8e;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.text-wrapper p {
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    font-size: 20px;
}

.feature-header {
    font-size: 2.5rem;
    font-weight: bold;
    color: #ffffff;
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 20px;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-list li {
    display: block;
    background-color: #211c35;
    color: #ffffff;
    padding: 16px 22px;
    margin-bottom: 8px;
    border-radius: 8px;
    font-weight: bold;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    position: relative;
    overflow: hidden;
}

.feature-list li::before {
    content: "➜";
    color: #ffffff;
    font-size: 12px;
    position: absolute;
    left: -10px;
    top: 48%;
    transform: translateY(-50%);
    opacity: 0;
    transition: opacity 0.3s ease, left 0.3s ease;
}

.feature-list li:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
    cursor: pointer;
}

.feature-list li:hover::before {
    opacity: 1;
    left: 10px;
}

.bold-text {
    font-weight: bold;
    background: linear-gradient(90deg, #ff7e5f, #feb47b, #ff7e5f, #feb47b);
    background-size: 200% auto;
    color: transparent;
    -webkit-background-clip: text;
    background-clip: text;
}

.sub-header {
    font-size: 1.8rem;
    font-weight: bold;
    color: #bebebe;
    margin-top: 30px;
    margin-bottom: 15px;
}

.highlight-text {
    color: #ffffff;
    background-image: linear-gradient(0deg, #3a3a55 0%, #2e2e42 46%, #2b163a 100%);
    padding: 4px 8px;
    border-radius: 5px;
    font-weight: bold;
    display: inline-block;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.feature-button {
    display: inline-block;
    padding: 10px 20px;
    font-size: 1rem;
    font-weight: bold;
    color: #fff;
    background-color: #007bff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.feature-button:hover {
    background-color: #0056b3;
}

/* FAQ Container */
.faq-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
}

/* Sections */
.faq-section {
    background: rgba(25, 25, 36, 0.7);
    border: 1px solid #00eeff8e;
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 30px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.faq-section:hover {
    border-color: #00c9a7b4;
}

.faq-title {
    font-family: 'Kreadon-Bold', sans-serif;
    color: #ffffff;
    font-size: 2rem;
    margin-bottom: 25px;
    text-align: center;
    background: linear-gradient(120deg, #00eeff, #145c5c);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Requirements Grid */
.requirements-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 20px;
}

.requirement-category {
    background: rgba(33, 28, 53, 0.6);
    padding: 20px;
    border-radius: 10px;
}

.category-title {
    font-family: 'Kreadon-Bold', sans-serif;
    color: #00eeff;
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.specs-list {
    text-align: left;
}

.spec-item {
    font-family: 'Montserrat', sans-serif;
    color: #cccccc;
    padding: 8px 0;
    border-bottom: 1px solid rgba(204, 204, 204, 0.1);
    margin: 0;
}

.spec-item:last-child {
    border-bottom: none;
}

/* Steps List */
.steps-list {
    text-align: left;
    max-width: 700px;
    margin: 0 auto;
}

.step-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
    padding: 15px;
    background: rgba(33, 28, 53, 0.4);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.step-item:hover {
    background: rgba(33, 28, 53, 0.6);
}

.step-number {
    background: linear-gradient(135deg, #00c9a7, #00eeff);
    color: #000;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-right: 15px;
    flex-shrink: 0;
    font-family: 'Kreadon-Bold', sans-serif;
}

.step-item p {
    margin: 0;
    color: #cccccc;
    line-height: 1.5;
}

/* Solution List */
.solution-list {
    text-align: center;
}

.solution-item {
    font-family: 'Montserrat', sans-serif;
    color: #cccccc;
    padding: 12px;
    margin: 10px 0;
    background: rgba(33, 28, 53, 0.4);
    border-radius: 8px;
}

/* Contact Info */
.contact-info {
    text-align: left;
    max-width: 600px;
    margin: 0 auto;
}

.contact-item {
    font-family: 'Montserrat', sans-serif;
    color: #cccccc;
    padding: 10px 0;
    border-bottom: 1px solid rgba(204, 204, 204, 0.1);
    margin: 0;
}

.contact-item:last-child {
    border-bottom: none;
}

.contact-item:nth-child(2) {
    color: #00eeff;
    font-weight: bold;
}


@media (max-width: 768px) {
    .requirements-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .faq-section {
        padding: 20px;
        margin-bottom: 20px;
    }
    
    .faq-title {
        font-size: 1.5rem;
    }
    
    .step-item {
        flex-direction: column;
        text-align: center;
    }
    
    .step-number {
        margin-right: 0;
        margin-bottom: 10px;
    }
}