/* ZIZIGAMING Gaming Platform - Cyber City Theme
   Futuristic cyberpunk design with balanced neon effects */

:root {
    /* Cyber City Color Palette - Balanced */
    --primary-neon: #00d4ff;      /* Softer cyan */
    --secondary-neon: #b400ff;    /* Softer magenta */
    --accent-neon: #ffd700;       /* Softer gold */
    --dark-bg: #0f0f1a;          /* Softer dark blue */
    --darker-bg: #0a0a14;        /* Softer darker blue */
    --cyber-blue: #0066cc;        /* Softer blue */
    --cyber-purple: #6600cc;      /* Softer purple */
    --cyber-pink: #cc0066;        /* Softer pink */
    --cyber-green: #00cc66;       /* Softer green */
    --cyber-orange: #cc6600;      /* Softer orange */
    --text-primary: #ffffff;      /* Pure white */
    --text-secondary: #b8c5d6;    /* Softer light blue */
    --text-muted: #8a9ba8;        /* Softer muted */
    --border-neon: #00d4ff;       /* Match primary */
    --shadow-neon: rgba(0, 212, 255, 0.2);  /* Softer shadow */
    --glow-neon: 0 0 15px rgba(0, 212, 255, 0.4);  /* Softer glow */
}

/* Global Cyber City Styles */
body {
    background: linear-gradient(135deg, var(--dark-bg) 0%, var(--darker-bg) 100%);
    color: var(--text-primary);
    font-family: 'Inter', 'Arial', sans-serif;
    position: relative;
    overflow-x: hidden;
    padding-top: 60px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 80%, rgba(0, 212, 255, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(180, 0, 255, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(255, 215, 0, 0.04) 0%, transparent 50%);
    pointer-events: none;
    z-index: -1;
}

/* Cyber Grid Background */
.cyber-grid {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(0, 212, 255, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 212, 255, 0.08) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
    z-index: -1;
    animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    color: var(--text-primary);
}

.text-gradient {
    background: linear-gradient(45deg, var(--primary-neon), var(--secondary-neon), var(--accent-neon));
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 3s ease-in-out infinite;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* Cyber Buttons */
.btn-cyber {
    background: linear-gradient(45deg, var(--cyber-blue), var(--cyber-purple));
    border: 2px solid var(--border-neon);
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 12px 30px;
    border-radius: 0;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 0 15px var(--shadow-neon);
}

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

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

.btn-cyber:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 20px var(--glow-neon);
    border-color: var(--accent-neon);
}

.btn-cyber:active {
    transform: translateY(0);
}

/* Cyber Cards */
.cyber-card {
    background: rgba(15, 15, 26, 0.85);
    border: 1px solid var(--border-neon);
    border-radius: 0;
    backdrop-filter: blur(10px);
    box-shadow: 0 0 15px var(--shadow-neon);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.cyber-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-neon), var(--secondary-neon), var(--accent-neon));
    animation: scanLine 2s linear infinite;
}

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

.cyber-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 0 25px var(--glow-neon);
    border-color: var(--accent-neon);
}

/* Cyber Navbar */
.navbar-cyber {
    background: rgba(15, 15, 26, 0.95);
    border-bottom: 2px solid var(--border-neon);
    backdrop-filter: blur(20px);
    box-shadow: 0 0 20px var(--shadow-neon);
}

.navbar-brand {
    font-family: 'Inter', sans-serif;
    font-weight: 800;
    color: var(--primary-neon) !important;
    text-shadow: 0 0 10px var(--primary-neon);
}

.navbar-brand i {
    color: var(--accent-neon);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.8; }
}

.nav-link {
    color: var(--text-secondary) !important;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    transition: all 0.3s ease;
}

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

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

.nav-link:hover {
    color: var(--primary-neon) !important;
    text-shadow: 0 0 8px var(--primary-neon);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, rgba(15, 15, 26, 0.8) 0%, rgba(10, 10, 20, 0.9) 100%);
    position: relative;
    overflow: hidden;
    padding: 100px 0;
    margin-bottom: 0;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 70%, rgba(0, 212, 255, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 70% 30%, rgba(180, 0, 255, 0.08) 0%, transparent 50%);
    animation: heroGlow 4s ease-in-out infinite alternate;
}

@keyframes heroGlow {
    0% { opacity: 0.4; }
    100% { opacity: 0.8; }
}

.hero-title {
    font-size: 4rem;
    font-weight: 900;
    text-shadow: 
        0 0 15px var(--primary-neon),
        0 0 30px var(--primary-neon),
        0 0 45px var(--primary-neon);
    animation: titleGlow 3s ease-in-out infinite alternate;
}

