/* ========== Variables ========== */
:root {
    --bg-primary: #0a0b10;
    --bg-secondary: #12151e;
    --accent-primary: #6357ff;
    --accent-secondary: #00d9ff;
    --accent-tertiary: #ff416c;
    --text-primary: #ffffff;
    --text-secondary: #acacac;
    --text-muted: #697080;
    --card-bg: #171a24;
    --border-color: #2a2f3e;
    --gradient-1: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    --gradient-2: linear-gradient(135deg, var(--accent-tertiary), #ff9142);
    --shadow-sm: 0 5px 15px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.25);
    --shadow-glow: 0 0 20px rgba(99, 87, 255, 0.3);
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* ========== Reset & Base Styles ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    overflow-x: hidden;
    position: relative;
}

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

ul {
    list-style: none;
}

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

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

/* ========== Custom Cursor ========== */
.cursor, .cursor-follower {
    position: fixed;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    z-index: 9999;
    pointer-events: none;
    opacity: 0;
    transform: translate(-50%, -50%);
    transition: opacity 0.3s ease;
}

.cursor {
    width: 8px;
    height: 8px;
    background-color: var(--accent-primary);
    mix-blend-mode: difference;
}

.cursor-follower {
    width: 40px;
    height: 40px;
    border: 2px solid var(--accent-secondary);
    transition: transform 0.1s ease, width 0.3s ease, height 0.3s ease;
}

body:hover .cursor, 
body:hover .cursor-follower {
    opacity: 1;
}

/* ========== Particles Background ========== */
#particles-js {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
    opacity: 0.3;
}

/* ========== Typography ========== */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Chakra Petch', sans-serif;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

h1 {
    font-size: 3.5rem;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 1.75rem;
}

p {
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
}

/* ========== Section Styles ========== */
section {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    position: relative;
    display: inline-block;
    margin-bottom: 20px;
}

.section-title span {
    color: var(--accent-primary);
}

.section-line {
    width: 80px;
    height: 4px;
    background: var(--gradient-1);
    margin: 0 auto;
    border-radius: 2px;
}

.section-subtitle {
    max-width: 600px;
    margin: 20px auto 0;
    color: var(--text-secondary);
    font-size: 1.1rem;
}

.left-align {
    text-align: left;
}

.left-align .section-line {
    margin: 0;
}

/* ========== Glitch Effect ========== */
.glitch {
    position: relative;
}

.glitch::before,
.glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.glitch::before {
    left: 2px;
    text-shadow: -2px 0 var(--accent-primary);
    animation: glitch-anim-1 2s infinite linear alternate-reverse;
    clip-path: polygon(0 0, 100% 0, 100% 35%, 0 35%);
}

.glitch::after {
    left: -2px;
    text-shadow: 2px 0 var(--accent-secondary);
    animation: glitch-anim-2 2s infinite linear alternate-reverse;
    clip-path: polygon(0 65%, 100% 65%, 100% 100%, 0 100%);
}

@keyframes glitch-anim-1 {
    0% {
        clip-path: polygon(0 0, 100% 0, 100% 35%, 0 35%);
    }
    50% {
        clip-path: polygon(0 0, 100% 0, 100% 40%, 0 40%);
    }
    100% {
        clip-path: polygon(0 0, 100% 0, 100% 35%, 0 35%);
    }
}

@keyframes glitch-anim-2 {
    0% {
        clip-path: polygon(0 65%, 100% 65%, 100% 100%, 0 100%);
    }
    50% {
        clip-path: polygon(0 60%, 100% 60%, 100% 100%, 0 100%);
    }
    100% {
        clip-path: polygon(0 65%, 100% 65%, 100% 100%, 0 100%);
    }
}

/* ========== Header ========== */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 0;
    z-index: 100;
    transition: var(--transition);
    background-color: rgba(10, 11, 16, 0.8);
    backdrop-filter: blur(10px);
}

header.scrolled {
    padding: 15px 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    background-color: rgba(18, 21, 30, 0.95);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-icon {
    font-size: 1.8rem;
    margin-right: 10px;
    color: var(--accent-primary);
}

.logo h1 {
    font-size: 1.8rem;
    margin-bottom: 0;
    letter-spacing: 1px;
}

.logo h1 span {
    color: var(--accent-primary);
}

nav {
    display: flex;
    align-items: center;
}

nav ul {
    display: flex;
}

nav ul li {
    margin-left: 30px;
}

.nav-link {
    position: relative;
    padding: 5px 0;
    font-weight: 500;
    font-size: 1rem;
    color: var(--text-secondary);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-1);
    transition: var(--transition);
}

