@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600;700&family=Montserrat:wght@300;400;500;600;700&display=swap');

:root {
    --primary-color: #D4AF37; /* Gold */
    --primary-hover: #F3E5AB;
    --bg-dark: #0a0a0a;
    --bg-darker: #050505;
    --bg-card: #141414;
    --text-main: #e0e0e0;
    --text-muted: #a0a0a0;
    --border-color: #333;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    scroll-behavior: smooth;
    overflow-x: clip; /* Fixes sticky positioning */
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Cinzel', serif;
    font-weight: 600;
    color: var(--primary-color);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

button, input, select, textarea {
    font-family: inherit;
    outline: none;
    border: none;
}

button {
    cursor: pointer;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background-color: rgba(5, 5, 5, 0.95);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.header-top {
    display: flex;
    align-items: center;
    padding: 15px 0;
    gap: 30px;
}

.header-top .logo {
    margin-right: auto;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 25px;
}

.logo {
    font-weight: 700;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.header-search-wrapper {
    display: flex;
    align-items: center;
}

.header-search {
    position: relative;
    width: 0;
    opacity: 0;
    visibility: hidden;
    transition: width 0.4s ease, opacity 0.4s ease, visibility 0.4s ease;
}

.header-search.active {
    width: 250px;
    opacity: 1;
    visibility: visible;
    margin-right: 10px;
}

.header-search input {
    width: 100%;
    padding: 10px 15px;
    border-radius: 20px;
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-main);
    transition: var(--transition);
}

.header-search input:focus {
    border-color: var(--primary-color);
}

.search-results {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-top: none;
    border-radius: 0 0 10px 10px;
    display: none;
    max-height: 300px;
    overflow-y: auto;
    z-index: 100;
}

.search-results.active {
    display: block;
}

.search-result-item {
    display: flex;
    align-items: center;
    padding: 10px;
    border-bottom: 1px solid var(--border-color);
    cursor: pointer;
    transition: var(--transition);
}

.search-result-item:hover {
    background-color: #222;
}

.search-result-item img {
    width: 40px;
    height: 40px;
    object-fit: cover;
    margin-right: 10px;
    border-radius: 4px;
}

.header-icons {
    display: flex;
    align-items: center;
    gap: 20px;
}

.icon-link {
    position: relative;
    font-size: 20px;
    color: var(--text-main);
}

.icon-link:hover {
    color: var(--primary-color);
}

.icon-link .badge {
    position: absolute;
    top: -8px;
    right: -10px;
    background-color: var(--primary-color);
    color: var(--bg-dark);
    font-size: 12px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 50%;
}

.header-contact {
    display: flex;
    align-items: center;
    gap: 15px;
}

.phone-link {
    color: var(--primary-color);
    font-weight: 600;
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    background-color: var(--primary-color);
    color: var(--bg-dark);
    font-weight: 600;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    border: 1px solid var(--primary-color);
}

.btn:hover {
    background-color: transparent;
    color: var(--primary-color);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: var(--bg-dark);
}

/* Nav */
.header-nav {
    display: flex;
    justify-content: center;
    padding: 15px 0;
    border-top: 1px solid var(--border-color);
}

.nav-menu {
    display: flex;
    gap: 30px;
}

.nav-menu a {
    text-transform: uppercase;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 1px;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.nav-menu a:hover::after, .nav-menu a.active::after {
    width: 100%;
}

.burger-menu {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.burger-menu span {
    width: 25px;
    height: 2px;
    background-color: var(--text-main);
    transition: var(--transition);
}

/* Hero Section */
.hero {
    position: relative;
    height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: url('../images/hero-bg.jpg') no-repeat center center/cover;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
    animation: fadeInUp 1s ease;
}

.hero p {
    font-size: 20px;
    margin-bottom: 30px;
    color: var(--text-muted);
    animation: fadeInUp 1.2s ease;
}

.hero .btn {
    animation: fadeInUp 1.4s ease;
}

/* Sections */
.section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 36px;
    margin-bottom: 50px;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 15px auto 0;
}

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.product-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    transition: var(--transition);
    position: relative;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.1);
    border-color: var(--primary-color);
}

.product-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: var(--primary-color);
    color: var(--bg-dark);
    font-size: 12px;
    font-weight: 700;
    padding: 5px 10px;
    border-radius: 4px;
    text-transform: uppercase;
    z-index: 2;
}

