/* Gamify Theme - Professional Arcade Gaming Aesthetic */

/* ===== CSS VARIABLES ===== */
:root {
    /* Primary Color Palette */
    --gamify-primary: #555af6; /* Cornflower Blue */
    --gamify-secondary: #a255fb; /* Heliotrope */
    --gamify-accent: #1e9ffb; /* Dodger Blue */
    --gamify-dark: #1c2081; /* Jacksons Purple */

    /* Color Variations */
    --gamify-primary-light: #7b7ff7;
    --gamify-primary-dark: #3d3ff4;
    --gamify-secondary-light: #b876fc;
    --gamify-secondary-dark: #8a34fa;
    --gamify-accent-light: #4bb3fc;
    --gamify-accent-dark: #0c8bfa;
    --gamify-dark-light: #2a2b9a;
    --gamify-dark-darker: #151766;

    /* Neutral Colors */
    --gamify-white: #ffffff;
    --gamify-light-gray: #f8f9fa;
    --gamify-gray: #6c757d;
    --gamify-dark-gray: #343a40;

    /* Status Colors */
    --gamify-success: #10b981;
    --gamify-warning: #f59e0b;
    --gamify-danger: #ef4444;
    --gamify-info: var(--gamify-accent);

    /* Gaming Elements */
    --gamify-neon-glow: 0 0 20px rgba(85, 90, 246, 0.5);
    --gamify-card-shadow: 0 8px 32px rgba(28, 32, 129, 0.15);
    --gamify-hover-shadow: 0 12px 40px rgba(85, 90, 246, 0.25);

    /* Typography */
    --gamify-font-primary: "Inter", -apple-system, BlinkMacSystemFont,
        sans-serif;
    --gamify-font-gaming: "Orbitron", "Inter", monospace;

    /* Spacing */
    --gamify-border-radius: 12px;
    --gamify-border-radius-lg: 16px;
    --gamify-border-radius-sm: 8px;
}

/* ===== UTILITY CLASSES ===== */

/* Background Colors */
.bg-gamify-primary {
    background-color: var(--gamify-primary) !important;
}
.bg-gamify-secondary {
    background-color: var(--gamify-secondary) !important;
}
.bg-gamify-accent {
    background-color: var(--gamify-accent) !important;
}
.bg-gamify-dark {
    background-color: var(--gamify-dark) !important;
}
.bg-gamify-gradient {
    background: linear-gradient(
        135deg,
        var(--gamify-primary),
        var(--gamify-secondary)
    ) !important;
}
.bg-gamify-gradient-dark {
    background: linear-gradient(
        135deg,
        var(--gamify-dark),
        var(--gamify-primary)
    ) !important;
}

/* Text Colors */
.text-gamify-primary {
    color: var(--gamify-primary) !important;
}
.text-gamify-secondary {
    color: var(--gamify-secondary) !important;
}
.text-gamify-accent {
    color: var(--gamify-accent) !important;
}
.text-gamify-dark {
    color: var(--gamify-dark) !important;
}

/* Border Colors */
.border-gamify-primary {
    border-color: var(--gamify-primary) !important;
}
.border-gamify-secondary {
    border-color: var(--gamify-secondary) !important;
}
.border-gamify-accent {
    border-color: var(--gamify-accent) !important;
}

/* ===== COMPONENT OVERRIDES ===== */

/* Sidebar Styling */
.pc-sidebar {
    background: linear-gradient(
        180deg,
        var(--gamify-dark) 0%,
        var(--gamify-dark-darker) 100%
    ) !important;
    border-right: 2px solid var(--gamify-primary) !important;
    box-shadow: 2px 0 10px rgba(85, 90, 246, 0.1);
}

.pc-sidebar .navbar-brand,
.pc-sidebar .b-brand {
    color: var(--gamify-white) !important;
}

/* Enhanced Sidebar Logo */
.gamify-sidebar-logo {
    display: flex;
    align-items: center;
    padding: 0.5rem 0;
    transition: all 0.3s ease;
}

.gamify-sidebar-logo:hover {
    transform: scale(1.02);
}

.gamify-sidebar-logo i {
    text-shadow: 0 0 10px var(--gamify-primary);
    animation: gamify-pulse 3s infinite;
}

.gamify-sidebar-logo span {
    text-shadow: 0 0 5px var(--gamify-primary);
    letter-spacing: 1px;
    font-family: "Orbitron", monospace;
}

/* Enhanced User Card */
.pc-user-card {
    background: rgba(28, 32, 129, 0.3) !important;
    border: 1px solid var(--gamify-primary) !important;
    border-radius: 10px;
    backdrop-filter: blur(5px);
}

.pc-user-card .card-body {
    padding: 1rem;
}

