/* Grunge Aesthetic Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Courier New', monospace;
    background-color: #1a1a1a;
    color: #e0e0e0;
    line-height: 1.6;
    background-image: 
        url("data:image/svg+xml,%3Csvg viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M10,10 Q20,30 30,10 T50,10' stroke='%23ff0000' stroke-width='2' fill='none'/%3E%3Cpath d='M40,40 Q50,60 60,40 T80,40' stroke='%2300ff00' stroke-width='2' fill='none'/%3E%3Cpath d='M20,70 Q30,90 40,70 T60,70' stroke='%230000ff' stroke-width='2' fill='none'/%3E%3Ccircle cx='50' cy='50' r='10' fill='rgba(255,255,255,0.2)'/%3E%3C/svg%3E"),
        url("data:image/svg+xml,%3Csvg viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Ctext x='10' y='20' font-family='sans-serif' font-size='8' fill='%23ff00ff'%3EGRAFF%3C/text%3E%3Ctext x='30' y='40' font-family='sans-serif' font-size='10' fill='%23ffff00'%3ETI%3C/text%3E%3Ctext x='50' y='60' font-family='sans-serif' font-size='12' fill='%2300ffff'%3EEK%3C/text%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 200px 200px, 150px 150px;
    background-position: 0 0, 10px 10px;
}

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

.grunge-header {
    text-align: center;
    padding: 30px 0;
    border-bottom: 2px solid #4a4a4a;
    margin-bottom: 40px;
}

.grunge-header h1 {
    font-size: 2.5rem;
    color: #ff6b6b;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    margin-bottom: 10px;
}

.grunge-header p {
    font-size: 1.2rem;
    color: #888;
    font-style: italic;
}

.projects-list, .metrics-panel {
    background: rgba(30, 30, 30, 0.7);
    border: 1px solid #4a4a4a;
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 30px;
    backdrop-filter: blur(5px);
}

.projects-list h2, .metrics-panel h2 {
    color: #4ecdc4;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #4a4a4a;
}

#projects-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 15px;
}

.project-card {
    background: rgba(40, 40, 40, 0.8);
    border: 1px solid #555;
    border-radius: 6px;
    padding: 15px;
    transition: all 0.3s ease;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    border-color: #ff6b6b;
}

.project-card h3 {
    color: #ffd93d;
    margin-bottom: 10px;
}

.project-card p {
    font-size: 0.9rem;
    color: #bbb;
}

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

.metric-card {
    background: rgba(40, 40, 40, 0.8);
    border: 1px solid #555;
    border-radius: 6px;
    padding: 20px;
    text-align: center;
    transition: all 0.3s ease;
}

.metric-card:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    border-color: #4ecdc4;
}

.metric-card h3 {
    color: #4ecdc4;
    margin-bottom: 15px;
}

.metric-card div {
    font-size: 1.5rem;
    font-weight: bold;
    color: #ffd93d;
    min-height: 40px;
}

.grunge-footer {
    text-align: center;
    padding: 20px;
    border-top: 1px solid #4a4a4a;
    color: #666;
    font-size: 0.9rem;
    margin-top: 40px;
}

/* Security Guard Panel */
.security-guard-panel {
    background: rgba(30, 30, 30, 0.7);
    border: 1px solid #4a4a4a;
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 30px;
    backdrop-filter: blur(5px);
}

.security-guard-panel h2 {
    color: #ff6b6b;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #4a4a4a;
}

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

.guard-card {
    background: rgba(40, 40, 40, 0.8);
    border: 2px solid #555;
    border-radius: 8px;
    padding: 20px;
    transition: all 0.3s ease;
}

.guard-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}

#red-team-card {
    border-color: #ff6b6b;
}

#privacy-guard-card {
    border-color: #4ecdc4;
}

#vuln-analyst-card {
    border-color: #ffd93d;
}

#site-shaper-card {
    border-color: #9b59b6;
}

.guard-card h3 {
    margin-bottom: 15px;
    font-size: 1.3rem;
}

#red-team-card h3 {
    color: #ff6b6b;
}

#privacy-guard-card h3 {
    color: #4ecdc4;
}

#vuln-analyst-card h3 {
    color: #ffd93d;
}

#site-shaper-card h3 {
    color: #9b59b6;
}

.guard-status {
    font-weight: bold;
    margin: 10px 0;
    padding: 5px 10px;
    background: rgba(0,0,0,0.3);
    border-radius: 4px;
    display: inline-block;
}

.guard-mission {
    font-size: 0.9rem;
    color: #bbb;
    margin: 10px 0;
}

.guard-logs {
    font-size: 0.8rem;
    color: #888;
    font-family: 'Courier New', monospace;
    margin-top: 10px;
}

.guard-controls {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 20px;
}

.guard-controls button {
    background: rgba(40, 40, 40, 0.9);
    border: 1px solid #4a4a4a;
    color: #e0e0e0;
    padding: 12px 24px;
    border-radius: 6px;
    cursor: pointer;
    font-family: 'Courier New', monospace;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.guard-controls button:hover {
    background: rgba(60, 60, 60, 0.9);
    border-color: #ff6b6b;
    color: #ff6b6b;
}

/* Email Widget Styles */
.email-widget-container, .website-status-container, .moltbook-guide {
    background: rgba(30, 30, 30, 0.7);
    border: 1px solid #4a4a4a;
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 30px;
    backdrop-filter: blur(5px);
}

.email-widget-container h2, .website-status-container h2, .moltbook-guide h2 {
    color: #4ecdc4;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #4a4a4a;
}

.loading {
    color: #888;
    font-style: italic;
    text-align: center;
    padding: 20px;
}

/* Email widget */
.email-widget {
    background: rgba(40, 40, 40, 0.8);
    border: 1px solid #555;
    border-radius: 6px;
    padding: 20px;
}

.email-widget h3 {
    color: #ffd93d;
    margin-bottom: 15px;
}

.email-status p {
    margin-bottom: 8px;
    color: #bbb;
}

.email-status strong {
    color: #4ecdc4;
}

.status-operational {
    color: #4ecdc4;
}

.status-error {
    color: #ff6b6b;
}

/* Websites grid */
.websites-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.website-card {
    background: rgba(40, 40, 40, 0.8);
    border: 1px solid #555;
    border-radius: 6px;
    padding: 20px;
    transition: all 0.3s ease;
}

.website-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    border-color: #ff6b6b;
}

.website-card h4 {
    color: #ffd93d;
    margin-bottom: 15px;
}

.website-card p {
    margin-bottom: 8px;
    color: #bbb;
}

.website-card a {
    color: #4ecdc4;
    text-decoration: none;
}

.website-card a:hover {
    text-decoration: underline;
}

.status-live {
    color: #4ecdc4;
}

.status-pending {
    color: #ffd93d;
}

.status-error {
    color: #ff6b6b;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .container {
        padding: 10px;
    }
    
    .grunge-header h1 {
        font-size: 2rem;
    }
    
    .projects-list, .metrics-panel, .security-guard-panel, 
    .email-widget-container, .website-status-container, .moltbook-guide {
        padding: 15px;
    }
    
    #projects-container {
        grid-template-columns: 1fr;
    }
    
    .metrics-grid, .guards-grid {
        grid-template-columns: 1fr;
    }
    
    .guard-controls {
        flex-direction: column;
    }
}