/*
Theme Name: Intervek Theme
Theme URI: https://intervek.ae
Author: Intervek
Author URI: https://intervek.ae
Description: Modern professional web development theme inspired by comrades.dev design - clean, modern, and fully customizable
Version: 2.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: intervek
Tags: custom-menu, featured-images, full-width-template, custom-header, flexible-content, business, portfolio
*/

/* === CSS Reset === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* === Root Variables === */
:root {
    --primary-color: #1262fb;
    --primary-dark: #0d4fd1;
    --secondary-color: #f5f5f5;
    --bg-light: #ffffff;
    --bg-dark: #1a1a1a;
    --text-dark: #1a1a1a;
    --text-light: #ffffff;
    --text-gray: #666666;
    --text-light-gray: #999999;
    --border-color: #e5e5e5;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 5px 20px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease;
    --container-width: 1400px;
}

/* === Base Styles === */
html {
    font-size: 10px;
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-size: 1.6rem;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-light);
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

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

a:hover {
    opacity: 0.8;
}

/* === Container === */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* === Header === */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 20px 0;
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.site-header.scrolled {
    padding: 15px 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.site-branding {
    flex: 0 0 auto;
}

.site-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--text-dark);
}

.site-logo img {
    height: 40px;
    width: auto;
}

.site-logo:hover {
    opacity: 0.8;
}

/* === Navigation === */
.main-navigation {
    flex: 1;
    display: flex;
    justify-content: center;
}

.main-navigation ul {
    display: flex;
    list-style: none;
    gap: 40px;
    align-items: center;
}

.main-navigation a {
    color: var(--text-dark);
    font-size: 1.5rem;
    font-weight: 500;
    padding: 8px 0;
    position: relative;
}

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

.main-navigation a:hover::after,
.main-navigation a.current-menu-item::after {
    width: 100%;
}

.main-navigation a:hover {
    color: var(--primary-color);
    opacity: 1;
}

/* Header Actions */
.header-actions {
    display: flex;
    gap: 15px;
    align-items: center;
}

.header-phone {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-dark);
    font-size: 1.5rem;
    font-weight: 600;
    white-space: nowrap;
    padding: 8px 12px;
    border-radius: 8px;
    transition: var(--transition);
}

.header-phone:hover {
    color: var(--primary-color);
    background: rgba(18, 98, 251, 0.05);
}

.header-phone-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    color: var(--primary-color);
}

.header-phone-text {
    display: inline-block;
}

.header-cta-btn {
    padding: 12px 24px;
    font-size: 1.4rem;
    white-space: nowrap;
}

.header-social {
    display: flex;
    gap: 10px;
}

.social-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-dark);
    transition: var(--transition);
}

.social-icon:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--text-light);
    transform: translateY(-2px);
}

.social-icon svg {
    width: 20px;
    height: 20px;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-dark);
    font-size: 2.4rem;
    cursor: pointer;
    padding: 5px;
}

/* === Hero Section === */
.hero-section {
    padding: 160px 0 100px;
    background: linear-gradient(135deg, #f5f7fa 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: url('data:image/svg+xml,<svg width="400" height="400" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="40" height="40" patternUnits="userSpaceOnUse"><path d="M 40 0 L 0 0 0 40" fill="none" stroke="%23e5e5e5" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-text {
    max-width: 600px;
}

.hero-title {
    font-size: clamp(3.5rem, 5vw, 5.5rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 30px;
    color: var(--text-dark);
}

.hero-subtitle {
    font-size: clamp(2rem, 3vw, 2.4rem);
    font-weight: 400;
    color: var(--text-gray);
    margin-bottom: 40px;
    line-height: 1.5;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.hero-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-logo-large {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 20px 60px rgba(18, 98, 251, 0.3);
    position: relative;
    overflow: visible;
}

.hero-dev-icon {
    overflow: visible;
}

.hero-logo-large::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, transparent 100%);
}

.hero-logo-large img {
    width: 80%;
    height: auto;
    position: relative;
    z-index: 1;
}

/* === Hero Dev Icon Animations === */
.hero-dev-icon {
    animation: float 6s ease-in-out infinite;
}

.hero-dev-icon svg {
    width: 100%;
    height: 100%;
}

/* Floating animation */
@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-10px) rotate(2deg);
    }
}

/* Code lines typing animation */
.code-line-1 {
    animation: typeIn 1s ease-out 0.5s both;
}

.code-line-1-delay {
    animation: typeIn 0.8s ease-out 1.2s both;
}

.code-line-2 {
    animation: typeIn 1s ease-out 1.8s both;
}

.code-line-2-delay {
    animation: typeIn 0.8s ease-out 2.5s both;
}

.code-line-3 {
    animation: typeIn 1s ease-out 3s both;
}

.code-line-3-delay {
    animation: typeIn 0.8s ease-out 3.7s both;
}

.code-line-4 {
    animation: typeIn 1s ease-out 4.2s both;
}

.code-line-5 {
    animation: typeIn 1s ease-out 4.8s both;
}

.code-line-5-delay {
    animation: typeIn 0.8s ease-out 5.5s both;
}

@keyframes typeIn {
    from {
        width: 0;
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Cursor blinking */
.code-cursor {
    animation: blink 1s infinite;
    animation-delay: 6s;
}

@keyframes blink {
    0%, 50% {
        opacity: 1;
    }
    51%, 100% {
        opacity: 0;
    }
}

/* Terminal command animation */
.terminal-command {
    animation: typeIn 0.8s ease-out 6.5s both, pulse 1.5s ease-in-out 7.5s infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 0.6;
    }
    50% {
        opacity: 1;
    }
}

/* Floating brackets */
.bracket-1 {
    animation: floatBracket1 4s ease-in-out infinite;
}

.bracket-2 {
    animation: floatBracket2 4s ease-in-out infinite;
    animation-delay: 2s;
}

@keyframes floatBracket1 {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.2;
    }
    50% {
        transform: translate(5px, -8px) scale(1.1);
        opacity: 0.4;
    }
}