/* Enhanced Navigation Items */
.pc-navbar .pc-item .pc-caption label {
    font-family: "Orbitron", monospace;
    font-weight: 600;
    font-size: 0.75rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.pc-navbar .pc-item .pc-link {
    transition: all 0.3s ease;
    border-radius: 8px;
    margin: 2px 0;
}

.pc-navbar .pc-item .pc-link:hover {
    background: rgba(85, 90, 246, 0.1) !important;
    transform: translateX(5px);
    box-shadow: 0 2px 10px rgba(85, 90, 246, 0.2);
}

.pc-navbar .pc-item .pc-link.active {
    background: var(--gamify-primary) !important;
    color: white !important;
    box-shadow: 0 0 15px rgba(85, 90, 246, 0.4);
}

/* Badge Enhancements */
.pc-navbar .badge {
    font-size: 0.6rem;
    padding: 0.2rem 0.4rem;
    border-radius: 10px;
}

/* Navigation Items */
.pc-navbar .pc-item .pc-link {
    color: rgba(255, 255, 255, 0.8) !important;
    border-radius: var(--gamify-border-radius-sm);
    transition: all 0.3s ease;
}

.pc-navbar .pc-item .pc-link:hover,
.pc-navbar .pc-item .pc-link.active {
    background: linear-gradient(
        90deg,
        var(--gamify-primary),
        var(--gamify-secondary)
    ) !important;
    color: var(--gamify-white) !important;
    box-shadow: var(--gamify-neon-glow);
    transform: translateX(5px);
}

.pc-navbar .pc-item .pc-link .pc-micon {
    color: var(--gamify-accent) !important;
}

.pc-navbar .pc-item .pc-link:hover .pc-micon,
.pc-navbar .pc-item .pc-link.active .pc-micon {
    color: var(--gamify-white) !important;
}

/* Caption Styling */
.pc-navbar .pc-caption label {
    color: var(--gamify-accent) !important;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.75rem;
}

/* User Card */
.pc-user-card {
    background: rgba(255, 255, 255, 0.1) !important;
    border: 1px solid rgba(85, 90, 246, 0.3) !important;
    backdrop-filter: blur(10px);
}

/* Header Styling */
.pc-header {
    background: var(--gamify-white) !important;
    border-bottom: 2px solid var(--gamify-primary) !important;
    box-shadow: 0 2px 20px rgba(85, 90, 246, 0.1);
}

/* Cards */
.card {
    border: none !important;
    border-radius: var(--gamify-border-radius) !important;
    box-shadow: var(--gamify-card-shadow) !important;
    transition: all 0.3s ease;
}

.card:hover {
    box-shadow: var(--gamify-hover-shadow) !important;
    transform: translateY(-2px);
}

.card-header {
    background: linear-gradient(
        90deg,
        var(--gamify-primary),
        var(--gamify-secondary)
    ) !important;
    color: var(--gamify-white) !important;
    border-radius: var(--gamify-border-radius) var(--gamify-border-radius) 0 0 !important;
    border-bottom: none !important;
}

/* Buttons */
.btn-primary {
    background: linear-gradient(
        45deg,
        var(--gamify-primary),
        var(--gamify-secondary)
    ) !important;
    border: none !important;
    border-radius: var(--gamify-border-radius-sm) !important;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(85, 90, 246, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(85, 90, 246, 0.4);
    background: linear-gradient(
        45deg,
        var(--gamify-primary-dark),
        var(--gamify-secondary-dark)
    ) !important;
}

.btn-secondary {
    background: linear-gradient(
        45deg,
        var(--gamify-accent),
        var(--gamify-primary)
    ) !important;
    border: none !important;
    border-radius: var(--gamify-border-radius-sm) !important;
    color: var(--gamify-white) !important;
}

.btn-outline-primary {
    border: 2px solid var(--gamify-primary) !important;
    color: var(--gamify-primary) !important;
    background: transparent !important;
}

.btn-outline-primary:hover {
    background: var(--gamify-primary) !important;
    color: var(--gamify-white) !important;
    box-shadow: var(--gamify-neon-glow);
}

/* Gaming-style Buttons */
.btn-gaming {
    background: linear-gradient(
        45deg,
        var(--gamify-dark),
        var(--gamify-primary)
    ) !important;
    border: 2px solid var(--gamify-accent) !important;
    color: var(--gamify-white) !important;
    font-family: var(--gamify-font-gaming);
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
}

.btn-gaming::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    transition: left 0.5s;
}

.btn-gaming:hover::before {
    left: 100%;
}

/* Tables */
.table {
    border-radius: var(--gamify-border-radius) !important;
    overflow: hidden;
}

.table thead th {
    background: linear-gradient(
        90deg,
        var(--gamify-primary),
        var(--gamify-secondary)
    ) !important;
    color: var(--gamify-white) !important;
    border: none !important;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.table tbody tr:hover {
    background-color: rgba(85, 90, 246, 0.05) !important;
}

/* Forms */
.form-control {
    border: 2px solid rgba(85, 90, 246, 0.2) !important;
    border-radius: var(--gamify-border-radius-sm) !important;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--gamify-primary) !important;
    box-shadow: 0 0 0 0.2rem rgba(85, 90, 246, 0.25) !important;
}

/* Badges */
.badge-primary {
    background: var(--gamify-primary) !important;
}

.badge-secondary {
    background: var(--gamify-secondary) !important;
}

.badge-gaming {
    background: linear-gradient(
        45deg,
        var(--gamify-accent),
        var(--gamify-primary)
    ) !important;
    color: var(--gamify-white) !important;
    font-family: var(--gamify-font-gaming);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Gaming Elements */
.gaming-glow {
    box-shadow: var(--gamify-neon-glow) !important;
}

.gaming-border {
    border: 2px solid var(--gamify-accent) !important;
    border-radius: var(--gamify-border-radius) !important;
}

.gaming-text {
    font-family: var(--gamify-font-gaming) !important;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Animations */
@keyframes gamify-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(85, 90, 246, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(85, 90, 246, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(85, 90, 246, 0);
    }
}

@keyframes gamify-glow {
    0% {
        box-shadow: 0 0 5px var(--gamify-primary);
    }
    50% {
        box-shadow: 0 0 20px var(--gamify-primary),
            0 0 30px var(--gamify-primary);
    }
    100% {
        box-shadow: 0 0 5px var(--gamify-primary);
    }
}

/* Enhanced Data Tables */
.table {
    border-collapse: separate;
    border-spacing: 0;
    border-radius: 8px;
    overflow: hidden;
}

.table thead th {
    background: linear-gradient(
        135deg,
        var(--gamify-primary),
        var(--gamify-secondary)
    );
    color: white;
    border: none;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 15px 12px;
    position: relative;
}

.table thead th::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gamify-accent);
}

.table tbody tr {
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(85, 90, 246, 0.1);
}

.table tbody tr:hover {
    background: linear-gradient(
        90deg,
        rgba(85, 90, 246, 0.05),
        rgba(162, 85, 251, 0.05)
    );
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(85, 90, 246, 0.1);
}

.table tbody td {
    padding: 12px;
    vertical-align: middle;
    border: none;
}

/* Gaming Badges */
.badge-gaming {
    background: linear-gradient(
        135deg,
        var(--gamify-primary),
        var(--gamify-secondary)
    );
    color: white;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    animation: gamify-glow 2s infinite;
}

.badge-primary {
    background: var(--gamify-primary);
    color: white;
}

.badge-secondary {
    background: var(--gamify-secondary);
    color: white;
}

.badge-info {
    background: var(--gamify-accent);
    color: white;
}

/* Enhanced Analytics Cards */
.analytics-card {
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.9),
        rgba(255, 255, 255, 0.7)
    );
    border: 2px solid transparent;
    border-radius: 12px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.analytics-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(
        90deg,
        var(--gamify-primary),
        var(--gamify-secondary),
        var(--gamify-accent)
    );
}

