/* Team Page CSS - Fixed and Simplified */


/* Base Variables */

:root {
    --primary-color: #4a6fff;
    --secondary-color: #ff6b6b;
    --accent-color: #00d4aa;
    --accent-color2: #044d85;
    --text-dark: #333333;
    --text-light: #666666;
    --text-lighter: #888888;
    --background-light: #ffffff;
    --background-gray: #f8f9fa;
    --border-color: #e0e0e0;
    --shadow-light: 0 5px 20px rgba(38, 136, 255, 0.445);
    --shadow-medium: 0 10px 30px rgba(255, 23, 147, 0.492);
    --border-radius: 12px;
    --online-color: #00d4aa;
    --away-color: #ffb74d;
    --busy-color: #ff6b6b;
    --offline-color: #888888;
}


/* Base Styles */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--background-light);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
}

#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #ffffff;
    z-index: 99999;
    /* Highest priority */
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    /* "Blueprint" Grid Pattern */
    transition: opacity 0.6s ease-out, visibility 0.6s;
    overflow: hidden;
    /* Prevent scrollbars during load */
}


/* 1. LOGO STYLES */

.logo-container2 {
    position: relative;
    margin-bottom: 25px;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    animation: preloaderContent 3s ease-in-out forwards;
}

.logo-icon {
    width: 300px;
    height: 300px;
    background: #ffffff;
    /* Hexagon Shape */
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
}

.logo-icon span {
    color: #fff;
    font-family: 'Orbitron', sans-serif;
    font-weight: 900;
    font-size: 32px;
}

.logo-ring {
    position: absolute;
    width: 110px;
    height: 110px;
    border: 2px dashed #6200ea;
    /* Electric Purple */
    border-radius: 50%;
    animation: spin 8s linear infinite;
    z-index: 1;
}


/* 2. TEXT STYLES */

h1.brand-name {
    font-family: 'Orbitron', sans-serif;
    font-size: 4rem;
    font-weight: 900;
    color: #1a1a1a;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: -2px;
    position: relative;
    text-align: center;
    line-height: 1;
    opacity: 0;
    animation: preloaderContent 3s ease-in-out forwards;
    animation-delay: 0.2s;
}


/* Glitch Layers */

h1.brand-name::before,
h1.brand-name::after {
    content: "GameLiminals";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #ffffff;
    opacity: 0.8;
}

h1.brand-name::before {
    color: #ff0055;
    z-index: -1;
    animation: glitch-anim-1 2.5s infinite linear alternate-reverse;
}

h1.brand-name::after {
    color: #00f0ff;
    z-index: -2;
    animation: glitch-anim-2 3s infinite linear alternate-reverse;
}

.tagline-box {
    background: linear-gradient(255deg, rgba(125, 147, 255, 1) 0%, rgba(252, 70, 107, 1) 100%);
    color: #fff;
    padding: 8px 24px;
    margin-top: 20px;
    font-size: 1.1rem;
    letter-spacing: 4px;
    display: inline-block;
    box-shadow: 6px 6px 0px rgba(98, 0, 234, 0.2);
    opacity: 0;
    animation: preloaderContent 3s ease-in-out forwards;
    animation-delay: 0.4s;
}

.tagline-text {
    display: block;
    font-family: 'Share Tech Mono', monospace;
    /* Ensure you import this font */
    font-weight: bold;
}


/* 3. LOADING BAR */

.loader-wrapper {
    margin-top: 45px;
    width: 300px;
    max-width: 80%;
    text-align: center;
    opacity: 0;
    animation: preloaderContent 3s ease-in-out forwards;
    animation-delay: 0.6s;
}

.loading-text {
    font-family: 'Share Tech Mono', monospace;
    font-size: 14px;
    color: #555;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
}

.progress-bar-bg {
    width: 100%;
    height: 4px;
    background: #e0e0e0;
    position: relative;
    overflow: hidden;
    border-radius: 2px;
}

