:root {
    /* Светлая минималистичная палитра */
    --main-color: #2D3748;
    --accent-color: #3182CE;
    --bg-color: #F7FAFC;
    --bg-second-color: #FFFFFF;
    --border-color: #E2E8F0;
    --text-primary: #2D3748;
    --text-secondary: #4A5568;
    --text-light: #718096;
    --shadow-light: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-medium: 0 8px 25px rgba(0, 0, 0, 0.15);
    --shadow-strong: 0 20px 40px rgba(0, 0, 0, 0.1);
    --gradient-primary: linear-gradient(135deg, #3182CE 0%, #2B6CB0 100%);
    --gradient-accent: linear-gradient(135deg, #FF6B6B 0%, #FF5252 100%);
}

html {
    scroll-behavior: smooth;
}

a {
    text-decoration: none;
    color: var(--text-primary);
    transition: all 0.3s ease;
}

a:hover {
    color: var(--accent-color);
    transform: translateY(-1px);
}

/*cook*/
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    z-index: 100000;
}

.modal-content {
    background-color: var(--bg-second-color);
    margin: 15% auto;
    padding: 2rem;
    width: 90%;
    max-width: 500px;
    text-align: center;
    border-radius: 16px;
    box-shadow: var(--shadow-strong);
    border: 1px solid var(--border-color);
    position: relative;
}
.modal-content p {
    color: var(--text-primary);
    font-weight: 500;
    font-size: 1.25rem;
    margin: 0;
    line-height: 1.6;
}
.close {
    color: var(--text-light);
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 1.5rem;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
    background: none;
    border: none;
    padding: 0.5rem;
    line-height: 1;
}

.close:hover {
    color: var(--accent-color);
}
.cookie-popup {
    z-index: 99999;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--text-primary);
    color: white;
    padding: 1.5rem 2rem;
    text-align: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
    box-shadow: var(--shadow-strong);
    border-top: 3px solid var(--accent-color);
}

.close-button {
    background: var(--gradient-primary);
    color: white;
    font-size: 1rem;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 0 0.5rem;
    box-shadow: var(--shadow-light);
}
.cookie-popup img {
    width: 2rem;
    height: 2rem;
    margin-right: 1rem;
}
.coo {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}
.coo p {
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    font-size: 1rem;
    line-height: 1.5;
}
.close-button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
    background: linear-gradient(135deg, #2B6CB0 0%, #2C5282 100%);
}

.show-cookie-popup .cookie-popup {
    visibility: visible;
    opacity: 1;
}
body {
    margin: 0;
    padding: 0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-primary);
    line-height: 1.6;
}
/* ===== HEADER STYLES ===== */
header {
    background: var(--bg-second-color);
    color: var(--text-primary);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    box-shadow: var(--shadow-light);
    border-bottom: 1px solid var(--border-color);
    height: 70px;
    box-sizing: border-box;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    z-index: 1002;
}

.logo img {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 8px;
}

.tittle {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-color);
    margin: 0;
}

/* Desktop Navigation */
.desktop-nav {
    display: flex;
}

.desktop-nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

.desktop-nav li {
    margin: 0;
}

.desktop-nav a {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    position: relative;
    font-size: 1rem;
    padding: 0.75rem 1rem;
    display: inline-block;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.desktop-nav a:hover {
    color: var(--accent-color);
    background-color: rgba(49, 130, 206, 0.1);
    transform: translateY(-1px);
}

/* Burger Icon */
.burger-icon {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 30px;
    height: 30px;
    cursor: pointer;
    z-index: 1002;
    position: relative;
    background: none;
    border: none;
    padding: 0;
}

.burger-icon .line {
    width: 25px;
    height: 3px;
    background-color: #000000;
    margin: 3px 0;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    border-radius: 2px;
    transform-origin: center;
    display: block;
}

/* Burger Animation */
.burger-icon.open .line1 {
    transform: rotate(45deg) translate(6px, 6px);
}

.burger-icon.open .line2 {
    opacity: 0;
    transform: scaleX(0);
}

.burger-icon.open .line3 {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-menu-overlay.show {
    opacity: 1;
    visibility: visible;
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: var(--bg-second-color);
    z-index: 1000;
    transition: right 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: -5px 0 25px rgba(0, 0, 0, 0.15);
    overflow-y: auto;
}

.mobile-menu.show {
    right: 0;
}

.mobile-menu-content {
    padding: 2rem 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    width: 100%;
    box-sizing: border-box;
}

.mobile-menu-header {
    padding: 0 2rem 2rem 2rem;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 2rem;
    text-align: center;
}

.mobile-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.mobile-logo img {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 8px;
}

.mobile-logo h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-color);
    margin: 0;
}

.mobile-menu-list {
    list-style: none;
    padding: 0;
    margin: 0;
    flex: 1;
    width: 100%;
}

.mobile-menu-list li {
    margin: 0;
}

.mobile-menu-list li:last-child {
    border-bottom: none;
}

.mobile-menu-link {
    display: block;
    padding: 1.5rem 2rem;
    text-decoration: none;
    color: #fff;
    font-weight: 500;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    text-align: center;
    width: 100%;
    box-sizing: border-box;
}

.mobile-menu-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(49, 130, 206, 0.1), transparent);
    transition: left 0.5s ease;
}

.mobile-menu-link:hover::before {
    left: 100%;
}

.mobile-menu-link:hover {
    background-color: rgba(49, 130, 206, 0.05);
    color: var(--accent-color);
    padding-left: 2.5rem;
}