@keyframes floatBracket2 {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.2;
    }
    50% {
        transform: translate(-5px, 8px) scale(1.1);
        opacity: 0.4;
    }
}

/* Code window glow effect */
.code-window {
    animation: glow 3s ease-in-out infinite;
}

@keyframes glow {
    0%, 100% {
        filter: drop-shadow(0 0 5px rgba(18, 98, 251, 0.3));
    }
    50% {
        filter: drop-shadow(0 0 15px rgba(18, 98, 251, 0.6));
    }
}

/* === Service Icons Animations === */
.service-icon {
    position: relative;
    transition: var(--transition);
}

.service-icon svg {
    width: 100%;
    height: 100%;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    transform: translateY(-5px) scale(1.1);
}

.service-card:hover .service-icon svg {
    filter: drop-shadow(0 5px 15px rgba(18, 98, 251, 0.4));
}

/* Icon pulse animation */
.icon-pulse {
    animation: iconPulseDot 2s ease-in-out infinite;
    transform-origin: center;
}

@keyframes iconPulseDot {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.6;
        transform: scale(1.3);
    }
}

/* Mobile icon specific animation */
.service-icon-mobile .service-icon-svg {
    animation: mobileRotate 4s ease-in-out infinite;
}

@keyframes mobileRotate {
    0%, 100% {
        transform: rotate(0deg);
    }
    25% {
        transform: rotate(-5deg);
    }
    75% {
        transform: rotate(5deg);
    }
}

/* Design icon animation */
.service-icon-design .service-icon-svg {
    animation: designFloat 3s ease-in-out infinite;
}

@keyframes designFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-8px);
    }
}

/* MVP icon animation */
.service-icon-mvp .service-icon-svg {
    animation: mvpCheck 2s ease-in-out infinite;
}

@keyframes mvpCheck {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.15);
    }
}

/* Web icon animation */
.service-icon-web .service-icon-svg {
    animation: webSpin 6s linear infinite;
}

@keyframes webSpin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* Team icon animation */
.service-icon-team .service-icon-svg {
    animation: teamBounce 2.5s ease-in-out infinite;
}

@keyframes teamBounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
}

/* UI icon animation */
.service-icon-ui .service-icon-svg {
    animation: uiSlide 3s ease-in-out infinite;
}

@keyframes uiSlide {
    0%, 100% {
        transform: translateX(0);
    }
    50% {
        transform: translateX(3px);
    }
}

/* Default icon animation */
.service-icon-default .service-icon-svg {
    animation: defaultPulse 2s ease-in-out infinite;
}

@keyframes defaultPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

/* === Statistics Section === */
.stats-section {
    padding: 80px 0;
    background: var(--bg-light);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    text-align: center;
}

.stat-item {
    padding: 30px 20px;
}

.stat-number {
    font-size: 4.8rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
    line-height: 1;
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 2px;
}

.stat-number-value {
    display: inline-block;
}

.stat-number-suffix {
    display: inline-block;
    font-size: 0.8em;
    vertical-align: baseline;
}

.stat-label {
    font-size: 1.6rem;
    color: var(--text-gray);
    font-weight: 500;
}

/* === Gaming Section === */
.gaming-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.gaming-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="%23e5e5e5"/></pattern></defs><rect width="100%" height="100%" fill="url(%23dots)"/></svg>');
    opacity: 0.3;
    z-index: 0;
}

.gaming-content {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.gaming-visual {
    display: flex;
    align-items: center;
    justify-content: center;
}

.gaming-icon-animated {
    width: 100%;
    max-width: 400px;
    height: 400px;
    animation: gamingFloat 6s ease-in-out infinite;
}

@keyframes gamingFloat {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-15px) rotate(2deg);
    }
}

.gaming-icon-animated svg {
    width: 100%;
    height: 100%;
}

/* Controller Animations */
.controller-body {
    animation: controllerPulse 3s ease-in-out infinite;
}

@keyframes controllerPulse {
    0%, 100% {
        opacity: 1;
        filter: drop-shadow(0 0 10px rgba(18, 98, 251, 0.3));
    }
    50% {
        opacity: 0.95;
        filter: drop-shadow(0 0 20px rgba(18, 98, 251, 0.6));
    }
}

.joystick-left {
    animation: joystickMoveLeft 2s ease-in-out infinite;
}

.joystick-left-inner {
    animation: joystickInnerLeft 1.5s ease-in-out infinite;
}

@keyframes joystickMoveLeft {
    0%, 100% {
        transform: translate(0, 0);
    }
    25% {
        transform: translate(-8px, -8px);
    }
    50% {
        transform: translate(0, 0);
    }
    75% {
        transform: translate(8px, 8px);
    }
}

@keyframes joystickInnerLeft {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.2);
    }
}

.joystick-right {
    animation: joystickMoveRight 2s ease-in-out infinite;
    animation-delay: 0.5s;
}

.joystick-right-inner {
    animation: joystickInnerRight 1.5s ease-in-out infinite;
    animation-delay: 0.5s;
}

@keyframes joystickMoveRight {
    0%, 100% {
        transform: translate(0, 0);
    }
    25% {
        transform: translate(8px, -8px);
    }
    50% {
        transform: translate(0, 0);
    }
    75% {
        transform: translate(-8px, 8px);
    }
}

@keyframes joystickInnerRight {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.2);
    }
}

/* D-Pad Animations */
.dpad-up {
    animation: dpadPress 1.5s ease-in-out infinite;
}

.dpad-down {
    animation: dpadPress 1.5s ease-in-out infinite;
    animation-delay: 0.75s;
}

.dpad-left {
    animation: dpadPress 1.5s ease-in-out infinite;
    animation-delay: 0.25s;
}