.progress-bar-fill {
    height: 100%;
    background: #6200ea;
    width: 0%;
    box-shadow: 0 0 10px rgba(98, 0, 234, 0.5);
    animation: fillBar 3s ease-in-out forwards;
}


/* 4. ANIMATIONS */

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

@keyframes fillBar {
    0% {
        width: 0%;
    }

    40% {
        width: 30%;
    }

    70% {
        width: 70%;
    }

    100% {
        width: 100%;
    }
}

@keyframes preloaderContent {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }

    15% {
        opacity: 1;
        transform: translateY(0);
    }

    85% {
        opacity: 1;
        transform: translateY(0);
    }

    100% {
        opacity: 0;
        transform: translateY(-20px);
    }
}


/* Glitch Keyframes */

@keyframes glitch-anim-1 {
    0% {
        clip-path: inset(20% 0 80% 0);
        transform: translate(-2px, 0);
    }

    20% {
        clip-path: inset(60% 0 10% 0);
        transform: translate(2px, 0);
    }

    40% {
        clip-path: inset(40% 0 50% 0);
        transform: translate(-2px, 0);
    }

    60% {
        clip-path: inset(80% 0 5% 0);
        transform: translate(2px, 0);
    }

    80% {
        clip-path: inset(10% 0 60% 0);
        transform: translate(-1px, 0);
    }

    100% {
        clip-path: inset(30% 0 30% 0);
        transform: translate(1px, 0);
    }
}

@keyframes glitch-anim-2 {
    0% {
        clip-path: inset(10% 0 60% 0);
        transform: translate(2px, 0);
    }

    20% {
        clip-path: inset(30% 0 20% 0);
        transform: translate(-2px, 0);
    }

    40% {
        clip-path: inset(70% 0 10% 0);
        transform: translate(2px, 0);
    }

    60% {
        clip-path: inset(20% 0 50% 0);
        transform: translate(-2px, 0);
    }

    80% {
        clip-path: inset(50% 0 30% 0);
        transform: translate(2px, 0);
    }

    100% {
        clip-path: inset(0% 0 80% 0);
        transform: translate(-1px, 0);
    }
}


/* Helper Class to Hide */

.hide-preloader {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none;
}


/* =========================================
   RESPONSIVE QUERIES
   ========================================= */


/* Tablet & Small Laptops (Max Width: 992px) */

@media (min-width: 1280px) and (max-width: 1450px) {
    .logo-title {
        display: none;
    }

    .logo-subtitle {
        display: none;
    }
}

@media (max-width: 1280px) {
    .logo-title {
        display: none;
    }

    .logo-subtitle {
        display: none;
    }
}

@media (max-width: 992px) {
    h1.brand-name {
        font-size: 3rem;
    }

    .logo-icon {
        width: 300px;
        height: 300px;
    }

    .logo-ring {
        width: 95px;
        height: 95px;
    }

    .logo-icon span {
        font-size: 28px;
    }
}


/* Mobile Devices (Max Width: 600px) */

@media (max-width: 600px) {
    h1.brand-name {
        font-size: 2.2rem;
        letter-spacing: -1px;
    }

    .tagline-box {
        font-size: 0.8rem;
        padding: 5px 12px;
    }

    .loader-wrapper {
        width: 220px;
        margin-top: 35px;
    }

    .logo-icon {
        width: 200px;
        height: 200px;
    }

    .logo-ring {
        width: 85px;
        height: 85px;
    }

    .logo-icon span {
        font-size: 24px;
    }
}


/* Mini Mobile / Older Devices (Max Width: 380px) */

@media (max-width: 380px) {
    h1.brand-name {
        font-size: 1.8rem;
    }

    /* Prevent text wrapping */
    .tagline-box {
        font-size: 0.7rem;
        letter-spacing: 1px;
        transform: skewX(-10deg);
        /* Reduce skew to save space */
    }

    .tagline-text {
        transform: skewX(10deg);
    }

    .logo-container {
        margin-bottom: 15px;
    }

    .logo-icon {
        width: 150px;
        height: 150px;
    }

    .logo-ring {
        width: 70px;
        height: 70px;
    }

    .logo-icon span {
        font-size: 20px;
    }

    .loader-wrapper {
        width: 180px;
        margin-top: 25px;
    }
}


