/*
* CoolPlay Oyun Dünyası - Main Stylesheet
* Custom stylesheet without Bootstrap
* Author: CoolPlay Oyun Dünyası Team
*/

/* CSS Reset & Base Styles */
:root {
    --primary-color: #5d3fd3;
    --secondary-color: #f7941d;
    --text-color: #333;
    --light-text: #fff;
    --light-gray: #f5f5f5;
    --dark-gray: #666;
    --border-color: #ddd;
    --success-color: #4caf50;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-color);
    line-height: 1.6;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

a:hover {
    color: var(--secondary-color);
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2.2rem;
    color: var(--primary-color);
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--secondary-color);
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--primary-color);
    color: var(--light-text);
    border-radius: 4px;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn:hover {
    background-color: var(--secondary-color);
    color: var(--light-text);
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.btn-small {
    padding: 8px 20px;
    font-size: 0.9rem;
    border-radius: 4px;
    background-color: var(--primary-color);
    color: var(--light-text);
    display: inline-block;
    text-transform: uppercase;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-small:hover {
    background-color: var(--secondary-color);
    color: var(--light-text);
    transform: translateY(-2px);
}

/* Header Styles */
.main_menu {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    position: relative;
}

.navbar-brand {
    display: flex;
    align-items: center;
    color: var(--primary-color);
}

.navbar-brand h1 {
    font-size: 1.8rem;
    font-weight: 700;
}

.nav-toggle {
    display: none;
}

.nav-toggle-label {
    display: none;
}

.hamburger {
    width: 30px;
    height: 3px;
    background: var(--text-color);
    position: relative;
    transition: all 0.3s ease;
}

.hamburger:before,
.hamburger:after {
    content: '';
    position: absolute;
    width: 30px;
    height: 3px;
    background: var(--text-color);
    transition: all 0.3s ease;
}

.hamburger:before {
    top: -8px;
}

.hamburger:after {
    top: 8px;
}

.nav-wrapper {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-item {
    list-style: none;
}

.nav-link {
    color: var(--text-color);
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    padding: 8px 12px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.nav-link:hover {
    color: var(--primary-color);
    background-color: rgba(93, 63, 211, 0.1);
}

/* Mobile Menu Styles */
@media screen and (max-width: 768px) {
    .nav-toggle-label {
        display: block;
        cursor: pointer;
        padding: 15px;
        z-index: 2;
    }

    .nav-wrapper {
        position: fixed;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100vh;
        background: #fff;
        transition: all 0.3s ease;
        padding-top: 80px;
        flex-direction: column;
        align-items: center;
    }

    .nav-toggle:checked ~ .nav-wrapper {
        left: 0;
    }

    .nav-toggle:checked ~ .nav-toggle-label .hamburger {
        background: transparent;
    }

    .nav-toggle:checked ~ .nav-toggle-label .hamburger:before {
        transform: rotate(45deg);
        top: 0;
    }

    .nav-toggle:checked ~ .nav-toggle-label .hamburger:after {
        transform: rotate(-45deg);
        top: 0;
    }

    .nav-item {
        margin: 15px 0;
        width: 100%;
        text-align: center;
    }

    .nav-link {
        display: block;
        padding: 15px 20px;
        font-size: 18px;
    }
}

/* Hero Section Styles */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../img/hero.webp');
    background-size: cover;
    background-position: center;
    color: var(--light-text);
    padding: 120px 0;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-content h2 {
    font-size: 3rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

/* Featured Categories Styles */
.featured-categories {
    padding: 80px 0;
    background-color: var(--light-gray);
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.category-card {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    text-align: center;
    padding-bottom: 20px;
}

.category-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.category-image {
    height: 200px;
    background-size: cover;
    background-position: center;
    margin-bottom: 20px;
}

.category-card h3 {
    margin-bottom: 15px;
    color: var(--primary-color);
}

/* Popular Games Styles */
.popular-games {
    padding: 80px 0;
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.game-card {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.game-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.game-image {
    height: 220px;
    background-size: cover;
    background-position: center;
}

.game-card h3 {
    padding: 15px 15px 5px;
    color: var(--primary-color);
}

.game-card p {
    padding: 0 15px 15px;
    color: var(--dark-gray);
    font-size: 0.9rem;
}

.game-card .btn-small {
    margin: 0 15px 15px;
}

/* About Section Styles */
.about-section {
    padding: 80px 0;
    background-color: var(--light-gray);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-text h2 {
    margin-bottom: 25px;
    color: var(--primary-color);
    font-size: 2rem;
}

.about-text p {
    margin-bottom: 20px;
    color: var(--dark-gray);
}

.about-image {
    background-image: url('../img/store.webp');
    background-size: cover;
    background-position: center;
    border-radius: 8px;
    height: 400px;
}

/* Contact Section Styles */
.contact-section {
    padding: 80px 0;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-item h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.contact-form form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-family: inherit;
    resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

/* Footer Styles */
.footer {
    background-color: #2a2a2a;
    color: var(--light-text);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
}

.footer-logo h2 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.footer-logo p {
    opacity: 0.8;
}

.footer-links h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--light-text);
    opacity: 0.8;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    opacity: 1;
    color: var(--secondary-color);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
    opacity: 0.6;
}

/* Responsive Styles */
@media screen and (max-width: 992px) {
    .hero-content h2 {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
    }

    .about-image {
        order: -1;
    }
}

@media screen and (max-width: 768px) {
    .hero {
        padding: 80px 0;
    }

    .hero-content h2 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .featured-categories,
    .popular-games,
    .about-section,
    .contact-section {
        padding: 60px 0;
    }

    .navbar-brand h1 {
        font-size: 1.5rem;
    }
}

@media screen and (max-width: 576px) {
    .hero-content h2 {
        font-size: 1.8rem;
    }

    .section-title {
        font-size: 1.8rem;
        margin-bottom: 30px;
    }

    .btn {
        padding: 10px 25px;
    }

    .about-image {
        height: 300px;
    }
}



/* Дополнительные интерактивные эффекты и современный стиль */

/* Плавная прокрутка для якорных ссылок */
html {
    scroll-behavior: smooth;
}

/* Улучшенный фон для секций */
.featured-categories {
    background: linear-gradient(135deg, #f5f7fa 0%, #e9e9f5 100%);
    position: relative;
    overflow: hidden;
}

.featured-categories::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.05;
    z-index: 1;
}

.featured-categories .container {
    position: relative;
    z-index: 2;
}

/* Улучшенные карточки категорий */
.category-card {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    background-color: #fff;
}

.category-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.12);
}

.category-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: all 0.4s ease;
}

.category-card:hover .category-img {
    transform: scale(1.05);
}

.category-card h3 {
    color: var(--primary-color);
    margin: 15px 0 10px;
    font-size: 1.3rem;
    transition: color 0.3s ease;
}

.category-card p {
    color: var(--dark-gray);
    padding: 0 15px 15px;
    font-size: 0.95rem;
    margin-bottom: 15px;
}

.category-card:hover h3 {
    color: var(--secondary-color);
}

/* Улучшенные кнопки */
.btn, .btn-small {
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::before, .btn-small::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transition: all 0.4s ease;
    z-index: -1;
}

.btn:hover::before, .btn-small:hover::before {
    left: 0;
}

.btn-small {
    border-radius: 50px;
    padding: 8px 22px;
    font-weight: 500;
    box-shadow: 0 4px 8px rgba(93, 63, 211, 0.25);
}

/* Улучшенные карточки игр */
.game-card {
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.4s ease;
    background-color: #fff;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.08);
}

.game-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.12);
}

.game-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: all 0.5s ease;
}

.game-card:hover .game-img {
    transform: scale(1.08);
}

.game-card h3 {
    font-size: 1.25rem;
    padding: 15px 15px 5px;
    color: var(--primary-color);
    position: relative;
}

.game-card h3::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 15px;
    width: 40px;
    height: 2px;
    background-color: var(--secondary-color);
    transition: width 0.3s ease;
}

.game-card:hover h3::after {
    width: 80px;
}

/* Улучшенное оформление секции about */
.about-section {
    position: relative;
    background: linear-gradient(to right, #f9f9f9 0%, #f3f3f3 100%);
}

.about-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 40px;
    background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.03));
}

