
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #f5f5f5;
    color: #333;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
.hero-image img {
    width: 280px !important;
    height: 280px !important;
    object-fit: cover !important;
    border-radius: 50% !important;
    border: 6px solid #8B4513;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    
    /* Изначально четкое изображение */
    filter: blur(0) brightness(1.05) saturate(1.1);
    transition: all 0.3s ease;
}

.hero-image img:hover {
    /* При наведении становится мутным */
    filter: blur(0.7px) brightness(1.05) saturate(1.1);
    transform: scale(1.03);
    border-color: #A0522D;
}
/* Header */
header {
    background-color: #8B4513;
    color: white;
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: bold;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 25px;
    align-items: center;
}

nav a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

nav a:hover {
    color: #f0d9b5;
}

nav .active a {
    color: #f0d9b5;
    border-bottom: 2px solid #f0d9b5;
}

.btn {
    background-color: #5D4037;
    padding: 8px 20px;
    border-radius: 20px;
    transition: background-color 0.3s;
}

.btn:hover {
    background-color: #4E342E;
}

/* Hero Section */
.hero {
    padding: 80px 0;
    background: linear-gradient(135deg, #f9f5f0 0%, #e8dfd1 100%);
}

.hero-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.hero-info {
    flex: 1;
}

.hero-info h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: #5D4037;
}

.hero-info h2 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: #8B4513;
    font-weight: 500;
}

.hero-info p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: #666;
}

.hero-image {
    flex: 1;
    text-align: center;
}