.nav-link:hover, .nav-link.active {
    color: var(--text-primary);
}

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

.menu-btn {
    display: none;
    cursor: pointer;
    width: 30px;
    height: 20px;
    position: relative;
    z-index: 200;
}

.menu-btn__burger {
    width: 30px;
    height: 3px;
    background-color: var(--text-primary);
    border-radius: 5px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    transition: var(--transition);
}

.menu-btn__burger::before,
.menu-btn__burger::after {
    content: '';
    position: absolute;
    width: 30px;
    height: 3px;
    background-color: var(--text-primary);
    border-radius: 5px;
    transition: var(--transition);
}

.menu-btn__burger::before {
    transform: translateY(-10px);
}

.menu-btn__burger::after {
    transform: translateY(10px);
}

/* ========== Hero Section ========== */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 30%, rgba(99, 87, 255, 0.15), transparent 50%),
                radial-gradient(circle at 70% 70%, rgba(0, 217, 255, 0.1), transparent 50%);
    z-index: 1;
}

.hero .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.hero-content {
    flex: 1;
    max-width: 600px;
    z-index: 2;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 20px;
    line-height: 1.1;
}

.subtitle {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--accent-primary);
    font-family: 'Chakra Petch', sans-serif;
    font-weight: 600;
}

.hero-text {
    font-size: 1.1rem;
    margin-bottom: 40px;
    color: var(--text-secondary);
}

.cta-group {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 35px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.cta-button i {
    margin-right: 10px;
    font-size: 1.2rem;
}

.cta-button.primary {
    background: var(--gradient-1);
    color: var(--text-primary);
    box-shadow: 0 5px 15px rgba(99, 87, 255, 0.3);
}

.cta-button.primary:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(99, 87, 255, 0.4);
}

.cta-button.secondary {
    background-color: transparent;
    border: 2px solid var(--accent-primary);
    color: var(--text-primary);
}

.cta-button.secondary:hover {
    background: var(--gradient-1);
    border-color: transparent;
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(99, 87, 255, 0.4);
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    position: relative;
    z-index: 2;
}

.floating-phone {
    position: relative;
    width: 300px;
    height: 600px;
    animation: float 6s ease-in-out infinite;
}

.floating-phone img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 30px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    z-index: 2;
    position: relative;
}

.glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 80%;
    background: radial-gradient(circle, rgba(99, 87, 255, 0.2), transparent 70%);
    filter: blur(30px);
    z-index: 1;
}

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

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 2;
}

.mouse {
    width: 30px;
    height: 50px;
    border: 2px solid var(--text-secondary);
    border-radius: 20px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 10px;
    background-color: var(--accent-primary);
    border-radius: 2px;
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    animation: wheel 1.5s ease infinite;
}

@keyframes wheel {
    0% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
    100% {
        opacity: 0;
        transform: translateX(-50%) translateY(15px);
    }
}

.arrow {
    margin-top: 15px;
}

.arrow span {
    display: block;
    width: 15px;
    height: 15px;
    border-bottom: 2px solid var(--text-secondary);
    border-right: 2px solid var(--text-secondary);
    transform: rotate(45deg);
    margin: -10px;
    animation: arrow 2s infinite;
}

.arrow span:nth-child(2) {
    animation-delay: -0.2s;
}

.arrow span:nth-child(3) {
    animation-delay: -0.4s;
}

@keyframes arrow {
    0% {
        opacity: 0;
        transform: rotate(45deg) translate(-20px, -20px);
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        transform: rotate(45deg) translate(20px, 20px);
    }
}

/* ========== Games Section ========== */
.games {
    background-color: var(--bg-secondary);
    position: relative;
    z-index: 2;
}

.games::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 70% 20%, rgba(255, 65, 108, 0.08), transparent 40%);
    z-index: 1;
}

.game-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    position: relative;
    z-index: 2;
}

.game-card {
    position: relative;
    z-index: 2;
    perspective: 1000px;
    height: 400px;
    background: rgba(30, 30, 45, 0.5);
}

.game-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.6s;
    transform-style: preserve-3d;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.game-card:hover .game-card-inner {
    transform: translateY(-10px);
}

.game-image {
    position: relative;
    width: 100%;
    height: 100%;
}

.game-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.05), rgba(0,0,0,0.5));
    z-index: 1;
}

.game-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.game-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px;
    z-index: 2;
}

.game-content h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.game-content p {
    margin-bottom: 20px;
    color: var(--text-secondary);
}

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

.game-tags span {
    background-color: rgba(99, 87, 255, 0.2);
    padding: 5px 12px;
    border-radius: 50px;
    font-size: 0.75rem;
    color: var(--accent-primary);
}

