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

body {
    font-family: 'Comic Neue', '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.2) blur(3px);
    z-index: -1;
}

.container {
    max-width: none;
    margin: 0;
    padding: 20px;
    padding-top: 56px; /* match fixed header height to avoid shifting */
}

.main-layout {
    display: flex;
    gap: 30px;
    margin-top: 0; /* Remove top margin since container now has padding */
}

.sidebar {
    width: 280px;
    background: url('StudTexture.png') repeat;
    background-color: #1a1a1a;
    background-blend-mode: multiply;
    border-radius: 15px;
    padding: 25px;
    height: fit-content;
    position: sticky;
    top: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.sidebar-section {
    margin-bottom: 25px;
}

.sidebar-section:last-of-type {
    margin-bottom: 0;
}

.sidebar-label {
    display: block;
    font-weight: 600;
    color: white;
    margin-bottom: 10px;
    font-size: 0.95rem;
}

.sidebar-bottom {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 2px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.content-area {
    flex: 1;
    min-width: 0;
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: url('StudTexture.png') repeat;
    background-color: #2a2a2a;
    background-blend-mode: multiply;
    padding: 0 16px;
    height: 48px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    gap: 0;
    flex-direction: row; /* keep single row to avoid height changes */
}

.countdown-container {
    text-align: right;
    color: white;
    font-weight: bold;
    line-height: 1;
    white-space: nowrap; /* prevent wrapping that could change height */
}

.countdown-label {
    font-size: 0.8rem;
    margin-bottom: 0;
    opacity: 0.8;
}

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

.header-logo {
    max-width: 240px;
    height: auto;
    filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.3));
    max-height: 28px; /* slimmer logo to match shorter bar */
    max-width: none;
}

.title {
    display: none;
}

.title-icon {
    display: none;
}

.subtitle {
    display: none;
}

.search-section {
    display: none;
    background: url('StudTexture.png') repeat;
    background-color: #1a1a1a;
    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);
    position: relative;
    z-index: 2;
}

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

.search-input-wrapper {
    position: relative;
    max-width: 500px;
    margin: 0 auto;
    display: flex;
    background: url('StudTexture.png') repeat;
    background-color: #0a0a0a;
    background-blend-mode: multiply;
    border-radius: 10px;
    border: 2px solid #444;
    overflow: hidden;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.4);
    transition: all 0.3s ease;
}

.search-input-wrapper:focus-within {
    border-color: #667eea;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.4), 0 0 0 3px rgba(102, 126, 234, 0.2);
}

.search-input {
    flex-grow: 1;
    padding: 15px 20px;
    font-size: 1.1rem;
    border: none;
    outline: none;
    background: transparent;
    color: white;
}

.search-input::placeholder {
    color: #888;
}

.search-button {
    background-color: #333;
    border: none;
    padding: 0 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    border-left: 2px solid #444;
    transition: background-color 0.3s ease;
}

.search-button:hover {
    background-color: #444;
}

.search-icon {
    font-size: 1.2rem;
    color: #ccc;
    transition: transform 0.3s ease;
}

.search-button:hover .search-icon {
    transform: scale(1.1);
}

.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: white;
}

.tier-select {
    display: none;
}

.custom-select {
    position: relative;
    min-width: 200px;
    z-index: 1000;
}

.select-trigger {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 15px;
    border: 2px solid #e1e5e9;
    border-radius: 8px;
    font-size: 1rem;
    background: url('StudTexture.png') repeat;
    background-color: #1a1a1a;
    background-blend-mode: multiply;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    user-select: none;
}

.select-trigger:hover {
    border-color: #667eea;
    transform: translateY(-1px);
}

.select-trigger.active {
    border-color: #667eea;
    border-radius: 8px 8px 0 0;
}

.select-arrow {
    transition: transform 0.3s ease;
    font-size: 0.8rem;
    color: #ccc;
}

.select-trigger.active .select-arrow {
    transform: rotate(180deg);
}

.select-options {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: url('StudTexture.png') repeat;
    background-color: #1a1a1a;
    background-blend-mode: multiply;
    border: 2px solid #667eea;
    border-top: none;
    border-radius: 0 0 8px 8px;
    max-height: 300px;
    overflow-y: auto;
    overflow-x: hidden;
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    width: 100%;
}

.select-options.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Custom scrollbar for options */
.select-options::-webkit-scrollbar {
    width: 8px;
}

.select-options::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

.select-options::-webkit-scrollbar-thumb {
    background: rgba(102, 126, 234, 0.5);
    border-radius: 4px;
}

.select-options::-webkit-scrollbar-thumb:hover {
    background: rgba(102, 126, 234, 0.7);
}