.about-content {
    align-items: center;
    gap: 60px;
}

.about-text h2 {
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 25px;
}

.about-text h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 3px;
    background-color: var(--secondary-color);
    transition: width 0.3s ease;
}

.about-text:hover h2::after {
    width: 120px;
}

.full-width-img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
    transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.about-image:hover .full-width-img {
    transform: scale(1.03) translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

/* Улучшенная форма контактов */
.contact-section {
    position: relative;
    background: #ffffff;
}

.contact-item {
    padding: 20px;
    border-radius: 8px;
    background-color: #f9f9f9;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    margin-bottom: 20px;
}

.contact-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.08);
    background-color: #f5f5ff;
}

.contact-item h3 {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-bottom: 10px;
    position: relative;
    padding-bottom: 8px;
}

.contact-item h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: var(--secondary-color);
    transition: width 0.3s ease;
}

.contact-item:hover h3::after {
    width: 50px;
}

.form-group input,
.form-group textarea {
    border: 2px solid var(--border-color);
    padding: 12px 15px;
    border-radius: 6px;
    transition: all 0.3s ease;
    width: 100%;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(93, 63, 211, 0.1);
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--dark-gray);
    transition: color 0.3s ease;
}

.form-group:focus-within label {
    color: var(--primary-color);
}

