/* GENETIC LIBRARY - Additional Styles */

/* Full Page Background */
body.genetic-library-page {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: url('background.png') center top no-repeat;
    background-size: 100% auto;
    background-attachment: scroll;
    background-color: #0a0f19;
}

/* Dark overlay */
body.genetic-library-page::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 15, 25, 0.4);
    z-index: -1;
    pointer-events: none;
}

/* Mini Hero */
.hero-mini {
    min-height: 40vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    padding: 120px 24px 60px;
    background: transparent;
}

.hero-mini .hero-content {
    position: relative;
    z-index: 1;
}

.hero-mini h1 {
    font-size: clamp(36px, 8vw, 64px);
    margin-bottom: 16px;
    animation: fadeInUp 1s ease-out;
}

.hero-mini .tagline {
    font-size: clamp(14px, 2vw, 18px);
    color: var(--text-muted);
    max-width: 500px;
}

/* Strains Section */
.strains-section {
    padding: 80px 0 120px;
    background: transparent;
    position: relative;
}

.strains-header {
    text-align: center;
    margin-bottom: 48px;
}

.strains-header h2 {
    font-size: clamp(28px, 5vw, 40px);
    margin-bottom: 8px;
}

/* CTA Group */
.cta-group {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

/* Strains Grid */
.strains-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
    min-height: 200px;
}

/* Strain Card */
.strain-card {
    background: var(--card-bg);
    border: 1px solid rgba(170, 0, 255, 0.2);
    border-radius: 12px;
    overflow: visible;
    display: block;
    visibility: visible;
    opacity: 1;
    min-height: 50px;
    max-width: 300px;
    margin: 10px auto;
    padding: 10px;
    cursor: pointer;
    position: relative;
    z-index: 1;
}

.strain-card:hover {
    transform: translateY(-8px);
    border-color: rgba(170, 0, 255, 0.4);
    box-shadow: var(--glow-purple);
}

.strain-card-inner {
    padding: 0;
}

.strain-image {
    display: none;
}

.strain-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at center, rgba(170, 0, 255, 0.2), transparent 70%);
}

.strain-emoji {
    font-size: 48px;
    opacity: 0.8;
}

.strain-info {
    padding: 20px;
    text-align: center;
}

.strain-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.strain-emblem-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid rgba(0, 255, 102, 0.5);
    background: rgba(10, 15, 25, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
}

.strain-emblem-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.strain-header h3 {
    font-size: 16px;
    margin: 0;
}

.strain-type {
    font-size: 11px;
    padding: 4px 12px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.strain-type.clone {
    background: rgba(0, 255, 102, 0.15);
    color: var(--neon-green);
}

.strain-type.seed {
    background: rgba(170, 0, 255, 0.15);
    color: var(--neon-purple);
}

.strain-category {
    font-size: 12px;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.strain-desc {
    font-size: 13px;
    color: var(--text-primary);
    line-height: 1.5;
    margin-bottom: 16px;
}

/* Key Section */
.key-section {
    background: transparent;
    padding: 40px 0;
    border-top: 1px solid rgba(170, 0, 255, 0.1);
    border-bottom: 1px solid rgba(170, 0, 255, 0.1);
}

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

.section-header h2 {
    font-size: clamp(24px, 4vw, 36px);
    margin-bottom: 8px;
}

.section-tag {
    display: inline-block;
    font-size: 12px;
    letter-spacing: 3px;
    color: var(--neon-purple);
    margin-bottom: 12px;
    text-transform: uppercase;
}

.availability-key {
    margin-bottom: 40px;
    padding: 24px;
    background: var(--card-bg);
    border-radius: 12px;
    border: 1px solid rgba(170, 0, 255, 0.1);
}

.availability-key h4 {
    font-size: 14px;
    margin-bottom: 16px;
    color: var(--text-muted);
}

.key-items {
    display: flex;
    gap: 32px;
    justify-content: center;
}

.key-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}

.key-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.key-dot.clone {
    background: var(--neon-green);
}

.key-dot.seed {
    background: var(--neon-purple);
}

.genetics-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.genetics-entry {
    display: grid;
    grid-template-columns: 80px 1fr 1fr 120px 80px;
    gap: 16px;
    padding: 16px;
    background: var(--card-bg);
    border-radius: 8px;
    border: 1px solid rgba(170, 0, 255, 0.1);
    align-items: center;
    font-size: 14px;
    font-family: 'Rajdhani', sans-serif;
}

.genetics-code {
    font-weight: 700;
    color: var(--neon-purple);
}

.genetics-name {
    font-weight: 600;
}

.genetics-lineage {
    color: var(--text-primary);
    font-size: 13px;
}

.genetics-breeder {
    color: var(--text-primary);
    font-size: 12px;
    text-align: right;
}

.availability-dots {
    display: flex;
    gap: 6px;
    justify-content: flex-end;
}

.availability-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.availability-dot.clone {
    background: var(--neon-green);
}

.availability-dot.seed {
    background: var(--neon-purple);
}

/* Footer - at bottom naturally */
.footer {
    background: #000000;
    padding: 40px 0;
    border-top: 1px solid rgba(255, 0, 255, 0.1);
}

.footer-content {
    text-align: center;
}

.footer-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 16px;
}