/* 6. Animations */

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

@keyframes fillBar {
    0% {
        width: 0%;
    }

    40% {
        width: 30%;
    }

    70% {
        width: 70%;
    }

    100% {
        width: 100%;
    }
}


/* Glitch Keyframes */

@keyframes glitch-anim-1 {
    0% {
        clip-path: inset(20% 0 80% 0);
        transform: translate(-2px, 0);
    }

    20% {
        clip-path: inset(60% 0 10% 0);
        transform: translate(2px, 0);
    }

    40% {
        clip-path: inset(40% 0 50% 0);
        transform: translate(-2px, 0);
    }

    60% {
        clip-path: inset(80% 0 5% 0);
        transform: translate(2px, 0);
    }

    80% {
        clip-path: inset(10% 0 60% 0);
        transform: translate(-1px, 0);
    }

    100% {
        clip-path: inset(30% 0 30% 0);
        transform: translate(1px, 0);
    }
}

@keyframes glitch-anim-2 {
    0% {
        clip-path: inset(10% 0 60% 0);
        transform: translate(2px, 0);
    }

    20% {
        clip-path: inset(30% 0 20% 0);
        transform: translate(-2px, 0);
    }

    40% {
        clip-path: inset(70% 0 10% 0);
        transform: translate(2px, 0);
    }

    60% {
        clip-path: inset(20% 0 50% 0);
        transform: translate(-2px, 0);
    }

    80% {
        clip-path: inset(50% 0 30% 0);
        transform: translate(2px, 0);
    }

    100% {
        clip-path: inset(0% 0 80% 0);
        transform: translate(-1px, 0);
    }
}


/* JS Helper Class */

.hide-preloader {
    opacity: 0 !important;
    visibility: hidden !important;
}

.preloader-progress {
    width: 100%;
    max-width: 400px;
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
    margin-top: 2rem;
}

.progress-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: 4px;
    transition: width 1.5s cubic-bezier(0.65, 0, 0.35, 1);
    position: relative;
    overflow: hidden;
}

.progress-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: progressShine 2s infinite;
}

@keyframes logoFloat {

    0%,
    100% {
        transform: translateY(0) scale(1);
    }

    50% {
        transform: translateY(-15px) scale(1.05);
    }
}

@keyframes titleReveal {
    to {
        opacity: 1;
        transform: translateY(0) rotateY(0);
    }
}

@keyframes taglineReveal {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes progressShine {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(100%);
    }
}


/* Custom Cursor - Fixed */

.cursor {
    position: fixed;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    background: rgba(74, 111, 255, 0.3);
    border: 2px solid var(--primary-color);
    pointer-events: none;
    z-index: 9999;
    transition: transform 0.15s, width 0.2s, height 0.2s;
    mix-blend-mode: normal;
    box-shadow: 0 0 10px rgba(74, 111, 255, 0.5);
    display: block;
}

.cursor.hover {
    transform: scale(1.8);
    background: rgba(255, 107, 107, 0.3);
    border-color: var(--secondary-color);
}


/* Header & Navigation - Fixed */

header {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
    box-shadow: var(--shadow-light);
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-img {
    height: 60px;
    width: auto;
    filter: none;
}

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

.logo-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: 0.5px;
}

.logo-subtitle {
    font-size: 0.75rem;
    color: var(--text-light);
    letter-spacing: 1px;
    font-weight: 500;
}

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

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--primary-color);
    background: rgba(74, 111, 255, 0.08);
}

.nav-link.active {
    color: var(--primary-color);
    background: rgba(74, 111, 255, 0.15);
    font-weight: 600;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 3px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    left: 50%;
    bottom: -6px;
    transform: translateX(-50%);
    transition: width 0.3s ease;
    border-radius: 2px;
}

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

.hamburger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 4px;
    padding: 8px;
}