/* Prevent body scroll when menu is open */
body.menu-open {
    overflow: hidden;
}

/* Add top padding to body to account for fixed header */
body {
    padding-top: 70px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    header {
        padding: 1rem 1.5rem;
        justify-content: space-between;
        align-items: center;
    }
    
    .logo {
        order: 1;
        flex: 1;
    }
    
    .desktop-nav {
        display: none;
    }
    
    .burger-icon {
        display: flex;
        order: 2;
        flex-shrink: 0;
    }
    
    .mobile-menu {
        right: -100%;
        width: 100%;
        height: 100vh;
        top: 0;
        left: auto;
    }
    
    .mobile-menu.show {
        right: 0;
    }
    
    .mobile-menu-content {
        padding-top: 4rem;
    }
}

.content {
    padding: 10vw 2vw;
}

/*cube*/
.outer-section {
    padding: 4rem 2rem;
    min-height: 70vh;
    background: linear-gradient(135deg, var(--bg-color) 0%, #E2E8F0 100%);
    display: flex;
    flex-direction: column;
    gap: 2rem;
    justify-content: center;
    align-items: center;
    position: relative;
    text-align: center;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    max-width: 800px;
    width: 100%;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.hero-image img {
    width: 100%;
    height: auto;
    opacity: 0.9;
    animation: zoomAnimation 2s infinite alternate;
    border-radius: 16px;
    box-shadow: var(--shadow-medium);
}

.hero-text h1 {
    font-size: 3rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 1rem 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.hero-text p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.6;
}

.outer-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 10px;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.3) 0%,
        rgba(0, 0, 0, 0) 100%
    );
}

.hole {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 35vw;
}
.hole img {
    width: 30vw;
    opacity: 0.9;
    animation: zoomAnimation 1s infinite alternate;
}

@keyframes zoomAnimation {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(1.06);
    }
}

/* Удалено пустое правило */

.cube-container {
    perspective: 80vw;
    perspective-origin: 50% 50%;
    width: 10vw;
    height: 10vw;
    position: relative;
}

.cube {
    width: 10vw;
    height: 10vw;
    position: absolute;
    transform-style: preserve-3d;
    transform: rotateX(45deg) rotateY(45deg);
    animation: rotate 15s infinite linear;
}

.face {
    position: absolute;
    width: 10vw;
    height: 10vw;
    background-color: var(--main-color);
    color: #fff;
    line-height: 9vw;
    text-align: center;
    font-size: 2vw;
    border: 1px solid var(--border-color);
}

.face:nth-child(1) {
    transform: rotateY(0deg) translateZ(5vw);
}
.face:nth-child(2) {
    transform: rotateY(90deg) translateZ(5vw);
}
.face:nth-child(3) {
    transform: rotateY(180deg) translateZ(5vw);
}
.face:nth-child(4) {
    transform: rotateY(-90deg) translateZ(5vw);
}
.face:nth-child(5) {
    transform: rotateX(90deg) translateZ(5vw);
}
.face:nth-child(6) {
    transform: rotateX(-90deg) translateZ(5vw);
}

@keyframes rotate {
    0% {
        transform: rotateX(45deg) rotateY(45deg);
    }
    100% {
        transform: rotateX(45deg) rotateY(405deg);
    }
}

/*about*/
.formilar h5 {
    text-align: center;
    color: var(--accent-color);
    font-size: 3vw;
    margin: 0.5vw;
}
.indis {
    display: flex;
    justify-content: center;
    align-items: center;
}
.rew {
    display: flex;
    justify-content: center;
    align-items: center;
}
.rew img {
    width: 25vw;
    height: 15vw;
    object-fit: cover;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}
.indis img {
    width: 25vw;
}
.formilar p {
    text-align: center;
    color: #fff;
    font-size: 1.3vw;
}
.about {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: var(--bg-second-color);
    padding: 4rem 2rem;
    box-shadow: var(--shadow-light);
}
.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
}
.about h2 {
    color: var(--text-primary);
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0 0 3rem 0;
    text-align: center;
}
.card {
    text-align: center;
    display: flex;
    padding: 2rem;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: var(--bg-second-color);
    border-radius: 16px;
    box-shadow: var(--shadow-medium);
    border: 1px solid var(--border-color);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    min-height: 280px;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-strong);
    border-color: var(--accent-color);
}

.card:hover::before {
    transform: scaleX(1);
}
.card h1 {
    color: var(--text-primary);
    font-size: 1.25rem;
    font-weight: 600;
    margin: 1rem 0 0.5rem 0;
    line-height: 1.4;
}
.card img {
    width: 4rem;
    height: 4rem;
    margin-bottom: 1rem;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1)) brightness(0);
}
.card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
    overflow: hidden;
}

@keyframes fontChange {
    to {
        /* font-family: 'Space Grotesk', sans-serif; */
    }
}

/*Stats*/
.stats {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: 6rem 2rem;
    color: white;
    position: relative;
    overflow: hidden;
}

.stats::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="50" cy="10" r="0.5" fill="rgba(255,255,255,0.05)"/><circle cx="10" cy="60" r="0.5" fill="rgba(255,255,255,0.05)"/><circle cx="90" cy="40" r="0.5" fill="rgba(255,255,255,0.05)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
    pointer-events: none;
}
.stat-bl {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    max-width: 1200px;
    width: 100%;
    position: relative;
    z-index: 1;
}
.stats h2 {
    color: white;
    font-size: 3.5rem;
    font-weight: 800;
    margin: 0 0 1rem 0;
    text-align: center;
    position: relative;
    z-index: 1;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    letter-spacing: -0.02em;
}

