/* NeonConnect - Futuristic Mobile-First CSS */

/* CSS Custom Properties for Gold Theme */
:root {
    /* Gold Colors */
    --neon-primary: #ffd700;
    --neon-secondary: #ffb347;
    --neon-accent: #daa520;
    --neon-warning: #ff8c00;
    --neon-purple: #b8860b;
    
    /* Dark Theme Base */
    --bg-primary: #0a0a0a;
    --bg-secondary: #1a1a1a;
    --bg-tertiary: #2a2a2a;
    --bg-card: rgba(26, 26, 26, 0.8);
    --bg-modal: rgba(10, 10, 10, 0.95);
    
    /* Text Colors */
    --text-primary: #ffffff;
    --text-secondary: #cccccc;
    --text-muted: #888888;
    
    /* Shadows and Glows */
    --glow-primary: 0 0 20px rgba(255, 215, 0, 0.5);
    --glow-secondary: 0 0 20px rgba(255, 179, 71, 0.5);
    --glow-accent: 0 0 20px rgba(218, 165, 32, 0.5);
    --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.3);
    
    /* Animations */
    --transition-fast: 0.2s ease-in-out;
    --transition-normal: 0.3s ease-in-out;
    --transition-slow: 0.5s ease-in-out;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
    color: var(--text-primary);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

/* Animated Background Pattern */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 80%, rgba(255, 215, 0, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 179, 71, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(218, 165, 32, 0.05) 0%, transparent 50%);
    z-index: -1;
    animation: backgroundShift 20s ease-in-out infinite;
}

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

/* Loading Screen */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-primary);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    transition: opacity var(--transition-slow);
}

.neon-spinner {
    width: 60px;
    height: 60px;
    border: 3px solid transparent;
    border-top: 3px solid var(--neon-primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    box-shadow: var(--glow-primary);
    margin-bottom: 2rem;
}

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

.loading-signature {
    margin-bottom: 1rem;
}

.signature-logo-loading {
    height: 60px;
    width: auto;
    max-width: 250px;
    object-fit: contain;
    filter: drop-shadow(0 0 15px rgba(255, 215, 0, 0.8));
    animation: pulse 2s ease-in-out infinite;
}

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

/* Utility Classes */
.hidden {
    display: none !important;
}

.full-width {
    width: 100%;
}

/* App Container */
.app-container {
    max-width: 400px;
    margin: 0 auto;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    padding: 1rem;
    gap: 1.5rem;
}

/* Header */
.app-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 215, 0, 0.2);
}

.logo {
    display: flex;
    align-items: center;
    height: 40px;
}

.signature-logo {
    height: 100%;
    width: auto;
    max-width: 200px;
    object-fit: contain;
    filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.3));
    transition: filter var(--transition-fast);
}

.signature-logo:hover {
    filter: drop-shadow(0 0 15px rgba(255, 215, 0, 0.5));
}

.icon-btn {
    background: transparent;
    border: 1px solid var(--neon-secondary);
    color: var(--neon-secondary);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.icon-btn:hover {
    background: rgba(255, 179, 71, 0.1);
    box-shadow: var(--glow-secondary);
    transform: scale(1.05);
}

/* Profile Selector */
.profile-selector {
    margin-bottom: 1rem;
}

.profile-tabs {
    display: flex;
    background: var(--bg-tertiary);
    border-radius: 12px;
    padding: 4px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.profile-tab {
    flex: 1;
    background: transparent;
    border: none;
    color: var(--text-secondary);
    padding: 0.75rem 0.5rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all var(--transition-fast);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.8rem;
}

.profile-tab i {
    font-size: 1.2rem;
}

.profile-tab:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.05);
}

.profile-tab.active {
    background: linear-gradient(135deg, var(--neon-primary), var(--neon-secondary));
    color: var(--bg-primary);
    box-shadow: var(--glow-primary);
    font-weight: bold;
}

/* Profile Display */
.profile-display {
    background: var(--bg-card);
    border-radius: 20px;
    padding: 2rem 1.5rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 215, 0, 0.2);
    box-shadow: var(--shadow-card);
}

.profile-card {
    text-align: center;
    margin-bottom: 2rem;
}

