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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    min-height: 100vh;
    color: #333;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: -10px;
    left: -10px;
    width: calc(100% + 20px);
    height: calc(100% + 20px);
    background: url('StudTexture.png') repeat;
    filter: grayscale(100%) brightness(0.3) blur(3px);
    z-index: -1;
}

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

.header {
    text-align: center;
    margin-bottom: 40px;
    background: url('StudTexture.png') repeat;
    background-color: #4a4a4a;
    background-blend-mode: multiply;
    border-radius: 20px;
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
}

.countdown-container {
    position: absolute;
    top: 20px;
    right: 20px;
    text-align: right;
    color: white;
    font-weight: bold;
}

.countdown-label {
    font-size: 0.9rem;
    margin-bottom: 5px;
    opacity: 0.8;
}

.countdown-timer {
    font-size: 1.1rem;
    color: #ffd700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    font-family: 'Courier New', monospace;
}

.header-logo {
    max-width: 450px;
    height: auto;
    filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.3));
}

.title {
    display: none;
}

.title-icon {
    display: none;
}

.subtitle {
    display: none;
}

.search-section {
    background: url('StudTexture.png') repeat;
    background-color: #2a2a2a;
    background-blend-mode: multiply;
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 30px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.search-container {
    margin-bottom: 20px;
}

.search-input-wrapper {
    position: relative;
    max-width: 500px;
    margin: 0 auto;
}

.search-input {
    width: 100%;
    padding: 15px 50px 15px 20px;
    font-size: 1.1rem;
    border: 2px solid #e1e5e9;
    border-radius: 50px;
    outline: none;
    transition: all 0.3s ease;
    background: url('StudTexture.png') repeat;
    background-color: #1a1a1a;
    background-blend-mode: multiply;
    color: white;
}

.search-input:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
    transform: translateY(-2px);
}

.search-icon {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.2rem;
    color: #666;
}

.filters {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.filter-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.filter-label {
    font-weight: 600;
    color: #555;
}

.tier-select {
    padding: 10px 15px;
    border: 2px solid #e1e5e9;
    border-radius: 8px;
    font-size: 1rem;
    background: white;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tier-select:focus {
    border-color: #667eea;
    outline: none;
}

.result-count {
    font-size: 1rem;
    color: #666;
    font-weight: 500;
}

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

.seed-card {
    background: url('StudTexture.png') repeat;
    background-color: #2a2a2a;
    background-blend-mode: multiply;
    border-radius: 15px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    color: white;
}

.seed-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.seed-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.5s;
}

.seed-card:hover::before {
    left: 100%;
}

.tier-badge {
    width: 80px;
    height: 40px;
    border-radius: 10px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    margin: 10px auto 0;
}

.seed-image {
    width: 80px;
    height: 80px;
    margin: 0 auto 15px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.seed-card:hover .seed-image {
    transform: scale(1.1);
    animation: wobble 0.6s ease-in-out infinite;
}

@keyframes wobble {
    0% { transform: scale(1.1) rotate(-10deg); }
    50% { transform: scale(1.1) rotate(10deg); }
    100% { transform: scale(1.1) rotate(-10deg); }
}

.no-results {
    text-align: center;
    padding: 60px 20px;
    background: url('StudTexture.png') repeat;
    background-color: #2a2a2a;
    background-blend-mode: multiply;
    border-radius: 15px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    color: white;
}

.no-results-icon {
    font-size: 4rem;
    margin-bottom: 20px;
    opacity: 0.5;
}

.no-results h3 {
    font-size: 1.5rem;
    color: #ddd;
    margin-bottom: 10px;
}

.no-results p {
    color: #bbb;
    font-size: 1rem;
}

/* Responsive design */
@media (max-width: 768px) {
    .container {
        padding: 15px;
    }
    
    .title {
        font-size: 2rem;
    }
    
    .title-icon {
        font-size: 2.5rem;
    }
    
    .filters {
        flex-direction: column;
        align-items: stretch;
    }
    
    .seeds-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 15px;
    }
    
    .seed-card {
        padding: 15px;
    }
    
    .seed-image {
        width: 60px;
        height: 60px;
    }
}

/* Tier-specific styling */
.tier-common { border-left: 4px solid #666; }
.tier-uncommon { border-left: 4px solid #22c55e; }
.tier-rare { border-left: 4px solid #3b82f6; }
.tier-legendary { border-left: 4px solid #eab308; }
.tier-mythical { border-left: 4px solid #8b5cf6; }
.tier-divine { border-left: 4px solid #f97316; }
.tier-prismatic { border-left: 4px solid #ec4899; }
.tier-transcendent { border-left: 4px solid #00ffff; }