/* Base styles */
:root {
    --primary-color: #8B4513;
    --secondary-color: #DEB887;
    --text-color: #333;
    --light-color: #F5F5F5;
    --dark-color: #2D2D2D;
    --accent-color: #D2691E;
    --font-main: 'Roboto', Arial, sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    color: var(--text-color);
    line-height: 1.6;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

section {
    padding: 60px 0;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    margin-bottom: 15px;
    font-weight: 700;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 15px;
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    color: var(--primary-color);
}

.section-title:after {
    content: '';
    width: 80px;
    height: 3px;
    background: var(--accent-color);
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

/* Buttons */
.btn-primary {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.3s;
}

.btn-primary:hover {
    background: var(--accent-color);
}

/* Header & Navigation */
.main_menu {
    background: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    position: relative;
}

.navbar-brand {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
}

.nav-toggle {
    display: none;
}

.nav-toggle-label {
    display: none;
}

.hamburger {
    width: 30px;
    height: 3px;
    background: var(--primary-color);
    position: relative;
    transition: all 0.3s ease;
}

.hamburger:before,
.hamburger:after {
    content: '';
    position: absolute;
    width: 30px;
    height: 3px;
    background: var(--primary-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;
    transition: color 0.3s;
}

.nav-link:hover {
    color: var(--primary-color);
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../img/banner.webp') center/cover no-repeat;
    color: white;
    text-align: center;
    padding: 120px 0;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

/* Features Section */
.features {
    background-color: var(--light-color);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-card {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s;
}

.feature-card:hover {
    transform: translateY(-10px);
}

.feature-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    border-radius: 50%;
    background-color: var(--secondary-color);
    display: flex;
    align-items: center;
    justify-content: center;
}

.chess-icon:before {
    content: "♞";
    font-size: 40px;
    color: var(--primary-color);
}

.community-icon:before {
    content: "♟";
    font-size: 40px;
    color: var(--primary-color);
}

.event-icon:before {
    content: "♜";
    font-size: 40px;
    color: var(--primary-color);
}

/* Popular Games Section */
.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.game-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.game-card:hover {
    transform: translateY(-10px);
}

.game-img {
    height: 200px;
    background-color: var(--secondary-color);
}

.game-card h3 {
    padding: 20px 20px 10px;
}

.game-card p {
    padding: 0 20px 20px;
    color: #666;
}

/* Contact Section */
.contact {
    background-color: var(--light-color);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 50px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-item h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

.contact-form form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 5px;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

/* Footer Section */
.footer {
    background: var(--dark-color);
    color: white;
    padding: 60px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand h3 {
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.footer-links h4,
.footer-contact h4 {
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #ddd;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--secondary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Mobile Adaptation */
@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: white;
        transition: all 0.3s ease;
        padding-top: 80px;
        flex-direction: column;
        align-items: center;
    }

    .nav-item {
        margin: 15px 0;
    }

    .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;
    }

    .hero {
        padding: 80px 0;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .features-grid,
    .games-grid,
    .contact-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

@media screen and (min-width: 769px) and (max-width: 1024px) {
    .games-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Base styles */
:root {
    --primary-color: #8B4513;
    --secondary-color: #DEB887;
    --text-color: #333;
    --light-color: #F5F5F5;
    --dark-color: #2D2D2D;
    --accent-color: #D2691E;
    --font-main: 'Roboto', Arial, sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    color: var(--text-color);
    line-height: 1.6;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

section {
    padding: 60px 0;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    margin-bottom: 15px;
    font-weight: 700;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 15px;
}

ul {
    margin-bottom: 15px;
    padding-left: 20px;
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    color: var(--primary-color);
}

.section-title:after {
    content: '';
    width: 80px;
    height: 3px;
    background: var(--accent-color);
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

/* Buttons */
.btn-primary {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.3s;
}

.btn-primary:hover {
    background: var(--accent-color);
}

/* Header & Navigation */
.main_menu {
    background: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    position: relative;
}

.navbar-brand {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
}

.navbar-brand img {
    max-height: 40px;
}

.nav-toggle {
    display: none;
}

.nav-toggle-label {
    display: none;
}

.hamburger {
    width: 30px;
    height: 3px;
    background: var(--primary-color);
    position: relative;
    transition: all 0.3s ease;
}

.hamburger:before,
.hamburger:after {
    content: '';
    position: absolute;
    width: 30px;
    height: 3px;
    background: var(--primary-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;
    transition: color 0.3s;
}

.nav-link:hover {
    color: var(--primary-color);
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../img/banner.webp') center/cover no-repeat;
    color: white;
    text-align: center;
    padding: 120px 0;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

/* Features Section */
.features {
    background-color: var(--light-color);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-card {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s;
}

.feature-card:hover {
    transform: translateY(-10px);
}

.feature-img {
    margin-bottom: 20px;
    overflow: hidden;
    border-radius: 8px;
    height: 200px;
}

.feature-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.feature-card:hover .feature-img img {
    transform: scale(1.05);
}

/* Game Categories Section */
.game-categories {
    padding: 70px 0;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.category-card {
    background: var(--light-color);
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

.category-card h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--secondary-color);
}

.category-card ul {
    list-style-type: none;
    padding-left: 0;
}

.category-card li {
    padding: 8px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.category-card li:last-child {
    border-bottom: none;
}

/* Popular Games Section */
.popular-games {
    background-color: white;
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.game-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.game-card:hover {
    transform: translateY(-10px);
}

.game-img {
    height: 200px;
    overflow: hidden;
}

.game-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.game-card:hover .game-img img {
    transform: scale(1.05);
}

.game-card h3 {
    padding: 20px 20px 10px;
}

.game-card p {
    padding: 0 20px 20px;
    color: #666;
}

/* Club Space Section */
.club-space {
    background-color: var(--light-color);
    padding: 70px 0;
}

.space-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.space-image {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

.space-image img {
    width: 100%;
    height: auto;
    display: block;
}

.space-info h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
}

.space-info ul {
    margin-bottom: 20px;
}

.space-info li {
    margin-bottom: 10px;
}

/* Events Section */
.events {
    padding: 70px 0;
}

.events-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.event-item {
    background: white;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s;
    border-left: 5px solid var(--primary-color);
}

.event-item:hover {
    transform: translateY(-5px);
}

.event-item h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

/* Contact Section */
.contact {
    background-color: var(--light-color);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 50px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-item h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

.contact-form form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 5px;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

/* Footer Section */
.footer {
    background: var(--dark-color);
    color: white;
    padding: 60px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand h3 {
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.footer-links h4,
.footer-contact h4 {
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.footer-links ul {
    list-style: none;
    padding-left: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #ddd;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--secondary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Mobile Adaptation */
@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: white;
        transition: all 0.3s ease;
        padding-top: 80px;
        flex-direction: column;
        align-items: center;
    }

    .nav-item {
        margin: 15px 0;
        width: 100%;
        text-align: center;
    }

    .nav-link {
        display: inline-block;
        padding: 10px 20px;
        font-size: 18px;
    }

    .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;
    }

    .hero {
        padding: 80px 0;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .space-content {
        grid-template-columns: 1fr;
    }

    .features-grid,
    .games-grid,
    .categories-grid,
    .events-list,
    .contact-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

@media screen and (min-width: 769px) and (max-width: 1024px) {
    .games-grid,
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Дополнительные глобальные стили */
:root {
    --chess-light: #f0d9b5;
    --chess-dark: #b58863;
    --wood-light: #d2b48c;
    --wood-medium: #cd8c52;
    --wood-dark: #8b5a2b;
    --game-red: #c0392b;
    --game-blue: #2980b9;
    --game-green: #27ae60;
    --game-yellow: #f39c12;
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    background-color: #f8f5f0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23d9cdbf' fill-opacity='0.2'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    background-attachment: fixed;
}

/* Анимации */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* Улучшенная навигация */
.navbar {
    padding: 20px 0;
}

.navbar-brand {
    position: relative;
    overflow: hidden;
}

.navbar-brand img {
    transition: var(--transition-smooth);
}

.navbar-brand:hover img {
    transform: scale(1.1);
}

.nav-link {
    position: relative;
    padding: 8px 0;
    margin: 0 15px;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--primary-color);
    transition: var(--transition-smooth);
}

.nav-link:hover::after {
    width: 100%;
}

/* Улучшенная секция героя */
.hero {
    position: relative;
    overflow: hidden;
    background-attachment: fixed;
}

.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23ffffff' fill-opacity='0.1' fill-rule='evenodd'/%3E%3C/svg%3E");
    z-index: -1;
}

.hero-content {
    animation: fadeIn 1s ease-out forwards;
}

.btn-primary {
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: var(--transition-smooth);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--accent-color);
    transition: var(--transition-smooth);
    z-index: -1;
}

.btn-primary:hover {
    color: white;
    box-shadow: 0 4px 15px rgba(139, 69, 19, 0.4);
}

.btn-primary:hover::before {
    left: 0;
}

/* Улучшенные карточки особенностей */
.feature-card {
    position: relative;
    border: none;
    overflow: hidden;
    transition: var(--transition-smooth);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    z-index: -1;
    transform: scale(0.98);
    border-radius: 12px;
    opacity: 0;
    transition: var(--transition-smooth);
}

.feature-card:hover {
    transform: translateY(-15px);
}

.feature-card:hover::before {
    opacity: 1;
    transform: scale(1);
}

.feature-img {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
}

.feature-img::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2);
    opacity: 0;
    transition: var(--transition-smooth);
}

.feature-card:hover .feature-img::after {
    opacity: 1;
}

/* Улучшенные категории игр */
.category-card {
    position: relative;
    overflow: hidden;
    border: none;
    border-radius: 10px;
    background: white;
    transition: var(--transition-smooth);
}

.category-card::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 5px;
    top: 0;
    left: 0;
    background: linear-gradient(90deg, var(--game-red), var(--game-blue), var(--game-green), var(--game-yellow));
    transition: var(--transition-smooth);
}

.category-card:nth-child(1)::before {
    background: var(--game-red);
}

.category-card:nth-child(2)::before {
    background: var(--game-blue);
}

.category-card:nth-child(3)::before {
    background: var(--game-green);
}

.category-card:nth-child(4)::before {
    background: var(--game-yellow);
}

.category-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.category-card h3 {
    transition: var(--transition-smooth);
}

.category-card:hover h3 {
    transform: translateX(8px);
}

.category-card li {
    position: relative;
    padding-left: 22px;
    transition: var(--transition-smooth);
}

.category-card li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 13px;
    width: 8px;
    height: 8px;
    background-color: var(--primary-color);
    border-radius: 50%;
    opacity: 0.7;
    transform: scale(0.8);
    transition: var(--transition-smooth);
}

.category-card li:hover {
    transform: translateX(5px);
}

.category-card li:hover::before {
    transform: scale(1.2);
    opacity: 1;
}

/* Улучшенные карточки игр */
.game-card {
    position: relative;
    border: none;
    overflow: hidden;
}

.game-card::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--primary-color);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.5s ease;
}

.game-card:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.game-img::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0), rgba(0,0,0,0.7));
    opacity: 0;
    transition: var(--transition-smooth);
    z-index: 1;
}

.game-card:hover .game-img::before {
    opacity: 1;
}

/* Улучшенная секция пространства клуба */
.space-content {
    position: relative;
}

.space-image {
    position: relative;
    overflow: hidden;
    transition: var(--transition-smooth);
}

.space-image:hover {
    transform: scale(1.02);
}

.space-info li {
    position: relative;
    padding-left: 25px;
}

.space-info li::before {
    content: '♟';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-size: 16px;
}

/* Улучшенные мероприятия */
.event-item {
    position: relative;
    transition: var(--transition-smooth);
    overflow: hidden;
}

.event-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 0;
    background: var(--primary-color);
    transition: var(--transition-smooth);
}

.event-item:hover {
    transform: translateY(-8px) translateX(5px);
}

.event-item:hover::before {
    height: 100%;
}

/* Улучшенная контактная форма */
.form-group input,
.form-group textarea {
    background-color: rgba(255, 255, 255, 0.9);
    border: 1px solid #e0e0e0;
    transition: var(--transition-smooth);
}

.form-group input:focus,
.form-group textarea:focus {
    background-color: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transform: translateY(-2px);
}

.form-group label {
    font-weight: 500;
    transition: var(--transition-smooth);
}

.form-group input:focus + label,
.form-group textarea:focus + label {
    color: var(--primary-color);
}

/* Улучшенный футер */
.footer {
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--chess-dark), var(--chess-light), var(--chess-dark), var(--chess-light));
    background-size: 50px 5px;
}

.footer-links a {
    position: relative;
    display: inline-block;
    padding: 2px 0;
}

.footer-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--secondary-color);
    transition: var(--transition-smooth);
}

.footer-links a:hover::after {
    width: 100%;
}

/* Анимация при прокрутке */
.section-title,
.feature-card,
.category-card,
.game-card,
.event-item,
.space-content,
.contact-form {
    opacity: 0;
    animation: fadeIn 0.8s ease-out forwards;
    animation-delay: 0.2s;
}

.feature-card:nth-child(2),
.category-card:nth-child(2),
.game-card:nth-child(2),
.event-item:nth-child(2) {
    animation-delay: 0.4s;
}

.feature-card:nth-child(3),
.category-card:nth-child(3),
.game-card:nth-child(3),
.event-item:nth-child(3) {
    animation-delay: 0.6s;
}

.category-card:nth-child(4),
.game-card:nth-child(4),
.event-item:nth-child(4) {
    animation-delay: 0.8s;
}

/* Chess-themed CTA Section */
.chess-cta {
    position: relative;
    padding: 100px 0;
    background-color: #f8f5f0;
    overflow: hidden;
}

.chess-cta .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 2;
}

.chess-board {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    opacity: 0.06;
    overflow: hidden;
    z-index: 1;
}

.board-wrapper {
    position: absolute;
    width: 200%;
    height: 200%;
    top: -50%;
    left: -50%;
    transform: rotate(15deg);
}

.chess-row {
    display: flex;
    height: 12.5%;
}

.chess-cell {
    width: 12.5%;
    height: 100%;
}

.chess-cell.light {
    background-color: #f0d9b5;
}

.chess-cell.dark {
    background-color: #b58863;
}

.cta-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
    background-color: rgba(255, 255, 255, 0.9);
    padding: 50px;
    border-radius: 10px;
    box-shadow: 0 15px 35px rgba(50, 50, 93, 0.1), 0 5px 15px rgba(0, 0, 0, 0.07);
    position: relative;
}

.cta-content::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg,
    rgba(181, 136, 99, 0.1) 0%,
    rgba(240, 217, 181, 0.1) 100%);
    border-radius: 10px;
    z-index: -1;
}