.dpad-right {
    animation: dpadPress 1.5s ease-in-out infinite;
    animation-delay: 0.5s;
}

@keyframes dpadPress {
    0%, 100% {
        fill: #1a1a1a;
        transform: scale(1);
    }
    50% {
        fill: #1262fb;
        transform: scale(1.1);
    }
}

/* Button Animations */
.button-a {
    animation: buttonPress 1.2s ease-in-out infinite;
}

.button-b {
    animation: buttonPress 1.2s ease-in-out infinite;
    animation-delay: 0.3s;
}

.button-x {
    animation: buttonPress 1.2s ease-in-out infinite;
    animation-delay: 0.6s;
}

.button-y {
    animation: buttonPress 1.2s ease-in-out infinite;
    animation-delay: 0.9s;
}

@keyframes buttonPress {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.3);
        opacity: 0.8;
    }
}

/* Code Lines Floating */
.code-line-float-1 {
    animation: codeFloat1 4s ease-in-out infinite;
}

.code-line-float-2 {
    animation: codeFloat2 4s ease-in-out infinite;
    animation-delay: 1s;
}

.code-line-float-3 {
    animation: codeFloat3 4s ease-in-out infinite;
    animation-delay: 2s;
}

.code-line-float-4 {
    animation: codeFloat4 4s ease-in-out infinite;
    animation-delay: 3s;
}

@keyframes codeFloat1 {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
        opacity: 0.3;
    }
    50% {
        transform: translate(10px, -15px) rotate(5deg);
        opacity: 0.6;
    }
}

@keyframes codeFloat2 {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
        opacity: 0.3;
    }
    50% {
        transform: translate(-10px, 15px) rotate(-5deg);
        opacity: 0.6;
    }
}

@keyframes codeFloat3 {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
        opacity: 0.3;
    }
    50% {
        transform: translate(15px, 10px) rotate(3deg);
        opacity: 0.6;
    }
}

@keyframes codeFloat4 {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
        opacity: 0.3;
    }
    50% {
        transform: translate(-15px, -10px) rotate(-3deg);
        opacity: 0.6;
    }
}

/* Sprite Animations */
.sprite-1 {
    animation: spriteBounce1 3s ease-in-out infinite;
}

.sprite-2 {
    animation: spriteBounce2 3s ease-in-out infinite;
    animation-delay: 0.5s;
}

.sprite-3 {
    animation: spriteBounce3 3s ease-in-out infinite;
    animation-delay: 1s;
}

.sprite-4 {
    animation: spriteBounce4 3s ease-in-out infinite;
    animation-delay: 1.5s;
}

@keyframes spriteBounce1 {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    50% {
        transform: translate(5px, -10px) scale(1.1);
    }
}

@keyframes spriteBounce2 {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    50% {
        transform: translate(-5px, -10px) scale(1.1);
    }
}

@keyframes spriteBounce3 {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    50% {
        transform: translate(5px, 10px) scale(1.1);
    }
}

@keyframes spriteBounce4 {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    50% {
        transform: translate(-5px, 10px) scale(1.1);
    }
}

/* Progress Circle */
.progress-circle {
    animation: progressRotate 4s linear infinite;
    stroke-linecap: round;
}

@keyframes progressRotate {
    0% {
        stroke-dashoffset: 471;
    }
    100% {
        stroke-dashoffset: 0;
    }
}

/* Gaming Text */
.gaming-text {
    max-width: 600px;
}

.gaming-title {
    font-size: clamp(3rem, 4vw, 4.5rem);
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 30px;
    line-height: 1.2;
}

.gaming-description {
    font-size: 1.7rem;
    line-height: 1.8;
    color: var(--text-gray);
    margin-bottom: 30px;
}

.gaming-description p {
    margin-bottom: 15px;
}

.gaming-description strong {
    color: var(--primary-color);
    font-weight: 600;
}

.gaming-features {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 40px;
}

.gaming-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    background: white;
    border-radius: 8px;
    box-shadow: var(--shadow);
    font-size: 1.5rem;
    color: var(--text-dark);
    font-weight: 500;
}

.gaming-feature svg {
    width: 20px;
    height: 20px;
    color: var(--primary-color);
    flex-shrink: 0;
}

.gaming-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 1.7rem;
    padding: 18px 40px;
    margin-top: 30px;
}

.gaming-button svg {
    width: 20px;
    height: 20px;
    transition: var(--transition);
}

.gaming-button:hover svg {
    transform: translateX(5px);
}

/* Gaming Engines */
.gaming-engines {
    margin-top: 40px;
    padding-top: 40px;
    border-top: 2px solid var(--border-color);
}

.gaming-engines-title {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 25px;
}

.gaming-engines-list {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.gaming-engine-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 25px;
    background: white;
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    cursor: pointer;
}

.gaming-engine-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.engine-icon {
    width: 50px;
    height: 50px;
    flex-shrink: 0;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.engine-unity {
    animation: unityPulse 2s ease-in-out infinite;
}

.engine-unity:hover {
    animation: unityRotate 1s ease-in-out;
}

@keyframes unityPulse {
    0%, 100% {
        transform: scale(1);
        filter: drop-shadow(0 0 5px rgba(0, 0, 0, 0.3));
    }
    50% {
        transform: scale(1.05);
        filter: drop-shadow(0 0 10px rgba(0, 0, 0, 0.5));
    }
}

@keyframes unityRotate {
    0% {
        transform: rotate(0deg) scale(1);
    }
    50% {
        transform: rotate(180deg) scale(1.1);
    }
    100% {
        transform: rotate(360deg) scale(1);
    }
}

.engine-unreal {
    animation: unrealGlow 2.5s ease-in-out infinite;
}

.engine-unreal:hover {
    animation: unrealScale 0.6s ease-in-out;
}

@keyframes unrealGlow {
    0%, 100% {
        transform: scale(1);
        filter: drop-shadow(0 0 8px rgba(30, 58, 95, 0.4));
    }
    50% {
        transform: scale(1.05);
        filter: drop-shadow(0 0 15px rgba(30, 58, 95, 0.7));
    }
}

@keyframes unrealScale {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.15);
    }
}