.stats .subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
    font-weight: 400;
    margin: 0 0 4rem 0;
    text-align: center;
    position: relative;
    z-index: 1;
    max-width: 600px;
    line-height: 1.6;
}
.stats h3 {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    font-weight: 500;
    margin: 0 0 1rem 0;
    text-align: center;
}
.stat1 {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 2.5rem 2rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.stat1::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #ff6b6b, #4ecdc4, #45b7d1, #96ceb4);
    background-size: 300% 100%;
    animation: gradientShift 3s ease infinite;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.stat1:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}
.count {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 140px;
    height: 140px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.1) 100%);
    border-radius: 50%;
    backdrop-filter: blur(20px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.3);
    position: relative;
    margin-bottom: 1.5rem;
    transition: all 0.4s ease;
}

.count::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4, #45b7d1, #96ceb4);
    border-radius: 50%;
    z-index: -1;
    animation: rotate 4s linear infinite;
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
.count p {
    font-size: 3rem;
    font-weight: 800;
    margin: 0;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 1;
}

.stats h3 {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.3rem;
    font-weight: 600;
    margin: 0 0 0.5rem 0;
    text-align: center;
    position: relative;
    z-index: 1;
}

.stats .stat-description {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    font-weight: 400;
    margin: 0;
    text-align: center;
    line-height: 1.5;
    position: relative;
    z-index: 1;
}

/*Games*/
.games {
    background: var(--bg-color);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 4rem 2rem;
}
.game-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    width: 100%;
}
.cur-game {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0;
    background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1), 0 1px 8px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.8);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}
.cur-game img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 0;
    margin-bottom: 0;
    box-shadow: none;
    transition: all 0.4s ease;
}
.cur-game h4 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 1.5rem 0 1rem 0;
    text-align: center;
    padding: 0 1.5rem;
    line-height: 1.3;
}
.cur-game a {
    text-align: center;
    text-decoration: none;
    color: white;
    font-weight: 700;
    font-size: 1.1rem;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 0 0 20px 20px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
    width: 100%;
    display: block;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.cur-game a:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.6);
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
}

.cur-game a::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.5s;
}

.cur-game a:hover::before {
    left: 100%;
}

.cur-game:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15), 0 5px 15px rgba(0, 0, 0, 0.1);
    border-color: rgba(102, 126, 234, 0.3);
}

.cur-game:hover img {
    transform: scale(1.05);
}
.games iframe {
    width: 60vw;
    height: 40vw;
}
.pad {
    padding: 2vw;
}
.pols {
    text-align: left;
}
.pols h3 {
    color: var(--accent-color);
    font-size: 1.3vw;
}
.pols p {
    text-align: left;
    color: #fff;
    font-size: 1.1vw;
}

/*Contacts*/
.contact {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 6rem 2rem;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    position: relative;
    overflow: hidden;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="contactPattern" width="50" height="50" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(102, 126, 234, 0.1)"/><circle cx="10" cy="10" r="0.5" fill="rgba(102, 126, 234, 0.05)"/><circle cx="40" cy="40" r="0.5" fill="rgba(102, 126, 234, 0.05)"/></pattern></defs><rect width="100" height="100" fill="url(%23contactPattern)"/></svg>');
    opacity: 0.6;
    pointer-events: none;
}
.contact h2 {
    color: var(--text-primary);
    font-size: 3.5rem;
    font-weight: 800;
    margin: 0 0 1rem 0;
    text-align: center;
    position: relative;
    z-index: 1;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    letter-spacing: -0.02em;
}

.contact .subtitle {
    color: var(--text-secondary);
    font-size: 1.2rem;
    font-weight: 400;
    margin: 0 0 4rem 0;
    text-align: center;
    position: relative;
    z-index: 1;
    max-width: 600px;
    line-height: 1.6;
}
.formilar {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    display: flex;
    flex-direction: column;
    padding: 3rem;
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1), 0 1px 8px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.8);
    max-width: 760px;
    width: 100%;
    position: relative;
    z-index: 1;
    transition: all 0.4s ease;
    overflow: hidden;
}

.formilar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #667eea, #764ba2, #f093fb, #f5576c);
    background-size: 300% 100%;
    animation: gradientShift 4s ease infinite;
    border-radius: 24px 24px 0 0;
}

.formilar:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15), 0 5px 15px rgba(0, 0, 0, 0.1);
}
.formilar form {
    background: transparent;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    position: relative;
    z-index: 1;
}
.formilar input,
.formilar textarea {
    border: 2px solid rgba(102, 126, 234, 0.2);
    color: var(--text-primary);
    font-size: 1rem;
    padding: 1rem 1.5rem;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 12px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: inherit;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.formilar input::placeholder,
.formilar textarea::placeholder {
    color: rgba(45, 55, 72, 0.6);
    font-weight: 400;
}
.formilar input:focus,
.formilar textarea:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.15), 0 4px 12px rgba(102, 126, 234, 0.2);
    background: rgba(255, 255, 255, 0.95);
    transform: translateY(-2px);
}
.formilar label {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    display: block;
    position: relative;
    z-index: 1;
}
.formilar button {
    text-align: center;
    text-decoration: none;
    border: none;
    cursor: pointer;
    color: white;
    font-weight: 700;
    font-size: 1.1rem;
    padding: 1.25rem 3rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
    margin-top: 1rem;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.formilar 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.5s;
}

