/* User Menu Styles */
.user-menu {
    position: relative;
    display: inline-block;
    margin-left: 1rem;
}

.menu-toggle {
    background: rgba(0, 247, 255, 0.1);
    border: 1px solid rgba(0, 247, 255, 0.2);
    color: #fff;
    padding: 0.5rem 0.8rem;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-family: 'euro caps', sans-serif;
    font-size: 1rem;
    transition: all 0.2s;
    width: 40px;
    height: 40px;
}

.menu-toggle:hover {
    background: rgba(0, 247, 255, 0.2);
    border-color: rgba(0, 247, 255, 0.3);
}

.menu-toggle .fa-bars {
    color: #00f7ff;
    font-size: 1.1rem;
}

.menu-toggle .user-icon {
    display: none;
    color: #00f7ff;
    font-size: 1.1rem;
}

.user-dropdown {
    position: absolute;
    right: 0;
    top: 100%;
    margin-top: 0.5rem;
    background: rgba(20, 25, 40, 0.98);
    border: 1px solid rgba(0, 247, 255, 0.2);
    border-radius: 4px;
    min-width: 200px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.2s ease-out;
    z-index: 1000;
    backdrop-filter: blur(10px);
    padding: 0.5rem 0;
}

.user-menu.active .user-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(5px);
}

.user-dropdown a {
    display: flex;
    align-items: center;
    padding: 0.6rem 1rem;
    color: #e0e0e0;
    text-decoration: none;
    transition: all 0.2s;
    white-space: nowrap;
}

.user-dropdown a i {
    margin-right: 0.75rem;
    width: 20px;
    text-align: center;
    color: #00f7ff;
}

.user-dropdown a:hover {
    background: rgba(0, 247, 255, 0.1);
    color: #fff;
}

.user-dropdown .user-info {
    display: flex;
    align-items: center;
    padding: 0.8rem 1rem;
    color: #fff;
    font-weight: 500;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    margin-bottom: 0.5rem;
}

.user-dropdown .user-info i {
    margin-right: 0.75rem;
    color: #00f7ff;
}

.user-dropdown .dropdown-divider {
    height: 1px;
    background: rgba(0, 247, 255, 0.1);
    margin: 0.5rem 0;
}

/* Login/Register specific styles */
.user-dropdown .login-btn {
    color: #4ade80;
}

.user-dropdown .login-btn:hover {
    background: rgba(74, 222, 128, 0.1);
}

.user-dropdown .register-btn {
    color: #60a5fa;
}

.user-dropdown .register-btn:hover {
    background: rgba(96, 165, 250, 0.1);
}

.user-dropdown .logout-btn {
    color: #f87171;
}

.user-dropdown .logout-btn:hover {
    background: rgba(248, 113, 113, 0.1);
}

/* Mobile styles */
@media (max-width: 768px) {
    .menu-toggle {
        width: auto;
        padding: 0.5rem 0.8rem;
    }
    
    .menu-toggle .fa-bars {
        display: none;
    }
    
    .menu-toggle .user-icon {
        display: inline-block;
    }
    
    .user-dropdown {
        position: fixed;
        top: 70px;
        right: 10px;
        left: 10px;
        width: auto;
        max-width: 300px;
        margin: 0 auto;
    }
}

.user-dropdown-toggle {
    background: rgba(0, 247, 255, 0.1);
    border: 1px solid rgba(0, 247, 255, 0.2);
    color: #fff;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'euro caps', sans-serif;
    font-size: 0.9rem;
    transition: all 0.2s;
}

.user-dropdown-toggle:hover {
    background: rgba(0, 247, 255, 0.2);
    border-color: rgba(0, 247, 255, 0.3);
}

.user-dropdown-toggle i:first-child {
    color: #00f7ff;
}

.user-dropdown-menu {
    position: absolute;
    right: 0;
    top: 100%;
    background: rgba(20, 25, 40, 0.95);
    border: 1px solid rgba(0, 247, 255, 0.2);
    border-radius: 4px;
    min-width: 200px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.2s ease-out;
    z-index: 1000;
}

.user-dropdown:hover .user-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(5px);
}

.user-dropdown-menu a {
    display: flex;
    align-items: center;
    padding: 0.75rem 1rem;
    color: #e0e0e0;
    text-decoration: none;
    transition: all 0.2s;
    gap: 0.5rem;
}

.user-dropdown-menu a i {
    width: 20px;
    text-align: center;
    color: #00f7ff;
}

.user-dropdown-menu a:hover {
    background: rgba(0, 247, 255, 0.1);
    color: #fff;
    padding-left: 1.25rem;
}