.hero-image img {
    max-width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.btn.primary {
    background-color: #8B4513;
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 25px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s;
}

.btn.primary:hover {
    background-color: #6B3410;
}

/* Features Section */
.features {
    padding: 80px 0;
    background-color: white;
}

.features h2 {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 15px;
    color: #5D4037;
}

.features-subtitle {
    text-align: center;
    font-size: 1.2rem;
    margin-bottom: 50px;
    color: #666;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.feature-card {
    background: #f9f5f0;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: #5D4037;
}

.feature-card p {
    color: #666;
}

/* Chat Widget */
.chat-widget {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 400px;
    height: 640px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.15);
    display: flex;
    flex-direction: column;
    z-index: 1000;
    overflow: hidden;
    transform: translateY(20px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.chat-widget.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

.chat-header {
    background: #8B4513;
    color: white;
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat-bot-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.bot-avatar {
    font-size: 1.5rem;
}

.bot-details h4 {
    margin: 0;
    font-size: 1rem;
}

.status {
    font-size: 0.8rem;
    opacity: 0.8;
}

.close-chat {
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.2s;
}

.close-chat:hover {
    background-color: rgba(255,255,255,0.2);
}

.chat-messages {
    flex: 1;
    padding: 15px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.message {
    display: flex;
    gap: 10px;
    max-width: 85%;
}

.bot-message {
    align-self: flex-start;
}

.user-message {
    align-self: flex-end;
    flex-direction: row-reverse;
}

.message-avatar {
    font-size: 1.2rem;
    margin-top: 5px;
}

.message-content {
    background: #f0f0f0;
    padding: 10px 15px;
    border-radius: 18px;
    position: relative;
}

.user-message .message-content {
    background: #8B4513;
    color: white;
}

.message-text {
    margin-bottom: 5px;
}
/* Typing Indicator */
.typing-indicator {
    display: flex;
    gap: 10px;
    align-self: flex-start;
    max-width: 85%;
    display: none; /* Изначально скрыт */
}

.typing-indicator.active {
    display: flex;
}

.typing-dots {
    display: flex;
    gap: 4px;
    padding: 12px 16px;
    background: #f0f0f0;
    border-radius: 18px;
}

.typing-dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #999;
    animation: typingAnimation 1.4s infinite ease-in-out;
}

.typing-dots span:nth-child(1) {
    animation-delay: -0.32s;
}

.typing-dots span:nth-child(2) {
    animation-delay: -0.16s;
}

.typing-dots span:nth-child(3) {
    animation-delay: 0s;
}

@keyframes typingAnimation {
    0%, 80%, 100% {
        transform: scale(0.8);
        opacity: 0.5;
    }
    40% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Анимация появления сообщений */
.message {
    animation: messageAppear 0.3s ease-out;
}

@keyframes messageAppear {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.message-time {
    font-size: 0.7rem;
    opacity: 0.7;
    text-align: right;
}

.chat-input-area {
    padding: 15px;
    border-top: 1px solid #eee;
}

.quick-replies {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 15px;
}

.quick-reply {
    background: #f0f0f0;
    border: none;
    border-radius: 15px;
    padding: 6px 12px;
    font-size: 0.8rem;
    cursor: pointer;
    transition: background-color 0.2s;
}

.quick-reply:hover {
    background: #e0e0e0;
}

.input-container {
    display: flex;
    gap: 10px;
}

#messageInput {
    flex: 1;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 25px;
    outline: none;
    font-size: 0.9rem;
}

#messageInput:focus {
    border-color: #8B4513;
}

#sendButton {
    background: #8B4513;
    border: none;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.2s;
}

#sendButton:hover {
    background: #6B3410;
}
.typing-indicator {
    display: flex;
    gap: 10px;
    align-self: flex-start;
    max-width: 85%;
    display: none;
    transform: translateY(-8px); /* Поднимаем на 8px */
}

.typing-indicator.active {
    display: flex;
}

/* Chat Toggle Button */
.chat-toggle {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #8B4513;
    color: white;
    border: none;
    border-radius: 25px;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(139, 69, 19, 0.3);
    z-index: 999;
    transition: all 0.3s;
}

.chat-toggle:hover {
    background: #6B3410;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(139, 69, 19, 0.4);
}

.toggle-icon {
    font-size: 1.2rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-content {
        flex-direction: column;
        text-align: center;
    }
    
    .chat-widget {
        width: calc(100vw - 40px);
        height: 70vh;
        right: 20px;
        bottom: 80px;
    }
    
    nav ul {
        gap: 15px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
}
/* Footer Styles */
.footer {
    background: linear-gradient(135deg, #5D4037 0%, #8B4513 100%);
    color: white;
    padding: 50px 0 20px;
    margin-top: 80px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #f0d9b5;
}

.footer-section h4 {
    font-size: 1.1rem;
    margin-bottom: 15px;
    color: #f0d9b5;
}

.footer-section p {
    line-height: 1.6;
    margin-bottom: 20px;
    opacity: 0.9;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 8px;
}

.footer-section ul li a {
    color: white;
    text-decoration: none;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.footer-section ul li a:hover {
    opacity: 1;
    color: #f0d9b5;
    padding-left: 5px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-link {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: #f0d9b5;
    transform: translateY(-3px);
    color: #8B4513;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-copyright {
    opacity: 0.8;
}

.footer-links {
    display: flex;
    gap: 25px;
}

.footer-links a {
    color: white;
    text-decoration: none;
    opacity: 0.7;
    font-size: 0.9rem;
    transition: opacity 0.3s ease;
}

.footer-links a:hover {
    opacity: 1;
    color: #f0d9b5;
}

/* Адаптивность для футера */
@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .footer-section {
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
    }
}

/* @import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');

* {
    margin: 0;
    padding: 0;
}
body {
    font-family: 'Poppins',sans-serif;
    font-weight: 400;
    color: #fff;
    font-size: 16px;
}

a {
    text-decoration: none;
}
img {
    max-width: 45%;
}
 .wrapper {
background: linear-gradient(rgba(0, 0, 0, 1) 0%, rgba(38, 3, 3, 1) 100%);
width: 100%;
 }
 .container {
    width: 1400px;
    margin: 0 auto;
 }
  .container {
    padding: 100px 0;
 }
 header .logo {
    text-transform: uppercase;
  font-size: 29px;
  font-weight: 800;
 }
 header nav {
    float: right;
    width: 50%;

 }
 head nav ul {
    list-style: none;
    display: flex;
    justify-content: space-between;
    z-index: 2;
    position: relative;
 }

 ul {
    display: flex;
    gap: 100px;
    padding: 0;
    list-style: none;
 }

ul li {
    display: inline-block;
  }
 ul a {
        color: #fff;
    }


header nav ul li.active::after {
    content: '';
    display: block;
    width: 40px;
    height: 5px;
    background: #712f26;
    border-radius: 10px;
    position: relative;
    top: 10px;
    right: 15px;
}

    header nav ul li:not(.active):not(.btn) a:hover {
border-bottom: 5px solid #712f26;
    }
    header nav ul li.btn a {
        background: #e4513b ;
        padding: 9px 17px;
        border-radius: 5px;
        transition: all 300ms ease;
    }
    header nav ul li.btn a:hover{
        background: #5c1d15 ;
    }
    .hero {
        padding-bottom: 100px;
        position: relative;
        z-index: 1;
    }
    .hero--info {
        width: 530px;
        padding-top: 40px;
    }
       .hero--info h2 {
        color: #6e2016;
font-size: 20px;
font-weight: 600;

       }
        .hero--info h1 {
 
    font-size: 50px;
font-weight: 600;

       }
       .hero--info p {
        font-weight: 500;
        line-height: 170%;
        margin: 30px;
       }
       .hero--info .btn {
        background: #d8422f;
        color: #fff;
        border-radius: 50px;
        padding: 18px 30px;
        border: 0;
        transition: all 500ms ease;
       }
       .hero--info .btn:hover {
        cursor: pointer;
        transform: scale(1.1);
       }


       .hero img {
        position: absolute;
        top: 100px;
        right: 0;
       }

.trending {
    padding-top: 50px;
}

.trending h3 {
    font-weight: 600;
    font-size: 31px;
}
.trending .see-all, .projects .see-all {
    color: #fff;
    background: #712f26;
    border-radius: 5px;
    padding: 12px 23px;
    float: right;
    display: block;
    transition: all 500ms ease;
}

.projects .see-all {
    float: none;
}

.trending .see-all:hover, .projects .see-all:hover {
    transform: scale(1.1);
}
.trending .games {
    /* display: flex;
    justify-content: space-between;
    width: 100%;
    padding: 50px 0; */

  /* display: inline;
  margin-right: 10px;
  vertical-align: middle; */
  /* display: grid;
  grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  gap: 10px;
}
.trending .games img {
      height: auto;
    object-fit: contain;
    object-position: center;

}
.trending .games span {
    display: flex;
   gap: 20px;
   justify-content: center;

}
.trending .games span img {
    position: relative;
    width: 10%;
    top: 5px;
    margin-right: 13px;
}
.features {
    background: url('/assets/img/flover.jpg') no-repeat center center fixed;
    background-size: cover;
    padding: 80px 0;
}
.features h3, .features p {
    margin-bottom: 20px;
    text-align: center;
    max-width: 800px;
    margin-left:auto ;
    margin-right: auto;
}
.features h3 {
    font-size: 40px;
}

.features .info {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.features .info .block {
    text-align: center;
    width: 20%;
    margin: 30px 2%;
}

.features .info .block .img {
    margin-bottom: 15px;
}
.projects {
    padding: 100px;

}

.projects h3 {
    font-size: 30px;
    text-align: center;
}

.projects p {
    font-size: 20px;
     display: flex;
    justify-content: space-around;
    margin-bottom: 25px
}

.projects .proj p {
    text-align: center;

}

.projects .see-all {
width: 70px;
text-align: center;
margin: 0 auto;
} */ */
{}