* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;

    .footer-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}

body {
    font-family: 'Poppins', sans-serif;
    background: #f8f8fb;
    color: #2d1b4e;
    line-height: 1.6;
}

.navbar {
    padding: 20px 0;
    background: transparent;
    border-bottom: none;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10;
    transition: background 0.3s ease;
}

.navbar-brand img {
    height: 50px;
    width: auto;
    transition: transform 0.3s ease;
}

.navbar-brand:hover img {
    transform: rotate(5deg);
}

.nav-link {
    color: white !important;
    font-weight: 600;
    transition: color 0.3s;
    margin: 0 15px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.nav-link:hover {
    color: #e0e7ff !important;
}

.navbar-toggler {
    border-color: white;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255, 255, 255, 1)' stroke-linecap='round' stroke-miterlap='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.hero {
    padding: 120px 0 80px;
    text-align: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    padding-top: 180px;
    padding-bottom: 150px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.75);
    z-index: 1;
}

.hero>* {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 56px;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
    color: white;
}

.gradient-text {
    background: linear-gradient(135deg, #b175ff 0%, #9e53ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stats {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 60px;
    flex-wrap: nowrap;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.stat {
    text-align: center;
    background: white;
    padding: 30px 40px;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    transition: transform 0.3s, box-shadow 0.3s;
    flex: 1;
    min-width: 0;
}

.stat:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(124, 58, 237, 0.1);
}

.stat-number {
    font-size: 48px;
    font-weight: bold;
    color: #7c3aed;
    margin-bottom: 5px;
}

.stat-label {
    color: #64748b;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 1px;
}

.partners {
    padding: 60px 0;
    background: white;
    overflow: hidden;
    position: relative;
}

.partners::before,
.partners::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100px;
    z-index: 2;
    pointer-events: none;
}

.partners::before {
    left: 0;
    background: linear-gradient(to right, white, transparent);
}

.partners::after {
    right: 0;
    background: linear-gradient(to left, white, transparent);
}

.partner-carousel {
    display: flex;
    animation: scroll 30s linear infinite;
    width: fit-content;
}

.partner-carousel:hover {
    animation-play-state: paused;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.partner-logo {
    background: #f1f5f9;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    color: #64748b;
    font-weight: 600;
    transition: transform 0.3s, background 0.3s;
    cursor: pointer;
    border: 1px solid #e2e8f0;
    height: 120px;
    width: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    margin: 0 15px;
    flex-shrink: 0;
}

.partner-logo:hover {
    transform: translateY(-5px);
    background-color: #e0e7ff;
    border-color: #c7d2fe;
}

.section {
    padding: 80px 0;
}

.section-title {
    font-size: 42px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 60px;
}

.game-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid #e2e8f0;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.game-col {
    margin-bottom: 30px;
}

.game-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(124, 58, 237, 0.15);
}

.game-image {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, #a78bfa 0%, #7c3aed 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: bold;
    color: white;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.game-info {
    padding: 25px;
}

.game-tag {
    display: inline-block;
    background: #7c3aed;
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.game-title {
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 10px;
}

.services {
    background: white;
}

.service-card {
    background: #f8f8fb;
    padding: 40px;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    transition: border-color 0.3s, box-shadow 0.3s;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.service-col,
.news-col,
.game-col {
    margin-bottom: 30px;
    display: flex;
}

.service-col>*,
.news-col>*,
.game-col>* {
    width: 100%;
}

.service-card:hover {
    border-color: #7c3aed;
    box-shadow: 0 10px 30px rgba(124, 58, 237, 0.1);
}

.service-card h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: #7c3aed;
    font-weight: 700;
}

.service-card p {
    color: #64748b;
    line-height: 1.8;
}

.news-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid #e2e8f0;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(124, 58, 237, 0.15);
    text-decoration: none;
    color: inherit;
}

.news-image {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, #a78bfa 0%, #7c3aed 100%);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.news-content {
    padding: 25px;
}

.news-date {
    color: #7c3aed;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    margin-bottom: 10px;
}

.news-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.4;
}