.formilar button:hover::before {
    left: 100%;
}
.formilar button:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(102, 126, 234, 0.6);
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
}
/* Современный Footer */
.footer {
    background: linear-gradient(135deg, #1a202c 0%, #2d3748 50%, #4a5568 100%);
    color: white;
    position: relative;
    overflow: hidden;
    padding: 0;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #667eea, #764ba2, #f093fb, #f5576c);
    background-size: 300% 100%;
    animation: gradientShift 4s ease infinite;
}

.footer::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="footerPattern" width="50" height="50" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.05)"/><circle cx="10" cy="10" r="0.5" fill="rgba(255,255,255,0.03)"/><circle cx="40" cy="40" r="0.5" fill="rgba(255,255,255,0.03)"/></pattern></defs><rect width="100" height="100" fill="url(%23footerPattern)"/></svg>');
    opacity: 0.3;
    pointer-events: none;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    max-width: 1400px;
    margin: 0 auto;
    padding: 4rem 2rem 2rem;
    position: relative;
    z-index: 1;
}

.footer-section {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.footer-section.newsletter {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    padding: 2rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    transition: all 0.4s ease;
}

.footer-section.newsletter:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.footer-section h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 1rem 0;
    position: relative;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    border-radius: 2px;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    line-height: 1.6;
    margin: 0 0 1.5rem 0;
}

.footer-section input {
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: white;
    font-size: 1rem;
    padding: 1rem 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    transition: all 0.4s ease;
    backdrop-filter: blur(10px);
    font-family: inherit;
    width: 100%;
    box-sizing: border-box;
}

.footer-section input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.footer-section input:focus {
    outline: none;
    border-color: #667eea;
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.2);
    transform: translateY(-2px);
}

.footer-section button {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    font-weight: 600;
    font-size: 1rem;
    padding: 1rem 2rem;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

.footer-section 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.5s;
}

.footer-section button:hover::before {
    left: 100%;
}

.footer-section button:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(102, 126, 234, 0.6);
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
}

.footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-section ul li {
    margin: 0;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 1rem;
    transition: all 0.3s ease;
    padding: 0.5rem 0;
    position: relative;
    display: inline-block;
}

.footer-section ul li a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    transition: width 0.3s ease;
}

.footer-section ul li a:hover {
    color: #fff;
    transform: translateX(5px);
}

.footer-section ul li a:hover::before {
    width: 100%;
}

.footer-bottom {
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(20px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2rem;
    margin-top: 2rem;
    position: relative;
    z-index: 1;
}

.notie {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.notie h1 {
    color: #ff6b6b;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 0 1.5rem 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.notie p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    line-height: 1.7;
    margin: 0 0 2rem 0;
}

.notie a {
    color: #ff6b6b;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.notie a:hover {
    color: #ff5252;
}

.imcard {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.imcard img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    filter: brightness(0) invert(1);
    transition: all 0.3s ease;
    opacity: 0.8;
}

.imcard img:hover {
    opacity: 1;
    transform: scale(1.1);
    filter: brightness(0) invert(1) drop-shadow(0 0 10px rgba(255, 255, 255, 0.3));
}

.footer a {
    text-decoration: none;
    color: inherit;
}

.footer a:hover {
    color: inherit;
}

/* Email Subscription Form */
.email-subscription {
    display: flex;
    gap: 0;
    margin-top: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 4px;
    transition: border-color 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
}

.email-subscription:focus-within {
    border-color: #667eea;
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.2), 0 4px 15px rgba(0, 0, 0, 0.1);
}

.email-subscription input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    background: transparent;
    color: white;
    outline: none;
    font-family: inherit;
}