.engine-icon svg {
    width: 100%;
    height: 100%;
}

.engine-name {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--text-dark);
}

/* Responsive */
@media (max-width: 968px) {
    .gaming-content {
        grid-template-columns: 1fr;
        gap: 50px;
        text-align: center;
    }
    
    .gaming-visual {
        order: -1;
    }
    
    .gaming-icon-animated {
        max-width: 300px;
        height: 300px;
    }
    
    .gaming-features {
        justify-content: center;
    }
}

/* === Services Section === */
.services-section {
    padding: 100px 0;
    background: var(--secondary-color);
}

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

.section-title {
    font-size: 4rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0;
}

.section-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-color);
    font-size: 1.6rem;
    font-weight: 600;
    padding: 12px 24px;
    border: 2px solid var(--primary-color);
    border-radius: 8px;
    transition: var(--transition);
}

.section-link:hover {
    background: var(--primary-color);
    color: var(--text-light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--bg-light);
    border-radius: 16px;
    padding: 40px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-color);
}

.service-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--secondary-color);
    border-radius: 12px;
    color: var(--primary-color);
}

.service-icon svg {
    width: 32px;
    height: 32px;
}

.service-title {
    font-size: 2.2rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.service-description {
    font-size: 1.5rem;
    color: var(--text-gray);
    line-height: 1.7;
}

/* === Projects Section === */
.projects-section {
    padding: 100px 0;
    background: var(--bg-light);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.project-card {
    background: var(--bg-light);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.project-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    background: var(--secondary-color);
}

.project-content {
    padding: 30px;
}

.project-title {
    font-size: 2.4rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.project-description {
    font-size: 1.5rem;
    color: var(--text-gray);
    line-height: 1.7;
    margin-bottom: 20px;
}

.project-tags {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.project-tag {
    display: inline-block;
    padding: 6px 12px;
    background: var(--secondary-color);
    color: var(--text-gray);
    font-size: 1.3rem;
    border-radius: 6px;
    font-weight: 500;
}

/* === Principles Section === */
.principles-section {
    padding: 100px 0;
    background: var(--bg-dark);
    color: var(--text-light);
}

.principles-section .section-title {
    color: var(--text-light);
}

.principles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.principle-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 40px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
}

.principle-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--primary-color);
    transform: translateY(-5px);
}

.principle-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(18, 98, 251, 0.2);
    border-radius: 12px;
    color: var(--primary-color);
}

.principle-icon svg {
    width: 32px;
    height: 32px;
}

.principle-title {
    font-size: 2.2rem;
    font-weight: 600;
    color: var(--text-light);
    margin-bottom: 15px;
}

.principle-description {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
}

/* === Directions Section === */
.directions-section {
    padding: 100px 0;
    background: var(--bg-light);
}

.directions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.direction-card {
    background: var(--bg-light);
    border: 2px solid var(--border-color);
    border-radius: 16px;
    padding: 30px;
    text-align: center;
    transition: var(--transition);
    cursor: pointer;
}

.direction-card:hover,
.direction-card.active {
    border-color: var(--primary-color);
    background: var(--primary-color);
    color: var(--text-light);
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.direction-title {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.direction-subtitle {
    font-size: 1.4rem;
    font-weight: 500;
    opacity: 0.8;
}

.direction-card:hover .direction-subtitle,
.direction-card.active .direction-subtitle {
    opacity: 1;
}

/* === About Section === */
.about-section {
    padding: 100px 0;
    background: var(--secondary-color);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text {
    font-size: 1.8rem;
    line-height: 1.8;
    color: var(--text-gray);
}

.about-visual {
    position: relative;
}

.about-visual img {
    border-radius: 16px;
    box-shadow: var(--shadow-hover);
}

/* === Footer === */
.site-footer {
    background: var(--bg-dark);
    color: var(--text-light);
    padding: 80px 0 30px;
}

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

.footer-section h3 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 25px;
    color: var(--text-light);
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 12px;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.5rem;
    transition: var(--transition);
}

.footer-section a:hover {
    color: var(--text-light);
    padding-left: 5px;
}

.footer-contacts {
    max-width: 300px;
}

.footer-contact-line {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 12px;
    line-height: 1.6;
}

.footer-contact-label {
    display: block;
    color: var(--text-light);
    font-weight: 600;
    margin-bottom: 5px;
}

.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.footer-social .social-icon {
    border-color: rgba(255, 255, 255, 0.2);
    color: var(--text-light);
}

.footer-social .social-icon:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 1.4rem;
    color: rgba(255, 255, 255, 0.6);
}

/* === Buttons === */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 32px;
    font-size: 1.6rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    text-decoration: none;
    white-space: nowrap;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--text-light);
    box-shadow: 0 4px 15px rgba(18, 98, 251, 0.3);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(18, 98, 251, 0.4);
    opacity: 1;
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--text-light);
}

.btn-white {
    background-color: var(--bg-light);
    color: var(--text-dark);
    box-shadow: var(--shadow);
}

.btn-white:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

/* Button as button element */
button.btn {
    font-family: inherit;
}

/* === Responsive === */
@media (max-width: 1200px) {
    .hero-content {
        gap: 40px;
    }
    
    .about-content {
        gap: 40px;
    }
}

