/* Evidence Board Stylesheet for projects.html */
@import url('https://fonts.googleapis.com/css2?family=Anton&family=Roboto+Mono:ital,wght@0,400;0,700;1,400&family=Inter:wght@400;700;900&display=swap');

:root {
    --eb-bg: #09090b;
    --eb-foreground: #ffffff;
    --eb-primary: #ffffff;
    --eb-muted: rgba(255, 255, 255, 0.5);
    --eb-border: #272C31;
    --eb-card-bg: #1c1c1c;
    --eb-pin: #E6C07B;
}

body.eb-body {
    margin: 0;
    padding: 0;
    background-color: var(--eb-bg);
    color: var(--eb-foreground);
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
    min-height: 100vh;
}

.eb-main {
    position: relative;
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
}

@media (min-width: 768px) {
    .eb-main {
        padding: 5rem;
    }
}

/* Subtle Texture Background */
.eb-bg-pattern {
    position: absolute;
    inset: 0;
    z-index: 0;
    opacity: 0.05;
    pointer-events: none;
    background-image: radial-gradient(circle, var(--eb-foreground) 1px, transparent 1px);
    background-size: 32px 32px;
}

/* Header */
.eb-header {
    position: relative;
    z-index: 10;
    margin-bottom: 6rem;
    text-align: center;
}

.eb-title {
    font-size: 3.75rem;
    font-weight: 900;
    letter-spacing: 0.05em;
    color: var(--eb-primary);
    text-transform: uppercase;
    font-style: italic;
    margin: 0;
    /* Option for a gritty font: */
    font-family: 'Anton', sans-serif;
}

.eb-subtitle {
    color: var(--eb-muted);
    margin-top: 1rem;
    letter-spacing: 0.4em;
    font-size: 0.65rem;
    text-transform: uppercase;
    opacity: 0.6;
    font-family: 'Roboto Mono', monospace;
}

/* Home button adaptation */
.eb-home-btn {
    position: absolute;
    top: 20px;
    left: 30px;
    z-index: 20;
    color: var(--eb-muted);
    text-decoration: none;
    font-family: 'Roboto Mono', monospace;
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    transition: color 0.3s;
    display: flex;
    align-items: center;
    gap: 10px;
}

.eb-home-btn:hover {
    color: var(--eb-primary);
}

/* Layout Grid */
.eb-grid {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 1200px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    padding: 0 1rem;
    align-items: start;
}

@media (min-width: 768px) {
    .eb-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .eb-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Cards Wrapper */
.eb-card-wrapper {
    display: block;
    text-decoration: none;
    color: inherit;
    max-width: 24rem;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    group: true;
}

/* Disable link effects implicitly */
.eb-card-wrapper:hover .eb-card,
.eb-card-wrapper:focus .eb-card {
    transform: scale(1.05) var(--card-rotation, rotate(0deg));
    z-index: 10;
}

/* The Investigation Card */
.eb-card {
    position: relative;
    background-color: var(--eb-card-bg);
    border: 1px solid var(--eb-border);
    padding: 1.5rem;
    border-radius: 4px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    /* The default rotation is applied via style override or classes */
}

/* Rotations */
.eb-rotate-1 {
    --card-rotation: rotate(1deg);
    transform: rotate(1deg);
}

.eb-rotate-n1 {
    --card-rotation: rotate(-1deg);
    transform: rotate(-1deg);
}

.eb-rotate-2 {
    --card-rotation: rotate(2deg);
    transform: rotate(2deg);
}

.eb-rotate-n2 {
    --card-rotation: rotate(-2deg);
    transform: rotate(-2deg);
}

.eb-rotate-3 {
    --card-rotation: rotate(3deg);
    transform: rotate(3deg);
}

.eb-rotate-n3 {
    --card-rotation: rotate(-3deg);
    transform: rotate(-3deg);
}

/* The Pin */
.eb-pin {
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background-color: var(--eb-pin);
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.3), 0 2px 4px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(185, 152, 111, 0.2);
}

/* Content */
.eb-card-header {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--eb-primary);
    border-bottom: 1px solid var(--eb-border);
    padding-bottom: 0.75rem;
    margin-top: 0;
    margin-bottom: 1.5rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-family: 'Roboto Mono', monospace;
}

.eb-inner-box {
    background-color: rgba(0, 0, 0, 0.5);
    padding: 1.25rem;
    border: 1px solid var(--eb-border);
    border-radius: 0.75rem;
    margin-bottom: 1rem;
}

.eb-status-label {
    color: var(--eb-muted);
    font-size: 0.56rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin: 0 0 0.5rem 0;
    font-family: 'Inter', sans-serif;
}

.eb-status-value {
    color: var(--eb-primary);
    font-family: 'Roboto Mono', monospace;
    font-size: 1.125rem;
    letter-spacing: -0.025em;
    margin: 0;
    word-break: break-all;
}

.eb-description {
    font-size: 0.6875rem;
    color: rgba(255, 255, 255, 0.7);
    font-style: italic;
    line-height: 1.625;
    margin-bottom: 1rem;
    font-family: 'Inter', sans-serif;
}

.eb-tags {
    font-size: 0.6rem;
    font-family: 'Roboto Mono', monospace;
    color: var(--eb-pin);
    border-top: 1px dashed var(--eb-border);
    padding-top: 0.5rem;
    opacity: 0.8;
}

/* Specific placeholders based on React Toolbox */
.eb-awaiting {
    opacity: 0.4;
    filter: grayscale(100%);
    transition: all 0.7s;
}

.eb-awaiting:hover {
    opacity: 1;
    filter: grayscale(0%);
}

.eb-awaiting-box {
    height: 12rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 2px dashed var(--eb-border);
    border-radius: 1rem;
    color: rgba(255, 255, 255, 0.3);
}

.eb-awaiting-text {
    font-size: 0.625rem;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.3em;
    font-family: 'Roboto Mono', monospace;
}