.game-btn {
    display: inline-block;
    padding: 10px 25px;
    background: var(--gradient-1);
    color: var(--text-primary);
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition);
}

.game-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(99, 87, 255, 0.3);
}

/* ========== Features Section ========== */
.features {
    position: relative;
    overflow: hidden;
}

.features::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 70%, rgba(0, 217, 255, 0.08), transparent 40%);
    z-index: 1;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    position: relative;
    z-index: 2;
}

.feature-card {
    background-color: var(--card-bg);
    border-radius: 15px;
    padding: 40px 30px;
    transition: var(--transition);
    position: relative;
    z-index: 1;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 5px;
    background: var(--gradient-1);
    border-radius: 50%;
    transition: var(--transition);
    opacity: 0;
    z-index: -1;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.feature-card:hover::before {
    animation: pulse-bg 1s forwards;
}

@keyframes pulse-bg {
    0% {
        transform: scale(1);
        opacity: 0;
    }
    50% {
        opacity: 0.4;
    }
    100% {
        transform: scale(50);
        opacity: 0.1;
    }
}

.feature-icon {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(45deg, var(--accent-primary), var(--accent-secondary));
    border-radius: 15px;
    margin-bottom: 25px;
    position: relative;
    overflow: hidden;
}

.feature-icon i {
    font-size: 2rem;
    color: var(--text-primary);
    position: relative;
    z-index: 2;
}

.feature-icon::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    right: 2px;
    bottom: 2px;
    background-color: var(--card-bg);
    border-radius: 13px;
    z-index: 1;
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.feature-card p {
    color: var(--text-secondary);
    margin-bottom: 0;
}

/* ========== About Section ========== */
.about {
    background-color: var(--bg-secondary);
    position: relative;
    overflow: hidden;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 70% 30%, rgba(255, 65, 108, 0.08), transparent 40%);
    z-index: 1;
}

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

.about-text {
    position: relative;
}

.about-text p {
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
}

.stats {
    display: flex;
    gap: 30px;
    margin-top: 40px;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    font-family: 'Chakra Petch', sans-serif;
    color: var(--accent-primary);
    line-height: 1;
}

.stat-label {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-top: 5px;
}

.about-image {
    position: relative;
}

.image-reveal {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: none;
    max-width: 600px;
    margin: 0 auto;
}

.image-reveal::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: none;
    z-index: 1;
    opacity: 0;
}

.image-reveal img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 1s ease;
}

.image-reveal:hover img {
    transform: scale(1.05);
}

/* ========== Contact Section ========== */
.contact {
    position: relative;
    overflow: hidden;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 70%, rgba(99, 87, 255, 0.08), transparent 40%);
    z-index: 1;
}

.contact-wrapper {
    display: flex;
    justify-content: center;
    position: relative;
    z-index: 2;
}

.contact-info {
    display: flex;
    justify-content: center;
    gap: 30px;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-card {
    background-color: var(--card-bg);
    padding: 30px;
    border-radius: 15px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    text-align: center;
    flex: 1;
    min-width: 200px;
    max-width: 300px;
}

.contact-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.contact-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(45deg, var(--accent-primary), var(--accent-secondary));
    border-radius: 50%;
    margin: 0 auto 20px;
}

.contact-icon i {
    font-size: 1.5rem;
    color: var(--text-primary);
}

.contact-card h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.contact-card p {
    color: var(--text-secondary);
    margin-bottom: 0;
}

/* Media queries for responsive contact cards */
@media (max-width: 768px) {
    .contact-info {
        flex-direction: column;
        align-items: center;
    }
    
    .contact-card {
        width: 100%;
        max-width: 100%;
    }
}

/* ========== Footer ========== */
footer {
    background-color: var(--bg-secondary);
    padding: 80px 0 30px;
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 30%, rgba(99, 87, 255, 0.08), transparent 40%);
    z-index: 1;
}

.footer-top {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
    position: relative;
    z-index: 2;
}

.footer-logo {
    display: flex;
    flex-direction: column;
}

.footer-logo h2 {
    font-size: 1.5rem;
    margin: 10px 0;
}

.footer-logo h2 span {
    color: var(--accent-primary);
}

.footer-logo p {
    color: var(--text-secondary);
}

.footer-nav h3,
.footer-legal h3,
.footer-social h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.footer-nav ul li,
.footer-legal ul li {
    margin-bottom: 12px;
}

.footer-nav ul li a,
.footer-legal ul li a {
    color: var(--text-secondary);
    transition: var(--transition);
    font-size: 0.9rem;
}