@media (max-width: 968px) {
    .site-header {
        padding: 15px 0;
    }

    .header-inner {
        gap: 15px;
    }

    .menu-toggle {
        display: block;
        order: 3;
    }

    .main-navigation {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        background: var(--bg-light);
        padding: 30px 20px;
        transition: var(--transition);
        box-shadow: var(--shadow-hover);
        z-index: 999;
        max-height: calc(100vh - 70px);
        overflow-y: auto;
    }

    .main-navigation.active {
        left: 0;
    }

    .main-navigation ul {
        flex-direction: column;
        gap: 20px;
        align-items: flex-start;
    }

    .header-actions {
        gap: 8px;
        order: 2;
        flex-wrap: wrap;
    }

    .header-phone {
        display: flex;
        font-size: 1.3rem;
        padding: 6px 10px;
    }

    .header-phone-text {
        display: none;
    }

    .header-phone-icon {
        width: 18px;
        height: 18px;
    }

    .header-cta-btn {
        padding: 10px 18px;
        font-size: 1.3rem;
    }

    .header-social {
        display: none;
    }

    .hero-section {
        padding: 140px 0 80px;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .hero-visual {
        order: -1;
    }

    .hero-logo-large {
        width: 250px;
        height: 250px;
        margin: 0 auto;
    }

    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .gaming-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .gaming-visual {
        order: -1;
    }

    .gaming-icon-animated {
        max-width: 300px;
        height: 300px;
        margin: 0 auto;
    }

    .services-grid,
    .projects-grid,
    .principles-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }

    .site-header {
        padding: 12px 0;
    }

    .header-inner {
        flex-wrap: wrap;
        gap: 10px;
    }

    .site-branding {
        order: 1;
    }

    .site-logo {
        font-size: 2rem;
    }

    .site-logo img {
        height: 35px;
    }

    .header-actions {
        order: 2;
        margin-left: auto;
        gap: 6px;
    }

    .header-phone {
        padding: 8px;
        min-width: 40px;
        justify-content: center;
    }

    .header-cta-btn {
        padding: 8px 14px;
        font-size: 1.2rem;
    }

    .menu-toggle {
        order: 3;
        font-size: 2rem;
    }

    .main-navigation {
        top: 60px;
        max-height: calc(100vh - 60px);
    }

    .hero-section {
        padding: 100px 0 50px;
    }

    .hero-title {
        font-size: clamp(2.5rem, 6vw, 3.5rem);
        margin-bottom: 20px;
    }

    .hero-subtitle {
        font-size: clamp(1.6rem, 4vw, 2rem);
        margin-bottom: 30px;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
        gap: 15px;
    }

    .hero-buttons .btn {
        width: 100%;
        justify-content: center;
    }

    .hero-logo-large {
        width: 200px;
        height: 200px;
    }

    .section-title {
        font-size: clamp(2.5rem, 5vw, 3rem);
    }

    .stats-section {
        padding: 60px 0;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }

    .stat-item {
        padding: 20px 15px;
    }

    .stat-number {
        font-size: clamp(2.8rem, 6vw, 3.6rem);
    }

    .stat-label {
        font-size: 1.4rem;
    }

    .services-section,
    .projects-section,
    .principles-section,
    .directions-section,
    .about-section,
    .gaming-section {
        padding: 60px 0;
    }

    .service-card,
    .project-card,
    .principle-card {
        padding: 25px;
    }

    .service-title,
    .project-title,
    .principle-title {
        font-size: 2rem;
    }

    .directions-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .gaming-features {
        flex-direction: column;
        gap: 15px;
    }

    .gaming-feature {
        width: 100%;
        justify-content: center;
    }

    .gaming-engines-list {
        flex-direction: column;
        gap: 15px;
    }

    .gaming-engine-item {
        width: 100%;
        justify-content: center;
    }

    .gaming-button {
        width: 100%;
        justify-content: center;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-section {
        text-align: center;
    }

    .footer-social {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-section {
        padding: 90px 0 40px;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.6rem;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .stat-number {
        font-size: 3rem;
    }

    .section-title {
        font-size: 2.5rem;
    }

    .service-card,
    .project-card,
    .principle-card {
        padding: 20px;
    }

    .gaming-icon-animated {
        max-width: 250px;
        height: 250px;
    }
}

/* === Accessibility === */
.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--primary-color);
    color: var(--text-light);
    padding: 8px 16px;
    text-decoration: none;
    z-index: 100;
}

.skip-link:focus {
    top: 0;
}

/* === Request Modal === */
.request-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    padding: 20px;
}

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

body.modal-open {
    overflow: hidden;
}

.request-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
}

.request-modal-content {
    position: relative;
    background: var(--bg-light);
    border-radius: 16px;
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    padding: 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transform: scale(0.9) translateY(20px);
    transition: transform 0.3s ease;
    z-index: 1;
}

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

.request-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    border: none;
    background: transparent;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-gray);
    border-radius: 50%;
    transition: var(--transition);
    z-index: 10;
}

.request-modal-close:hover {
    background: var(--secondary-color);
    color: var(--text-dark);
}

.request-modal-close svg {
    width: 24px;
    height: 24px;
}

.request-modal-title {
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 20px;
    padding-right: 50px;
}

.request-modal-intro {
    font-size: 1.5rem;
    line-height: 1.6;
    color: var(--text-gray);
    margin-bottom: 30px;
}

.request-modal-intro a {
    color: var(--primary-color);
    font-weight: 600;
}

.request-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-dark);
}

.form-group .required {
    color: #ff5f57;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 14px 16px;
    font-size: 1.5rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    background: var(--bg-light);
    color: var(--text-dark);
    transition: var(--transition);
    font-family: inherit;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(18, 98, 251, 0.1);
}

.form-textarea {
    resize: vertical;
    min-height: 100px;
}

.form-note {
    font-size: 1.3rem;
    color: var(--text-gray);
    margin-top: -10px;
}

.form-checkbox {
    margin-top: 10px;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 1.4rem;
    line-height: 1.6;
    color: var(--text-gray);
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-top: 2px;
    flex-shrink: 0;
    cursor: pointer;
    accent-color: var(--primary-color);
}