.cta-title {
    color: #8B4513;
    font-size: 2.5rem;
    margin-bottom: 20px;
    font-weight: 700;
    position: relative;
}

.cta-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #8B4513, #DEB887);
}

.cta-text {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 30px;
    color: #555;
}

.cta-features {
    display: flex;
    justify-content: space-around;
    margin: 30px 0;
}

.cta-feature {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 33%;
}

.feature-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #f8f5f0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    position: relative;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.knight-icon::before,
.rook-icon::before,
.bishop-icon::before {
    font-size: 30px;
    color: #8B4513;
}

.knight-icon::before {
    content: "♞";
}

.rook-icon::before {
    content: "♜";
}

.bishop-icon::before {
    content: "♝";
}

.cta-feature p {
    font-size: 0.9rem;
    font-weight: 500;
    margin: 0;
}

.cta-button {
    display: inline-block;
    background: linear-gradient(135deg, #8B4513, #CD853F);
    color: white;
    padding: 15px 35px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(205, 133, 63, 0.4);
    transition: all 0.3s ease;
    border: none;
    margin-top: 20px;
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
    rgba(255, 255, 255, 0),
    rgba(255, 255, 255, 0.2),
    rgba(255, 255, 255, 0));
    transition: left 0.7s ease;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 7px 20px rgba(205, 133, 63, 0.5);
}