.profile-avatar {
    position: relative;
    width: 120px;
    height: 120px;
    margin: 0 auto 1.5rem;
}

.profile-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--neon-primary);
    box-shadow: var(--glow-primary);
}

.avatar-overlay {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 36px;
    height: 36px;
    background: var(--neon-accent);
    border: none;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
    box-shadow: var(--glow-accent);
}

.avatar-overlay:hover {
    transform: scale(1.1);
    box-shadow: 0 0 25px rgba(218, 165, 32, 0.7);
}

.profile-name {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
    color: var(--neon-primary);
    text-shadow: var(--glow-primary);
}

.profile-title {
    font-size: 1rem;
    color: var(--neon-secondary);
    margin-bottom: 0.25rem;
}

.profile-company {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* Contact Info */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(255, 215, 0, 0.1);
    transition: all var(--transition-fast);
}

.contact-item:hover {
    background: rgba(255, 215, 0, 0.1);
    border-color: var(--neon-primary);
    transform: translateX(4px);
}

.contact-item i {
    font-size: 1.2rem;
    color: var(--neon-secondary);
    width: 20px;
    text-align: center;
}

.contact-item span {
    color: var(--text-primary);
    font-size: 0.9rem;
    word-break: break-all;
}

/* QR Code Section */
.qr-section {
    text-align: center;
    padding: 1.5rem;
    background: var(--bg-card);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 179, 71, 0.2);
    box-shadow: var(--shadow-card);
}

.qr-container {
    display: inline-block;
}

.qr-code {
    width: 200px;
    height: 200px;
    border-radius: 12px;
    background: white;
    padding: 10px;
    box-shadow: var(--glow-secondary);
    margin-bottom: 1rem;
    display: block;
    border: 2px solid var(--neon-secondary);
}

.qr-label {
    color: var(--neon-secondary);
    font-size: 0.9rem;
    text-shadow: var(--glow-secondary);
}

/* NFC Info Section */
.nfc-info {
    padding: 1rem;
}

.info-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 215, 0, 0.05);
    border: 1px solid rgba(255, 215, 0, 0.2);
    border-radius: 12px;
    backdrop-filter: blur(10px);
}

.info-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--neon-primary), var(--neon-secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--bg-primary);
    flex-shrink: 0;
    animation: nfcInfoPulse 3s ease-in-out infinite;
}

@keyframes nfcInfoPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.info-content h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--neon-primary);
    margin-bottom: 0.5rem;
}

.info-content p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.4;
}

/* Action Buttons */
.action-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: auto;
}

.action-btn {
    width: 100%;
    padding: 1rem;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all var(--transition-fast);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.action-btn:active {
    transform: scale(0.98);
}

.action-btn.primary {
    background: linear-gradient(135deg, var(--neon-primary), var(--neon-secondary));
    color: var(--bg-primary);
    box-shadow: var(--glow-primary);
}

.action-btn.primary:hover {
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.7);
    transform: translateY(-2px);
}

.action-btn.secondary {
    background: transparent;
    color: var(--neon-secondary);
    border: 2px solid var(--neon-secondary);
}

.action-btn.secondary:hover {
    background: rgba(255, 179, 71, 0.1);
    box-shadow: var(--glow-secondary);
    transform: translateY(-2px);
}

.action-btn.tertiary {
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.action-btn.tertiary:hover {
    color: var(--text-primary);
    border-color: rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.05);
}

/* NFC-enabled button styling */
.action-btn.nfc-enabled {
    border-color: var(--neon-primary);
    color: var(--neon-primary);
    position: relative;
    overflow: hidden;
}

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

.action-btn.nfc-enabled:hover::before {
    left: 100%;
}

.action-btn.nfc-enabled:hover {
    background: rgba(255, 215, 0, 0.1);
    box-shadow: var(--glow-primary);
    transform: translateY(-2px);
}

/* Modal Styles */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-modal);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 1rem;
}

.modal-content {
    background: var(--bg-secondary);
    border-radius: 20px;
    width: 100%;
    max-width: 400px;
    max-height: 90vh;
    overflow-y: auto;
    border: 1px solid rgba(255, 215, 0, 0.2);
    box-shadow: var(--shadow-card);
    transform: scale(0.9);
    animation: modalSlideIn var(--transition-normal) ease-out forwards;
}