.bar {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
    transition: 0.3s;
}


/* Hero Section */

section {
    padding: 80px 0;
}

.section-light {
    background: var(--background-gray);
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--text-dark);
    font-family: 'Orbitron', sans-serif;
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 3rem;
    font-size: 1.1rem;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

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

.hero-title {
    font-size: 3.2rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    font-family: 'Orbitron', sans-serif;
}

.highlight {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: 800;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-lighter);
    margin-bottom: 2.5rem;
    line-height: 1.8;
}


/* Team Hero Section */

.team-hero {
    padding: 140px 5% 80px;
    background: #ffffff;
    position: relative;
    overflow: hidden;
}

.team-hero .hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.team-hero .hero-title {
    color: rgb(0, 0, 0);
}

.team-hero .hero-subtitle {
    color: #666666;
}

.team-hero .hero-description {
    color: #044d85;
    font-weight: 500;
}

.team-hero-visual {
    position: relative;
    width: 100%;
    height: 400px;
}

.floating-team-elements {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.team-element {
    position: absolute;
    width: 70px;
    height: 70px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: var(--accent-color2);
    border-right: 4px solid #000000;
    border-left: 3px solid #000000;
    border-bottom: 4px solid #000000;
    border-top: 3px solid #000000;
    backdrop-filter: blur(10px);
    animation: floatTeamElement 8s infinite ease-in-out;
    transition: all 0.3s ease;
    cursor: pointer;
}

.team-element:hover {
    transform: scale(1.2);
    background: rgba(74, 111, 255, 0.3);
    box-shadow: 0 0 30px rgba(74, 111, 255, 0.5);
}

.team-element:nth-child(1) {
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.team-element:nth-child(2) {
    top: 20%;
    right: 15%;
    animation-delay: 1s;
}

.team-element:nth-child(3) {
    top: 60%;
    left: 5%;
    animation-delay: 2s;
}

.team-element:nth-child(4) {
    top: 40%;
    right: 5%;
    animation-delay: 3s;
}

.team-element:nth-child(5) {
    top: 70%;
    left: 20%;
    animation-delay: 4s;
}

@keyframes floatTeamElement {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(10deg);
    }
}

.team-logo-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 250px;
    height: 250px;
}

.team-main-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 0 30px rgba(74, 111, 255, 0.5));
    animation: logoPulse 3s infinite ease-in-out;
}

.team-badge {
    position: absolute;
    bottom: 0;
    right: 0;
    background: linear-gradient(135deg, var(--secondary-color), #ff4757);
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    font-family: 'Orbitron', sans-serif;
    box-shadow: 0 5px 15px rgba(255, 107, 107, 0.4);
    animation: badgePulse 2s infinite alternate;
}

@keyframes logoPulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.05);
        opacity: 0.9;
    }
}

@keyframes badgePulse {
    from {
        transform: scale(1);
        box-shadow: 0 5px 15px rgba(255, 107, 107, 0.4);
    }

    to {
        transform: scale(1.05);
        box-shadow: 0 8px 20px rgba(255, 107, 107, 0.6);
    }
}


/* Gaming Effects Section */

.gaming-effects {
    padding: 80px 0;
    background: #ffffffff;
}

.game-world-animation {
    position: relative;
    height: 500px;
    border-radius: var(--border-radius);
    overflow: hidden;
    background: linear-gradient(90deg, rgba(199, 193, 247, 1) 0%, rgba(163, 163, 255, 1) 35%, rgba(156, 238, 255, 1) 100%);
    border-right: 8px solid #000000;
    border-left: 3px solid #000000;
    border-bottom: 8px solid #000000;
    border-top: 3px solid #000000;
    box-shadow: 0 20px 40px rgba(31, 140, 212, 0.634);
}

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

.pixel-grid {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(rgba(2, 18, 122, 0.384) 1px, transparent 1px), linear-gradient(90deg, rgba(17, 6, 171, 0.225) 1px, transparent 1px);
    background-size: 40px 40px;
    animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
    0% {
        background-position: 0 0;
    }

    100% {
        background-position: 40px 40px;
    }
}