.cta-button:hover::before {
    left: 100%;
}

/* Enhanced Contact Form Section */
.contact-section {
    padding: 100px 0;
    background-color: #f8f5f0;
    position: relative;
}

.contact-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
            radial-gradient(#8B4513 1px, transparent 1px),
            radial-gradient(#8B4513 1px, transparent 1px);
    background-size: 50px 50px;
    background-position: 0 0, 25px 25px;
    opacity: 0.05;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 50px;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-info-side {
    padding: 40px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    position: relative;
    z-index: 1;
}

.contact-info-side::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: linear-gradient(to bottom, #8B4513, #DEB887);
    border-radius: 10px 0 0 10px;
    z-index: -1;
}

.contact-title {
    color: #8B4513;
    font-size: 2.2rem;
    margin-bottom: 10px;
}

.contact-subtitle {
    color: #666;
    margin-bottom: 40px;
}

.info-blocks {
    display: grid;
    gap: 25px;
}

.info-block {
    display: flex;
    align-items: flex-start;
}

.info-icon {
    width: 45px;
    height: 45px;
    background-color: #f8f5f0;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    position: relative;
    box-shadow: 0 3px 10px rgba(139, 69, 19, 0.1);
}

.info-icon::before {
    font-size: 18px;
    color: #8B4513;
}

.location-icon::before {
    content: "♟";
}

.phone-icon::before {
    content: "♛";
}

.email-icon::before {
    content: "♝";
}

.time-icon::before {
    content: "♚";
}

.info-content h3 {
    font-size: 1.1rem;
    color: #333;
    margin-bottom: 5px;
}

.info-content p {
    color: #666;
    margin: 0;
}

.contact-form-side {
    position: relative;
}

.game-form {
    background-color: white;
    padding: 50px;
    border-radius: 10px;
    box-shadow: 0 15px 35px rgba(50, 50, 93, 0.1), 0 5px 15px rgba(0, 0, 0, 0.07);
    position: relative;
}

.form-header {
    text-align: center;
    margin-bottom: 30px;
}

.form-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #8B4513;
    position: relative;
    display: inline-block;
}

.form-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #8B4513, #DEB887);
}