/* Ensure proper stacking order for different selects */
#categorySelect {
    z-index: 1004;
}

#customSelect {
    z-index: 1003;
}

#seedTypeSelect {
    z-index: 1002;
}

#usersTypeSelect {
    z-index: 1001;
}

#categorySelect .select-options {
    z-index: 1005;
}

#customSelect .select-options {
    z-index: 1004;
}

#seedTypeSelect .select-options {
    z-index: 1003;
}

#usersTypeSelect .select-options {
    z-index: 1002;
}

.select-option {
    padding: 12px 15px;
    color: white;
    cursor: pointer;
    transition: all 0.2s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    display: block;
    white-space: nowrap;
    word-wrap: break-word;
}

.select-option:last-child {
    border-bottom: none;
}

.select-option:hover {
    background-color: rgba(102, 126, 234, 0.2);
    padding-left: 15px;
}

.select-option.selected {
    background-color: rgba(102, 126, 234, 0.3);
    font-weight: bold;
}

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

.comment-count {
    color: #888;
    font-weight: 400;
    font-size: 0.9rem;
}

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

.seed-card {
    background: url('StudTexture.png') repeat;
    background-color: #1a1a1a;
    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: 120px;
    height: 60px;
    border-radius: 10px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    margin: 10px auto 0;
}

.tier-badge-img {
    max-width: 140px;
    height: auto;
    border-radius: 8px;
    margin: 10px auto 0;
    display: block;
    object-fit: contain;
}

.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: #1a1a1a;
    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;
}

.dual-tier-badges {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
    margin: 10px auto 0;
    flex-wrap: nowrap;
}

.dual-tier-badges .tier-badge {
    margin: 0;
    width: 80px;
    height: 40px;
}

.dual-tier-badges .tier-badge-img {
    margin: 0;
    max-width: 80px;
    height: auto;
    max-height: 40px;
    object-fit: contain;
}

.left-badge {
    order: 1;
}

.right-badge {
    order: 2;
}

/* Responsive design */
@media (max-width: 1024px) {
    .container {
        padding-top: 56px; /* keep consistent with header height */
    }
    
    .main-layout {
        flex-direction: column;
    }
    
    .sidebar {
        width: 100%;
        position: static;
        margin-bottom: 20px;
    }
    
    .sidebar-section {
        margin-bottom: 20px;
    }
    
    .sidebar-bottom {
        margin-top: 20px;
        padding-top: 15px;
    }
    
    .header {
        padding: 0 12px;
        flex-direction: row; /* prevent stacking that changes height */
        gap: 0;
        height: 48px;
    }
    
    .header-logo {
        max-height: 26px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 15px;
        padding-top: 56px; /* keep consistent */
    }
    
    .header {
        padding: 0 10px;
        flex-direction: row; /* keep single row */
        height: 48px;
    }
    
    .header-logo {
        max-height: 24px;
    }
    
    .countdown-timer {
        font-size: 0.9rem;
    }
    
    .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 - removed border-left to show full stud texture */
.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; */ }
.tier-custom { /* border-left: 4px solid #888; */ }

.custom-toggle {
    display: none;
}

.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.8s ease-out;
    opacity: 1;
}