.email-subscription input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.email-subscription button {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 0.75rem 1.25rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    flex-shrink: 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.email-subscription button:hover {
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

@media (max-width: 768px) {
    .cur-game a {
        text-align: center;
        text-decoration: none;
        color: white;
        font-weight: 700;
        font-size: 1rem;
        padding: 1rem 2rem;
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        border-radius: 0 0 20px 20px;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
        width: 100%;
        display: block;
        position: relative;
        overflow: hidden;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }
    .contact h2 {
        color: var(--text-primary);
        font-size: 2.5rem;
        font-weight: 800;
        margin: 0 0 1rem 0;
        text-align: center;
        text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        letter-spacing: -0.02em;
    }
    
    .contact .subtitle {
        color: var(--text-secondary);
        font-size: 1rem;
        font-weight: 400;
        margin: 0 0 3rem 0;
        text-align: center;
        max-width: 90%;
        line-height: 1.6;
    }
    .formilar label {
        font-size: 1rem;
        font-weight: 600;
        color: var(--text-primary);
        margin-bottom: 0.75rem;
        display: block;
        position: relative;
        z-index: 1;
    }
    
    .formilar input,
    .formilar textarea {
        border: 2px solid rgba(102, 126, 234, 0.2);
        color: var(--text-primary);
        font-size: 1rem;
        padding: 1rem 1.25rem;
        background: rgba(255, 255, 255, 0.8);
        border-radius: 12px;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        font-family: inherit;
        backdrop-filter: blur(10px);
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    }
    
    .formilar input:focus,
    .formilar textarea:focus {
        outline: none;
        border-color: #667eea;
        box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.15), 0 4px 12px rgba(102, 126, 234, 0.2);
        background: rgba(255, 255, 255, 0.95);
        transform: translateY(-2px);
    }
    
    .formilar button {
        text-align: center;
        text-decoration: none;
        border: none;
        cursor: pointer;
        color: white;
        font-weight: 700;
        font-size: 1rem;
        padding: 1rem 2.5rem;
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        border-radius: 12px;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
        margin-top: 1rem;
        position: relative;
        overflow: hidden;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }
    
    .formilar button:hover {
        transform: translateY(-3px);
        box-shadow: 0 12px 35px rgba(102, 126, 234, 0.6);
        background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
    }
    .formilar {
        background: rgba(255, 255, 255, 0.9);
        backdrop-filter: blur(20px);
        display: flex;
        flex-direction: column;
        padding: 2.5rem 2rem;
        border-radius: 20px;
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1), 0 1px 8px rgba(0, 0, 0, 0.05);
        border: 1px solid rgba(255, 255, 255, 0.8);
        max-width: 90%;
        width: 100%;
        position: relative;
        z-index: 1;
        transition: all 0.4s ease;
    }
    
    .formilar::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 4px;
        background: linear-gradient(90deg, #667eea, #764ba2, #f093fb, #f5576c);
        background-size: 300% 100%;
        animation: gradientShift 4s ease infinite;
        border-radius: 20px 20px 0 0;
    }
    .footer-content {
        display: grid;
        grid-template-columns: 1fr;
        gap: 2rem;
        max-width: 1400px;
        margin: 0 auto;
        padding: 3rem 1.5rem 2rem;
        position: relative;
        z-index: 1;
    }
    
    .footer-section.newsletter {
        background: rgba(255, 255, 255, 0.05);
        backdrop-filter: blur(20px);
        padding: 1.5rem;
        border-radius: 16px;
        border: 1px solid rgba(255, 255, 255, 0.1);
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
        transition: all 0.4s ease;
    }
    
    .footer-section h3 {
        font-size: 1.25rem;
        font-weight: 700;
        color: #fff;
        margin: 0 0 1rem 0;
        position: relative;
    }
    
    .footer-section h3::after {
        content: '';
        position: absolute;
        bottom: -6px;
        left: 0;
        width: 30px;
        height: 2px;
        background: linear-gradient(90deg, #667eea, #764ba2);
        border-radius: 2px;
    }
    
    .footer-section p {
        color: rgba(255, 255, 255, 0.8);
        font-size: 0.9rem;
        line-height: 1.6;
        margin: 0 0 1.5rem 0;
    }
    
    .footer-section input {
        border: 2px solid rgba(255, 255, 255, 0.2);
        color: white;
        font-size: 1rem;
        padding: 0.875rem 1.25rem;
        background: rgba(255, 255, 255, 0.1);
        border-radius: 10px;
        transition: all 0.4s ease;
        backdrop-filter: blur(10px);
        font-family: inherit;
        width: 100%;
        box-sizing: border-box;
    }
    
    .footer-section input::placeholder {
        color: rgba(255, 255, 255, 0.6);
    }
    
    .footer-section button {
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        color: white;
        font-weight: 600;
        font-size: 0.9rem;
        padding: 0.875rem 1.5rem;
        border: none;
        border-radius: 10px;
        cursor: pointer;
        transition: all 0.4s ease;
        position: relative;
        overflow: hidden;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
    }
    
    .email-subscription {
        flex-direction: column;
        gap: 0.75rem;
        padding: 0.75rem;
    }
    
    .email-subscription input {
        padding: 0.875rem 1rem;
        font-size: 1rem;
    }
    
    .email-subscription button {
        padding: 0.875rem 1.5rem;
        font-size: 0.9rem;
        width: 100%;
    }
    
    .footer-section ul {
        list-style: none;
        padding: 0;
        margin: 0;
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .footer-section ul li a {
        color: rgba(255, 255, 255, 0.8);
        text-decoration: none;
        font-size: 0.9rem;
        transition: all 0.3s ease;
        padding: 0.4rem 0;
        position: relative;
        display: inline-block;
    }
    
    .notie {
        max-width: 100%;
        margin: 0 auto;
        text-align: center;
        padding: 1.5rem;
        background: rgba(255, 255, 255, 0.05);
        border-radius: 12px;
        border: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .notie h1 {
        color: #ff6b6b;
        font-size: 1.25rem;
        font-weight: 700;
        margin: 0 0 1rem 0;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }
    
    .notie p {
        color: rgba(255, 255, 255, 0.9);
        font-size: 0.9rem;
        line-height: 1.6;
        margin: 0 0 1.5rem 0;
    }
    
    .footer-bottom {
        background: rgba(0, 0, 0, 0.3);
        backdrop-filter: blur(20px);
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        padding: 1.5rem;
        margin-top: 1.5rem;
        position: relative;
        z-index: 1;
    }
    
    .imcard {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 1rem;
        margin-top: 1.5rem;
        flex-wrap: wrap;
    }
    
    .imcard img {
        width: 50px;
        height: 50px;
        object-fit: contain;
        filter: brightness(0) invert(1);
        transition: all 0.3s ease;
        opacity: 0.8;
    }
    .formilar h5 {
        text-align: center;
        color: var(--accent-color);
        font-size: 1.5rem;
        font-weight: 700;
        margin: 0 0 1rem 0;
    }
    .formilar p {
        text-align: center;
        color: var(--text-secondary);
        font-size: 1rem;
        line-height: 1.6;
        margin: 0 0 1.5rem 0;
    }
    .card img {
        width: 4rem;
        height: 4rem;
        margin-bottom: 1rem;
        filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1)) brightness(0);
    }
    .cur-game img {
        width: 100%;
        height: 300px;
        object-fit: cover;
        border-radius: 0;
        margin-bottom: 0;
        box-shadow: none;
        transition: all 0.4s ease;
    }
    .indis img {
        width: 100%;
        max-width: 400px;
        height: auto;
        border-radius: 12px;
        box-shadow: var(--shadow-light);
    }
    .games iframe {
        width: 100%;
        height: 400px;
        border-radius: 12px;
        box-shadow: var(--shadow-light);
    }
    .rew img {
        width: 100%;
        max-width: 300px;
        height: auto;
        object-fit: cover;
        border-radius: 12px;
        box-shadow: var(--shadow-light);
    }
    .cur-game h4 {
        font-size: 1.3rem;
        font-weight: 700;
        color: var(--text-primary);
        margin: 1.5rem 0 1rem 0;
        text-align: center;
        padding: 0 1.5rem;
        line-height: 1.3;
    }
    .formilar textarea {
        border: 2px solid var(--border-color);
        color: var(--text-primary);
        font-size: 1rem;
        padding: 0.75rem 1rem;
        background-color: var(--bg-color);
        border-radius: 8px;
        transition: all 0.3s ease;
        font-family: inherit;
        resize: vertical;
        min-height: 120px;
    }
}

@media (max-width: 768px) {
    .tittle {
        font-size: 1.5rem;
        font-weight: 700;
        color: var(--accent-color);
        margin: 0;
    }

    

   

    .logo img {
        width: 3rem;
        height: 3rem;
        border-radius: 8px;
    }

    nav ul {
        display: none;
    }

    .burger-icon {
        display: block;
        width: 30px;
        height: 20px;
        cursor: pointer;
        position: relative;
    }

    .line {
        width: 100%;
        height: 4px;
        background-color: #fff;
        margin: 6px 0;
        transition: 0.4s;
    }

    .burger-icon.open .line:nth-child(1) {
        transform: rotate(-45deg) translate(-8px, 6px);
        background-color: #d7c3ab;
    }

    .burger-icon.open .line:nth-child(2) {
        opacity: 0;
    }

    .burger-icon.open .line:nth-child(3) {
        transform: rotate(45deg) translate(-8px, -6px);
        background-color: #d7c3ab;
    }

    .mobile-menu {
        display: block;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.5s;
        position: absolute;
        top: 100%;
        left: 0;
        background-color: var(--main-color);
        width: 100%;
    }

    .mobile-menu.show {
        background-color: var(--main-color);
        max-height: 100vh;
    }

    .mobile-menu.hide {
        max-height: 0;
    }

    .mobile-menu ul {
        background-color: var(--main-color);
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 0;
    }

    nav a {
        font-size: 1rem;
        padding: 0.75rem 1rem;
        border-radius: 8px;
        transition: all 0.3s ease;
    }

    .mobile-menu li {
        margin: 0.5rem 0;
    }
    .hero-image img {
        width: 100%;
        opacity: 0.9;
        animation: zoomAnimation 2s infinite alternate;
        border-radius: 12px;
        box-shadow: var(--shadow-light);
    }
    
    .hero-text h1 {
        font-size: 2rem;
        font-weight: 700;
        color: var(--text-primary);
        margin: 0 0 1rem 0;
        text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    }
    
    .hero-text p {
        font-size: 1rem;
        color: var(--text-secondary);
        margin: 0;
        line-height: 1.6;
    }
    .cube-container {
        perspective: 100vw;
        perspective-origin: 50% 50%;
        width: 8rem;
        height: 8rem;
        position: relative;
    }
    .face {
        position: absolute;
        width: 8rem;
        height: 8rem;
        background-color: var(--accent-color);
        color: white;
        line-height: 8rem;
        text-align: center;
        font-size: 1.5rem;
        border: 2px solid var(--border-color);
        border-radius: 8px;
        box-shadow: var(--shadow-light);
    }
    .face:nth-child(1) {
        transform: rotateY(0deg) translateZ(4rem);
    }
    .face:nth-child(2) {
        transform: rotateY(90deg) translateZ(4rem);
    }
    .face:nth-child(3) {
        transform: rotateY(180deg) translateZ(4rem);
    }
    .face:nth-child(4) {
        transform: rotateY(-90deg) translateZ(4rem);
    }
    .face:nth-child(5) {
        transform: rotateX(90deg) translateZ(4rem);
    }
    .face:nth-child(6) {
        transform: rotateX(-90deg) translateZ(4rem);
    }
    .cards {
        display: grid;
        grid-template-columns: 1fr;
        gap: 2rem;
        max-width: 1200px;
        width: 100%;
        margin: 0 auto;
    }

    .card {
        text-align: center;
        display: flex;
        padding: 2rem;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        background-color: var(--bg-second-color);
        border-radius: 16px;
        box-shadow: var(--shadow-medium);
        border: 1px solid var(--border-color);
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        position: relative;
        overflow: hidden;
        min-height: 280px;
    }
    .card h1 {
        color: var(--text-primary);
        font-size: 1.25rem;
        font-weight: 600;
        margin: 1rem 0 0.5rem 0;
        line-height: 1.4;
    }
    .card p {
        color: var(--text-secondary);
        font-size: 0.95rem;
        line-height: 1.6;
        margin: 0;
        overflow: hidden;
    }

    .about h2 {
        color: var(--text-primary);
        font-size: 2rem;
        font-weight: 700;
        margin: 0 0 2rem 0;
        text-align: center;
    }
    .stats h2 {
        color: white;
        font-size: 2.5rem;
        font-weight: 800;
        margin: 0 0 1rem 0;
        text-align: center;
        text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
        letter-spacing: -0.02em;
    }
    
    .stats .subtitle {
        color: rgba(255, 255, 255, 0.9);
        font-size: 1rem;
        font-weight: 400;
        margin: 0 0 3rem 0;
        text-align: center;
        max-width: 90%;
        line-height: 1.6;
    }
    
    .stats h3 {
        color: rgba(255, 255, 255, 0.95);
        font-size: 1.1rem;
        font-weight: 600;
        margin: 0 0 0.5rem 0;
        text-align: center;
    }
    
    .stat1 {
        padding: 2rem 1.5rem;
        margin-bottom: 1rem;
    }
    
    .count {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 120px;
        height: 120px;
        background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.1) 100%);
        border-radius: 50%;
        backdrop-filter: blur(20px);
        border: 2px solid rgba(255, 255, 255, 0.3);
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.3);
        position: relative;
        margin-bottom: 1.5rem;
        transition: all 0.4s ease;
    }

    .count p {
        font-size: 2.5rem;
        font-weight: 800;
        margin: 0;
        color: white;
        text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
        position: relative;
        z-index: 1;
    }
    
    .stats .stat-description {
        color: rgba(255, 255, 255, 0.8);
        font-size: 0.9rem;
        font-weight: 400;
        margin: 0;
        text-align: center;
        line-height: 1.5;
    }

    .game-list {
        display: grid;
        grid-template-columns: 1fr;
        gap: 2rem;
        max-width: 1200px;
        width: 100%;
    }

    .cur-game {
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 0;
        background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
        border-radius: 20px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1), 0 1px 8px rgba(0, 0, 0, 0.05);
        border: 1px solid rgba(255, 255, 255, 0.8);
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        position: relative;
        overflow: hidden;
        backdrop-filter: blur(10px);
    }
    .coo p {
        font-weight: 500;
        color: rgba(255, 255, 255, 0.9);
        margin: 0;
        font-size: 1rem;
        line-height: 1.5;
    }
    .close-button {
        background: var(--gradient-primary);
        color: white;
        font-size: 1rem;
        font-weight: 600;
        padding: 0.75rem 1.5rem;
        border: none;
        border-radius: 8px;
        cursor: pointer;
        transition: all 0.3s ease;
        margin: 0 0.5rem;
        box-shadow: var(--shadow-light);
    }
    .cookie-popup img {
        width: 2rem;
        height: 2rem;
        margin-right: 1rem;
    }
    .modal-content p {
        color: var(--text-primary);
        font-weight: 500;
        font-size: 1.25rem;
        margin: 0;
        line-height: 1.6;
    }
    .close {
        color: var(--text-light);
        position: absolute;
        top: 1rem;
        right: 1rem;
        font-size: 1.5rem;
        font-weight: bold;
        cursor: pointer;
        transition: color 0.3s ease;
        background: none;
        border: none;
        padding: 0.5rem;
        line-height: 1;
    }
    .modal-content {
        background-color: var(--bg-second-color);
        margin: 15% auto;
        padding: 2rem;
        width: 90%;
        max-width: 500px;
        text-align: center;
        border-radius: 16px;
        box-shadow: var(--shadow-strong);
        border: 1px solid var(--border-color);
        position: relative;
    }
}