.footer-logo .logo-icon {
    font-size: 24px;
    color: var(--neon-purple);
}

.footer-logo .logo-text {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 700;
}

.footer-tagline {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.copyright {
    font-size: 12px;
    color: var(--text-muted);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 28px;
    font-family: var(--font-heading);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--neon-purple), #9b27b0);
    color: white;
    box-shadow: 0 0 20px rgba(170, 0, 255, 0.3);
}

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

.btn-small {
    padding: 10px 20px;
    font-size: 11px;
}

/* SEED/CLONE/TISSUE Button - Neon Pulsating Green */
.btn-genetic {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 40px;
    border-radius: 50px;
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    text-decoration: none;
    border: 2px solid #00ff66;
    cursor: pointer;
    background: linear-gradient(135deg, rgba(0, 255, 102, 0.3), rgba(0, 255, 200, 0.3));
    color: #ffffff !important;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
    box-shadow: 
        0 0 20px rgba(0, 255, 102, 0.6),
        0 0 40px rgba(0, 255, 102, 0.4),
        0 0 60px rgba(0, 255, 102, 0.2),
        inset 0 0 20px rgba(0, 255, 102, 0.2);
    animation: neon-pulse-green 1.5s ease-in-out infinite;
    transition: all 0.3s ease;
}

.btn-genetic:hover {
    transform: scale(1.05);
    background: linear-gradient(135deg, rgba(0, 255, 102, 0.5), rgba(0, 255, 200, 0.5));
    box-shadow: 
        0 0 30px rgba(0, 255, 102, 0.8),
        0 0 60px rgba(0, 255, 102, 0.5),
        0 0 90px rgba(0, 255, 102, 0.3);
}

@keyframes neon-pulse-green {
    0%, 100% {
        box-shadow: 
            0 0 20px rgba(0, 255, 102, 0.6),
            0 0 40px rgba(0, 255, 102, 0.4),
            0 0 60px rgba(0, 255, 102, 0.2);
        border-color: #00ff66;
    }
    50% {
        box-shadow: 
            0 0 35px rgba(0, 255, 102, 0.9),
            0 0 70px rgba(0, 255, 102, 0.6),
            0 0 100px rgba(0, 255, 102, 0.4);
        border-color: #66ffaa;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .strains-grid {
        grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
        gap: 16px;
    }
    
    .genetics-entry {
        grid-template-columns: 1fr;
        gap: 8px;
        text-align: center;
    }
    
    .key-items {
        flex-direction: column;
        gap: 12px;
    }
}