.dropdown-divider {
    height: 1px;
    background: rgba(0, 247, 255, 0.1);
    margin: 0.25rem 0;
}

.login-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(0, 247, 255, 0.1);
    border: 1px solid rgba(0, 247, 255, 0.2);
    border-radius: 4px;
    color: #00f7ff;
    text-decoration: none;
    transition: all 0.2s;
}

.login-btn:hover {
    background: rgba(0, 247, 255, 0.2);
    border-color: rgba(0, 247, 255, 0.3);
    color: #fff;
}

/* Base Styles */
:root {
    --container-width: 1200px;
    --container-padding: 20px;
    --content-padding: 2rem;
    --section-spacing: 3rem;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'euro caps', sans-serif;
    color: #fff;
    line-height: 1.6;
    overflow-x: hidden;
    background: #000000;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Space Background */
body {
    margin: 0;
    padding: 0;
    background: radial-gradient(ellipse at bottom, #1B2735 0%, #090A0F 100%);
    min-height: 100vh;
    overflow-x: hidden;
    color: #fff;
    font-family: 'euro caps', sans-serif;
}

.stars, .twinkling {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    display: block;
    z-index: -1;
}

.stars {
    background: #000 url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTAwIiBoZWlnaHQ9IjUwMCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48ZmlsdGVyIGlkPSJkYXJrcm9jayI+PGZlR2F1c3NpYW5CbHVyIHN0ZERldmlhdGlvbj0iMSIvPjwvZmlsdGVyPjwvc3ZnPg==') repeat;
    background-size: 100px 100px;
    animation: twinkle 200s linear infinite;
}

.twinkling {
    background: transparent;
    animation: twinkle 100s linear infinite;
}

@keyframes twinkle {
    from { background-position: 0 0; }
    to { background-position: 10000px 5000px; }
}

/* Add some subtle particle effects */
.stars:before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(ellipse at 20% 30%, rgba(0, 247, 255, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 70%, rgba(120, 0, 255, 0.1) 0%, transparent 50%);
    animation: pulse 20s ease-in-out infinite alternate;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(0, 247, 255, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(0, 247, 255, 0); }
    100% { box-shadow: 0 0 0 0 rgba(0, 247, 255, 0); }
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

@keyframes glow {
    from { text-shadow: 0 0 5px #00f7ff, 0 0 10px #00f7ff; }
    to { text-shadow: 0 0 10px #00f7ff, 0 0 20px #00f7ff, 0 0 30px #00f7ff; }
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes slideDown {
    from { transform: translateY(-20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

/* Layout */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

main {
    flex: 1;
    padding: 2rem 0;
    position: relative;
    z-index: 1;
    min-height: calc(100vh - 300px); /* Adjust based on header/footer height */
}

section {
    margin-bottom: 3rem;
    animation: fadeIn 0.5s ease-out;
}

/* Hover effects with animations */
.hover-float {
    transition: transform 0.3s ease;
}

.hover-float:hover {
    transform: translateY(-5px);
    animation: float 3s ease-in-out infinite;
}

.hover-glow {
    transition: all 0.3s ease;
}

.hover-glow:hover {
    box-shadow: 0 0 20px rgba(0, 247, 255, 0.5);
    border-color: rgba(0, 247, 255, 0.5);
}

/* Add some subtle grid lines for depth */
body:after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(0deg, transparent 24%, rgba(0, 247, 255, 0.05) 25%, rgba(0, 247, 255, 0.05) 26%, transparent 27%, transparent 74%, rgba(0, 247, 255, 0.05) 75%, rgba(0, 247, 255, 0.05) 76%, transparent 77%, transparent),
        linear-gradient(90deg, transparent 24%, rgba(0, 247, 255, 0.05) 25%, rgba(0, 247, 255, 0.05) 26%, transparent 27%, transparent 74%, rgba(0, 247, 255, 0.05) 75%, rgba(0, 247, 255, 0.05) 76%, transparent 77%, transparent);
    background-size: 50px 50px;
    z-index: -1;
    opacity: 0.3;
    pointer-events: none;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    position: relative;
    z-index: 1;
    flex: 1;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(0, 247, 255, 0.1);
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(0, 247, 255, 0.1);
    margin-top: 20px;
    margin-bottom: 20px;
}

/* Header */
header {
    padding: 10px 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    position: relative;
    z-index: 10;
    border-bottom: 1px solid rgba(0, 247, 255, 0.2);
    box-shadow: 0 0 30px rgba(0, 247, 255, 0.1);
    margin-bottom: 20px;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo-container {
    display: flex;
    align-items: center;
}

.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #fff;
    transition: all 0.3s ease;
}

.logo-link:hover {
    transform: scale(1.02);
    text-shadow: 0 0 10px rgba(0, 247, 255, 0.5);
}

.header-logo {
    height: 50px;
    width: auto;
    margin-right: 15px;
    transition: all 0.3s ease;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-text h1 {
    margin: 0;
    font-size: 1.5rem;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 2px;
    background: linear-gradient(90deg, #fff, #00f7ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo-text .tagline {
    margin: 0;
    font-size: 0.7rem;
    color: #6b7280;
    letter-spacing: 1px;
}

header h1 {
    font-size: 3.5rem;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 3px;
    text-shadow: 0 0 10px #00f7ff, 0 0 20px #00f7ff;
    animation: glow 2s ease-in-out infinite alternate;
}

header h1 a {
    color: inherit;
    text-decoration: none;
}

.tagline {
    font-size: 1.5rem;
    color: #00f7ff;
    margin-bottom: 20px;
}

/* Navigation */
nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    gap: 15px;
    padding: 15px 0;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    margin: 10px 0;
    flex-wrap: wrap;
}

.main-nav a {
    color: #00f7ff;
    text-decoration: none;
    padding: 8px 20px;
    border-radius: 20px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    font-size: 0.9em;
    letter-spacing: 1px;
    font-weight: 500;
    background: rgba(0, 247, 255, 0.1);
    border: 1px solid rgba(0, 247, 255, 0.2);
    box-shadow: 0 0 10px rgba(0, 247, 255, 0.1);
    border: 1px solid transparent;
}

.main-nav a:hover {
    color: #00f7ff;
    background: rgba(0, 247, 255, 0.2);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 247, 255, 0.2);
}

.card:hover,
.panel:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4), 0 0 30px rgba(0, 247, 255, 0.2);
    border-color: rgba(0, 247, 255, 0.4);
}

/* Flash Messages */
.flash-message {
    padding: 15px 25px;
    margin: 0 auto 25px;
    border-radius: 6px;
    text-align: center;
    font-weight: 500;
    max-width: 800px;
    position: relative;
    overflow: hidden;
    border: 1px solid transparent;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    animation: slideDown 0.5s ease-out, fadeIn 0.5s ease-out;
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
}

.flash-success {
    background: rgba(40, 167, 69, 0.15);
    color: #4ade80;
    border-color: rgba(74, 222, 128, 0.3);
    box-shadow: 0 0 20px rgba(74, 222, 128, 0.2);
}

.flash-error {
    background: rgba(220, 53, 69, 0.15);
    color: #f87171;
    border-color: rgba(248, 113, 113, 0.3);
    box-shadow: 0 0 20px rgba(248, 113, 113, 0.2);
}

/* Forms */
.form-container {
    max-width: 500px;
    margin: 0 auto 40px;
    background: rgba(0, 0, 0, 0.7);
    padding: 30px;
    border-radius: 10px;
    border: 1px solid #00f7ff;
    box-shadow: 0 0 20px rgba(0, 247, 255, 0.5);
}

.card {
    background: rgba(11, 13, 23, 0.6);
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 25px;
    border: 1px solid rgba(0, 247, 255, 0.2);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(5px);
}

.form-group {
    margin-bottom: 25px;
    position: relative;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #00f7ff;
}

input[type="text"],
input[type="email"],
input[type="password"],
textarea,
select {
    width: 100%;
    padding: 12px 15px;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(0, 247, 255, 0.3);
    border-radius: 6px;
    font-size: 16px;
    color: #fff;
    font-family: 'euro caps', sans-serif;
    transition: all 0.3s ease;
    box-shadow: 0 0 10px rgba(0, 247, 255, 0.1);
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: #00f7ff;
    box-shadow: 0 0 15px rgba(0, 247, 255, 0.3);
    background: rgba(0, 0, 0, 0.7);
    box-shadow: 0 0 10px rgba(0, 247, 255, 0.5);
}

/* Buttons */
/* Layout Containers */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.main-container {
    flex: 1;
    padding: var(--content-padding) 0;
    position: relative;
    z-index: 1;
}

.content-container {
    background: rgba(11, 15, 25, 0.8);
    border-radius: 8px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(0, 247, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    position: relative;
    z-index: 2;
}

.section {
    padding: var(--section-spacing) 0;
    position: relative;
}

.section-title {
    text-align: center;
    margin-bottom: 2rem;
    color: #00f7ff;
    font-size: 2.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Grid System */
.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.col {
    flex: 1;
    padding: 0 15px;
    min-width: 0;
}

/* Responsive Grid */
@media (max-width: 768px) {
    .row {
        flex-direction: column;
    }
    
    .col {
        width: 100%;
        margin-bottom: 1.5rem;
    }
    
    .col:last-child {
        margin-bottom: 0;
    }
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background: linear-gradient(45deg, #0066ff, #00f7ff);
    color: #fff;
    text-decoration: none;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-family: 'euro caps', sans-serif;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 0 15px rgba(0, 247, 255, 0.3);
    border: 1px solid rgba(0, 247, 255, 0.3);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: bold;
    display: inline-block;
    text-decoration: none;
    text-align: center;
}

.btn-primary {
    background: #00f7ff;
    color: #000;
    box-shadow: 0 0 15px rgba(0, 247, 255, 0.8);
}

.btn-primary.btn:hover {
    background: linear-gradient(45deg, #0052cc, #00d4ff);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0, 247, 255, 0.5);
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(0, 247, 255, 0.8);
}

.btn-secondary {
    background: transparent;
    color: #00f7ff;
    border: 2px solid #00f7ff;
}

.btn-secondary:hover {
    background: rgba(0, 247, 255, 0.1);
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(0, 247, 255, 0.3);
}

.btn-block {
    display: block;
    width: 100%;
}

/* Dashboard */
.dashboard-container {
    padding: 30px 0;
}

.dashboard-header {
    text-align: center;
    margin-bottom: 40px;
    padding: 20px;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 8px;
    border: 1px solid #00f7ff;
    box-shadow: 0 0 20px rgba(0, 247, 255, 0.2);
}

.dashboard-header h2 {
    color: #00f7ff;
    margin-bottom: 10px;
    font-size: 2.2rem;
    text-shadow: 0 0 10px #00f7ff;
}

.dashboard-header p {
    color: #aaa;
    font-size: 1.1rem;
}

/* Admin Sections */
.admin-sections {
    display: grid;
    gap: 30px;
    margin-top: 30px;
}

.admin-section {
    background: rgba(0, 0, 0, 0.6);
    padding: 25px;
    border-radius: 8px;
    border: 1px solid #333;
    transition: all 0.3s ease;
}

.admin-section:hover {
    border-color: #00f7ff;
    box-shadow: 0 5px 20px rgba(0, 247, 255, 0.2);
}

.admin-section h3 {
    color: #00f7ff;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #333;
    font-size: 1.5rem;
}

/* User Sections */
.user-sections {
    display: grid;
    gap: 30px;
    margin-top: 30px;
}

.user-section {
    background: rgba(0, 0, 0, 0.6);
    padding: 25px;
    border-radius: 8px;
    border: 1px solid #333;
    transition: all 0.3s ease;
}

.user-section:hover {
    border-color: #00f7ff;
    box-shadow: 0 5px 20px rgba(0, 247, 255, 0.2);
}

.user-section h3 {
    color: #00f7ff;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #333;
    font-size: 1.5rem;
}

/* Profile Card */
.profile-card {
    display: flex;
    align-items: center;
    gap: 25px;
    padding: 20px;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 8px;
    border: 1px solid #333;
}

.profile-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(0, 247, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: #00f7ff;
    border: 2px solid #00f7ff;
}

.profile-info p {
    margin: 8px 0;
    color: #ddd;
}

.profile-info strong {
    color: #00f7ff;
    margin-right: 5px;
}

/* Quick Actions */
.quick-actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.quick-actions .btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.quick-actions .btn i {
    font-size: 1rem;
}

/* No Links Message */
.no-links {
    text-align: center;
    padding: 30px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    border: 1px dashed #444;
}

.no-links p {
    color: #888;
    margin: 0;
}

/* Link Meta */
.link-meta {
    margin-top: 15px;
    padding-top: 10px;
    border-top: 1px solid #333;
    font-size: 0.85rem;
    color: #888;
}

/* Feature Icons */
.feature-icon {
    font-size: 2.5rem;
    color: #00f7ff;
    margin-bottom: 15px;
    text-shadow: 0 0 10px rgba(0, 247, 255, 0.5);
}

/* Secondary CTA */
.cta-secondary {
    margin-top: 60px;
    background: rgba(0, 0, 0, 0.7);
    border: 1px solid #00f7ff;
    box-shadow: 0 0 20px rgba(0, 247, 255, 0.3);
}

/* Auth Buttons */
.auth-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .profile-card {
        flex-direction: column;
        text-align: center;
    }
    
    .quick-actions {
        flex-direction: column;
    }
    
    .quick-actions .btn {
        width: 100%;
        justify-content: center;
    }
    
    .auth-buttons {
        flex-direction: column;
        gap: 10px;
    }
    
    .auth-buttons .btn {
        width: 100%;
        text-align: center;
    }
}

/* Links List */
.links-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.link-card {
    background: rgba(0, 0, 0, 0.6);
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #333;
    transition: all 0.3s ease;
}

.link-card:hover {
    transform: translateY(-5px);
    border-color: #00f7ff;
    box-shadow: 0 5px 15px rgba(0, 247, 255, 0.3);
}

.link-card h3 {
    color: #00f7ff;
    margin-bottom: 10px;
}

.link-card p {
    margin-bottom: 15px;
    color: #ccc;
}

.link-actions {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

/* Animations */
@keyframes glow {
    from {
        text-shadow: 0 0 10px #00f7ff, 0 0 20px #00f7ff;
    }
    to {
        text-shadow: 0 0 20px #00f7ff, 0 0 30px #00f7ff, 0 0 40px #00f7ff;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    header h1 {
        font-size: 2.5rem;
    }
    
    .tagline {
        font-size: 1.2rem;
    }
    
    .main-nav {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
    
    .main-nav a {
        display: block;
        width: 100%;
        text-align: center;
    }
    
    .form-container {
        padding: 20px;
    }
}

/* Footer */
footer {
    text-align: center;
    padding: 60px 0 30px;
    margin-top: 60px;
    position: relative;
    background: rgba(11, 15, 25, 0.95);
    color: #a0aec0;
    border-top: 1px solid rgba(0, 247, 255, 0.2);
    overflow: hidden;
    min-height: 200px; /* Ensure minimum height */
}

footer:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #00f7ff, transparent);
    animation: scanline 8s linear infinite;
    z-index: 1;
}

@keyframes scanline {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.footer-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 25px;
    margin-bottom: 30px;
}

.footer-links a {
    color: #a0aec0;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    padding: 5px 10px;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
}

.footer-links a:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 10px;
    right: 10px;
    height: 2px;
    background: #00f7ff;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.3s ease, background 0.3s ease;
}

.footer-links a:hover {
    color: #00f7ff;
    text-shadow: 0 0 10px rgba(0, 247, 255, 0.5);
}

.footer-links a:hover:after {
    transform: scaleX(1);
}

.copyright {
    font-size: 0.9em;
    color: #6b7280;
    margin: 15px 0 10px;
    line-height: 1.6;
}

.copyright a {
    color: #a0aec0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.copyright a:hover {
    color: #00f7ff;
    text-decoration: underline;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin: 25px 0;
}

.social-links a {
    color: #a0aec0;
    font-size: 1.8rem;
    transition: all 0.3s ease;
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.social-links a:hover {
    color: #00f7ff;
    transform: translateY(-5px) scale(1.1);
    text-shadow: 0 0 20px rgba(0, 247, 255, 0.7);
    background: rgba(0, 247, 255, 0.1);
}

/* Mobile Dropdown Styles */
@media (max-width: 768px) {
    .user-dropdown {
        width: 100%;
    }
    
    .user-dropdown-menu {
        position: static;
        display: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        border: none;
        box-shadow: none;
        background: transparent;
    }
    
    .user-dropdown:hover .user-dropdown-menu {
        transform: none;
    }
    
    .user-dropdown.active .user-dropdown-menu {
        display: block;
    }
    
    .user-dropdown-menu a {
        padding: 0.5rem 0;
    }
    
    .login-btn {
        justify-content: center;
        width: 100%;
    }
}

/* User Status in Footer */
.user-status {
    margin-top: 20px;
    font-size: 0.9em;
    color: #9ca3af;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    padding: 10px 15px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.user-status span {
    display: inline-flex;
    align-items: center;
}

.user-status strong {
    color: #00f7ff;
    font-weight: 500;
}

.admin-badge {
    display: inline-block;
    background: linear-gradient(45deg, #ff00cc, #3333ff);
    color: white;
    font-size: 0.7em;
    padding: 2px 8px;
    border-radius: 10px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    animation: pulse 2s infinite;
    margin-left: 5px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    footer {
        padding: 40px 0 20px;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 15px;
        text-align: center;
        margin-bottom: 20px;
    }
    
    .footer-content {
        gap: 20px;
    }
    
    .social-links {
        gap: 15px;
        margin: 15px 0;
    }
    
    .social-links a {
        width: 44px;
        height: 44px;
        font-size: 1.5rem;
    }
    
    .user-status {
        flex-direction: column;
        gap: 8px;
        padding: 8px 12px;
        font-size: 0.85em;
        text-align: center;
    }
    
    .copyright {
        font-size: 0.8em;
        line-height: 1.5;
    }
}

footer p {
    margin: 5px 0;
}