/* Дисклеймер об ответственной игре */
.responsible-gaming-disclaimer {
    margin-top: 3rem;
    padding: 2rem;
    background: linear-gradient(135deg, #FF6B6B 0%, #FF5252 100%);
    border-radius: 16px;
    box-shadow: var(--shadow-medium);
    color: white;
    text-align: center;
    max-width: 800px;
    width: 100%;
}

.disclaimer-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 0 1rem 0;
    color: white;
}

.disclaimer-content p {
    font-size: 1rem;
    line-height: 1.6;
    margin: 0 0 1.5rem 0;
    color: rgba(255, 255, 255, 0.9);
}


/* Логотипы организаций */
.gambling-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.gambling-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    text-decoration: none;
}

.gambling-logo:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
}

.gambling-logo img {
    width: 100px;
    height: 50px;
    object-fit: contain;
    filter: brightness(0) invert(1);
    transition: all 0.3s ease;
}

.gambling-logo:hover img {
    filter: none;
    transform: scale(1.05);
}

/* Мобильные стили для дисклеймера */
@media (max-width: 768px) {
    .responsible-gaming-disclaimer {
        margin-top: 2rem;
        padding: 1.5rem;
        border-radius: 12px;
    }
    
    .disclaimer-content h3 {
        font-size: 1.25rem;
    }
    
    .disclaimer-content p {
        font-size: 0.9rem;
    }
    
    
    .gambling-logos {
        gap: 1rem;
        margin: 1.5rem 0;
    }
    
    .gambling-logo {
        padding: 0.75rem;
        border-radius: 8px;
    }
    
    .gambling-logo img {
        width: 80px;
        height: 40px;
    }
}