@keyframes titleGlow {
    0% { text-shadow: 0 0 15px var(--primary-neon), 0 0 30px var(--primary-neon), 0 0 45px var(--primary-neon); }
    100% { text-shadow: 0 0 20px var(--primary-neon), 0 0 40px var(--primary-neon), 0 0 60px var(--primary-neon); }
}

/* Game Cards */
.game-card {
    background: rgba(15, 15, 26, 0.9);
    border: 1px solid var(--border-neon);
    border-radius: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
}

.game-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.08), transparent);
    transition: left 0.6s;
}

.game-card:hover::before {
    left: 100%;
}

.game-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 0 25px var(--glow-neon);
    border-color: var(--accent-neon);
}

.game-card img {
    transition: all 0.3s ease;
}

.game-card:hover img {
    transform: scale(1.1);
    filter: brightness(1.2) contrast(1.1);
}

/* Modern Footer - Improved */
.modern-footer {
    background: linear-gradient(135deg, var(--darker-bg) 0%, var(--dark-bg) 100%);
    color: var(--text-primary);
    position: relative;
    margin-top: auto;
    overflow: hidden;
    border-top: 2px solid var(--border-neon);
}

.modern-footer::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(0,212,255,0.04)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.footer-content {
    position: relative;
    z-index: 2;
    padding: 60px 0 40px;
}

.footer-brand {
    margin-bottom: 30px;
}

.brand-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-neon);
    margin-bottom: 15px;
    text-shadow: 0 0 10px var(--primary-neon);
    font-family: 'Inter', sans-serif;
}

.brand-title i {
    color: var(--accent-neon);
    animation: pulse 2s ease-in-out infinite;
}

.brand-description {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 25px;
    font-size: 0.95rem;
    font-family: 'Inter', sans-serif;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(0, 212, 255, 0.1);
    border-radius: 50%;
    color: var(--text-primary);
    text-decoration: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-neon);
}

.social-link:hover {
    background: var(--primary-neon);
    color: var(--dark-bg);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px var(--shadow-neon);
}

.footer-section {
    margin-bottom: 30px;
}

.section-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-neon);
    margin-bottom: 20px;
    position: relative;
    text-shadow: 0 0 8px var(--primary-neon);
    font-family: 'Inter', sans-serif;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--primary-neon);
    border-radius: 1px;
}

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

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    display: inline-block;
    font-family: 'Inter', sans-serif;
}

.footer-links a:hover {
    color: var(--primary-neon);
    transform: translateX(5px);
    text-shadow: 0 0 5px var(--primary-neon);
}

.contact-info {
    space-y: 15px;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-family: 'Inter', sans-serif;
}

.contact-item i {
    width: 20px;
    color: var(--primary-neon);
    margin-right: 12px;
    font-size: 0.9rem;
}

.contact-item a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: var(--primary-neon);
    text-shadow: 0 0 5px var(--primary-neon);
}

.footer-bottom {
    background: rgba(0, 0, 0, 0.4);
    padding: 25px 0;
    border-top: 1px solid rgba(0, 212, 255, 0.2);
    position: relative;
    z-index: 2;
    backdrop-filter: blur(10px);
}

.footer-bottom::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, var(--primary-neon), var(--secondary-neon), var(--accent-neon));
    animation: footerGlow 3s ease-in-out infinite;
}

.copyright {
    margin: 0;
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-family: 'Inter', sans-serif;
}

.copyright strong {
    color: var(--primary-neon);
    font-weight: 700;
    text-shadow: 0 0 5px var(--primary-neon);
}

.developer {
    margin: 0;
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-family: 'Inter', sans-serif;
}

.developer-link {
    color: var(--primary-neon);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    text-shadow: 0 0 5px var(--primary-neon);
}

.developer-link:hover {
    color: var(--accent-neon);
    text-shadow: 0 0 8px var(--accent-neon);
}

/* Cyber Footer */
.footer-cyber {
    border-top: 2px solid var(--border-neon);
    position: relative;
}

.footer-cyber::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, var(--primary-neon), var(--secondary-neon), var(--accent-neon));
    animation: footerGlow 3s ease-in-out infinite;
}

@keyframes footerGlow {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}

/* Cyber Animations */
@keyframes neonFlicker {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.9; }
}

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

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

/* Loading Animation */
.cyber-loader {
    width: 50px;
    height: 50px;
    border: 3px solid var(--border-neon);
    border-top: 3px solid var(--primary-neon);
    border-radius: 50%;
    animation: cyberRotate 1s linear infinite;
}

/* Form Elements */
.form-control-cyber {
    background: rgba(15, 15, 26, 0.8);
    border: 1px solid var(--border-neon);
    border-radius: 0;
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    transition: all 0.3s ease;
}