.game-characters {
    position: absolute;
    width: 100%;
    height: 100%;
}

.character {
    position: absolute;
    transform: translate(-50%, -50%);
    animation: characterFloat 6s infinite ease-in-out;
    cursor: pointer;
}

.character:nth-child(1) {
    animation-delay: 0s;
}

.character:nth-child(2) {
    animation-delay: 1s;
}

.character:nth-child(3) {
    animation-delay: 2s;
}

.character:nth-child(4) {
    animation-delay: 3s;
}

.character-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: white;
    border-right: 4px solid #000000;
    border-left: 3px solid #000000;
    border-bottom: 4px solid #000000;
    border-top: 3px solid #000000;
    transition: all 0.3s ease;
}

.character:hover .character-icon {
    transform: scale(1.3);
    box-shadow: 0 0 30px rgba(74, 111, 255, 0.8);
}

@keyframes characterFloat {

    0%,
    100% {
        transform: translate(-50%, -50%);
    }

    50% {
        transform: translate(-50%, calc(-50% - 15px));
    }
}

.game-items {
    position: absolute;
    width: 100%;
    height: 100%;
}

.item {
    position: absolute;
    font-size: 1.5rem;
    color: var(--accent-color);
    animation: itemFloat 8s infinite ease-in-out;
    filter: drop-shadow(0 0 10px rgba(0, 212, 170, 0.5));
    cursor: pointer;
}

.item:nth-child(1) {
    animation-delay: 0.5s;
}

.item:nth-child(2) {
    animation-delay: 2.5s;
}

.item:nth-child(3) {
    animation-delay: 4.5s;
}

.item:nth-child(4) {
    animation-delay: 6.5s;
}

@keyframes itemFloat {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(20deg);
    }
}

.power-ups {
    position: absolute;
    width: 100%;
    height: 100%;
}

.power-up {
    position: absolute;
    font-size: 1.3rem;
    color: var(--secondary-color);
    animation: powerUpGlow 2s infinite alternate;
    cursor: pointer;
}

.power-up:nth-child(1) {
    animation-delay: 0s;
}

.power-up:nth-child(2) {
    animation-delay: 0.7s;
}

.power-up:nth-child(3) {
    animation-delay: 1.4s;
}

@keyframes powerUpGlow {
    from {
        filter: drop-shadow(0 0 5px rgba(255, 107, 107, 0.5));
        transform: scale(1);
    }

    to {
        filter: drop-shadow(0 0 15px rgba(255, 107, 107, 0.8));
        transform: scale(1.2);
    }
}

.game-effects-text {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    background: rgba(0, 64, 255, 0.8);
    padding: 1rem 2rem;
    border-radius: var(--border-radius);
    border-right: 8px solid #000000;
    border-left: 3px solid #000000;
    border-bottom: 8px solid #000000;
    border-top: 3px solid #000000;
    backdrop-filter: blur(10px);
}

.game-effects-text h3 {
    color: white;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    font-family: 'Orbitron', sans-serif;
}

.game-effects-text p {
    color: #ffffff;
    font-size: 1rem;
}


/* Team Categories */

.team-categories {
    padding: 80px 0;
    background: var(--background-gray);
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.category-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--shadow-light);
    border-right: 8px solid #000000;
    border-left: 3px solid #000000;
    border-bottom: 8px solid #000000;
    border-top: 3px solid #000000;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.category-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-medium);
    border-color: var(--primary-color);
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
}

.category-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: white;
}

.category-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.category-card p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.category-badge {
    display: inline-block;
    background: rgba(74, 111, 255, 0.1);
    color: var(--primary-color);
    padding: 0.5rem 1.2rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    border-right: 4px solid #000000;
    border-left: 3px solid #000000;
    border-bottom: 4px solid #000000;
    border-top: 3px solid #000000;
    position: relative;
    overflow: hidden;
}