.form-group {
    position: relative;
    margin-bottom: 35px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 0;
    font-size: 16px;
    color: #333;
    border: none;
    outline: none;
    background: transparent;
    border-bottom: 1px solid #ddd;
    transition: all 0.3s ease;
}

.form-group label {
    position: absolute;
    top: 12px;
    left: 0;
    font-size: 16px;
    color: #999;
    pointer-events: none;
    transition: all 0.3s ease;
}

.form-group input:focus ~ label,
.form-group input:valid ~ label,
.form-group select:focus ~ label,
.form-group select:valid ~ label,
.form-group textarea:focus ~ label,
.form-group textarea:valid ~ label {
    top: -20px;
    font-size: 13px;
    color: #8B4513;
}

.form-line {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #8B4513, #DEB887);
    transition: all 0.3s ease;
}

.form-group input:focus ~ .form-line,
.form-group select:focus ~ .form-line,
.form-group textarea:focus ~ .form-line {
    width: 100%;
}

.form-group select {
    cursor: pointer;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    padding-right: 20px;
}

.form-group select::-ms-expand {
    display: none;
}

.form-group select option {
    color: #333;
}

.form-group textarea {
    resize: none;
    min-height: 100px;
}

.submit-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, #8B4513, #CD853F);
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(205, 133, 63, 0.3);
}

