/* Firefox Browser Styles */
.firefox-browser {
    width: 100%;
    height: 100%;
    background: #f9f9fa;
    display: flex;
    flex-direction: column;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Title Bar */
.firefox-titlebar {
    background: linear-gradient(to bottom, #e8e8e8, #d0d0d0);
    border-bottom: 1px solid #bbb;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 10px;
    user-select: none;
}

.titlebar-buttons {
    display: flex;
    gap: 8px;
}

.titlebar-btn {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    font-size: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.titlebar-btn.minimize { background: #ffbd2e; }
.titlebar-btn.maximize { background: #28ca42; }
.titlebar-btn.close { background: #ff5f56; }

.titlebar-title {
    font-size: 13px;
    font-weight: 500;
    color: #333;
}

/* Menu Bar */
.firefox-menubar {
    background: #f0f0f0;
    border-bottom: 1px solid #ccc;
    height: 28px;
    display: flex;
    align-items: center;
    padding: 0 10px;
    gap: 20px;
}

.menu-item {
    padding: 4px 8px;
    cursor: pointer;
    font-size: 13px;
    border-radius: 3px;
    transition: background 0.2s;
}

.menu-item:hover {
    background: #e0e0e0;
}

/* Navigation Bar */
.firefox-navbar {
    background: #f0f0f0;
    border-bottom: 1px solid #ccc;
    height: 40px;
    display: flex;
    align-items: center;
    padding: 0 10px;
    gap: 10px;
}

.nav-buttons {
    display: flex;
    gap: 5px;
}

.nav-btn {
    width: 32px;
    height: 32px;
    border: 1px solid #ccc;
    background: #fff;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.nav-btn:hover {
    background: #e8e8e8;
    border-color: #999;
}

.nav-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.address-bar {
    flex: 1;
    display: flex;
    align-items: center;
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 20px;
    padding: 0 12px;
    height: 32px;
}

.security-indicator {
    color: #0a84ff;
    margin-right: 8px;
}

#firefox-url-input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 14px;
    background: transparent;
}

.url-go-btn {
    background: none;
    border: none;
    color: #666;
    cursor: pointer;
    padding: 4px;
}

.browser-actions {
    display: flex;
    gap: 5px;
}

.action-btn {
    width: 32px;
    height: 32px;
    border: none;
    background: transparent;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.action-btn:hover {
    background: #e0e0e0;
}

/* Tab Bar */
.firefox-tabbar {
    background: #e8e8e8;
    border-bottom: 1px solid #ccc;
    height: 36px;
    display: flex;
    align-items: flex-end;
    padding: 0 10px;
}

.tabs-container {
    display: flex;
    flex: 1;
    gap: 2px;
}

.firefox-tab {
    background: #d0d0d0;
    border: 1px solid #bbb;
    border-bottom: none;
    border-radius: 8px 8px 0 0;
    height: 32px;
    min-width: 120px;
    max-width: 240px;
    display: flex;
    align-items: center;
    padding: 0 12px;
    cursor: pointer;
    position: relative;
    transition: all 0.2s;
}

.firefox-tab.active {
    background: #f9f9fa;
    border-color: #999;
    z-index: 1;
}

.firefox-tab:hover:not(.active) {
    background: #e0e0e0;
}

.tab-favicon {
    width: 16px;
    height: 16px;
    margin-right: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

.tab-title {
    flex: 1;
    font-size: 13px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.tab-close {
    width: 16px;
    height: 16px;
    border: none;
    background: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 8px;
    opacity: 0.7;
    transition: all 0.2s;
}

.tab-close:hover {
    background: #ccc;
    opacity: 1;
}

.new-tab-btn {
    width: 32px;
    height: 32px;
    border: none;
    background: transparent;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 10px;
}

.new-tab-btn:hover {
    background: #e0e0e0;
}

/* Bookmarks Bar */
.firefox-bookmarks-bar {
    background: #f5f5f5;
    border-bottom: 1px solid #ddd;
    height: 32px;
    display: flex;
    align-items: center;
    padding: 0 10px;
    gap: 10px;
}

.bookmark-item {
    padding: 4px 8px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: background 0.2s;
}

.bookmark-item:hover {
    background: #e8e8e8;
}

/* Main Content */
.firefox-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.tab-content {
    flex: 1;
    background: #fff;
    overflow: auto;
    padding: 20px;
}

/* Developer Tools */
.firefox-devtools {
    height: 300px;
    background: #f5f5f5;
    border-top: 1px solid #ddd;
    display: flex;
    flex-direction: column;
}

.devtools-tabs {
    background: #e8e8e8;
    border-bottom: 1px solid #ccc;
    height: 32px;
    display: flex;
    align-items: center;
    padding: 0 10px;
    gap: 5px;
}

.devtools-tab {
    padding: 6px 12px;
    border: none;
    background: transparent;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
    transition: background 0.2s;
}

.devtools-tab.active {
    background: #0a84ff;
    color: white;
}

.devtools-tab:hover:not(.active) {
    background: #e0e0e0;
}

.devtools-content {
    flex: 1;
    padding: 10px;
    overflow: auto;
}

/* Console */
.console-container {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.console-output {
    flex: 1;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 10px;
    overflow: auto;
    font-family: 'Monaco', 'Menlo', monospace;
    font-size: 12px;
    margin-bottom: 10px;
}

.console-line {
    margin-bottom: 4px;
    line-height: 1.4;
}

.console-line.info {
    color: #0a84ff;
}

.console-line.command {
    color: #333;
    font-weight: bold;
}

.console-line.result {
    color: #666;
}

.console-input {
    display: flex;
    align-items: center;
    gap: 8px;
}

.console-prompt {
    color: #0a84ff;
    font-family: monospace;
    font-weight: bold;
}

#console-command {
    flex: 1;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: monospace;
    font-size: 12px;
}

/* Inspector */
.inspector-container {
    display: flex;
    height: 100%;
    gap: 10px;
}

.inspector-tree {
    flex: 1;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 10px;
    overflow: auto;
}

.html-tree {
    font-family: monospace;
    font-size: 12px;
}

.html-element {
    margin-bottom: 2px;
    color: #333;
}

.indent { margin-left: 20px; }
.indent2 { margin-left: 40px; }

.inspector-styles {
    width: 300px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 10px;
    overflow: auto;
}

.style-property {
    font-family: monospace;
    font-size: 12px;
    margin-bottom: 4px;
    color: #666;
}

/* Network Tool */
.network-container {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.network-toolbar {
    background: #f0f0f0;
    border-bottom: 1px solid #ddd;
    padding: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.network-table {
    flex: 1;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    margin-top: 10px;
    overflow: auto;
}

.network-header {
    background: #f5f5f5;
    border-bottom: 1px solid #ddd;
    padding: 8px;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
    gap: 10px;
    font-weight: bold;
    font-size: 12px;
}

.network-row {
    padding: 8px;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
    gap: 10px;
    border-bottom: 1px solid #eee;
    font-size: 12px;
}

.status-200 {
    color: #28a745;
    font-weight: bold;
}

/* Security Tool */
.security-container {
    height: 100%;
    padding: 10px;
}

.security-overview {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 15px;
    margin-bottom: 15px;
}

.security-status {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: bold;
}

.security-status.secure {
    color: #28a745;
}

.security-status.insecure {
    color: #dc3545;
}

.security-details {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 15px;
}

.security-item {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid #eee;
    font-size: 13px;
}

/* Status Bar */
.firefox-statusbar {
    background: #f0f0f0;
    border-top: 1px solid #ccc;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 10px;
    font-size: 12px;
    color: #666;
}

.status-left, .status-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* Context Menu */
.context-menu {
    position: fixed;
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    z-index: 10000;
    min-width: 150px;
}

.context-item {
    padding: 8px 12px;
    cursor: pointer;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: background 0.2s;
}

.context-item:hover {
    background: #f0f0f0;
}

.context-separator {
    height: 1px;
    background: #eee;
    margin: 4px 0;
}

/* Modal Dialogs */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10001;
}

.modal-dialog {
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    min-width: 400px;
    max-width: 600px;
    max-height: 80vh;
    overflow: auto;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.dialog-buttons {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    margin-top: 20px;
}

.dialog-buttons button {
    padding: 8px 16px;
    border: 1px solid #ccc;
    border-radius: 4px;
    cursor: pointer;
    background: #f0f0f0;
    transition: background 0.2s;
}

.dialog-buttons button:hover {
    background: #e0e0e0;
}

/* Page Content Styles */
.newtab-page {
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px 20px;
}

.newtab-header {
    text-align: center;
    margin-bottom: 40px;
}

.newtab-header h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    color: #333;
}

.shortcuts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.shortcut-item {
    background: #f5f5f5;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
}

.shortcut-item:hover {
    background: #e8e8e8;
    transform: translateY(-2px);
}

.shortcut-icon {
    font-size: 2rem;
    margin-bottom: 10px;
}

.shortcut-title {
    font-weight: bold;
    color: #333;
}

.recent-items {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.recent-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.2s;
}

.recent-item:hover {
    background: #f0f0f0;
}

.recent-icon {
    font-size: 1.2rem;
}

.recent-info {
    flex: 1;
}

.recent-title {
    font-weight: bold;
    margin-bottom: 2px;
}

.recent-url {
    font-size: 0.9rem;
    color: #666;
}

/* Neuro-Dev Site Styles */
.neuro-dev-site {
    font-family: -apple-system, BlinkMacSystemFont, sans-serif;
}

.site-header {
    background: linear-gradient(135deg, #1a1a1a, #2d1b69);
    color: white;
    padding: 20px 0;
}

.site-nav {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    color: white;
    text-decoration: none;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: #00ff41;
}

.site-main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero {
    text-align: center;
    padding: 60px 0;
    background: linear-gradient(135deg, #1a1a1a, #2d1b69);
    color: white;
    margin: -20px -20px 40px -20px;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin: 40px 0;
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 2rem;
    font-weight: bold;
    color: #00ff41;
}

.course-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.course-card {
    background: #f8f9fa;
    border: 1px solid #ddd;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s;
}

.course-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.course-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.course-card button {
    background: #0a84ff;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: bold;
    transition: background 0.2s;
}

.course-card button:hover {
    background: #0066cc;
}

/* Responsive Design */
@media (max-width: 768px) {
    .firefox-navbar {
        flex-wrap: wrap;
        height: auto;
        padding: 5px;
    }
    
    .nav-buttons {
        order: 2;
        width: 100%;
        justify-content: center;
        margin-top: 5px;
    }
    
    .address-bar {
        order: 1;
        margin-bottom: 5px;
    }
    
    .browser-actions {
        order: 3;
    }
    
    .tabs-container {
        overflow-x: auto;
    }
    
    .firefox-tab {
        min-width: 100px;
        flex-shrink: 0;
    }
    
    .devtools-content {
        font-size: 11px;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }
    
    .course-grid {
        grid-template-columns: 1fr;
    }
}

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

.firefox-notification {
    animation: slideIn 0.3s ease;
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    .firefox-browser {
        background: #2b2a33;
        color: #fbfbfe;
    }
    
    .firefox-titlebar {
        background: linear-gradient(to bottom, #4a4a4f, #38383d);
        border-bottom-color: #606060;
    }
    
    .firefox-menubar,
    .firefox-navbar {
        background: #38383d;
        border-bottom-color: #606060;
    }
    
    .nav-btn,
    .address-bar {
        background: #42414d;
        border-color: #606060;
        color: #fbfbfe;
    }
    
    .firefox-tabbar {
        background: #323234;
    }
    
    .firefox-tab {
        background: #42414d;
        border-color: #606060;
        color: #fbfbfe;
    }
    
    .firefox-tab.active {
        background: #2b2a33;
    }
    
    .tab-content {
        background: #2b2a33;
        color: #fbfbfe;
    }
}
/* Additional styles for browser.js integration */

.quick-access {
    margin-top: 40px;
    padding: 30px;
    background: rgba(255,255,255,0.05);
    border-radius: 12px;
}

.link-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.link-card {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 8px;
    padding: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.link-card:hover {
    background: rgba(255,255,255,0.15);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

.link-card i {
    font-size: 2rem;
    margin-bottom: 10px;
    color: #00ff41;
}

.link-card h4 {
    margin: 10px 0;
    color: #fff;
}

.link-card p {
    color: #ccc;
    font-size: 0.9rem;
}

/* Vulnerable App Styles */
.vulnerable-app {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 20px;
}

.app-container {
    background: #1a1a1a;
    border-radius: 12px;
    padding: 30px;
    margin-top: 20px;
}

.login-form {
    background: #2d2d2d;
    padding: 30px;
    border-radius: 8px;
    margin-bottom: 30px;
}

.login-form h3 {
    color: #fff;
    margin-bottom: 20px;
    text-align: center;
}

.login-form input {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    background: #333;
    border: 1px solid #555;
    border-radius: 4px;
    color: #fff;
    font-size: 14px;
}

.login-form button {
    width: 100%;
    padding: 12px;
    background: #0066cc;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
}

.login-form button:hover {
    background: #0052a3;
}

.vulnerability-hints {
    background: rgba(255, 193, 7, 0.1);
    border: 1px solid #ffc107;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
}

.vulnerability-hints h4 {
    color: #ffc107;
    margin-bottom: 15px;
}

.hint-item {
    background: rgba(255, 193, 7, 0.2);
    padding: 10px;
    border-radius: 4px;
    margin-bottom: 10px;
    cursor: pointer;
    transition: background 0.3s;
}

.hint-item:hover {
    background: rgba(255, 193, 7, 0.3);
}

.attack-success {
    background: rgba(0, 255, 65, 0.2);
    border: 1px solid #00ff41;
    color: #00ff41;
    padding: 15px;
    border-radius: 8px;
    margin-top: 20px;
    font-weight: bold;
}

.attack-failed {
    background: rgba(255, 107, 107, 0.2);
    border: 1px solid #ff6b6b;
    color: #ff6b6b;
    padding: 15px;
    border-radius: 8px;
    margin-top: 20px;
}

/* OWASP Guide Styles */
.owasp-guide {
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px 20px;
}

.owasp-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 30px;
}

.owasp-item {
    display: grid;
    grid-template-columns: 80px 1fr 100px;
    align-items: center;
    background: #2d2d2d;
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid #ff6b6b;
}

.owasp-item.high {
    border-left-color: #ff6b6b;
}

.owasp-item.medium {
    border-left-color: #ffd93d;
}

.owasp-item.low {
    border-left-color: #4ecdc4;
}

.owasp-id {
    font-size: 1.5rem;
    font-weight: bold;
    color: #fff;
}

.owasp-name {
    color: #fff;
    font-size: 1.1rem;
}

.owasp-risk {
    text-align: center;
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 0.9rem;
    font-weight: bold;
}

.owasp-item.high .owasp-risk {
    background: #ff6b6b;
    color: #fff;
}

/* CTF Hub Styles */
.ctf-hub {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    text-align: center;
}

.ctf-hub h1 {
    color: #00ff41;
    margin-bottom: 10px;
}

.challenge-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.category-card {
    background: linear-gradient(135deg, #1a1a1a, #2d2d2d);
    border: 1px solid #333;
    border-radius: 12px;
    padding: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 255, 65, 0.2);
    border-color: #00ff41;
}

.difficulty {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: bold;
}

.difficulty.easy {
    background: #4ecdc4;
    color: #000;
}

.difficulty.medium {
    background: #ffd93d;
    color: #000;
}

.difficulty.hard {
    background: #ff6b6b;
    color: #fff;
}

.category-card i {
    font-size: 3rem;
    color: #00ff41;
    margin-bottom: 20px;
}

.category-card h3 {
    color: #fff;
    margin-bottom: 15px;
}

.category-card p {
    color: #ccc;
    margin-bottom: 20px;
}

.points {
    background: rgba(0, 255, 65, 0.2);
    color: #00ff41;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: bold;
    display: inline-block;
}

/* CTF Challenge Styles */
.ctf-challenge {
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px 20px;
}

.challenge-info {
    background: rgba(0, 255, 65, 0.1);
    border: 1px solid #00ff41;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 30px;
}

.flag-hint {
    background: rgba(255, 193, 7, 0.2);
    color: #ffc107;
    padding: 10px;
    border-radius: 4px;
    margin-top: 10px;
    font-family: monospace;
}

/* Web Lab Styles */
.web-lab {
    margin-top: 30px;
}

.vuln-targets {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.target-card {
    background: #2d2d2d;
    border: 1px solid #555;
    border-radius: 8px;
    padding: 25px;
}

.target-card h4 {
    color: #fff;
    margin-bottom: 15px;
}

.vuln-form {
    display: flex;
    gap: 10px;
}

.vuln-form input {
    flex: 1;
    padding: 10px;
    background: #333;
    border: 1px solid #555;
    border-radius: 4px;
    color: #fff;
}

.vuln-form button {
    padding: 10px 20px;
    background: #ff6b6b;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
}

.vuln-form button:hover {
    background: #ff5252;
}

/* Crypto Lab Styles */
.crypto-lab {
    margin-top: 30px;
}

.crypto-challenges {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.crypto-card {
    background: #2d2d2d;
    border: 1px solid #555;
    border-radius: 8px;
    padding: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.crypto-card:hover {
    border-color: #ffd93d;
    background: #333;
}

.crypto-card h4 {
    color: #ffd93d;
    margin-bottom: 10px;
}

.crypto-card p {
    color: #ccc;
    font-family: monospace;
    margin-bottom: 15px;
    word-break: break-all;
}

.crypto-card button {
    background: #ffd93d;
    color: #000;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
}

/* Responsive Design */
@media (max-width: 768px) {
    .link-grid {
        grid-template-columns: 1fr;
    }
    
    .challenge-categories {
        grid-template-columns: 1fr;
    }
    
    .vuln-targets {
        grid-template-columns: 1fr;
    }
    
    .crypto-challenges {
        grid-template-columns: 1fr;
    }
    
    .owasp-item {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 10px;
    }
}