.product-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-bottom: 1px solid var(--border-color);
}

.product-info {
    padding: 20px;
}

.product-title {
    font-size: 20px;
    margin-bottom: 10px;
    color: var(--text-main);
}

.product-price {
    font-size: 24px;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 15px;
}

.product-status {
    font-size: 14px;
    color: #4caf50;
    margin-bottom: 15px;
}

.product-status.out {
    color: #f44336;
}

.product-actions {
    display: flex;
    gap: 10px;
}

.product-actions .btn {
    flex: 1;
    text-align: center;
    padding: 10px;
    font-size: 14px;
}

/* Categories Grid */
.categories-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.category-card {
    flex: 1 1 calc(16.666% - 20px);
    min-width: 140px;
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 30px 20px;
    text-align: center;
    transition: var(--transition);
    cursor: pointer;
}

.category-card:hover {
    border-color: var(--primary-color);
    background-color: rgba(212, 175, 55, 0.05);
}

.category-icon {
    font-size: 40px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.category-title {
    font-size: 18px;
    color: var(--text-main);
}

/* About Section */
.about-store {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-text {
    flex: 1;
}

.about-text p {
    margin-bottom: 20px;
    color: var(--text-muted);
}

.about-images {
    flex: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.about-images img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

/* Blog Section */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.blog-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    transition: var(--transition);
}

.blog-card:hover {
    border-color: var(--primary-color);
}

.blog-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.blog-info {
    padding: 20px;
}

.blog-date {
    font-size: 12px;
    color: var(--primary-color);
    margin-bottom: 10px;
    display: block;
}

.blog-title {
    font-size: 22px;
    margin-bottom: 15px;
}

.blog-excerpt {
    color: var(--text-muted);
    margin-bottom: 20px;
    font-size: 14px;
}

/* Reviews Carousel */
.reviews-carousel {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 30px;
    padding-bottom: 20px;
    scrollbar-width: none;
}

.reviews-carousel::-webkit-scrollbar {
    display: none;
}

.review-card {
    min-width: 350px;
    scroll-snap-align: start;
    background-color: var(--bg-card);
    padding: 30px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.review-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.review-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--primary-color);
}

.review-name {
    font-weight: 600;
    color: var(--primary-color);
}

.review-text {
    font-style: italic;
    color: var(--text-muted);
}

/* Info Section */
.info-blocks {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.info-block {
    text-align: center;
    padding: 30px;
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
}

.info-icon {
    font-size: 40px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

/* Lead Magnet */
.lead-magnet {
    background: linear-gradient(45deg, #1a1a1a, #0a0a0a);
    border: 1px solid var(--primary-color);
    border-radius: 12px;
    padding: 50px;
    display: flex;
    align-items: center;
    gap: 50px;
    position: relative;
    overflow: hidden;
}

.lead-magnet::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(212,175,55,0.1) 0%, transparent 70%);
    pointer-events: none;
}

.lead-content {
    flex: 1;
    position: relative;
    z-index: 1;
}

.lead-content h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.lead-content p {
    font-size: 18px;
    color: var(--text-muted);
    margin-bottom: 30px;
}

.lead-image {
    flex: 1;
    position: relative;
    z-index: 1;
}

.lead-image img {
    width: 100%;
    max-width: 400px;
    border-radius: 8px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}

/* Footer */
.footer {
    background-color: var(--bg-darker);
    border-top: 1px solid var(--border-color);
    padding: 60px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h3 {
    font-size: 20px;
    margin-bottom: 20px;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--text-muted);
}

.footer-links a:hover {
    color: var(--primary-color);
}

.footer-contact p {
    color: var(--text-muted);
    margin-bottom: 10px;
}

.footer-contact a {
    color: var(--primary-color);
}

.payment-icons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.payment-icons img {
    height: 30px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
    color: var(--text-muted);
    font-size: 14px;
}

.disclaimer {
    background-color: #111;
    padding: 20px;
    text-align: center;
    font-size: 12px;
    color: #666;
}

.gamcare-links {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 10px;
    width: 100%;
    text-align: center;
}

.gamcare-links a {
    display: inline-flex;
    align-items: center;
    line-height: 0;
}

.gamcare-links img {
    height: 24px;
    width: auto;
    display: block;
    filter: invert(1);
}

.gamcare-links-age {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background-color: #d32f2f;
    color: white;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-family: sans-serif;
    font-size: 9px;
    flex-shrink: 0;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Modals */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: linear-gradient(145deg, #1a1a1a, #050505);
    padding: 50px 40px;
    border-radius: 16px;
    border: 2px solid var(--primary-color);
    box-shadow: 0 20px 50px rgba(0,0,0,0.8), 0 0 40px rgba(212, 175, 55, 0.15);
    max-width: 500px;
    width: 90%;
    position: relative;
    transform: translateY(-30px) scale(0.95);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-align: center;
}

.modal.active .modal-content {
    transform: translateY(0) scale(1);
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 32px;
    cursor: pointer;
    color: var(--text-muted);
    transition: var(--transition);
    line-height: 1;
}

.modal-close:hover {
    color: var(--primary-color);
    transform: rotate(90deg);
}

.modal-icon-top {
    font-size: 60px;
    color: var(--primary-color);
    margin-bottom: 20px;
    text-shadow: 0 0 20px rgba(212, 175, 55, 0.5);
    animation: pulseIcon 2s infinite;
}

.modal-title-custom {
    font-family: 'Cinzel', serif;
    font-size: 32px;
    color: var(--primary-color);
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.modal-text-custom {
    color: var(--text-main);
    font-size: 16px;
    line-height: 1.6;
}

@keyframes pulseIcon {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background-color: var(--bg-card);
    border: 1px solid var(--primary-color);
    padding: 20px;
    border-radius: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    transform: translateY(150%);
    transition: transform 0.5s ease;
}

.cookie-banner.active {
    transform: translateY(0);
}

.cookie-text {
    flex: 1;
    margin-right: 20px;
}

.cookie-actions {
    display: flex;
    gap: 10px;
}

/* Responsive */
@media (max-width: 991px) {
    .burger-menu {
        display: flex;
    }

    .header-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--bg-dark);
        flex-direction: column;
        padding: 20px;
        border-bottom: 1px solid var(--border-color);
    }

    .header-nav.active {
        display: flex;
    }

    .nav-menu {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .header-top {
        flex-wrap: wrap;
        gap: 15px;
    }

    .header-contact,
    .header-search-wrapper {
        display: none;
    }

    img[src="images/logo.png"] {
        height: 30px !important;
    }

    .hero h1 {
        font-size: 36px;
    }

    .about-store {
        flex-direction: column;
    }

    .lead-magnet {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 576px) {
    img[src="images/logo.png"] {
        height: 25px !important;
    }

    .hero h1 {
        font-size: 28px;
    }

    .section {
        padding: 50px 0;
    }

    .cookie-banner {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 300px) {
    .container {
        padding: 0 10px;
    }
    
    .logo {
        /* image logo handles its own size */
    }
    
    .hero h1 {
        font-size: 24px;
    }
}

/* Page specific styles */
/* Catalog Filters */
.catalog-layout {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

.filters-sidebar {
    width: 250px;
    background-color: var(--bg-card);
    padding: 20px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    flex-shrink: 0;
}

.filter-group {
    margin-bottom: 25px;
}

.filter-group h4 {
    margin-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 10px;
}

.filter-label {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    cursor: pointer;
    font-size: 14px;
}

.filter-label input {
    margin-right: 10px;
    accent-color: var(--primary-color);
}

.catalog-content {
    flex: 1;
}

.catalog-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.sort-select {
    padding: 8px 15px;
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-main);
    border-radius: 4px;
}

@media (max-width: 768px) {
    .catalog-layout {
        flex-direction: column;
    }
    
    .filters-sidebar {
        width: 100%;
    }
}

/* Slot Machine */
.slot-machine {
    max-width: 600px;
    margin: 0 auto;
    background: linear-gradient(180deg, #222, #0a0a0a);
    border: 5px solid var(--primary-color);
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 0 50px rgba(212, 175, 55, 0.2);
}

.slot-window {
    background-color: #000;
    height: 200px;
    border: 2px solid #444;
    border-radius: 10px;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.slot-reel {
    width: 100%;
    transition: transform 3s cubic-bezier(0.1, 0.7, 0.1, 1);
}

.slot-item {
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slot-item img {
    max-height: 180px;
    object-fit: contain;
}

.slot-btn {
    font-size: 24px;
    padding: 15px 40px;
    border-radius: 50px;
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.4);
}

/* Product Detail */
.product-detail-layout {
    display: flex;
    gap: 50px;
    margin-bottom: 60px;
}

.product-gallery {
    flex: 1;
}

.main-image {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    margin-bottom: 20px;
}

.product-info-detail {
    flex: 1;
}

.product-info-detail h1 {
    font-size: 36px;
    margin-bottom: 15px;
}

.product-price-large {
    font-size: 32px;
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 20px;
}

.product-description {
    color: var(--text-muted);
    margin-bottom: 30px;
    font-size: 16px;
}

.add-to-cart-form {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
}

.qty-input {
    width: 80px;
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-main);
    text-align: center;
    font-size: 18px;
    border-radius: 4px;
}

.delivery-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 30px;
}

.delivery-table th, .delivery-table td {
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    text-align: left;
}

.delivery-table th {
    background-color: var(--bg-card);
    color: var(--primary-color);
}

@media (max-width: 991px) {
    .product-detail-layout {
        flex-direction: column;
    }
}

/* Chat Widget */
.chat-widget-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
}

.chat-toggle-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: var(--bg-dark);
    font-size: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 20px rgba(0,0,0,0.5), 0 0 15px rgba(212, 175, 55, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: float 3s ease-in-out infinite;
}

.chat-toggle-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 15px 25px rgba(0,0,0,0.6), 0 0 25px rgba(212, 175, 55, 0.6);
}

.chat-window {
    width: 350px;
    height: 500px;
    max-height: 80vh;
    background-color: var(--bg-card);
    border: 1px solid var(--primary-color);
    border-radius: 12px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.8), 0 0 20px rgba(212, 175, 55, 0.2);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: absolute;
    bottom: 0;
    right: 0;
    transform: scale(0) translateY(50px);
    transform-origin: bottom right;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.chat-window.active {
    transform: scale(1) translateY(0);
    opacity: 1;
    visibility: visible;
}

.chat-header {
    background-color: #1a1a1a;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
    font-weight: 600;
    color: var(--primary-color);
}

.chat-close-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 28px;
    line-height: 1;
    transition: var(--transition);
    cursor: pointer;
}

.chat-close-btn:hover {
    color: var(--primary-color);
    transform: rotate(90deg);
}

.chat-body {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
    background: linear-gradient(180deg, #111, var(--bg-card));
}

.chat-body::-webkit-scrollbar {
    width: 6px;
}
.chat-body::-webkit-scrollbar-thumb {
    background-color: #333;
    border-radius: 3px;
}

.chat-message {
    max-width: 85%;
    padding: 10px 15px;
    border-radius: 12px;
    font-size: 14px;
    line-height: 1.5;
    word-wrap: break-word;
}

.bot-message {
    background-color: #222;
    color: var(--text-main);
    align-self: flex-start;
    border-bottom-left-radius: 0;
    border: 1px solid var(--border-color);
}

.user-message {
    background-color: var(--primary-color);
    color: var(--bg-dark);
    align-self: flex-end;
    border-bottom-right-radius: 0;
    font-weight: 500;
}

.chat-footer {
    padding: 15px;
    background-color: #1a1a1a;
    border-top: 1px solid var(--border-color);
}

.chat-footer input {
    flex: 1;
    padding: 10px 15px;
    border-radius: 20px;
    background-color: #000;
    border: 1px solid var(--border-color);
    color: var(--text-main);
    transition: var(--transition);
    outline: none;
}

.chat-footer input:focus {
    border-color: var(--primary-color);
}

.chat-send-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: var(--bg-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.chat-send-btn:hover {
    transform: scale(1.1);
    background-color: var(--primary-hover);
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

@media (max-width: 576px) {
    .chat-widget-container {
        bottom: 20px;
        right: 20px;
    }
    
    .chat-window {
        width: 300px;
        height: 400px;
    }
}