.submit-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.7s ease;
}

.submit-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 7px 20px rgba(205, 133, 63, 0.4);
}

.submit-button:hover::before {
    left: 100%;
}

.button-text {
    position: relative;
    z-index: 1;
}

.button-icon {
    position: relative;
    width: 20px;
    height: 20px;
    margin-left: 10px;
    z-index: 1;
}

.button-icon::before {
    content: "♞";
    color: white;
    font-size: 20px;
}

/* Responsive Styles */
@media screen and (max-width: 992px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .cta-features {
        flex-direction: column;
        gap: 20px;
    }

    .cta-feature {
        width: 100%;
        flex-direction: row;
        justify-content: flex-start;
        text-align: left;
    }

    .feature-icon {
        margin-bottom: 0;
        margin-right: 15px;
    }
}

@media screen and (max-width: 768px) {
    .cta-content {
        padding: 30px;
    }

    .cta-title {
        font-size: 2rem;
    }

    .game-form {
        padding: 30px;
    }

    .contact-info-side {
        padding: 30px;
    }
}

/* Стили для страницы about.html */

/* About Hero Section */
.about-hero {
    position: relative;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../img/banner.webp') center/cover no-repeat;
    color: white;
    text-align: center;
    padding: 100px 0;
}

.about-hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
            repeating-linear-gradient(45deg,
            rgba(255, 255, 255, 0.05) 0px,
            rgba(255, 255, 255, 0.05) 2px,
            transparent 2px,
            transparent 10px);
    z-index: 1;
}