.footer-nav ul li a:hover,
.footer-legal ul li a:hover {
    color: var(--accent-primary);
    padding-left: 5px;
}

.social-icons {
    display: flex;
    gap: 15px;
}

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

.social-icon:hover {
    background: var(--gradient-1);
    color: var(--text-primary);
    transform: translateY(-5px);
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding-top: 30px;
    text-align: center;
    position: relative;
    z-index: 2;
}

.copyright {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* ========== Responsive Styles ========== */
@media (max-width: 1200px) {
    h1 {
        font-size: 3rem;
    }
    
    .hero h1 {
        font-size: 3.5rem;
    }
}

@media (max-width: 992px) {
    section {
        padding: 80px 0;
    }
    
    .hero h1 {
        font-size: 3rem;
    }
    
    .subtitle {
        font-size: 1.3rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .about-image {
        order: -1;
    }
    
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    header {
        padding: 15px 0;
    }
    
    .menu-btn {
        display: block;
    }
    
    nav ul {
        position: fixed;
        top: 0;
        right: -100%;
        width: 250px;
        height: 100vh;
        background-color: var(--bg-secondary);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: var(--transition);
        z-index: 100;
    }
    
    nav ul.active {
        right: 0;
    }
    
    nav ul li {
        margin: 15px 0;
    }
    
    .hero .container {
        flex-direction: column;
        justify-content: center;
        text-align: center;
    }
    
    .hero-content {
        margin-bottom: 50px;
    }
    
    .cta-group {
        justify-content: center;
    }
    
    .stats {
        justify-content: center;
    }
    
    .section-header.left-align {
        text-align: center;
    }
    
    .section-header.left-align .section-line {
        margin: 0 auto;
    }
}

@media (max-width: 576px) {
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .subtitle {
        font-size: 1.1rem;
    }
    
    .hero-text {
        font-size: 1rem;
    }
    
    .game-cards {
        grid-template-columns: 1fr;
    }
    
    .footer-top {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-logo {
        align-items: center;
    }
    
    .social-icons {
        justify-content: center;
    }
}

/* ========== Lottie Animation Styles ========== */
lottie-player {
    width: 100%;
    height: 100%;
    position: relative;
    z-index: 1;
    display: block;
}

.floating-phone lottie-player {
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.game-image lottie-player {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.15));
}

/* Add a subtle light effect behind game animations */
.game-image::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 80%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.08), transparent 70%);
    z-index: 0;
    pointer-events: none;
}

.image-reveal lottie-player {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 1s ease;
}

.image-reveal:hover lottie-player {
    transform: scale(1.05);
}

/* ========== Visibility and Layout Fixes ========== */
/* These styles ensure all elements are displayed correctly and fix any layout issues */

/* Make elements visible without breaking layout */
.game-card, .feature-card, .contact-card, 
.hero-content, .hero-image, .about-content,
.about-image {
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
}

/* Section layout fixes */
section {
    padding: 80px 0 !important;
    position: relative !important;
    overflow: hidden !important;
}

section .container {
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 0 20px !important;
    position: relative !important;
    z-index: 2 !important;
}

.section-header {
    text-align: center !important;
    margin-bottom: 30px !important;
}

/* Container layout fixes */
.game-cards {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 30px !important;
    width: 100% !important;
    margin: 40px auto !important;
}

.feature-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)) !important;
    gap: 30px !important;
    margin: 40px 0 !important;
}

.contact-info {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 30px !important;
    margin: 40px auto !important;
}

/* Card layout fixes */
.game-card {
    width: 300px !important;
    margin: 0 !important;
    position: relative !important;
    height: auto !important;
    min-height: 380px !important;
    box-shadow: 0 10px 20px rgba(0,0,0,0.2) !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    backdrop-filter: blur(5px) !important;
    background: rgba(30, 30, 45, 0.5) !important;
}

.feature-card {
    padding: 25px !important;
    background: rgba(30, 30, 45, 0.7) !important;
    border-radius: 12px !important;
    box-shadow: 0 10px 15px rgba(0,0,0,0.1) !important;
    backdrop-filter: blur(5px) !important;
}

.contact-card {
    width: 250px !important;
    padding: 25px !important;
    background: rgba(30, 30, 45, 0.7) !important;
    border-radius: 12px !important;
    box-shadow: 0 10px 15px rgba(0,0,0,0.1) !important;
    backdrop-filter: blur(5px) !important;
    text-align: center !important;
}

/* Game card inner fixes */
.game-card-inner {
    position: relative !important;
    width: 100% !important;
    height: 100% !important;
    display: flex !important;
    flex-direction: column !important;
}

.game-image {
    position: relative !important;
    width: 100% !important;
    height: 180px !important;
    overflow: hidden !important;
}