.loading-content {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.loading-icon {
    max-width: 800px;
    height: auto;
    filter: drop-shadow(2px 2px 4px rgba(255, 255, 255, 0.3));
}

.loading-text {
    position: absolute;
    bottom: 30px;
    left: 30px;
    color: white;
    font-size: 1.5rem;
    font-weight: bold;
    font-family: 'Comic Neue', 'Courier New', 'Consolas', 'Monaco', monospace;
}

.loading-circle {
    position: absolute;
    bottom: 30px;
    right: 30px;
    width: 40px;
    height: 40px;
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-top: 4px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loading-screen.fade-out {
    opacity: 0;
    pointer-events: none;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
}

.modal-content {
    background: url('StudTexture.png') repeat;
    background-color: #1a1a1a;
    background-blend-mode: multiply;
    margin: 5% auto;
    padding: 30px;
    border-radius: 20px;
    width: 90%;
    max-width: 600px;
    max-height: 85vh;
    overflow-y: auto;
    position: relative;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.close-button {
    position: absolute;
    top: 15px;
    right: 25px;
    font-size: 30px;
    font-weight: bold;
    color: #ccc;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close-button:hover {
    color: white;
}

.rating-section {
    text-align: center;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    margin-bottom: 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.rating-section h3 {
    margin-bottom: 20px;
    font-size: 1.2rem;
    color: #eee;
    font-weight: 600;
}

.modal-seed-info {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
}

.modal-seed-image {
    width: 120px;
    height: 120px;
    margin: 0 auto 20px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    border-radius: 15px;
}

.modal-seed-info h2 {
    font-size: 2rem;
    margin-bottom: 15px;
    color: white;
}

.modal-seed-tier img {
    max-width: 180px;
    height: auto;
}

/* Delete Modal Styles */
.delete-modal-content {
    max-width: 400px;
    text-align: center;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    margin: 0;
    z-index: 10001;
    width: 90%;
    max-width: 400px;
}

.delete-modal-content h3 {
    margin-bottom: 15px;
    color: #ff6b6b;
    font-size: 1.4rem;
}

.delete-modal-content p {
    margin-bottom: 25px;
    color: #ccc;
    line-height: 1.5;
}

.delete-modal-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.confirm-delete-btn,
.cancel-delete-btn {
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    background: url('StudTexture.png') repeat;
    background-blend-mode: multiply;
}

.confirm-delete-btn {
    background-color: #ef4444;
    color: white;
}

.confirm-delete-btn:hover {
    background-color: #dc2626;
    transform: translateY(-2px);
}

.cancel-delete-btn {
    background-color: #6b7280;
    color: white;
}

.cancel-delete-btn:hover {
    background-color: #4b5563;
    transform: translateY(-2px);
}

/* Expandable Comment Box */
.comment-form {
    margin-bottom: 20px;
}

.comment-form textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #444;
    border-radius: 8px;
    background: url('StudTexture.png') repeat;
    background-color: #0a0a0a;
    background-blend-mode: multiply;
    color: white;
    font-family: inherit;
    font-size: 1rem;
    resize: vertical;
    min-height: 80px;
    transition: all 0.3s ease;
    margin-bottom: 0;
}

.comment-form textarea::placeholder {
    color: #888;
}

.comment-form textarea:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.2);
    min-height: 120px;
}

.comment-form textarea.expanded {
    min-height: 150px;
}

.submit-comment-btn {
    display: block;
    margin-top: 15px;
    padding: 12px 24px;
    background: url('StudTexture.png') repeat;
    background-color: #666;
    background-blend-mode: multiply;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-comment-btn:hover {
    background-color: #777;
    transform: translateY(-2px);
}

.submit-comment-btn:disabled {
    background-color: #444;
    cursor: not-allowed;
    transform: none;
}

/* Comments List */
.comments-list {
    max-height: 400px;
    overflow-y: auto;
    overflow-x: hidden;
}

.comment-item {
    background: url('StudTexture.png') repeat;
    background-color: #0a0a0a;
    background-blend-mode: multiply;
    border-radius: 12px;
    padding: 15px;
    margin-bottom: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.comment-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    position: relative;
}

.comment-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: #667eea;
}

.comment-author {
    font-weight: 600;
    color: white;
    cursor: pointer;
    transition: color 0.3s ease;
    text-decoration: none;
}

.comment-author:hover {
    color: #667eea;
    text-decoration: underline;
}

.comment-rating {
    display: none;
}

.comment-rating .rating-stars {
    color: #ffd700;
    font-size: 0.9rem;
    background: url('StudTexture.png') repeat;
    background-color: #ffd700;
    background-blend-mode: multiply;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.comment-rating .rating-value {
    color: #ffd700;
    font-size: 0.9rem;
    font-weight: 600;
}

.comment-date {
    color: #888;
    font-size: 0.9rem;
}

.comment-content {
    color: #ddd;
    line-height: 1.5;
}

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

/* Delete comment button */
.delete-comment-btn {
    background: none;
    border: none;
    color: #ff6b6b;
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    padding: 2px 6px;
    border-radius: 4px;
    transition: all 0.3s ease;
    margin-left: 10px;
    opacity: 0.7;
}

.delete-comment-btn:hover {
    background-color: rgba(255, 107, 107, 0.2);
    opacity: 1;
    transform: scale(1.1);
}

/* Reply System Styles */
.reply-button {
    background: none;
    border: none;
    color: #667eea;
    font-size: 0.9rem;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 4px;
    transition: all 0.3s ease;
    margin-left: 10px;
}

.reply-button:hover {
    background-color: rgba(102, 126, 234, 0.2);
    transform: scale(1.05);
}

.comment-replies {
    margin-left: 40px;
    margin-top: 15px;
    border-left: 2px solid rgba(102, 126, 234, 0.3);
    padding-left: 15px;
}

.comment-item.reply {
    background: url('StudTexture.png') repeat;
    background-color: #1f1f1f; /* A darker background for replies */
    background-blend-mode: multiply;
    margin-bottom: 10px;
}

.reply-form {
    margin-top: 10px;
    margin-left: 40px;
    padding: 15px;
    background: url('StudTexture.png') repeat;
    background-color: rgba(0, 0, 0, 0.8);
    background-blend-mode: multiply;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.reply-form textarea {
    width: 100%;
    padding: 8px 12px;
    border: 2px solid #444;
    border-radius: 6px;
    background: url('StudTexture.png') repeat;
    background-color: rgba(0, 0, 0, 0.8);
    background-blend-mode: multiply;
    color: white;
    font-family: inherit;
    font-size: 0.9rem;
    resize: vertical;
    min-height: 60px;
    transition: all 0.3s ease;
}

.reply-form textarea:focus {
    border-color: #667eea;
    min-height: 80px;
}

.reply-form-buttons {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.submit-reply-btn,
.cancel-reply-btn {
    padding: 8px 16px;
    border: none;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    background: url('StudTexture.png') repeat;
    background-blend-mode: multiply;
}

.submit-reply-btn {
    background-color: #667eea;
    color: white;
}

.submit-reply-btn:hover {
    background-color: #5a67d8;
    transform: translateY(-1px);
}

.submit-reply-btn:disabled {
    background-color: #444;
    cursor: not-allowed;
    transform: none;
}

.cancel-reply-btn {
    background-color: #6b7280;
    color: white;
}

.cancel-reply-btn:hover {
    background-color: #4b5563;
    transform: translateY(-1px);
}

/* Like/Dislike System */
.like-dislike-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-bottom: 15px;
}

.like-button,
.dislike-button {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 12px;
    border: 2px solid #444;
    border-radius: 8px;
    background: url('StudTexture.png') repeat;
    background-color: #333;
    background-blend-mode: multiply;
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    user-select: none;
}

.like-button:hover,
.dislike-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.like-button.active {
    background-color: #22c55e;
    border-color: #16a34a;
    box-shadow: none;
}

.dislike-button.active {
    background-color: #ef4444;
    border-color: #dc2626;
    box-shadow: none;
}

.like-icon,
.dislike-icon {
    font-size: 1.5rem;
}

.button-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.2;
}

.button-text .count {
    font-size: 0.9rem;
    font-weight: 400;
    color: #ccc;
}

.like-button.active .button-text .count,
.dislike-button.active .button-text .count {
    color: white;
    font-weight: 600;
}

.seed-likes {
    margin: 8px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    font-size: 0.9rem;
}

.likes-count,
.dislikes-count {
    display: flex;
    align-items: center;
    gap: 4px;
    color: #ccc;
    font-weight: 500;
}

.likes-count .like-icon {
    color: #22c55e;
    font-size: 1rem;
}

.dislikes-count .dislike-icon {
    color: #ef4444;
    font-size: 1rem;
}

/* User Profile Modal */
.user-modal-content {
    max-width: 500px;
}

.user-profile-info {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
}

.user-avatar-large {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin-bottom: 15px;
    border: 3px solid rgba(255, 255, 255, 0.2);
}

.user-profile-info h2 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: white;
}

.follow-stats {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 15px;
}

.follow-stat {
    text-align: center;
}

.follow-count {
    display: block;
    font-size: 1.4rem;
    font-weight: bold;
    color: #667eea;
}

.follow-label {
    font-size: 0.9rem;
    color: #ccc;
}

.user-profile-actions {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.follow-button {
    padding: 10px 20px;
    background: url('StudTexture.png') repeat;
    background-color: #667eea;
    background-blend-mode: multiply;
    color: white;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 100px;
}

.follow-button:hover {
    background-color: #5a67d8;
    transform: translateY(-2px);
}

.follow-button:disabled {
    background-color: #4b5563;
    cursor: not-allowed;
    transform: none;
}

.follow-button.following {
    background-color: #6b7280;
}

.follow-button.following:hover {
    background-color: #ef4444;
}

.profile-link {
    display: inline-block;
    padding: 10px 20px;
    background: url('StudTexture.png') repeat;
    background-color: #6b7280;
    background-blend-mode: multiply;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.profile-link:hover {
    background-color: #4b5563;
    transform: translateY(-2px);
}

.user-liked-seeds {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 15px;
    max-height: 400px;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 10px 5px;
}

.user-liked-seed {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px;
    background: url('StudTexture.png') repeat;
    background-color: #0a0a0a;
    background-blend-mode: multiply;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, .1);
    transition: all .3s ease;
    aspect-ratio: 1/1;
    cursor: pointer;
    overflow: hidden;
}

.user-liked-seed:hover {
    background-color: #1a1a1a;
    transform: translateY(-3px);
    border-color: #667eea;
}

.user-liked-seed-image {
    width: 60px;
    height: 60px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    border-radius: 6px;
    margin: 0;
    transition: transform 0.3s ease;
}

.user-liked-seed:hover .user-liked-seed-image {
    transform: scale(1.1);
}

.user-liked-seed-name {
    position: absolute;
    bottom: 5px;
    left: 5px;
    right: 5px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #fff;
    background: rgba(0,0,0,0.6);
    padding: 4px;
    border-radius: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: center;
}

.user-liked-seed-reaction {
    position: absolute;
    top: 5px;
    right: 5px;
    background: rgba(0,0,0,0.7);
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.user-liked-seed-reaction .reaction-icon {
    font-size: 0.9rem;
    line-height: 1;
}

.user-liked-seed-reaction .like-icon {
    color: #22c55e;
}

.user-liked-seed-reaction .dislike-icon {
    color: #ef4444;
}

.no-liked-seeds {
    text-align: center;
    color: #888;
    font-style: italic;
    padding: 40px 20px;
}

.users-section {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 2px solid rgba(255, 255, 255, 0.1);
}

.users-tabs {
    display: none;
}

.users-tab {
    display: none;
}

/* Users tab content visibility */
.users-tab-content {
    display: none;
}

.users-tab-content.active {
    display: block;
}

/* Users list styling */
.users-list {
    max-height: 300px;
    overflow-y: auto;
    overflow-x: hidden;
}

.user-item {
    display: flex;
    align-items: center;
    padding: 10px;
    background: url('StudTexture.png') repeat;
    background-color: #0a0a0a;
    background-blend-mode: multiply;
    border-radius: 8px;
    margin-bottom: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}

.user-item:hover {
    background-color: #1a1a1a;
    transform: translateX(3px);
}

.user-item-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    margin-right: 10px;
    flex-shrink: 0;
}

.user-item-info {
    flex-grow: 1;
    min-width: 0;
}

.user-item-name {
    font-weight: 600;
    color: white;
    margin-bottom: 2px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 3px;
}

.user-item-activity {
    color: #888;
    font-size: 0.8rem;
}

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

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

/* Responsive modal */
@media (max-width: 768px) {
    .modal-content {
        margin: 10px;
        width: calc(100% - 20px);
        padding: 20px;
        max-height: 90vh;
    }
    
    .modal-seed-image {
        width: 80px;
        height: 80px;
    }
    
    .modal-seed-info h2 {
        font-size: 1.5rem;
    }
    
    .star {
        font-size: 1.5rem;
    }
}

.report-seed-btn {
    margin: 10px auto 0;
    padding: 10px 16px;
    background: url('StudTexture.png') repeat;
    background-color: #b45309;
    background-blend-mode: multiply;
    color: #fff;
    border: 2px solid #92400e;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
    transition: all .2s ease;
}

.report-seed-btn:hover { background-color:#a16207; transform: translateY(-2px); }

.report-textarea {
    width: 100%;
    padding: 10px;
    border: 2px solid #444;
    border-radius: 8px;
    background: #0a0a0a url('StudTexture.png') repeat;
    color: #fff;
    font-family: inherit;
    resize: vertical;
    min-height: 80px;
}

.report-success {
    margin-top: 10px;
    color: #22c55e;
    font-weight: 600;
}

.fanmade-create-btn {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #444;
    border-radius: 8px;
    background: url('StudTexture.png') repeat;
    background-color: #333;
    background-blend-mode: multiply;
    color: #fff;
    font-weight: 700;
    cursor: pointer;
    transition: all .2s ease;
}

.fanmade-create-btn:hover { transform: translateY(-2px); background-color: #444; }

.fanmade-form label { display:block; color:#ddd; font-weight:600; margin:12px 0 6px; }
.fanmade-form input[type="text"]{ width:100%; padding:10px; border:2px solid #444; border-radius:8px; background:#0a0a0a url('StudTexture.png') repeat; color:#fff; }
.fanmade-form .file-label input[type="file"]{ display:block; margin-top:6px; color:#ccc; }
.fanmade-error { margin-top:10px; color:#ff6b6b; font-weight:600; }

.seed-tag {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: #374151;
    color: #fff;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 6px;
    font-size: 0.75rem;
    padding: 4px 6px;
}

.obtain-info { margin-top: 12px; display: flex; align-items: center; gap: 10px; justify-content: center; }
.obtain-pack-img { width: 48px; height: 48px; object-fit: contain; border-radius: 8px; }
.obtain-text { color: #ddd; font-weight: 600; }