.about-hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    animation: fadeIn 1s ease-out forwards;
}

.about-hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.about-hero h1::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

.about-hero p {
    font-size: 1.2rem;
}

/* About Section */
.about-section {
    padding: 80px 0;
    background-color: white;
}

.about-content {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 50px;
    align-items: center;
}

.about-text {
    position: relative;
}

.about-text p {
    margin-bottom: 25px;
    line-height: 1.8;
    color: #555;
}

.about-text h3 {
    color: var(--primary-color);
    margin: 30px 0 15px;
    font-size: 1.6rem;
}

.about-quote {
    position: relative;
    margin: 40px 0;
    padding: 30px 40px;
    background-color: #f8f5f0;
    border-left: 5px solid var(--primary-color);
    font-style: italic;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.about-quote::before {
    content: """;
    position: absolute;
    top: 10px;
    left: 10px;
    font-size: 3rem;
    color: var(--primary-color);
    opacity: 0.2;
}

.about-quote blockquote {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: #333;
}

.about-quote cite {
    display: block;
    text-align: right;
    font-size: 0.9rem;
    color: #666;
}

.about-image {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    transform: rotate(2deg);
    transition: all 0.5s ease;
}

.about-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2);
    opacity: 0;
    transition: all 0.5s ease;
    z-index: 1;
}

.about-image:hover {
    transform: rotate(0deg) scale(1.02);
}

.about-image:hover::before {
    opacity: 1;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: all 0.5s ease;
}

.about-image:hover img {
    transform: scale(1.05);
}

/* Team Section */
.team-section {
    padding: 80px 0;
    background-color: #f8f5f0;
    position: relative;
}

.team-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
            repeating-linear-gradient(90deg,
            rgba(139, 69, 19, 0.03) 0px,
            rgba(139, 69, 19, 0.03) 20px,
            transparent 20px,
            transparent 40px);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.team-member {
    position: relative;
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.team-member::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--primary-color);
    transform: scaleX(0);
    transform-origin: right;
    transition: all 0.5s ease;
}

.team-member:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.team-member:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

.member-content {
    padding: 25px;
    position: relative;
    z-index: 1;
}

.member-content h3 {
    color: var(--primary-color);
    margin-bottom: 5px;
    transition: all 0.3s ease;
}

.member-position {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 15px;
    font-weight: 500;
}

.member-content p {
    color: #555;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Values Section */
.values-section {
    padding: 80px 0;
    background-color: white;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.value-card {
    text-align: center;
    padding: 40px 30px;
    background-color: #f8f5f0;
    border-radius: 10px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.value-card::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 0;
    bottom: 0;
    left: 0;
    background: linear-gradient(to top, rgba(139, 69, 19, 0.05), transparent);
    transition: all 0.5s ease;
    z-index: 0;
}

.value-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.value-card:hover::before {
    height: 100%;
}

.value-icon {
    width: 80px;
    height: 80px;
    background-color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    position: relative;
    z-index: 1;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.value-card:hover .value-icon {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.value-icon::before {
    font-size: 35px;
    color: var(--primary-color);
}

.pawn-icon::before {
    content: "♟";
}

.knight-icon::before {
    content: "♞";
}

.bishop-icon::before {
    content: "♝";
}

.king-icon::before {
    content: "♚";
}

.value-card h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
}

.value-card p {
    color: #555;
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

/* Process Section */
.process-section {
    padding: 80px 0;
    background-color: #f8f5f0;
    position: relative;
}

.process-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
            radial-gradient(var(--secondary-color) 2px, transparent 2px);
    background-size: 30px 30px;
    opacity: 0.15;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
    position: relative;
    z-index: 1;
}

.process-step {
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.process-step::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transform: scaleX(0);
    transform-origin: right;
    transition: all 0.5s ease;
}

.process-step:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.process-step:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

.step-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--secondary-color);
    opacity: 0.3;
    position: absolute;
    top: 10px;
    right: 20px;
    transition: all 0.3s ease;
}

.process-step:hover .step-number {
    transform: scale(1.2);
    opacity: 0.4;
}

.process-step h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    position: relative;
}

.process-step p {
    color: #555;
    position: relative;
    z-index: 1;
    line-height: 1.6;
}

/* Dice-themed CTA Section */
.dice-cta {
    position: relative;
    padding: 100px 0;
    background-color: var(--dark-color);
    color: white;
    overflow: hidden;
}

.dice-container {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
}

.dice {
    position: absolute;
    width: 80px;
    height: 80px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    transform: rotate(45deg);
}

.dice::before {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
}


.thank-you-container {
    text-align: center;
    padding: 60px 20px;
    max-width: 800px;
    margin: 0 auto;
}

.thank-you-icon {
    width: 120px;
    height: 120px;
    background-color: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    position: relative;
}

.thank-you-icon:before {
    content: "♞";
    font-size: 60px;
    color: var(--primary-color);
}

.thank-you-icon:after {
    content: "✓";
    position: absolute;
    right: 0;
    bottom: 0;
    background-color: var(--primary-color);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: bold;
}

.thank-you-title {
    color: var(--primary-color);
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.thank-you-message {
    font-size: 1.2rem;
    color: var(--text-color);
    margin-bottom: 30px;
    line-height: 1.8;
}

.confirmation-details {
    background-color: var(--light-color);
    padding: 25px;
    border-radius: 8px;
    margin-bottom: 30px;
    text-align: left;
}

.confirmation-details h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    text-align: center;
}

.next-steps {
    margin-bottom: 40px;
}

.next-steps-title {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.steps-list {
    text-align: left;
    max-width: 500px;
    margin: 0 auto;
}

.steps-list li {
    margin-bottom: 15px;
    position: relative;
    padding-left: 30px;
}

.steps-list li:before {
    content: "♟";
    position: absolute;
    left: 0;
    color: var(--accent-color);
}

/* Cookie Disclaimer Styles */
.cookie-disclaimer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(45, 45, 45, 0.95);
    color: #fff;
    padding: 15px 0;
    z-index: 1000;
    box-shadow: 0 -5px 10px rgba(0, 0, 0, 0.2);
    transform: translateY(100%);
    transition: transform 0.4s ease-in-out;
}

.cookie-disclaimer.show {
    transform: translateY(0);
}

.cookie-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.cookie-text {
    flex: 1;
    min-width: 200px;
    line-height: 1.6;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
}

.btn-cookie {
    background-color: var(--secondary-color);
    color: var(--dark-color);
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-cookie:hover {
    background-color: var(--accent-color);
    color: white;
}

@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        align-items: flex-start;
    }

    .cookie-buttons {
        width: 100%;
        justify-content: flex-end;
    }
}