@keyframes modalSlideIn {
    to {
        transform: scale(1);
    }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-header h3 {
    color: var(--neon-primary);
    font-size: 1.25rem;
    text-shadow: var(--glow-primary);
}

.close-btn {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-size: 1.5rem;
    cursor: pointer;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
}

.close-btn:hover {
    color: var(--neon-accent);
    background: rgba(218, 165, 32, 0.1);
}

/* Form Styles */
.edit-form {
    padding: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--neon-secondary);
    font-size: 0.9rem;
    font-weight: 500;
}

.form-group input {
    width: 100%;
    padding: 0.75rem;
    background: var(--bg-tertiary);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 1rem;
    transition: all var(--transition-fast);
}

.form-group input:focus {
    outline: none;
    border-color: var(--neon-primary);
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
    background: rgba(255, 215, 0, 0.05);
}

.form-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.btn {
    flex: 1;
    padding: 0.75rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition-fast);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn.primary {
    background: linear-gradient(135deg, var(--neon-primary), var(--neon-secondary));
    color: var(--bg-primary);
}

.btn.primary:hover {
    box-shadow: var(--glow-primary);
    transform: translateY(-2px);
}

.btn.secondary {
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn.secondary:hover {
    color: var(--text-primary);
    border-color: rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.05);
}

/* Settings */
.settings-content {
    padding: 1.5rem;
}

.setting-section {
    margin-bottom: 2rem;
}

.setting-section:last-child {
    margin-bottom: 0;
}

.setting-section-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--neon-primary);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Color Theme Selection */
.color-themes {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.color-theme-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1rem;
    border-radius: 12px;
    border: 2px solid transparent;
    background: rgba(255, 255, 255, 0.05);
    cursor: pointer;
    transition: all var(--transition-fast);
    position: relative;
    backdrop-filter: blur(5px);
}

.color-theme-option:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-2px);
}

.color-theme-option.active {
    border-color: var(--neon-primary);
    background: rgba(255, 215, 0, 0.1);
    box-shadow: var(--glow-primary);
}

.theme-preview {
    display: flex;
    gap: 4px;
    margin-bottom: 0.75rem;
    padding: 8px;
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.3);
}