.game-overlay {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: linear-gradient(to bottom, rgba(0,0,0,0.05), rgba(0,0,0,0.5)) !important;
    z-index: 1 !important;
}

.game-content {
    padding: 20px !important;
    position: relative !important;
    flex: 1 !important;
    display: flex !important;
    flex-direction: column !important;
}

.game-content h3 {
    margin-top: 0 !important;
    margin-bottom: 10px !important;
    font-size: 1.3rem !important;
}

.game-content p {
    margin-bottom: 15px !important;
    font-size: 0.9rem !important;
    flex: 1 !important;
}

.game-tags {
    display: flex !important;
    flex-wrap: wrap !important;
    margin-bottom: 15px !important;
}

.game-tags span {
    padding: 5px 10px !important;
    background: rgba(99, 87, 255, 0.2) !important;
    border-radius: 15px !important;
    margin-right: 8px !important;
    margin-bottom: 8px !important;
    font-size: 0.8rem !important;
}

.game-btn {
    display: inline-block !important;
    padding: 8px 20px !important;
    background: linear-gradient(to right, #6357ff, #45caff) !important;
    color: white !important;
    border-radius: 25px !important;
    text-decoration: none !important;
    font-weight: 500 !important;
    text-align: center !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 5px 15px rgba(69, 202, 255, 0.3) !important;
}

/* Hero section fixes */
.hero {
    position: relative !important;
    min-height: 100vh !important;
    display: flex !important;
    align-items: center !important;
    overflow: hidden !important;
}

.hero .container {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 30px !important;
    width: 100% !important;
    max-width: 1400px !important;
    z-index: 5 !important;
}

.hero-content {
    flex: 1 1 500px !important;
    padding-right: 40px !important;
}

.hero-image {
    flex: 1 1 600px !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    position: relative !important;
    height: 600px !important;
    /* Remove any shadow or background from hero image container */
    box-shadow: none !important;
    background: transparent !important;
    filter: none !important;
}

/* Hero animation fixes (floating phone) */
.floating-phone {
    width: 750px !important;
    height: 750px !important;
    position: relative !important;
    margin: 0 !important;
    right: -50px !important;
    /* Remove any shadow effects from floating-phone */
    box-shadow: none !important;
    filter: none !important;
    background: transparent !important;
    overflow: visible !important;
}

/* Hero animation styling - removes shadows and scales properly */
.floating-phone lottie-player {
    position: absolute !important;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    max-height: none !important;
    transform: scale(1.5) !important;
    background: transparent !important;
    /* Shadow removal */
    filter: drop-shadow(0 0 0 transparent) !important;
    -webkit-filter: drop-shadow(0 0 0 transparent) !important;
    box-shadow: none !important;
    border: none !important;
    outline: none !important;
}

/* Remove any glow effect completely */
.floating-phone .glow {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
}

/* Additional fix to ensure no shadows or glows on any elements */
.floating-phone:before,
.floating-phone:after,
.floating-phone *:before,
.floating-phone *:after {
    box-shadow: none !important;
    text-shadow: none !important;
    filter: none !important;
    background: transparent !important;
}

/* About section fixes */
.about-content {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    gap: 40px !important;
}

.about-text {
    flex: 1 1 400px !important;
}

.about-image {
    flex: 1 1 400px !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
}

/* Team animation fix */
.image-reveal {
    width: 100% !important;
    max-width: 600px !important;
    position: relative !important;
    overflow: hidden !important;
    border-radius: 15px !important;
    box-shadow: none !important;
    aspect-ratio: 16/9 !important;
    transform: scale(1.2) !important;
}

.about-image .image-reveal lottie-player {
    position: relative !important;
    min-height: 420px !important;
    filter: none !important;
    box-shadow: none !important;
    background: transparent !important;
    transform: scale(1.2) !important;
}

/* Stats section fixes */
.stats {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 30px !important;
    margin-top: 30px !important;
}

.stat-item {
    text-align: center !important;
    flex: 1 1 100px !important;
}

/* Responsive adjustments */
@media (max-width: 1200px) {
    .floating-phone {
        width: 600px !important;
        height: 600px !important;
        right: 0 !important;
    }
}

@media (max-width: 768px) {
    .hero .container {
        flex-direction: column !important;
        padding: 20px !important;
    }
    
    .hero-content {
        padding-right: 0 !important;
        text-align: center !important;
    }
    
    .hero-image {
        height: 450px !important;
        margin-top: 20px !important;
    }
    
    .floating-phone {
        width: 450px !important;
        height: 450px !important;
        right: 0 !important;
    }
} 