.form-control-cyber:focus {
    background: rgba(15, 15, 26, 0.9);
    border-color: var(--accent-neon);
    box-shadow: 0 0 15px var(--shadow-neon);
    outline: none;
}

.form-control-cyber::placeholder {
    color: var(--text-muted);
}

/* Alert Styles */
.alert-cyber {
    background: rgba(15, 15, 26, 0.9);
    border: 1px solid var(--border-neon);
    border-radius: 0;
    color: var(--text-primary);
    backdrop-filter: blur(10px);
}

.alert-success {
    border-color: var(--cyber-green);
    box-shadow: 0 0 15px rgba(0, 204, 102, 0.2);
}

.alert-danger {
    border-color: var(--cyber-pink);
    box-shadow: 0 0 15px rgba(204, 0, 102, 0.2);
}

.alert-warning {
    border-color: var(--cyber-orange);
    box-shadow: 0 0 15px rgba(204, 102, 0, 0.2);
}

.alert-info {
    border-color: var(--cyber-blue);
    box-shadow: 0 0 15px rgba(0, 102, 204, 0.2);
}

/* Modal Styles - Fixed for visibility */
.modal-content {
    background: rgba(15, 15, 26, 0.95);
    border: 2px solid var(--border-neon);
    border-radius: 0;
    backdrop-filter: blur(20px);
}

.modal-header {
    border-bottom: 1px solid var(--border-neon);
    background: linear-gradient(45deg, var(--cyber-blue), var(--cyber-purple));
    color: var(--text-primary);
}

.modal-title {
    color: var(--text-primary) !important;
    font-weight: 700;
    text-shadow: 0 0 8px var(--primary-neon);
}

.modal-footer {
    border-top: 1px solid var(--border-neon);
}

/* Table Styles */
.table-cyber {
    background: rgba(15, 15, 26, 0.8);
    color: var(--text-primary);
}

.table-cyber th {
    background: linear-gradient(45deg, var(--cyber-blue), var(--cyber-purple));
    color: var(--text-primary);
    border-color: var(--border-neon);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.table-cyber td {
    border-color: rgba(0, 212, 255, 0.15);
}

.table-cyber tbody tr:hover {
    background: rgba(0, 212, 255, 0.08);
    box-shadow: 0 0 15px var(--shadow-neon);
}

/* Progress Bars */
.progress-cyber {
    background: rgba(15, 15, 26, 0.8);
    border: 1px solid var(--border-neon);
    border-radius: 0;
    height: 20px;
    overflow: hidden;
}

.progress-bar-cyber {
    background: linear-gradient(45deg, var(--primary-neon), var(--secondary-neon));
    border-radius: 0;
    position: relative;
    overflow: hidden;
}

.progress-bar-cyber::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    animation: progressShine 2s linear infinite;
}

@keyframes progressShine {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* Badge Styles */
.badge-cyber {
    background: linear-gradient(45deg, var(--cyber-blue), var(--cyber-purple));
    color: var(--text-primary);
    border: 1px solid var(--border-neon);
    border-radius: 0;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 5px 10px;
    box-shadow: 0 0 8px var(--shadow-neon);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--dark-bg);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(45deg, var(--primary-neon), var(--secondary-neon));
    border-radius: 0;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(45deg, var(--accent-neon), var(--primary-neon));
}

/* Selection */
::selection {
    background: var(--primary-neon);
    color: var(--dark-bg);
}

::-moz-selection {
    background: var(--primary-neon);
    color: var(--dark-bg);
}

/* Additional Footer Fixes */
.footer-cyber .footer-content {
    position: relative;
    z-index: 2;
}

.footer-cyber .footer-bottom {
    position: relative;
    z-index: 2;
}

/* Ensure footer is at bottom */
.main-content {
    flex: 1;
}

.modern-footer {
    margin-top: auto;
}

/* Fix for footer positioning */
.footer-cyber {
    position: relative;
    z-index: 1;
}

/* Ensure proper spacing */
.news-section {
    margin-bottom: 0;
}

.games-section {
    margin-bottom: 0;
}

/* Fix for admin pages */
.admin-container {
    flex: 1;
}

/* Additional responsive fixes */
@media (max-width: 768px) {
    .main-content {
        padding-bottom: 20px;
    }
    
    .modern-footer {
        margin-top: 30px;
    }
}

/* Realtime Transactions Widget */
.realtime-transactions-widget {
    position: fixed;
    bottom: 80px;
    right: 20px;
    width: 320px;
    background: rgba(15, 15, 26, 0.95);
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-neon);
    z-index: 999;
    overflow: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(15px);
}

.widget-header {
    background: linear-gradient(135deg, var(--cyber-blue), var(--cyber-purple));
    color: var(--text-primary);
    padding: 12px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    border-bottom: 1px solid var(--border-neon);
}