.theme-color {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Theme Color Definitions */
.gold-theme .theme-color.primary { background: #ffd700; }
.gold-theme .theme-color.secondary { background: #ffb347; }
.gold-theme .theme-color.accent { background: #daa520; }

.neon-theme .theme-color.primary { background: #00ff88; }
.neon-theme .theme-color.secondary { background: #00d4ff; }
.neon-theme .theme-color.accent { background: #ff0080; }

.purple-theme .theme-color.primary { background: #8a2be2; }
.purple-theme .theme-color.secondary { background: #9370db; }
.purple-theme .theme-color.accent { background: #ba55d3; }

.blue-theme .theme-color.primary { background: #00bfff; }
.blue-theme .theme-color.secondary { background: #1e90ff; }
.blue-theme .theme-color.accent { background: #4169e1; }

.red-theme .theme-color.primary { background: #ff1744; }
.red-theme .theme-color.secondary { background: #ff5722; }
.red-theme .theme-color.accent { background: #e91e63; }

.emerald-theme .theme-color.primary { background: #00e676; }
.emerald-theme .theme-color.secondary { background: #4caf50; }
.emerald-theme .theme-color.accent { background: #26a69a; }

.theme-name {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-primary);
    text-align: center;
}

.theme-check {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--neon-primary);
    color: var(--bg-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    opacity: 0;
    transform: scale(0.8);
    transition: all var(--transition-fast);
}

.color-theme-option.active .theme-check {
    opacity: 1;
    transform: scale(1);
}

/* Responsive color theme grid */
@media (min-width: 480px) {
    .color-themes {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 768px) {
    .settings-content {
        padding: 2rem;
    }
    
    .color-themes {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .color-theme-option {
        padding: 1.5rem;
    }
}

.setting-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.setting-item:last-child {
    border-bottom: none;
}

.toggle {
    width: 50px;
    height: 24px;
    background: var(--bg-tertiary);
    border-radius: 12px;
    position: relative;
    cursor: pointer;
    border: none;
    transition: all var(--transition-fast);
}

.toggle:checked {
    background: var(--neon-primary);
    box-shadow: var(--glow-primary);
}

.toggle::before {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: 20px;
    height: 20px;
    background: white;
    border-radius: 50%;
    transition: all var(--transition-fast);
}

.toggle:checked::before {
    transform: translateX(26px);
}

/* Toast Notifications */
.toast-container {
    position: fixed;
    top: 1rem;
    right: 1rem;
    z-index: 2000;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.toast {
    background: var(--bg-secondary);
    color: var(--text-primary);
    padding: 1rem;
    border-radius: 8px;
    border-left: 4px solid var(--neon-primary);
    box-shadow: var(--shadow-card);
    max-width: 300px;
    transform: translateX(100%);
    animation: slideIn var(--transition-normal) ease-out forwards;
}

.toast.success {
    border-left-color: var(--neon-primary);
}

.toast.error {
    border-left-color: var(--neon-accent);
}

.toast.warning {
    border-left-color: var(--neon-warning);
}

@keyframes slideIn {
    to {
        transform: translateX(0);
    }
}

/* Responsive Design */
@media (max-width: 480px) {
    .app-container {
        padding: 0.5rem;
        gap: 1rem;
    }
    
    .profile-display {
        padding: 1.5rem 1rem;
    }
    
    .profile-avatar {
        width: 100px;
        height: 100px;
    }
    
    .qr-code {
        width: 180px;
        height: 180px;
    }
    
    .action-btn {
        padding: 0.875rem;
    }
    
    .modal-content {
        margin: 0.5rem;
    }
}

@media (min-width: 768px) {
    .app-container {
        max-width: 450px;
        padding: 2rem;
    }
    
    .action-buttons {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }
    
    .action-btn.primary {
        grid-column: 1 / -1;
    }
}

/* Performance Optimizations */
.profile-avatar img,
.qr-code {
    will-change: transform;
}

.action-btn,
.profile-tab,
.contact-item {
    will-change: transform, box-shadow;
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus indicators */
button:focus-visible,
input:focus-visible {
    outline: 2px solid var(--neon-primary);
    outline-offset: 2px;
}

/* NFC Specific Styles */
.nfc-status {
    position: absolute;
    top: 1rem;
    right: 5rem;
    z-index: 10;
}

.nfc-indicator {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 215, 0, 0.1);
    border: 1px solid var(--neon-primary);
    border-radius: 20px;
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
    color: var(--neon-primary);
    animation: nfcPulse 2s ease-in-out infinite;
}

@keyframes nfcPulse {
    0%, 100% { opacity: 0.8; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.05); }
}

.nfc-active {
    background: linear-gradient(135deg, var(--neon-primary), var(--neon-secondary)) !important;
    color: var(--bg-primary) !important;
    animation: nfcReady 1s ease-in-out infinite alternate;
}

@keyframes nfcReady {
    0% { box-shadow: var(--glow-primary); }
    100% { box-shadow: 0 0 30px rgba(255, 215, 0, 0.8); }
}

.nfc-pulse {
    display: inline-block;
    animation: nfcWifiPulse 1.5s ease-in-out infinite;
}

@keyframes nfcWifiPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

/* NFC Contact Modal */
.nfc-contact-modal .modal-content {
    max-width: 450px;
}

.received-contact-content {
    padding: 1.5rem;
}

.contact-preview {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: rgba(255, 215, 0, 0.05);
    border-radius: 12px;
    border: 1px solid var(--neon-primary);
}

.contact-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--neon-primary), var(--neon-secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--bg-primary);
}

.contact-info h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--neon-primary);
    margin-bottom: 0.25rem;
}

.contact-info p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 0.1rem;
}

.contact-details {
    margin-bottom: 1.5rem;
}

.contact-details p {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    font-size: 0.9rem;
}

.contact-details i {
    color: var(--neon-secondary);
    width: 16px;
    text-align: center;
}

.contact-actions {
    display: flex;
    gap: 1rem;
}

.contact-actions .btn {
    flex: 1;
    padding: 0.875rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

/* NFC Permission Banner */
.nfc-permission-banner {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, var(--neon-primary), var(--neon-secondary));
    color: var(--bg-primary);
    padding: 1rem;
    text-align: center;
    z-index: 1001;
    transform: translateY(-100%);
    transition: transform var(--transition-normal);
}

.nfc-permission-banner.show {
    transform: translateY(0);
}

.nfc-permission-banner button {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--bg-primary);
    padding: 0.5rem 1rem;
    border-radius: 6px;
    margin-left: 1rem;
    cursor: pointer;
    font-weight: 500;
}

.nfc-permission-banner button:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* Color Theme Variations */
.theme-neon {
    --neon-primary: #00ff88;
    --neon-secondary: #00d4ff;
    --neon-accent: #ff0080;
    --neon-warning: #ffaa00;
    --neon-purple: #8a2be2;
    --glow-primary: 0 0 20px rgba(0, 255, 136, 0.5);
    --glow-secondary: 0 0 20px rgba(0, 212, 255, 0.5);
    --glow-accent: 0 0 20px rgba(255, 0, 128, 0.5);
}

.theme-neon::before {
    background: 
        radial-gradient(circle at 20% 80%, rgba(0, 255, 136, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(0, 212, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(255, 0, 128, 0.05) 0%, transparent 50%);
}

.theme-purple {
    --neon-primary: #8a2be2;
    --neon-secondary: #9370db;
    --neon-accent: #ba55d3;
    --neon-warning: #da70d6;
    --neon-purple: #9932cc;
    --glow-primary: 0 0 20px rgba(138, 43, 226, 0.5);
    --glow-secondary: 0 0 20px rgba(147, 112, 219, 0.5);
    --glow-accent: 0 0 20px rgba(186, 85, 211, 0.5);
}

.theme-purple::before {
    background: 
        radial-gradient(circle at 20% 80%, rgba(138, 43, 226, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(147, 112, 219, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(186, 85, 211, 0.05) 0%, transparent 50%);
}

.theme-blue {
    --neon-primary: #00bfff;
    --neon-secondary: #1e90ff;
    --neon-accent: #4169e1;
    --neon-warning: #00ced1;
    --neon-purple: #4682b4;
    --glow-primary: 0 0 20px rgba(0, 191, 255, 0.5);
    --glow-secondary: 0 0 20px rgba(30, 144, 255, 0.5);
    --glow-accent: 0 0 20px rgba(65, 105, 225, 0.5);
}

.theme-blue::before {
    background: 
        radial-gradient(circle at 20% 80%, rgba(0, 191, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(30, 144, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(65, 105, 225, 0.05) 0%, transparent 50%);
}

.theme-red {
    --neon-primary: #ff1744;
    --neon-secondary: #ff5722;
    --neon-accent: #e91e63;
    --neon-warning: #ff9800;
    --neon-purple: #d32f2f;
    --glow-primary: 0 0 20px rgba(255, 23, 68, 0.5);
    --glow-secondary: 0 0 20px rgba(255, 87, 34, 0.5);
    --glow-accent: 0 0 20px rgba(233, 30, 99, 0.5);
}

.theme-red::before {
    background: 
        radial-gradient(circle at 20% 80%, rgba(255, 23, 68, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 87, 34, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(233, 30, 99, 0.05) 0%, transparent 50%);
}

.theme-emerald {
    --neon-primary: #00e676;
    --neon-secondary: #4caf50;
    --neon-accent: #26a69a;
    --neon-warning: #8bc34a;
    --neon-purple: #009688;
    --glow-primary: 0 0 20px rgba(0, 230, 118, 0.5);
    --glow-secondary: 0 0 20px rgba(76, 175, 80, 0.5);
    --glow-accent: 0 0 20px rgba(38, 166, 154, 0.5);
}

.theme-emerald::before {
    background: 
        radial-gradient(circle at 20% 80%, rgba(0, 230, 118, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(76, 175, 80, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(38, 166, 154, 0.05) 0%, transparent 50%);
}

/* Gold theme (default) - already defined in root */
.theme-gold {
    /* Uses default root colors */
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    :root {
        --bg-primary: #000000;
        --bg-secondary: #111111;
        --text-primary: #ffffff;
        --neon-primary: #ffff00;
        --neon-secondary: #ffcc00;
    }
}