/* Улучшенная навигация */
.navbar-brand img {
    max-height: 50px;
    transition: transform 0.3s ease;
}

.navbar-brand:hover img {
    transform: scale(1.1);
}

.nav-link {
    position: relative;
    padding: 8px 16px;
    overflow: hidden;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-item {
    position: relative;
    margin: 0 5px;
}

/* Улучшенный hero-раздел */
.hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.4)), url('../img/hero.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.3) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.hero-content h2 {
    font-size: 3.2rem;
    margin-bottom: 25px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    animation: fadeInDown 1s both;
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 35px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 1s both;
    animation-delay: 0.3s;
}

.hero-content .btn {
    animation: fadeIn 1s both;
    animation-delay: 0.6s;
    font-size: 1.05rem;
    padding: 14px 35px;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

/* Улучшенный футер */
.footer {
    background-size: 200px;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, #2a2a2a, #222222);
    opacity: 0.92;
}

.footer .container {
    position: relative;
}

.footer-links a {
    position: relative;
    display: inline-block;
    padding: 5px 0;
    transition: all 0.3s ease;
}

.footer-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--secondary-color);
    transition: width 0.3s ease;
}

.footer-links a:hover::after {
    width: 100%;
}

.footer-logo h2 {
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* Анимации */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Интерактивные элементы */
.top-scrolling-indicator {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: var(--light-text);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(93, 63, 211, 0.3);
    z-index: 999;
}

.top-scrolling-indicator.visible {
    opacity: 1;
    visibility: visible;
}

.top-scrolling-indicator:hover {
    background-color: var(--secondary-color);
    transform: translateY(-5px);
}

/* Подсветка текущего раздела при прокрутке */
.nav-link.active {
    color: var(--primary-color);
    font-weight: 600;
}

.nav-link.active::after {
    width: 100%;
}

/* Дополнительные медиа-запросы */
@media screen and (max-width: 992px) {
    .hero-content h2 {
        font-size: 2.8rem;
    }

    .hero {
        padding: 100px 0;
    }
}

@media screen and (max-width: 768px) {
    .hero-content h2 {
        font-size: 2.2rem;
    }

    .hero-content p {
        font-size: 1.1rem;
    }

    .game-card:hover,
    .category-card:hover {
        transform: translateY(-5px);
    }

    .form-group input,
    .form-group textarea {
        padding: 10px;
    }
}

@media screen and (max-width: 576px) {
    .section-title {
        font-size: 1.8rem;
    }

    .hero-content h2 {
        font-size: 1.8rem;
    }

    .category-img,
    .game-img {
        height: 180px;
    }

    .btn {
        padding: 10px 25px;
        font-size: 0.9rem;
    }
}

/* Game Consultation CTA Section Styles */
.game-consultation {
    background: linear-gradient(135deg, #614385 0%, #516395 100%);
    padding: 80px 0;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.consultation-wrapper {
    display: flex;
    align-items: center;
    position: relative;
}

.consultation-content {
    width: 60%;
    padding-right: 40px;
    position: relative;
    z-index: 2;
}

.cta-title {
    font-size: 2.4rem;
    margin-bottom: 20px;
    font-weight: 700;
    color: #fff;
}

.cta-text {
    font-size: 1.1rem;
    margin-bottom: 25px;
    opacity: 0.9;
    line-height: 1.7;
}

.consultation-benefits {
    list-style: none;
    margin-bottom: 30px;
}

.consultation-benefits li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 15px;
    font-size: 1.05rem;
}

.consultation-benefits li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 6px;
    width: 20px;
    height: 20px;
    background: linear-gradient(135deg, #f7941d 0%, #ffb75e 100%);
    border-radius: 50%;
    opacity: 0.9;
}

.consultation-benefits li::after {
    content: '✓';
    position: absolute;
    left: 6px;
    top: 3px;
    color: white;
    font-size: 12px;
    font-weight: bold;
}

.cta-btn {
    background: linear-gradient(135deg, #f7941d 0%, #ffb75e 100%);
    border: none;
    padding: 15px 35px;
    font-size: 1.1rem;
    font-weight: 600;
    margin-top: 10px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.cta-btn:hover {
    transform: translateY(-5px) scale(1.03);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    background: linear-gradient(135deg, #ffb75e 0%, #f7941d 100%);
}

.consultation-design {
    width: 40%;
    position: relative;
    height: 400px;
}

.design-element {
    position: absolute;
    border-radius: 8px;
    opacity: 0.8;
}

.dice-1 {
    width: 100px;
    height: 100px;
    background: rgba(255, 255, 255, 0.25);
    top: 50px;
    left: 40px;
    transform: rotate(15deg);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
    animation: float 6s ease-in-out infinite;
}

.dice-1::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    background: white;
    border-radius: 50%;
}

.dice-2 {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    top: 180px;
    left: 150px;
    transform: rotate(-10deg);
    animation: float 4s ease-in-out infinite 1s;
}

.dice-2::before, .dice-2::after {
    content: '';
    position: absolute;
    width: 15px;
    height: 15px;
    background: white;
    border-radius: 50%;
}

.dice-2::before {
    top: 15px;
    left: 15px;
}

.dice-2::after {
    bottom: 15px;
    right: 15px;
}

.dice-3 {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.15);
    bottom: 80px;
    left: 80px;
    transform: rotate(25deg);
    animation: float 5s ease-in-out infinite 0.5s;
}

.dice-3::before, .dice-3::after {
    content: '';
    position: absolute;
    width: 12px;
    height: 12px;
    background: white;
    border-radius: 50%;
}

.dice-3::before {
    top: 10px;
    left: 10px;
}

.dice-3::after {
    bottom: 10px;
    right: 10px;
}

.card-1 {
    width: 120px;
    height: 180px;
    background: rgba(255, 183, 94, 0.2);
    bottom: 50px;
    right: 60px;
    transform: rotate(-5deg);
    animation: float 5s ease-in-out infinite 1.5s;
}

.card-2 {
    width: 100px;
    height: 150px;
    background: rgba(247, 148, 29, 0.15);
    top: 70px;
    right: 30px;
    transform: rotate(10deg);
    animation: float 4s ease-in-out infinite 2s;
}

.meeple {
    width: 40px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    top: 250px;
    right: 150px;
    border-radius: 50% 50% 0 0;
    transform: rotate(15deg);
    animation: float 3s ease-in-out infinite 1s;
}

.meeple::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 30px;
    background: inherit;
    border-radius: 0 0 15px 15px;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(var(--rotation, 0deg));
    }
    50% {
        transform: translateY(-15px) rotate(var(--rotation, 0deg));
    }
}

.dice-1 { --rotation: 15deg; }
.dice-2 { --rotation: -10deg; }
.dice-3 { --rotation: 25deg; }
.card-1 { --rotation: -5deg; }
.card-2 { --rotation: 10deg; }
.meeple { --rotation: 15deg; }

/* Featured Games Section Styles */
.featured-games {
    padding: 100px 0;
    background: #f8f9fa;
}

.featured-games-wrapper {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.featured-game-card {
    display: flex;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
}

.featured-game-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.game-color-block {
    width: 15px;
    transition: all 0.3s ease;
}

.featured-game-card:hover .game-color-block {
    width: 25px;
}

.catan-color {
    background: linear-gradient(to bottom, #e67e22, #f39c12);
}

.dixit-color {
    background: linear-gradient(to bottom, #9b59b6, #8e44ad);
}

.monopoly-color {
    background: linear-gradient(to bottom, #2ecc71, #27ae60);
}

.game-info {
    padding: 30px;
    flex: 1;
}

.game-title {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: var(--primary-color);
    position: relative;
    display: inline-block;
}

.game-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 3px;
    transition: width 0.3s ease;
}

.featured-game-card:hover .game-title::after {
    width: 100%;
}

.catan-color + .game-info .game-title::after {
    background: #f39c12;
}

.dixit-color + .game-info .game-title::after {
    background: #8e44ad;
}

.monopoly-color + .game-info .game-title::after {
    background: #27ae60;
}

.game-specs {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.spec {
    font-size: 0.95rem;
    color: #666;
    display: flex;
    align-items: center;
}

.label {
    font-weight: 600;
    margin-right: 5px;
    color: #333;
}

.game-description {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #555;
    margin-bottom: 25px;
}

.game-features {
    display: flex;
    gap: 10px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.feature {
    padding: 6px 12px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
}

/* Feature tags color variations */
.strategy, .economic {
    background-color: #f3f4f6;
    color: #374151;
}

.trading, .negotiation {
    background-color: #fef3c7;
    color: #92400e;
}

.resource {
    background-color: #e0f2fe;
    color: #0369a1;
}

.creative, .storytelling {
    background-color: #fae8ff;
    color: #86198f;
}

.family, .classic {
    background-color: #dcfce7;
    color: #166534;
}

.game-btn {
    margin-top: 10px;
}

.catan-color + .game-info .game-btn {
    background-color: #f39c12;
}

.dixit-color + .game-info .game-btn {
    background-color: #8e44ad;
}

.monopoly-color + .game-info .game-btn {
    background-color: #27ae60;
}

.catan-color + .game-info .game-btn:hover {
    background-color: #e67e22;
}

.dixit-color + .game-info .game-btn:hover {
    background-color: #9b59b6;
}

.monopoly-color + .game-info .game-btn:hover {
    background-color: #2ecc71;
}

/* Media Queries for Responsive Design */
@media screen and (max-width: 992px) {
    .consultation-wrapper {
        flex-direction: column;
    }

    .consultation-content {
        width: 100%;
        padding-right: 0;
        margin-bottom: 50px;
    }

    .consultation-design {
        width: 100%;
        height: 300px;
    }

    .cta-title {
        font-size: 2rem;
    }
}

@media screen and (max-width: 768px) {
    .game-consultation {
        padding: 60px 0;
    }

    .consultation-benefits li {
        font-size: 1rem;
    }

    .cta-btn {
        width: 100%;
        text-align: center;
    }

    .consultation-design {
        height: 250px;
    }

    .featured-game-card {
        flex-direction: column;
    }

    .game-color-block {
        width: 100%;
        height: 10px;
    }

    .featured-game-card:hover .game-color-block {
        height: 15px;
        width: 100%;
    }
}

@media screen and (max-width: 576px) {
    .cta-title {
        font-size: 1.8rem;
    }

    .cta-text {
        font-size: 1rem;
    }

    .game-title {
        font-size: 1.5rem;
    }

    .game-specs {
        flex-direction: column;
        gap: 10px;
    }

    .consultation-design {
        display: none;
    }
}

/* Cookie Disclaimer Styles */
.cookie-disclaimer {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1000px;
    z-index: 9999;
    display: none;
    opacity: 0;
    animation: cookieSlideUp 0.5s forwards;
}

.cookie-disclaimer.show {
    display: block;
}

@keyframes cookieSlideUp {
    from {
        opacity: 0;
        transform: translate(-50%, 20px);
    }
    to {
        opacity: 1;
        transform: translate(-50%, 0);
    }
}

.cookie-container {
    background-color: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.cookie-content {
    display: flex;
    padding: 20px;
    align-items: center;
    justify-content: space-between;
}

.cookie-text {
    display: flex;
    align-items: center;
    gap: 20px;
    flex: 1;
}

.cookie-icon {
    width: 40px;
    height: 40px;
    min-width: 40px;
    position: relative;
    background-color: #f5f5f5;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cookie-shape {
    width: 24px;
    height: 24px;
    background-color: var(--primary-color);
    border-radius: 50%;
    position: relative;
    overflow: hidden;
}

.cookie-shape::before, .cookie-shape::after {
    content: "";
    position: absolute;
    background-color: rgba(255, 255, 255, 0.7);
    border-radius: 50%;
}

.cookie-shape::before {
    width: 8px;
    height: 8px;
    top: 4px;
    left: 4px;
}

.cookie-shape::after {
    width: 6px;
    height: 6px;
    bottom: 6px;
    right: 5px;
}

.cookie-text p {
    margin: 0;
    color: #666;
    font-size: 0.95rem;
}

.cookie-actions {
    padding-left: 20px;
}

.cookie-btn {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.cookie-btn:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
}

@media screen and (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
    }

    .cookie-text {
        margin-bottom: 15px;
    }

    .cookie-actions {
        padding-left: 0;
        width: 100%;
    }

    .cookie-btn {
        width: 100%;
    }
}