.category-badge::before {
    content: attr(data-count);
    position: absolute;
    right: -25px;
    top: -10px;
    background: var(--secondary-color);
    color: white;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: bold;
}


/* Team Members Grid - Removed Skills */

.team-members {
    padding: 80px 0;
    background: #ffffff;
}

.team-members .section-title {
    color: rgba(0, 0, 0, 0.685);
}

.team-members .section-subtitle {
    color: #2e2e2ea5;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.team-member-card {
    background: rgba(250, 192, 243, 0.218);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(74, 111, 255, 0.3);
    border-right: 8px solid #000000;
    border-left: 3px solid #000000;
    border-bottom: 8px solid #000000;
    border-top: 3px solid #000000;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    padding: 2rem;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    text-align: center;
    cursor: pointer;
}

.team-member-card:hover {
    transform: translateY(-15px);
    background: rgba(74, 111, 255, 0.1);
    border-color: var(--primary-color);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.team-member-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, rgba(131, 58, 180, 1) 0%, rgba(253, 29, 29, 1) 50%, rgba(252, 176, 69, 1) 100%);
}

.member-image {
    position: relative;
    margin-bottom: 1.5rem;
}

.member-image-container {
    width: 150px;
    height: 150px;
    margin: 0 auto;
    position: relative;
}

.member-image-container img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid rgb(2, 23, 85);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.team-member-card:hover .member-image-container img {
    border-color: var(--accent-color);
    transform: scale(1.05);
}

.member-status {
    position: absolute;
    bottom: 10px;
    right: 10px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 1px solid rgba(10, 14, 26, 0.8);
}

.member-status.online {
    background-color: var(--online-color);
    box-shadow: 0 0 10px var(--online-color);
}

.member-status.away {
    background-color: var(--away-color);
    box-shadow: 0 0 10px var(--away-color);
}

.member-status.busy {
    background-color: var(--busy-color);
    box-shadow: 0 0 10px var(--busy-color);
}

.member-status.offline {
    background-color: var(--offline-color);
    box-shadow: 0 0 10px var(--offline-color);
}

.member-level {
    position: absolute;
    top: 0;
    right: 30%;
    background: linear-gradient(90deg, rgba(2, 0, 36, 1) 0%, rgba(9, 9, 121, 1) 35%, rgba(0, 212, 255, 1) 100%);
    color: white;
    border: #000000 2px solid;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    font-family: 'Orbitron', sans-serif;
    box-shadow: 0 5px 15px rgba(255, 107, 107, 0.4);
}

.member-info {
    margin-bottom: 1.5rem;
}

.member-name {
    font-size: 1.6rem;
    color: #044d85;
    margin-bottom: 0.5rem;
    font-family: 'Orbitron', sans-serif;
}

.member-position {
    color: #e20477c1;
    font-size: 1.1rem;
    margin-bottom: 1rem;
    font-weight: 500;
}

.member-quote {
    color: #000000;
    font-style: italic;
    font-size: 0.95rem;
    line-height: 1.5;
    position: relative;
    padding: 0 1rem;
}

.member-quote::before,
.member-quote::after {
    content: '"';
    color: var(--primary-color);
    font-size: 1.2rem;
}