.news-excerpt {
    color: #64748b;
    font-size: 14px;
    line-height: 1.6;
}

.careers {
    background: white;
}

.section-subtitle {
    text-align: center;
    font-size: 18px;
    color: #64748b;
    margin-top: -40px;
    margin-bottom: 60px;
}

.career-col {
    margin-bottom: 30px;
    display: flex;
}

.career-col > * {
    width: 100%;
}

.career-card {
    background: #f8f8fb;
    padding: 35px;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.career-card:hover {
    border-color: #7c3aed;
    box-shadow: 0 10px 30px rgba(124, 58, 237, 0.1);
    transform: translateY(-5px);
}

.career-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
    gap: 15px;
}

.career-title {
    font-size: 24px;
    font-weight: 700;
    color: #2d1b4e;
    margin: 0;
}

.career-type {
    background: #7c3aed;
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.career-description {
    color: #64748b;
    line-height: 1.7;
    margin-bottom: 20px;
    flex-grow: 1;
}

.career-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.career-tag {
    background: white;
    color: #7c3aed;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    border: 1px solid #e2e8f0;
}

.career-button {
    display: inline-block;
    background: linear-gradient(135deg, #7c3aed 0%, #5b21b6 100%);
    color: white;
    padding: 12px 30px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: transform 0.3s, box-shadow 0.3s;
    text-align: center;
}

.career-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(124, 58, 237, 0.3);
    color: white;
    text-decoration: none;
}

.cta {
    padding: 100px 0;
    text-align: center;
    background: linear-gradient(135deg, #7c3aed 0%, #5b21b6 100%);
    color: white;
}

.cta h2 {
    font-size: 42px;
    margin-bottom: 20px;
    font-weight: 800;
    color: white;
}

.cta p {
    font-size: 18px;
    margin-bottom: 40px;
    color: rgba(255, 255, 255, 0.9);
}

.cta-button {
    display: inline-block;
    background: white;
    color: #7c3aed;
    padding: 18px 50px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 18px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    color: #7c3aed;
    text-decoration: none;
}

.footer {
    padding: 40px 0;
    border-top: 1px solid #e2e8f0;
    background: white;
    position: relative;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 15px;
}

.footer p {
    margin: 0;
    color: #64748b;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icon {
    width: 40px;
    height: 40px;
    background: #f1f5f9;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #7c3aed;
    text-decoration: none;
    transition: background 0.3s, transform 0.3s;
    border: 1px solid #e2e8f0;
}

.social-icon:hover {
    background: #7c3aed;
    color: white;
    transform: translateY(-3px);
}

.social-icon svg {
    width: 20px;
    height: 20px;
}

@media (max-width: 768px) {
    .navbar {
        background: rgba(45, 27, 78, 0.95);
    }

    .navbar-collapse {
        padding: 20px;
        border-radius: 8px;
        margin-top: 15px;
        transition: height 0.35s ease, padding 0.35s ease, margin 0.35s ease !important;
    }
    
    .navbar-collapse.collapsing {
        padding-top: 0;
        padding-bottom: 0;
        margin-top: 0;
        overflow: hidden;
    }
    
    .navbar-nav {
        transition: none;
    }
    
    .navbar-collapse.show .navbar-nav {
        opacity: 1;
        transition: none;
    }
    
    .navbar-collapse.collapsing .navbar-nav {
        opacity: 0;
        transition: opacity 0.25s ease;
    }
    
    .navbar-collapse.collapse:not(.show) {
        padding: 0;
        margin-top: 0;
    }
    
    .navbar-collapse.collapse:not(.show) .navbar-nav {
        opacity: 0;
    }

    .hero h1 {
        font-size: 36px;
    }

    .section-title {
        font-size: 32px;
    }

    .stats {
        flex-wrap: wrap;
        gap: 20px;
    }

    .stat {
        flex: 1 1 100%;
    }

    .stat-number {
        font-size: 36px;
    }

    .cta h2 {
        font-size: 32px;
    }
}