﻿/* ==============================================================
   GAME DEV INSTRUCTOR THEME (Unique Prefix: gdev-)
   ============================================================== */

/* Section Variables */
#gdev-instructors-section {
    --gdev-bg: #12141a;
    --gdev-card-bg: #1a1e26;
    --gdev-primary: #00f3ff; /* Unity Neon Cyan */
    --gdev-secondary: #9d00ff; /* Gamer Purple */
    --gdev-text-main: #ffffff;
    --gdev-text-muted: #8b94a5;
    
    position: relative;
}

/* Heading Styles */
.gdev-section-heading {
    margin-bottom: 50px;
    position: relative;
}

.gdev-glitch-title {
    color: #9d00ff;
    font-size: 28px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.gdev-text-neon {
    color: var(--gdev-primary);
    text-shadow: 0 0 10px rgba(0, 243, 255, 0.4), 0 0 20px rgba(0, 243, 255, 0.2);
}

.gdev-heading-divider {
    height: 3px;
    width: 80px;
    background: linear-gradient(90deg, var(--gdev-primary), var(--gdev-secondary));
    margin: 15px auto 0;
    border-radius: 2px;
    box-shadow: 0 0 10px rgba(0, 243, 255, 0.5);
}

/* Card Wrapper (For Slider Spacing) */
.gdev-card-wrapper {
    padding: 15px;
    direction: rtl;
}

/* Main Card - Cyberpunk / Sci-fi Shape */
.gdev-instructor-card {
    background: var(--gdev-card-bg);
    position: relative;
    /* Clip-path for chamfered corners (Very Gamer-like) */
    clip-path: polygon(20px 0, 100% 0, 100% calc(100% - 20px), calc(100% - 20px) 100%, 0 100%, 0 20px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

    .gdev-instructor-card:hover {
        transform: translateY(-8px);
        /* Glow effect on hover */
        filter: drop-shadow(0 15px 25px rgba(0, 243, 255, 0.15));
    }

    .gdev-instructor-card::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 4px;
        height: 100%;
        background: linear-gradient(to bottom, var(--gdev-primary), var(--gdev-secondary));
        z-index: 2;
    }

.gdev-card-inner {
    padding: 25px 20px 0 20px;
}

/* Avatar Frame */
.gdev-avatar-container {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.gdev-avatar-frame {
    width: 120px;
    height: 120px;
    padding: 4px;
    background: linear-gradient(45deg, var(--gdev-primary), transparent, var(--gdev-secondary));
    border-radius: 50%; /* Or change to hexagon if you prefer */
    transition: all 0.4s ease;
    animation: gdev-pulse-border 3s infinite alternate;
}

.gdev-instructor-card:hover .gdev-avatar-frame {
    transform: scale(1.05) rotate(5deg);
}

.gdev-avatar-img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    background-color: var(--gdev-bg);
    border: 3px solid var(--gdev-card-bg);
}

/* Instructor Info */
.gdev-instructor-info {
    text-align: center;
    margin-bottom: 20px;
}

.gdev-instructor-name {
    margin: 0 0 8px 0;
    font-size: 18px;
}

    .gdev-instructor-name a {
        color: var(--gdev-text-main);
        text-decoration: none;
        transition: color 0.2s;
        font-weight: bold;
    }

.gdev-instructor-card:hover .gdev-instructor-name a {
    color: var(--gdev-primary);
}

.gdev-instructor-job {
    color: var(--gdev-text-muted);
    font-size: 13px;
    background: rgba(255, 255, 255, 0.05);
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Social Network (Gamer Style) */
.gdev-social-network {
    list-style: none;
    padding: 0;
    margin: 15px 0 0 0;
    display: flex;
    justify-content: center;
    gap: 10px;
}

.gdev-social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    background: rgba(0, 0, 0, 0.3);
    color: var(--gdev-text-muted);
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

    .gdev-social-btn:hover {
        color: #fff;
        transform: translateY(-3px);
    }

    .gdev-social-btn.gdev-yt:hover {
        background: #ff0000;
        box-shadow: 0 0 10px rgba(255,0,0,0.5);
        border-color: transparent;
    }

    .gdev-social-btn.gdev-ig:hover {
        background: #e1306c;
        box-shadow: 0 0 10px rgba(225,48,108,0.5);
        border-color: transparent;
    }

    .gdev-social-btn.gdev-li:hover {
        background: #0077b5;
        box-shadow: 0 0 10px rgba(0,119,181,0.5);
        border-color: transparent;
    }

    .gdev-social-btn.gdev-ap:hover {
        background: #ea1d5d;
        box-shadow: 0 0 10px rgba(234,29,93,0.5);
        border-color: transparent;
    }

    .gdev-social-btn img {
        filter: grayscale(100%) opacity(0.7);
        transition: all 0.3s;
    }

    .gdev-social-btn:hover img {
        filter: grayscale(0%) opacity(1);
    }

/* HUD Stats (Like RPG Stats) */
.gdev-stats-hud {
    display: flex;
    background: rgba(0, 0, 0, 0.4);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 15px 0;
}

.gdev-stat-box {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.gdev-stat-icon {
    color: var(--gdev-primary);
    font-size: 20px;
    opacity: 0.8;
}

.gdev-stat-details {
    display: flex;
    flex-direction: column;
    text-align: right;
}

.gdev-stat-value {
    color: var(--gdev-text-main);
    font-weight: 800;
    font-size: 16px;
    line-height: 1;
    font-family: monospace; /* Gamer numbering */
}

.gdev-stat-label {
    color: var(--gdev-text-muted);
    font-size: 11px;
    margin-top: 3px;
}

.gdev-stat-divider {
    width: 1px;
    background: rgba(255, 255, 255, 0.1);
}

/* Decorative HUD Elements */
.gdev-card-decor {
    position: absolute;
    width: 15px;
    height: 15px;
    border: 2px solid transparent;
    pointer-events: none;
    z-index: 10;
}

.gdev-decor-tl {
    top: 10px;
    right: 10px;
    border-top-color: var(--gdev-primary);
    border-right-color: var(--gdev-primary);
}

.gdev-decor-br {
    bottom: 10px;
    left: 10px;
    border-bottom-color: var(--gdev-primary);
    border-left-color: var(--gdev-primary);
}

@keyframes gdev-pulse-border {
    0% {
        filter: drop-shadow(0 0 5px rgba(0, 243, 255, 0.2));
    }

    100% {
        filter: drop-shadow(0 0 15px rgba(157, 0, 255, 0.4));
    }
}