.analytics-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(85, 90, 246, 0.2);
    border-color: var(--gamify-primary);
}

.analytics-value {
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(
        135deg,
        var(--gamify-primary),
        var(--gamify-secondary)
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.analytics-label {
    color: var(--gamify-dark);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

/* Progress Bars */
.progress {
    height: 8px;
    border-radius: 10px;
    background: rgba(85, 90, 246, 0.1);
    overflow: hidden;
}

.progress-bar {
    background: linear-gradient(
        90deg,
        var(--gamify-primary),
        var(--gamify-accent)
    );
    border-radius: 10px;
    transition: width 0.6s ease;
}

/* Gaming Charts */
.chart-container {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 12px;
    padding: 20px;
    border: 2px solid rgba(85, 90, 246, 0.1);
    transition: all 0.3s ease;
}

.chart-container:hover {
    border-color: var(--gamify-primary);
    box-shadow: 0 8px 20px rgba(85, 90, 246, 0.15);
}

.gamify-pulse {
    animation: gamify-pulse 2s infinite;
}

/* Responsive Design */
@media (max-width: 1200px) {
    /* Large tablets and small desktops */
    .gaming-text {
        font-size: 0.9rem;
    }

    .analytics-card h3 {
        font-size: 1.5rem;
    }

    .gaming-badge {
        font-size: 0.7rem;
        padding: 0.25rem 0.5rem;
    }
}

@media (max-width: 992px) {
    /* Tablets */
    .pc-header .header-wrapper {
        padding: 0 1rem;
    }

    .gaming-text {
        display: none !important;
    }

    .analytics-card {
        margin-bottom: 1rem;
    }

    .analytics-card h3 {
        font-size: 1.3rem;
    }

    .table-responsive {
        font-size: 0.9rem;
    }

    .btn-group .btn {
        padding: 0.25rem 0.5rem;
        font-size: 0.8rem;
    }
}

@media (max-width: 768px) {
    /* Mobile devices */
    .pc-sidebar {
        background: var(--gamify-dark) !important;
        width: 280px;
    }

    .pc-header {
        background: var(--gamify-dark) !important;
        border-bottom: 2px solid var(--gamify-primary);
    }

    .pc-header .header-wrapper {
        padding: 0 0.75rem;
    }

    .pc-head-link {
        padding: 0.5rem !important;
    }

    .user-avtar {
        width: 32px !important;
        height: 32px !important;
    }

    .badge-gaming {
        display: none !important;
    }

    .card {
        margin-bottom: 1rem;
        border-radius: 8px;
    }

    .card-header {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
    }

    .card-body {
        padding: 1rem;
    }

    .analytics-card {
        text-align: center;
        padding: 1rem;
    }

    .analytics-card h3 {
        font-size: 1.2rem;
        margin-bottom: 0.5rem;
    }

    .analytics-card p {
        font-size: 0.8rem;
        margin-bottom: 0;
    }

    .table-responsive {
        font-size: 0.8rem;
    }

    .table th,
    .table td {
        padding: 0.5rem 0.25rem;
        vertical-align: middle;
    }

    .btn-group {
        display: flex;
        flex-direction: column;
        gap: 0.25rem;
    }

    .btn-group .btn {
        padding: 0.25rem 0.5rem;
        font-size: 0.75rem;
        border-radius: 4px;
    }

    .breadcrumb {
        font-size: 0.8rem;
        margin-bottom: 0.5rem;
    }

    .page-header-title h2 {
        font-size: 1.3rem;
    }

    /* Gaming elements mobile adjustments */
    .gaming-glow {
        box-shadow: 0 0 10px var(--gamify-primary);
    }

    .gaming-card {
        border: 1px solid var(--gamify-primary);
    }

    .gaming-badge {
        font-size: 0.65rem;
        padding: 0.2rem 0.4rem;
    }
}

@media (max-width: 576px) {
    /* Small mobile devices */
    .pc-container {
        padding: 0 0.5rem;
        margin: 0 auto;
        max-width: 100%;
    }

    .pc-content {
        padding: 1rem 0;
        margin: 0 auto;
        width: 100%;
    }

    .page-header {
        margin-bottom: 1rem;
    }

    .page-header-title h2 {
        font-size: 1.1rem;
        margin-bottom: 0.5rem;
    }

    .breadcrumb {
        font-size: 0.75rem;
        padding: 0.5rem 0;
    }

    .card-header {
        padding: 0.5rem 0.75rem;
        font-size: 0.85rem;
    }

    .card-header .btn {
        font-size: 0.75rem;
        padding: 0.25rem 0.5rem;
    }

    .card-body {
        padding: 0.75rem;
    }

    .analytics-card {
        padding: 0.75rem;
        margin-bottom: 0.75rem;
    }

    .analytics-card h3 {
        font-size: 1rem;
    }

    .analytics-card p {
        font-size: 0.75rem;
    }

    .table-responsive {
        font-size: 0.75rem;
    }

    .table th,
    .table td {
        padding: 0.4rem 0.2rem;
    }

    .btn {
        font-size: 0.75rem;
        padding: 0.375rem 0.5rem;
    }

    .btn-sm {
        font-size: 0.7rem;
        padding: 0.25rem 0.4rem;
    }

    .badge {
        font-size: 0.65rem;
        padding: 0.2rem 0.4rem;
    }

    /* Hide less important columns on very small screens */
    .table .d-none-xs {
        display: none !important;
    }

    /* Stack form elements */
    .row .col-md-6,
    .row .col-md-4,
    .row .col-md-8 {
        margin-bottom: 0.75rem;
    }

    /* Adjust dropdown menus */
    .dropdown-menu {
        font-size: 0.8rem;
        min-width: 150px;
    }

    .dropdown-item {
        padding: 0.5rem 0.75rem;
    }
}

/* Gaming-specific responsive adjustments */
@media (max-width: 768px) {
    .gamify-neon-glow {
        box-shadow: 0 0 8px var(--gamify-primary);
    }

    .gamify-pulse {
        animation-duration: 3s;
    }
}

/* Landscape orientation adjustments for tablets */
@media (max-width: 1024px) and (orientation: landscape) {
    .pc-sidebar {
        width: 240px;
    }

    .analytics-card {
        padding: 1rem;
    }

    .table-responsive {
        font-size: 0.85rem;
    }
}

/* ===== GAMIFY LOGIN PAGE STYLES ===== */

/* Login Body */
.gamify-login-body {
    background: linear-gradient(
        135deg,
        var(--gamify-dark) 0%,
        #0f1419 50%,
        var(--gamify-dark) 100%
    );
    min-height: 100vh;
    position: relative;
    overflow: hidden;
}

/* Animated Background */
.gamify-login-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(
            circle at 20% 80%,
            rgba(85, 90, 246, 0.1) 0%,
            transparent 50%
        ),
        radial-gradient(
            circle at 80% 20%,
            rgba(162, 85, 251, 0.1) 0%,
            transparent 50%
        ),
        radial-gradient(
            circle at 40% 40%,
            rgba(30, 159, 251, 0.05) 0%,
            transparent 50%
        );
    animation: gamify-bg-pulse 8s ease-in-out infinite;
    z-index: -1;
}

@keyframes gamify-bg-pulse {
    0%,
    100% {
        opacity: 0.3;
    }
    50% {
        opacity: 0.6;
    }
}

/* Auth Main Container */
.gamify-auth-main {
    position: relative;
    z-index: 1;
}

/* Login Card */
.gamify-auth-main .card {
    background: rgba(28, 32, 129, 0.95);
    border: 2px solid var(--gamify-primary);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    box-shadow: 0 0 30px rgba(85, 90, 246, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    max-width: 450px;
    margin: 0 auto;
}

/* Logo Container */
.gamify-logo-container {
    margin-bottom: 1rem;
}

.gamify-logo-icon {
    font-size: 3rem;
    color: var(--gamify-primary);
    margin-bottom: 0.5rem;
    text-shadow: 0 0 20px var(--gamify-primary);
    animation: gamify-pulse 2s infinite;
}

.gamify-logo-text {
    font-family: "Orbitron", monospace;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--gamify-primary);
    text-shadow: 0 0 20px var(--gamify-primary);
    margin: 0;
    letter-spacing: 3px;
}

.gaming-subtitle {
    font-family: "Orbitron", monospace;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 2px;
    margin-bottom: 0;
}

/* Gaming Input Fields */
.gaming-input {
    background: rgba(0, 0, 0, 0.3) !important;
    border: 2px solid var(--gamify-accent) !important;
    border-radius: 8px !important;
    color: white !important;
    font-family: "Inter", sans-serif;
    font-weight: 500;
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
}

.gaming-input:focus {
    background: rgba(0, 0, 0, 0.5) !important;
    border-color: var(--gamify-primary) !important;
    box-shadow: 0 0 15px rgba(85, 90, 246, 0.4) !important;
    color: white !important;
}

.gaming-input::placeholder {
    color: rgba(255, 255, 255, 0.6) !important;
}

/* Gaming Button Outline */
.gaming-btn-outline {
    background: rgba(0, 0, 0, 0.3) !important;
    border: 2px solid var(--gamify-accent) !important;
    color: var(--gamify-accent) !important;
    transition: all 0.3s ease;
}

.gaming-btn-outline:hover {
    background: var(--gamify-accent) !important;
    color: white !important;
    box-shadow: 0 0 10px var(--gamify-accent);
}

/* Gaming Checkbox */
.gaming-checkbox {
    accent-color: var(--gamify-primary);
    transform: scale(1.2);
}

/* Gaming Alert */
.gaming-alert {
    background: rgba(30, 159, 251, 0.1) !important;
    border: 1px solid var(--gamify-accent) !important;
    color: var(--gamify-accent) !important;
    border-radius: 8px;
    font-size: 0.85rem;
}

/* Login Form Labels */
.gamify-login-form .form-label {
    font-family: "Orbitron", monospace;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

/* Responsive Login Styles */
@media (max-width: 768px) {
    .gamify-logo-text {
        font-size: 2rem;
        letter-spacing: 2px;
    }

    .gamify-logo-icon {
        font-size: 2.5rem;
    }

    .gaming-subtitle {
        font-size: 0.8rem;
        letter-spacing: 1px;
    }

    .gamify-auth-main .card {
        margin: 1rem;
        max-width: none;
    }

    .gaming-input {
        padding: 0.6rem 0.8rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    .gamify-logo-text {
        font-size: 1.8rem;
        letter-spacing: 1px;
    }

    .gamify-logo-icon {
        font-size: 2rem;
    }

    .gaming-subtitle {
        font-size: 0.75rem;
    }

    .gamify-auth-main .card {
        border-radius: 10px;
    }

    .card-body {
        padding: 1.5rem !important;
    }
}

/* ===== PROFESSIONAL DASHBOARD STYLES ===== */

/* Dashboard Header */
.gamify-dashboard-header {
    background: linear-gradient(
        135deg,
        rgba(28, 32, 129, 0.1) 0%,
        rgba(85, 90, 246, 0.05) 100%
    );
    border: 1px solid var(--gamify-primary);
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 2rem;
    backdrop-filter: blur(5px);
    box-shadow: 0 4px 20px rgba(85, 90, 246, 0.1);
}

.gamify-status-indicator {
    text-align: center;
}

.gamify-progress {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
}

.gamify-progress .progress-bar {
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(85, 90, 246, 0.3);
}

/* Analytics Cards */
.gamify-analytics-card {
    background: linear-gradient(
        135deg,
        rgba(28, 32, 129, 0.1) 0%,
        rgba(85, 90, 246, 0.05) 100%
    );
    border: 1px solid var(--gamify-primary);
    border-radius: 15px;
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
    height: 100%;
    box-shadow: 0 2px 10px rgba(85, 90, 246, 0.1);
}

.gamify-analytics-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(85, 90, 246, 0.2);
    border-color: var(--gamify-secondary);
}

.gamify-analytics-card .card-body {
    padding: 1.5rem;
    position: relative;
    overflow: hidden;
}

.gamify-analytics-card .card-body::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(
        90deg,
        var(--gamify-primary),
        var(--gamify-secondary),
        var(--gamify-accent)
    );
}

.analytics-icon {
    position: relative;
}

.analytics-icon i {
    font-size: 2.5rem;
    text-shadow: 0 0 15px currentColor;
    animation: gamify-pulse 3s infinite;
}

.gamify-analytics-card h3 {
    font-family: "Orbitron", monospace;
    font-weight: 700;
    font-size: 2rem;
    text-shadow: 0 0 10px currentColor;
}

.gamify-analytics-card p {
    font-family: "Orbitron", monospace;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

/* Responsive Analytics Cards */
@media (max-width: 1200px) {
    .gamify-analytics-card h3 {
        font-size: 1.5rem;
    }

    .analytics-icon i {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .gamify-dashboard-header {
        padding: 1.5rem;
        text-align: center;
    }

    .gamify-dashboard-header .d-flex {
        flex-direction: column;
        gap: 1rem;
    }

    .gamify-analytics-card .card-body {
        padding: 1rem;
    }

    .gamify-analytics-card h3 {
        font-size: 1.25rem;
    }

    .analytics-icon i {
        font-size: 1.5rem;
    }
}

/* ===== LAYOUT AND CENTERING FIXES ===== */

/* Main Container Fixes */
.pc-container {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding-left: 0;
    padding-right: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.pc-content {
    width: 100%;
    margin: 0 auto;
    padding: 1.5rem;
    box-sizing: border-box;
    flex: 1;
    overflow-x: hidden;
}

/* Content Inner Container */
.content-inner {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: 0;
    overflow-x: hidden;
}

/* Ensure proper Bootstrap grid behavior */
.row {
    margin-left: -0.75rem;
    margin-right: -0.75rem;
}

.container-fluid {
    padding-left: 0;
    padding-right: 0;
    width: 100%;
    max-width: 100%;
}

.col,
.col-1,
.col-2,
.col-3,
.col-4,
.col-5,
.col-6,
.col-7,
.col-8,
.col-9,
.col-10,
.col-11,
.col-12,
.col-sm,
.col-sm-1,
.col-sm-2,
.col-sm-3,
.col-sm-4,
.col-sm-5,
.col-sm-6,
.col-sm-7,
.col-sm-8,
.col-sm-9,
.col-sm-10,
.col-sm-11,
.col-sm-12,
.col-md,
.col-md-1,
.col-md-2,
.col-md-3,
.col-md-4,
.col-md-5,
.col-md-6,
.col-md-7,
.col-md-8,
.col-md-9,
.col-md-10,
.col-md-11,
.col-md-12,
.col-lg,
.col-lg-1,
.col-lg-2,
.col-lg-3,
.col-lg-4,
.col-lg-5,
.col-lg-6,
.col-lg-7,
.col-lg-8,
.col-lg-9,
.col-lg-10,
.col-lg-11,
.col-lg-12,
.col-xl,
.col-xl-1,
.col-xl-2,
.col-xl-3,
.col-xl-4,
.col-xl-5,
.col-xl-6,
.col-xl-7,
.col-xl-8,
.col-xl-9,
.col-xl-10,
.col-xl-11,
.col-xl-12 {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
}

/* Header Responsiveness */
.pc-header {
    width: 100%;
    position: fixed;
    top: 0;
    z-index: 1030;
    left: 0;
    right: 0;
}

.pc-header .header-wrapper {
    padding: 0 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

/* Sidebar positioning fixes */
.pc-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1025;
    height: 100vh;
    overflow-y: auto;
}

/* Ensure content doesn't overlap with sidebar */
body[data-pc-layout="vertical"] .pc-container {
    margin-left: 280px;
    transition: margin-left 0.3s ease;
}

/* Mobile sidebar adjustments */
@media (max-width: 1024px) {
    body[data-pc-layout="vertical"] .pc-container {
        margin-left: 0;
    }

    .pc-sidebar {
        transform: translateX(-100%);
        transition: transform 0.3s ease;
    }

    .pc-sidebar.mob-sidebar-active {
        transform: translateX(0);
    }
}

/* Responsive Layout Adjustments */
@media (max-width: 1200px) {
    .pc-content {
        padding: 1.25rem;
    }
}

@media (max-width: 992px) {
    .pc-content {
        padding: 1rem;
        margin-left: 0;
        margin-right: 0;
    }

    .content-inner {
        padding: 0;
        overflow-x: hidden;
    }

    .row {
        margin-left: -0.5rem;
        margin-right: -0.5rem;
    }

    .pc-container {
        padding-left: 0;
        padding-right: 0;
    }

    .col,
    .col-1,
    .col-2,
    .col-3,
    .col-4,
    .col-5,
    .col-6,
    .col-7,
    .col-8,
    .col-9,
    .col-10,
    .col-11,
    .col-12,
    .col-sm,
    .col-sm-1,
    .col-sm-2,
    .col-sm-3,
    .col-sm-4,
    .col-sm-5,
    .col-sm-6,
    .col-sm-7,
    .col-sm-8,
    .col-sm-9,
    .col-sm-10,
    .col-sm-11,
    .col-sm-12,
    .col-md,
    .col-md-1,
    .col-md-2,
    .col-md-3,
    .col-md-4,
    .col-md-5,
    .col-md-6,
    .col-md-7,
    .col-md-8,
    .col-md-9,
    .col-md-10,
    .col-md-11,
    .col-md-12,
    .col-lg,
    .col-lg-1,
    .col-lg-2,
    .col-lg-3,
    .col-lg-4,
    .col-lg-5,
    .col-lg-6,
    .col-lg-7,
    .col-lg-8,
    .col-lg-9,
    .col-lg-10,
    .col-lg-11,
    .col-lg-12,
    .col-xl,
    .col-xl-1,
    .col-xl-2,
    .col-xl-3,
    .col-xl-4,
    .col-xl-5,
    .col-xl-6,
    .col-xl-7,
    .col-xl-8,
    .col-xl-9,
    .col-xl-10,
    .col-xl-11,
    .col-xl-12 {
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }
}

@media (max-width: 768px) {
    .pc-content {
        padding: 0.75rem;
        margin-left: 0;
        margin-right: 0;
        width: 100%;
    }

    .pc-header .header-wrapper {
        padding: 0 0.75rem;
    }

    .content-inner {
        padding: 0;
        margin: 0;
        width: 100%;
        overflow-x: hidden;
    }

    .pc-container {
        padding-left: 0;
        padding-right: 0;
        margin-left: 0;
        margin-right: 0;
    }
}

@media (max-width: 576px) {
    .pc-content {
        padding: 0.5rem;
        margin-left: 0;
        margin-right: 0;
        width: 100%;
    }

    .pc-header .header-wrapper {
        padding: 0 0.5rem;
    }

    .row {
        margin-left: -0.25rem;
        margin-right: -0.25rem;
    }

    .content-inner {
        padding: 0;
        margin: 0;
        width: 100%;
        overflow-x: hidden;
    }

    .pc-container {
        padding: 0;
        margin: 0;
        width: 100%;
        max-width: 100%;
    }

    .col,
    .col-1,
    .col-2,
    .col-3,
    .col-4,
    .col-5,
    .col-6,
    .col-7,
    .col-8,
    .col-9,
    .col-10,
    .col-11,
    .col-12,
    .col-sm,
    .col-sm-1,
    .col-sm-2,
    .col-sm-3,
    .col-sm-4,
    .col-sm-5,
    .col-sm-6,
    .col-sm-7,
    .col-sm-8,
    .col-sm-9,
    .col-sm-10,
    .col-sm-11,
    .col-sm-12,
    .col-md,
    .col-md-1,
    .col-md-2,
    .col-md-3,
    .col-md-4,
    .col-md-5,
    .col-md-6,
    .col-md-7,
    .col-md-8,
    .col-md-9,
    .col-md-10,
    .col-md-11,
    .col-md-12,
    .col-lg,
    .col-lg-1,
    .col-lg-2,
    .col-lg-3,
    .col-lg-4,
    .col-lg-5,
    .col-lg-6,
    .col-lg-7,
    .col-lg-8,
    .col-lg-9,
    .col-lg-10,
    .col-lg-11,
    .col-lg-12,
    .col-xl,
    .col-xl-1,
    .col-xl-2,
    .col-xl-3,
    .col-xl-4,
    .col-xl-5,
    .col-xl-6,
    .col-xl-7,
    .col-xl-8,
    .col-xl-9,
    .col-xl-10,
    .col-xl-11,
    .col-xl-12 {
        padding-left: 0.25rem;
        padding-right: 0.25rem;
    }
}

/* ===== LANDING PAGE STYLES ===== */

/* Landing Body */
.gamify-landing-body {
    background: linear-gradient(
        135deg,
        var(--gamify-dark) 0%,
        #0f1419 50%,
        var(--gamify-dark) 100%
    );
    color: white;
}

/* Navigation */
.gamify-navbar {
    background: rgba(28, 32, 129, 0.95) !important;
    backdrop-filter: blur(10px);
    border-bottom: 2px solid var(--gamify-primary);
    transition: all 0.3s ease;
}

.gamify-navbar .navbar-brand {
    transition: all 0.3s ease;
}

.gamify-navbar .navbar-brand:hover {
    transform: scale(1.05);
}

.gamify-navbar .nav-link {
    color: rgba(255, 255, 255, 0.8) !important;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.gamify-navbar .nav-link:hover {
    color: var(--gamify-primary) !important;
    transform: translateY(-2px);
}

.gamify-navbar .nav-link::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--gamify-primary);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.gamify-navbar .nav-link:hover::after {
    width: 80%;
}

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

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(
            circle at 20% 80%,
            rgba(85, 90, 246, 0.1) 0%,
            transparent 50%
        ),
        radial-gradient(
            circle at 80% 20%,
            rgba(162, 85, 251, 0.1) 0%,
            transparent 50%
        ),
        radial-gradient(
            circle at 40% 40%,
            rgba(30, 159, 251, 0.05) 0%,
            transparent 50%
        );
    animation: gamify-bg-pulse 8s ease-in-out infinite;
    z-index: -1;
}

.hero-title {
    font-family: "Orbitron", monospace;
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    text-shadow: 0 0 20px rgba(85, 90, 246, 0.3);
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--gamify-accent);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.hero-stats .stat-item {
    text-align: center;
}

.hero-stats h3 {
    font-family: "Orbitron", monospace;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-shadow: 0 0 10px currentColor;
}

.hero-stats p {
    color: var(--gamify-accent);
    font-size: 0.9rem;
    margin-bottom: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.gaming-card-3d {
    perspective: 1000px;
}

.gaming-card-3d .card {
    transform-style: preserve-3d;
    transition: transform 0.6s;
    animation: float 6s ease-in-out infinite;
}

.gaming-card-3d:hover .card {
    transform: rotateY(10deg) rotateX(5deg);
}

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

/* Sections */
.features-section,
.games-section {
    background: rgba(28, 32, 129, 0.05);
}

.section-title {
    font-family: "Orbitron", monospace;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 0 0 15px rgba(85, 90, 246, 0.3);
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--gamify-accent);
    margin-bottom: 0;
}

/* Feature Cards */
.feature-card {
    background: linear-gradient(
        135deg,
        rgba(28, 32, 129, 0.1) 0%,
        rgba(85, 90, 246, 0.05) 100%
    );
    border: 1px solid var(--gamify-primary);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
    backdrop-filter: blur(5px);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(85, 90, 246, 0.2);
    border-color: var(--gamify-secondary);
}

.feature-icon {
    margin-bottom: 1.5rem;
}

.feature-icon i {
    font-size: 3rem;
    text-shadow: 0 0 20px currentColor;
    animation: gamify-pulse 3s infinite;
}

.feature-card h4 {
    font-family: "Orbitron", monospace;
    color: white;
    margin-bottom: 1rem;
}

.feature-card p {
    color: var(--gamify-accent);
    line-height: 1.6;
}

/* Game Cards */
.game-card {
    background: linear-gradient(
        135deg,
        rgba(28, 32, 129, 0.1) 0%,
        rgba(85, 90, 246, 0.05) 100%
    );
    border: 1px solid var(--gamify-primary);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
    backdrop-filter: blur(5px);
}

.game-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(85, 90, 246, 0.2);
    border-color: var(--gamify-accent);
}

.game-icon {
    margin-bottom: 1.5rem;
}

.game-icon i {
    font-size: 3rem;
    text-shadow: 0 0 20px currentColor;
    animation: gamify-pulse 3s infinite;
}

.game-card h4 {
    font-family: "Orbitron", monospace;
    color: white;
    margin-bottom: 1rem;
}

.game-card p {
    color: var(--gamify-accent);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.game-stats {
    margin-bottom: 1rem;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(
        135deg,
        var(--gamify-primary) 0%,
        var(--gamify-secondary) 100%
    );
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.cta-content {
    position: relative;
    z-index: 1;
}

/* Footer */
.gamify-footer {
    background: linear-gradient(135deg, var(--gamify-dark) 0%, #0a0e1a 100%);
    border-top: 2px solid var(--gamify-primary);
    padding: 3rem 0 1rem;
}

.footer-brand h4 {
    font-family: "Orbitron", monospace;
}

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

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

.footer-links a {
    color: var(--gamify-accent);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--gamify-primary);
    transform: translateX(5px);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(85, 90, 246, 0.1);
    border: 1px solid var(--gamify-primary);
    border-radius: 50%;
    color: var(--gamify-primary);
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--gamify-primary);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(85, 90, 246, 0.3);
}

.footer-divider {
    border-color: var(--gamify-primary);
    opacity: 0.3;
    margin: 2rem 0 1rem;
}

.contact-info p {
    margin-bottom: 0.5rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

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

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

    .feature-card,
    .game-card {
        margin-bottom: 2rem;
    }

    .gamify-navbar .navbar-brand span {
        font-size: 1.2rem !important;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-stats h3 {
        font-size: 1.5rem;
    }

    .feature-card,
    .game-card {
        padding: 1.5rem;
    }

    .feature-icon i,
    .game-icon i {
        font-size: 2.5rem;
    }
}