* {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
}

/* ===== СТИЛИ ДЛЯ СТРАНИЦ ===== */

/* Стили для страницы Terms */
.terms-page .pols {
    background: var(--bg-second-color);
    border-radius: 16px;
    padding: 2rem;
    margin: 2rem 0;
    box-shadow: var(--shadow-light);
    border: 1px solid var(--border-color);
}

.terms-page .pols h3 {
    color: var(--accent-color);
    font-size: 1.5rem;
    font-weight: 700;
    margin: 2rem 0 1rem 0;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--accent-color);
    position: relative;
}

.terms-page .pols h3:first-child {
    margin-top: 0;
}

.terms-page .pols p {
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

.terms-page .formilar h5 {
    color: var(--text-primary);
    font-size: 2.5rem;
    font-weight: 800;
    text-align: center;
    margin: 2rem 0;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Стили для страницы Policy */
.policy-page .pols {
    background: var(--bg-second-color);
    border-radius: 16px;
    padding: 2rem;
    margin: 2rem 0;
    box-shadow: var(--shadow-light);
    border: 1px solid var(--border-color);
}

.policy-page .pols h3 {
    color: var(--accent-color);
    font-size: 1.5rem;
    font-weight: 700;
    margin: 2rem 0 1rem 0;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--accent-color);
    position: relative;
}

.policy-page .pols h3:first-child {
    margin-top: 0;
}

.policy-page .pols p {
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

.policy-page .formilar h5 {
    color: var(--text-primary);
    font-size: 2.5rem;
    font-weight: 800;
    text-align: center;
    margin: 2rem 0;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Стили для страниц игр (g1, g2, g4) */
.game-page .rew {
    text-align: center;
    margin: 2rem 0;
}

.game-page .rew img {
    max-width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: var(--shadow-medium);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.game-page .rew img:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-strong);
}

.game-page .formilar h5 {
    color: var(--text-primary);
    font-size: 2.5rem;
    font-weight: 800;
    text-align: center;
    margin: 2rem 0;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.game-page .formilar p {
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 1.1rem;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 2rem auto;
    padding: 1.5rem;
    background: var(--bg-second-color);
    border-radius: 12px;
    box-shadow: var(--shadow-light);
    border: 1px solid var(--border-color);
}

.game-page .games {
    background: var(--bg-color);
    padding: 3rem 0;
    margin: 2rem 0;
}

.game-page .game-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.game-container {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: var(--bg-second-color);
    box-shadow: var(--shadow-medium);
    border-radius: 16px;
    margin: 2rem auto;
    max-width: 1200px;
    width: 100%;
    box-sizing: border-box;
}

.game-page .game-container iframe {
    width: 100%;
    height: 600px;
    border: none;
    border-radius: 12px;
    box-shadow: var(--shadow-light);
    background: var(--bg-color);
}

/* Стили для страницы Contact */
.contact-page .tit h2 {
    color: var(--text-primary);
    font-size: 3rem;
    font-weight: 800;
    text-align: center;
    margin: 2rem 0;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.contact-page .formilar form {
    background: var(--bg-second-color);
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: var(--shadow-medium);
    border: 1px solid var(--border-color);
}

.contact-page .formilar label {
    display: block;
    color: var(--text-primary);
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.contact-page .formilar input,
.contact-page .formilar textarea {
    padding: 1rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    margin-bottom: 1.5rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    background: var(--bg-color);
    color: var(--text-primary);
}

.contact-page .formilar input:focus,
.contact-page .formilar textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(49, 130, 206, 0.1);
}

.contact-page .formilar button {
    background: var(--gradient-primary);
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    padding: 1rem 2rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    box-shadow: var(--shadow-light);
}

.contact-page .formilar button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

/* Стили для страницы About */
.about-page .formilar h5 {
    color: var(--text-primary);
    font-size: 2.5rem;
    font-weight: 800;
    text-align: center;
    margin: 2rem 0;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.about-page .formilar p {
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 1.1rem;
    text-align: center;
    max-width: 900px;
    margin: 0 auto 2rem auto;
    padding: 2rem;
    background: var(--bg-second-color);
    border-radius: 16px;
    box-shadow: var(--shadow-light);
    border: 1px solid var(--border-color);
}

.about-page .indis {
    text-align: center;
    margin: 3rem 0;
}

.about-page .indis img {
    width: 100%;
    height: auto;
    border-radius: 16px;
    transition: transform 0.3s ease;
}

.about-page .indis img:hover {
    transform: scale(1.05);
}

/* Адаптивность для мобильных устройств */
@media (max-width: 768px) {
    .terms-page .pols,
    .policy-page .pols {
        padding: 1.5rem;
        margin: 1rem 0;
    }
    
    .terms-page .pols h3,
    .policy-page .pols h3 {
        font-size: 1.3rem;
    }
    
    .terms-page .formilar h5,
    .policy-page .formilar h5,
    .game-page .formilar h5,
    .about-page .formilar h5 {
        font-size: 2rem;
    }
    
    .contact-page .tit h2 {
        font-size: 2.5rem;
    }
    
    .contact-page .formilar form {
        padding: 1.5rem;
        margin: 0 1rem;
    }
    
    .game-container {
        padding: 1rem;
        margin: 1rem;
        border-radius: 12px;
    }
    
    .game-page .game-container iframe {
        height: 400px;
        border-radius: 8px;
    }
    
    .game-page .formilar p,
    .about-page .formilar p {
        padding: 1.5rem;
        font-size: 1rem;
    }
}
