* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d1b2e 100%);
    color: #e0e0e0;
    padding: 20px;
    min-height: 100vh;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
}

header {
    text-align: center;
    padding: 40px 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    margin-bottom: 30px;
    backdrop-filter: blur(10px);
}

.plant-header {
    display: flex;
    align-items: center;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

h1 {
    font-size: 2.5em;
    margin-bottom: 10px;
    background: linear-gradient(45deg, #00ff88, #00ccff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

h2 {
    color: #00ff88;
    margin-bottom: 15px;
    font-size: 1.5em;
}

h3 {
    color: #00ccff;
    margin: 15px 0 10px 0;
}

.subtitle {
    color: #888;
    font-size: 1.1em;
}

.back-button {
    margin-bottom: 20px;
}

.back-button a {
    color: #00ccff;
    text-decoration: none;
    padding: 10px 20px;
    background: rgba(0, 204, 255, 0.1);
    border-radius: 10px;
    display: inline-block;
    transition: all 0.3s;
}

.back-button a:hover {
    background: rgba(0, 204, 255, 0.2);
    transform: translateX(-5px);
}

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

.stat-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 20px;
    border-radius: 15px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-number {
    font-size: 2.5em;
    font-weight: bold;
    margin-bottom: 5px;
}

.stat-label {
    color: #888;
    text-transform: uppercase;
    font-size: 0.85em;
    letter-spacing: 1px;
}

.top-keeper { color: #00ff88; }
.keeper { color: #88ff00; }
.culled { color: #ff4444; }

.filters {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
    flex-wrap: wrap;
    justify-content: center;
}

.filter-btn {
    padding: 12px 24px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.05);
    color: #e0e0e0;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 1em;
}

.filter-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.filter-btn.active {
    background: linear-gradient(45deg, #00ff88, #00ccff);
    border-color: #00ff88;
    color: #000;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.plant-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    display: block;
}

.plant-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 255, 136, 0.2);
    border-color: rgba(0, 255, 136, 0.5);
}

.plant-card.top-keeper {
    border-color: rgba(0, 255, 136, 0.5);
}

.plant-card.keeper {
    border-color: rgba(136, 255, 0, 0.5);
}

.plant-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    background: #1a1a1a;
}

.plant-info {
    padding: 20px;
}

.plant-id {
    font-size: 1.5em;
    font-weight: bold;
    margin-bottom: 10px;
}

.status-badge {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.85em;
    margin-bottom: 10px;
}

.status-badge.top-keeper {
    background: rgba(0, 255, 136, 0.2);
    color: #00ff88;
}

.status-badge.keeper {
    background: rgba(136, 255, 0, 0.2);
    color: #88ff00;
}

.status-badge.culled {
    background: rgba(255, 68, 68, 0.2);
    color: #ff4444;
}

.plant-details {
    font-size: 0.9em;
    color: #aaa;
    line-height: 1.6;
}

.photo-count {
    display: inline-block;
    margin-top: 10px;
    padding: 5px 10px;
    background: rgba(0, 204, 255, 0.2);
    border-radius: 10px;
    font-size: 0.85em;
    color: #00ccff;
}

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

.detail-section {
    background: rgba(255, 255, 255, 0.05);
    padding: 20px;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.stats-table {
    width: 100%;
    border-collapse: collapse;
}

.stats-table td {
    padding: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.stats-table td:first-child {
    width: 40%;
}

.photo-gallery {
    background: rgba(255, 255, 255, 0.05);
    padding: 20px;
    border-radius: 15px;
    margin-bottom: 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

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

.gallery-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 10px;
    cursor: pointer;
    transition: transform 0.3s;
}

.gallery-image:hover {
    transform: scale(1.05);
}

.no-photos {
    color: #666;
    font-style: italic;
    padding: 20px;
    text-align: center;
}

.notes-section {
    background: rgba(255, 255, 255, 0.05);
    padding: 20px;
    border-radius: 15px;
    margin-bottom: 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.notes-content {
    line-height: 1.8;
    color: #ccc;
}

.notes-content p {
    margin-bottom: 15px;
}

.notes-content li {
    margin-left: 20px;
    margin-bottom: 5px;
}

.no-notes {
    color: #666;
    font-style: italic;
}

.links-section {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.external-link {
    padding: 12px 20px;
    background: rgba(0, 204, 255, 0.1);
    border: 1px solid rgba(0, 204, 255, 0.3);
    border-radius: 10px;
    color: #00ccff;
    text-decoration: none;
    transition: all 0.3s;
}

.external-link:hover {
    background: rgba(0, 204, 255, 0.2);
    transform: translateY(-2px);
}

footer {
    text-align: center;
    padding: 40px 20px;
    color: #666;
    font-size: 0.9em;
}

.links {
    margin-top: 20px;
}

.links a {
    color: #00ccff;
    text-decoration: none;
    margin: 0 15px;
}

.links a:hover {
    color: #00ff88;
}

@media (max-width: 768px) {
    h1 { font-size: 2em; }
    .grid { grid-template-columns: 1fr; }
    .gallery-grid { grid-template-columns: 1fr; }
    .plant-detail-grid { grid-template-columns: 1fr; }
}