.checkbox-label a {
    color: var(--primary-color);
    text-decoration: underline;
}

.form-submit {
    width: 100%;
    margin-top: 10px;
    padding: 16px 32px;
    font-size: 1.6rem;
    position: relative;
}

.form-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.submit-loader svg {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.form-message {
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 1.4rem;
    font-weight: 500;
    text-align: center;
    margin-top: 10px;
}

.form-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Modal Responsive */
@media (max-width: 768px) {
    .request-modal-content {
        padding: 30px 20px;
        max-height: 95vh;
    }

    .request-modal-title {
        font-size: 2.2rem;
        padding-right: 40px;
    }

    .request-modal-intro {
        font-size: 1.4rem;
    }

    .form-input,
    .form-textarea {
        font-size: 1.6rem;
    }
}

@media (max-width: 480px) {
    .request-modal {
        padding: 10px;
    }

    .request-modal-content {
        padding: 25px 15px;
    }

    .request-modal-title {
        font-size: 2rem;
    }

    .request-modal-close {
        top: 15px;
        right: 15px;
        width: 35px;
        height: 35px;
    }
}

/* === Gaming Page Styles === */
.gaming-page {
    min-height: 100vh;
    background: #0a0a0a;
    color: var(--text-light);
    position: relative;
    overflow-x: hidden;
}

/* Animated Background */
.gaming-bg {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    overflow: hidden;
}

.gaming-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(2px 2px at 20% 30%, rgba(18, 98, 251, 0.3), transparent),
        radial-gradient(2px 2px at 60% 70%, rgba(18, 98, 251, 0.2), transparent),
        radial-gradient(1px 1px at 50% 50%, rgba(18, 98, 251, 0.4), transparent),
        radial-gradient(1px 1px at 80% 10%, rgba(18, 98, 251, 0.3), transparent),
        radial-gradient(2px 2px at 90% 80%, rgba(18, 98, 251, 0.2), transparent);
    background-size: 200% 200%;
    animation: particleMove 20s ease-in-out infinite;
    opacity: 0.6;
}

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

.gaming-grid {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(18, 98, 251, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(18, 98, 251, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: gridPulse 4s ease-in-out infinite;
}

@keyframes gridPulse {
    0%, 100% {
        opacity: 0.3;
    }
    50% {
        opacity: 0.6;
    }
}

/* Gaming Hero */
.gaming-hero {
    position: relative;
    z-index: 1;
    padding: 180px 0 120px;
    text-align: center;
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.gaming-hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.gaming-logo-animated {
    width: 200px;
    height: 200px;
    margin: 0 auto 40px;
    animation: logoFloat 6s ease-in-out infinite;
}

@keyframes logoFloat {
    0%, 100% {
        transform: translateY(0) rotate(0deg) scale(1);
    }
    50% {
        transform: translateY(-20px) rotate(5deg) scale(1.05);
    }
}

.logo-circle {
    animation: logoRotate 8s linear infinite;
    transform-origin: center;
}

@keyframes logoRotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.logo-square {
    animation: logoPulse 3s ease-in-out infinite;
}

@keyframes logoPulse {
    0%, 100% {
        opacity: 0.8;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.1);
    }
}

.logo-diamond {
    animation: diamondGlow 2s ease-in-out infinite;
}

@keyframes diamondGlow {
    0%, 100% {
        opacity: 1;
        filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.5));
    }
    50% {
        opacity: 0.8;
        filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.8));
    }
}

.gaming-hero-title {
    font-size: clamp(4rem, 8vw, 7rem);
    font-weight: 700;
    margin-bottom: 30px;
    line-height: 1.2;
}

.title-line {
    display: block;
    animation: titleSlideIn 1s ease-out both;
}