.widget-title {
    font-size: 0.9rem;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.widget-toggle {
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 0.8rem;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.widget-toggle.collapsed {
    transform: rotate(180deg);
}

.widget-content {
    max-height: 300px;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.widget-content.collapsed {
    max-height: 0;
}

.transaction-messages {
    padding: 8px 0;
    max-height: 300px;
    overflow-y: auto;
}

.transaction-message {
    padding: 10px 16px;
    border-bottom: 1px solid rgba(0, 212, 255, 0.1);
    transition: background-color 0.2s ease;
    animation: slideInUp 0.4s ease-out;
}

.transaction-message:hover {
    background-color: rgba(0, 212, 255, 0.05);
}

.transaction-message:last-child {
    border-bottom: none;
}

.message-text {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.4;
    margin-bottom: 6px;
}

.message-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.75rem;
}

.character {
    color: var(--text-muted);
    flex: 1;
}

.amount {
    background: linear-gradient(135deg, var(--cyber-green), var(--cyber-blue));
    color: var(--text-primary);
    padding: 2px 8px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.7rem;
    border: 1px solid var(--cyber-green);
}

/* Widget scrollbar */
.transaction-messages::-webkit-scrollbar {
    width: 4px;
}

.transaction-messages::-webkit-scrollbar-track {
    background: rgba(15, 15, 26, 0.5);
}

.transaction-messages::-webkit-scrollbar-thumb {
    background: var(--primary-neon);
    border-radius: 2px;
}

.transaction-messages::-webkit-scrollbar-thumb:hover {
    background: var(--accent-neon);
}

/* Animations */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0% {
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    }
    50% {
        box-shadow: 0 8px 32px var(--shadow-neon);
    }
    100% {
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    }
}

.realtime-transactions-widget.new-transaction {
    animation: pulse 1s ease-in-out;
}

/* Responsive Widget */
@media (max-width: 768px) {
    .realtime-transactions-widget {
        width: 280px;
        bottom: 75px;
        right: 15px;
    }

    .widget-header {
        padding: 10px 14px;
    }

    .widget-title {
        font-size: 0.8rem;
    }

    .transaction-message {
        padding: 8px 14px;
    }

    .message-text {
        font-size: 0.8rem;
    }

    .message-meta {
        font-size: 0.7rem;
    }
}

@media (max-width: 480px) {
    .realtime-transactions-widget {
        width: calc(100vw - 30px);
        bottom: 70px;
        right: 15px;
        left: 15px;
    }
}

/* User page header fixes */
.user-container {
    padding-top: 100px; /*Add top padding to avoid navbar overlap*/
    min-height: 100vh;
}

.user-page-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px;
    padding: 3rem;
    color: white;
    margin-bottom: 2rem;
    margin-top: 20px; /* Add top margin for better spacing */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 1;
}

.user-page-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.user-page-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    margin: 0;
    color: rgba(255, 255, 255, 0.8) !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* Responsive fixes for user page header */
@media (max-width: 768px) {
    .user-container {
        padding-top: 90px; /*Reduce padding on mobile*/
    }
    
    .user-page-header {
        padding: 2rem;
        margin-top: 15px;
    }
    
    .user-page-title {
        font-size: 2rem;
    }
    
    .user-page-subtitle {
        font-size: 1.1rem;
    }
}

@media (max-width: 576px) {
    .user-container {
        padding-top: 85px; /*Further reduce padding on small mobile*/
    }
    
    .user-page-header {
        padding: 1.5rem;
        margin-top: 10px;
    }
    
    .user-page-title {
        font-size: 1.8rem;
    }
    
    .user-page-subtitle {
        font-size: 1rem;
    }
}

/* Footer responsive improvements */
@media (max-width: 768px) {
    .footer-content {
        padding: 40px 0 30px;
    }
    
    .footer-bottom {
        padding: 20px 0;
    }
    
    .brand-title {
        font-size: 1.5rem;
    }
    
    .section-title {
        font-size: 1rem;
    }
    
    .social-link {
        width: 35px;
        height: 35px;
    }
}

@media (max-width: 576px) {
    .footer-content {
        padding: 30px 0 20px;
    }
    
    .brand-title {
        font-size: 1.3rem;
    }
    
    .footer-links a {
        font-size: 0.85rem;
    }
    
    .contact-item {
        font-size: 0.85rem;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .navbar-brand {
        font-size: 1.25rem;
    }
    
    .btn-cyber {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .cyber-card {
        margin-bottom: 20px;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .navbar-brand {
        font-size: 1.1rem;
    }
    
    .btn-cyber {
        padding: 8px 16px;
        font-size: 0.85rem;
    }
}