.member-social {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.social-icon {
    width: 40px;
    height: 40px;
    background: #ff4757ed;
    border-radius: 50%;
    border-right: #000000 5px solid;
    border-top: #000000 2px solid;
    border-bottom: #000000 2px solid;
    border-left: #000000 2px solid;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-icon:hover {
    background: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(74, 111, 255, 0.4);
}


/* Add these to your existing team-style.css */

.loading-members,
.no-members,
.error-members {
    grid-column: 1 / -1;
    text-align: center;
    padding: 3rem;
    color: #94a3b8;
    font-size: 1.2rem;
}

.error-members {
    color: var(--secondary-color);
}


/* Join Team CTA */

.join-team-cta {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    text-align: center;
}

.join-team-cta h2 {
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
    font-family: 'Orbitron', sans-serif;
}

.join-team-cta p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 3rem;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 0.9rem 2rem;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.cta-button.primary {
    background: white;
    color: var(--primary-color);
    border-right: 8px solid #000000;
    border-left: 3px solid #000000;
    border-bottom: 8px solid #000000;
    border-top: 3px solid #000000;
}

.cta-button.secondary {
    background: transparent;
    color: white;
    border-right: 8px solid #000000;
    border-left: 3px solid #000000;
    border-bottom: 8px solid #000000;
    border-top: 3px solid #000000;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-medium);
}

.cta-button.secondary:hover {
    background: rgba(255, 255, 255, 0.1);
}


/* Footer */

footer {
    background: #1a1a1a;
    color: white;
    padding: 3rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-col h4 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: white;
    font-family: 'Orbitron', sans-serif;
}

.footer-logo h3 {
    font-size: 1.8rem;
    color: white;
    margin-bottom: 0.5rem;
    font-family: 'Orbitron', sans-serif;
}

.footer-logo p {
    color: #aaa;
    font-size: 0.9rem;
}

.footer-address {
    color: #aaa;
    font-size: 0.9rem;
    margin-top: 1rem;
    line-height: 1.6;
}

.footer-address i {
    color: var(--primary-color);
    margin-right: 0.5rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: #aaa;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: var(--primary-color);
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: #aaa;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.social-link:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}

.social-link i {
    font-size: 1.1rem;
    width: 20px;
}

.footer-email {
    color: #aaa;
    font-size: 0.9rem;
    margin-top: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-email i {
    color: var(--primary-color);
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 2rem;
    text-align: center;
}

.copyright {
    color: #aaa;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.footer-note {
    color: #666;
    font-size: 0.8rem;
    font-style: italic;
}


/* Responsive Design */

@media (max-width: 1200px) {
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .team-hero .hero-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .team-hero-visual {
        height: 300px;
    }

    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }

    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: rgba(255, 255, 255, 0.98);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        padding: 2rem 0;
        backdrop-filter: blur(20px);
        border-top: 1px solid var(--border-color);
        box-shadow: var(--shadow-medium);
    }

    .nav-menu.active {
        left: 0;
    }
}

@media (max-width: 768px) {
    body {
        cursor: auto;
    }

    .cursor {
        display: none;
    }

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

    .team-grid {
        grid-template-columns: 1fr;
    }

    .game-world-animation {
        height: 400px;
    }

    .join-team-cta h2 {
        font-size: 2.2rem;
    }

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

    .team-main-logo {
        width: 300px;
        height: 200px;
        position: absolute;
        top: 10%;
        left: -10%;
    }

    .hamburger {
        display: flex;
        z-index: 1001;
        position: relative;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 80px;
        flex-direction: column;
        background: rgba(255, 255, 255, 0.98);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        padding: 2rem 0;
        backdrop-filter: blur(20px);
        border-top: 1px solid var(--border-color);
        box-shadow: var(--shadow-medium);
        z-index: 1000;
    }

    .nav-menu.active {
        left: 0;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    .cursor {
        display: none;
    }

    /* Adjust header spacing */
    header {
        padding: 1rem 5%;
        justify-content: space-between;
    }

    .logo-container {
        flex: 1;
        min-width: 0;
    }

    .logo-img {
        height: 35px;
        filter: none;
    }

    .logo-title {
        display: none;
    }

    .logo-subtitle {
        display: none;
    }

    .nav-menu li {
        margin: 1.5rem 0;
    }

    .nav-link {
        font-size: 1.2rem;
    }

    /* Adjust header for better spacing */
    header {
        padding: 0.8rem 5%;
    }

    .logo-container {
        flex: 1;
    }
}

@media (max-width: 480px) {
    .team-hero .hero-title {
        font-size: 2.2rem;
    }

    .team-hero .hero-subtitle {
        font-size: 1.1rem;
    }

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

    .category-grid {
        grid-template-columns: 1fr;
    }

    .member-image-container {
        width: 120px;
        height: 120px;
    }

    .member-name {
        font-size: 1.4rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}