.title-line:nth-child(2) {
    animation-delay: 0.3s;
    background: linear-gradient(135deg, #1262fb 0%, #4ecdc4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.gaming-glow {
    animation: textGlow 3s ease-in-out infinite;
    text-shadow: 0 0 30px rgba(18, 98, 251, 0.5);
}

@keyframes titleSlideIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes textGlow {
    0%, 100% {
        text-shadow: 0 0 30px rgba(18, 98, 251, 0.5);
    }
    50% {
        text-shadow: 0 0 50px rgba(18, 98, 251, 0.8), 0 0 80px rgba(18, 98, 251, 0.4);
    }
}

.gaming-hero-subtitle {
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 50px;
    line-height: 1.6;
}

.gaming-stats-mini {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.gaming-stat-mini {
    text-align: center;
    animation: statFadeIn 1s ease-out both;
}

.gaming-stat-mini:nth-child(1) {
    animation-delay: 0.6s;
}

.gaming-stat-mini:nth-child(2) {
    animation-delay: 0.8s;
}

.gaming-stat-mini:nth-child(3) {
    animation-delay: 1s;
}

@keyframes statFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.stat-mini-number {
    font-size: 3.6rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 8px;
    line-height: 1;
}

.stat-mini-label {
    font-size: 1.4rem;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Games Section */
.gaming-games-section {
    position: relative;
    z-index: 1;
    padding: 100px 0;
}

.gaming-section-title {
    font-size: clamp(3rem, 5vw, 4.5rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: 60px;
    color: var(--text-light);
    position: relative;
    display: inline-block;
    width: 100%;
}

.gaming-section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    animation: titleLine 2s ease-in-out infinite;
}

@keyframes titleLine {
    0%, 100% {
        width: 100px;
        opacity: 0.5;
    }
    50% {
        width: 200px;
        opacity: 1;
    }
}

.gaming-games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.gaming-game-card {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(18, 98, 251, 0.2);
    border-radius: 16px;
    overflow: hidden;
    transition: var(--transition);
    position: relative;
    animation: cardFloat 4s ease-in-out infinite;
}

.gaming-game-card:nth-child(1) {
    animation-delay: 0s;
}

.gaming-game-card:nth-child(2) {
    animation-delay: 0.5s;
}

.gaming-game-card:nth-child(3) {
    animation-delay: 1s;
}

.gaming-game-card:nth-child(4) {
    animation-delay: 1.5s;
}

.gaming-game-card:nth-child(5) {
    animation-delay: 2s;
}

.gaming-game-card:nth-child(6) {
    animation-delay: 2.5s;
}

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

.gaming-game-card:hover {
    transform: translateY(-15px) scale(1.02);
    border-color: var(--primary-color);
    box-shadow: 0 20px 60px rgba(18, 98, 251, 0.4);
    background: rgba(255, 255, 255, 0.08);
}

.game-card-image {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: linear-gradient(135deg, #1262fb 0%, #0d4fd1 100%);
}

.game-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.gaming-game-card:hover .game-thumbnail {
    transform: scale(1.1);
}

.game-thumbnail-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1262fb 0%, #0d4fd1 100%);
}

.game-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.gaming-game-card:hover .game-card-overlay {
    opacity: 1;
}

.game-play-icon {
    animation: playPulse 2s ease-in-out infinite;
}

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

.game-card-content {
    padding: 25px;
}

.game-card-title {
    font-size: 2.2rem;
    font-weight: 600;
    color: var(--text-light);
    margin-bottom: 12px;
}

.game-card-description {
    font-size: 1.4rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin-bottom: 20px;
}

.game-play-btn,
.game-info-btn {
    width: 100%;
    justify-content: center;
}

/* Features Section */
.gaming-features-section {
    position: relative;
    z-index: 1;
    padding: 100px 0;
    background: rgba(18, 98, 251, 0.05);
}

.gaming-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.gaming-feature-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(18, 98, 251, 0.2);
    border-radius: 16px;
    padding: 40px 30px;
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.gaming-feature-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(18, 98, 251, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: var(--transition);
}

.gaming-feature-card:hover::before {
    opacity: 1;
}

.gaming-feature-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: 0 15px 40px rgba(18, 98, 251, 0.3);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    color: var(--primary-color);
    animation: iconRotate 4s ease-in-out infinite;
}

@keyframes iconRotate {
    0%, 100% {
        transform: rotate(0deg) scale(1);
    }
    50% {
        transform: rotate(5deg) scale(1.1);
    }
}

.feature-title {
    font-size: 2rem;
    font-weight: 600;
    color: var(--text-light);
    margin-bottom: 15px;
}

.feature-description {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

/* CTA Section */
.gaming-cta-section {
    position: relative;
    z-index: 1;
    padding: 100px 0;
    text-align: center;
}

.gaming-cta-content {
    max-width: 600px;
    margin: 0 auto;
}

.gaming-cta-title {
    font-size: clamp(3rem, 5vw, 4.5rem);
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 20px;
}

.gaming-cta-text {
    font-size: 1.8rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 40px;
}

.gaming-cta-btn {
    font-size: 1.8rem;
    padding: 18px 50px;
}

/* Gaming Page Header Override - Dark Theme */
.gaming-page .site-header {
    background: rgba(5, 5, 5, 0.98) !important;
    border-bottom: 1px solid rgba(18, 98, 251, 0.3);
    backdrop-filter: blur(15px);
    box-shadow: 0 2px 30px rgba(0, 0, 0, 0.5);
}

.gaming-page .site-header.scrolled {
    background: rgba(5, 5, 5, 0.98) !important;
    box-shadow: 0 2px 30px rgba(0, 0, 0, 0.5);
}

.gaming-page .header-inner {
    background: transparent;
}

.gaming-page .site-branding {
    background: transparent;
}

.gaming-page .site-logo {
    color: #ffffff !important;
}

.gaming-page .site-logo img {
    filter: brightness(1.2);
}

.gaming-page .main-navigation {
    background: transparent;
}

.gaming-page .main-navigation ul {
    background: transparent;
}

.gaming-page .main-navigation a {
    color: rgba(255, 255, 255, 0.9) !important;
}

.gaming-page .main-navigation a:hover {
    color: var(--primary-color) !important;
}

.gaming-page .main-navigation a::after {
    background: var(--primary-color);
}

.gaming-page .header-actions {
    background: transparent;
}

.gaming-page .header-phone {
    color: rgba(255, 255, 255, 0.9) !important;
    background: transparent;
}

.gaming-page .header-phone:hover {
    color: var(--primary-color) !important;
}

.gaming-page .header-phone-text {
    color: rgba(255, 255, 255, 0.9);
}

.gaming-page .header-phone-icon {
    color: var(--primary-color) !important;
}

.gaming-page .header-cta-btn {
    background: var(--primary-color) !important;
    color: white !important;
    border: 1px solid var(--primary-color);
}

.gaming-page .header-cta-btn:hover {
    background: #0d4fd1 !important;
    border-color: #0d4fd1;
    box-shadow: 0 4px 15px rgba(18, 98, 251, 0.4);
}

.gaming-page .header-social {
    background: transparent;
}

.gaming-page .social-icon {
    color: rgba(255, 255, 255, 0.8) !important;
    background: transparent;
}

.gaming-page .social-icon:hover {
    color: var(--primary-color) !important;
    background: rgba(18, 98, 251, 0.1);
}

.gaming-page .menu-toggle {
    color: rgba(255, 255, 255, 0.9) !important;
    background: transparent;
}

.gaming-page .menu-toggle:hover {
    color: var(--primary-color) !important;
}

.gaming-page .menu-icon {
    color: rgba(255, 255, 255, 0.9);
}

/* Gaming Page Footer Override - Dark Theme */
.gaming-page .site-footer {
    background: rgba(5, 5, 5, 0.98) !important;
    border-top: 1px solid rgba(18, 98, 251, 0.3);
    color: rgba(255, 255, 255, 0.9);
    box-shadow: 0 -2px 30px rgba(0, 0, 0, 0.5);
}

.gaming-page .footer-content {
    background: transparent;
}

.gaming-page .footer-section {
    background: transparent;
}

.gaming-page .site-footer h3 {
    color: #ffffff !important;
}

.gaming-page .site-footer ul {
    background: transparent;
}

.gaming-page .site-footer li {
    background: transparent;
}

.gaming-page .site-footer a {
    color: rgba(255, 255, 255, 0.8) !important;
}

.gaming-page .site-footer a:hover {
    color: var(--primary-color) !important;
}

.gaming-page .footer-contact-line {
    color: rgba(255, 255, 255, 0.8) !important;
}

.gaming-page .footer-contact-label {
    color: rgba(255, 255, 255, 0.9);
}

.gaming-page .footer-social {
    background: transparent;
}

.gaming-page .footer-social .social-icon {
    color: rgba(255, 255, 255, 0.8) !important;
    background: transparent;
}

.gaming-page .footer-social .social-icon:hover {
    color: var(--primary-color) !important;
    background: rgba(18, 98, 251, 0.1);
}

.gaming-page .site-footer .footer-bottom {
    background: transparent;
    border-top: 1px solid rgba(18, 98, 251, 0.3);
    color: rgba(255, 255, 255, 0.7) !important;
}

.gaming-page .site-footer .footer-bottom p {
    color: rgba(255, 255, 255, 0.7);
}

/* Mobile Menu on Gaming Page */
.gaming-page .main-navigation.active,
.gaming-page .main-navigation.menu-open {
    background: rgba(5, 5, 5, 0.98);
    border: 1px solid rgba(18, 98, 251, 0.3);
}

.gaming-page .main-navigation.active ul,
.gaming-page .main-navigation.menu-open ul {
    background: rgba(5, 5, 5, 0.98);
}

.gaming-page .main-navigation.active a,
.gaming-page .main-navigation.menu-open a {
    color: rgba(255, 255, 255, 0.9) !important;
    border-bottom: 1px solid rgba(18, 98, 251, 0.2);
}

.gaming-page .main-navigation.active a:hover,
.gaming-page .main-navigation.menu-open a:hover {
    color: var(--primary-color) !important;
    background: rgba(18, 98, 251, 0.1);
}

/* Additional Gaming Animations */
.gaming-page .container {
    position: relative;
    z-index: 1;
}

/* Floating Elements Animation */
@keyframes floatUp {
    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100vh) rotate(360deg);
        opacity: 0;
    }
}

.gaming-particles::before,
.gaming-particles::after {
    content: '';
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--primary-color);
    border-radius: 50%;
    animation: floatUp 15s linear infinite;
    opacity: 0.6;
}

.gaming-particles::before {
    left: 10%;
    animation-delay: 0s;
}

.gaming-particles::after {
    left: 80%;
    animation-delay: 7s;
}

/* Glitch Effect for Title */
@keyframes glitch {
    0%, 100% {
        transform: translate(0);
    }
    20% {
        transform: translate(-2px, 2px);
    }
    40% {
        transform: translate(-2px, -2px);
    }
    60% {
        transform: translate(2px, 2px);
    }
    80% {
        transform: translate(2px, -2px);
    }
}

.gaming-hero-title:hover .gaming-glow {
    animation: glitch 0.3s ease-in-out infinite, textGlow 3s ease-in-out infinite;
}

/* Button Hover Effects */
.gaming-page .btn-primary {
    position: relative;
    overflow: hidden;
}

.gaming-page .btn-primary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.gaming-page .btn-primary:hover::before {
    width: 300px;
    height: 300px;
}

/* Card Hover Glow */
.gaming-game-card::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, var(--primary-color), transparent, var(--primary-color));
    border-radius: 16px;
    opacity: 0;
    z-index: -1;
    transition: opacity 0.3s;
}

.gaming-game-card:hover::after {
    opacity: 0.5;
    animation: borderGlow 2s ease-in-out infinite;
}

@keyframes borderGlow {
    0%, 100% {
        opacity: 0.5;
    }
    50% {
        opacity: 1;
    }
}

/* Loading Animation for Game Cards */
@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

.gaming-game-card .game-thumbnail-placeholder {
    background: linear-gradient(
        90deg,
        rgba(18, 98, 251, 0.1) 0%,
        rgba(18, 98, 251, 0.3) 50%,
        rgba(18, 98, 251, 0.1) 100%
    );
    background-size: 1000px 100%;
    animation: shimmer 2s infinite;
}

/* Scroll Indicator */
.gaming-hero::after {
    content: '↓';
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 3rem;
    color: var(--primary-color);
    animation: bounce 2s infinite;
    opacity: 0.6;
}

@keyframes bounce {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(-20px);
    }
}

@media (max-width: 768px) {
    .gaming-hero::after {
        display: none;
    }
}

/* Responsive Gaming Page */
@media (max-width: 968px) {
    .gaming-hero {
        padding: 140px 0 80px;
        min-height: 70vh;
    }

    .gaming-logo-animated {
        width: 150px;
        height: 150px;
    }

    .gaming-stats-mini {
        gap: 30px;
    }

    .stat-mini-number {
        font-size: 3rem;
    }

    .gaming-games-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 20px;
    }

    .gaming-features-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .gaming-hero {
        padding: 120px 0 60px;
    }

    .gaming-logo-animated {
        width: 120px;
        height: 120px;
    }

    .gaming-stats-mini {
        gap: 20px;
    }

    .stat-mini-number {
        font-size: 2.5rem;
    }

    .stat-mini-label {
        font-size: 1.2rem;
    }

    .gaming-games-section,
    .gaming-features-section,
    .gaming-cta-section {
        padding: 60px 0;
    }

    .gaming-games-grid {
        grid-template-columns: 1fr;
    }

    .game-card-image {
        height: 180px;
    }
}
